Init
This commit is contained in:
@@ -0,0 +1,95 @@
|
||||
.blocks-base-achievement {
|
||||
background-color: var(--color-card-background);
|
||||
margin: var(--margin-sm);
|
||||
padding: var(--padding-md);
|
||||
border-radius: var(--radius-sm);
|
||||
border-width: var(--width-border-md);
|
||||
border-color: var(--color-border);
|
||||
flex-grow: 1;
|
||||
flex-shrink: 1;
|
||||
}
|
||||
|
||||
.blocks-card-component {
|
||||
--width-card: 300px;
|
||||
--height-card: 350px;
|
||||
min-height: var(--height-card);
|
||||
max-height: var(--height-card);
|
||||
min-width: var(--width-card);
|
||||
max-width: var(--width-card);
|
||||
}
|
||||
|
||||
.blocks-notification-transition {
|
||||
transition-duration: 0.5s;
|
||||
transition-timing-function: ease-in-out;
|
||||
}
|
||||
|
||||
.blocks-notification {
|
||||
width: 300px;
|
||||
height: 200px;
|
||||
flex-grow: 0;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.blocks-notification__hidden {
|
||||
translate: 0 250px 0;
|
||||
}
|
||||
|
||||
.blocks-card-component__title {
|
||||
margin-top: var(--margin-md);
|
||||
margin-bottom: var(--margin-sm);
|
||||
-unity-text-align: middle-center;
|
||||
font-size: var(--text-md);
|
||||
color: var(--color-default);
|
||||
-unity-font-style: bold;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.blocks-card-component__thumbnail {
|
||||
background-image: url("../textures/thumbnail.png");
|
||||
flex-grow: 1;
|
||||
-unity-background-scale-mode: scale-to-fit;
|
||||
}
|
||||
|
||||
.blocks-card-component__description {
|
||||
color: grey;
|
||||
-unity-text-align: middle-center;
|
||||
overflow: initial;
|
||||
white-space: normal;
|
||||
margin-bottom: var(--margin-md);
|
||||
}
|
||||
|
||||
.blocks-card-component__unlocked-label {
|
||||
-unity-text-align: middle-center;
|
||||
font-size: var(--text-md);
|
||||
color: var(--color-default);
|
||||
-unity-font-style: bold;
|
||||
white-space: normal;
|
||||
margin-bottom: 12px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.blocks-card-component__progress-bar {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
|
||||
.blocks-card-component__progress-bar__top-container {
|
||||
align-items: center;
|
||||
align-self: center;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.blocks-scroll-view {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.blocks-grid-view {
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-start;
|
||||
align-items: flex-start;
|
||||
align-content: flex-start;
|
||||
min-height: auto;
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ac8a6514e30d5487e8c3597727f1e1ff
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
disableValidation: 0
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 341930
|
||||
packageName: Unity Building Block - Multiplayer Session
|
||||
packageVersion: 1.0
|
||||
assetPath: Assets/Blocks/Common/Content/composites/card-component.uss
|
||||
uploadId: 814574
|
||||
@@ -0,0 +1,12 @@
|
||||
:root{
|
||||
padding-top: var(--padding-md);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.blocks-chat-message__text {
|
||||
padding-top: var(--padding-sm);
|
||||
padding-bottom: var(--padding-md);
|
||||
border-bottom-color: var(--color-border);
|
||||
white-space: normal;
|
||||
border-width: var(--width-border-md);
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a7fadc2a4fb2e466699f40e49e8984b9
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
disableValidation: 0
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 341930
|
||||
packageName: Unity Building Block - Multiplayer Session
|
||||
packageVersion: 1.0
|
||||
assetPath: Assets/Blocks/Common/Content/composites/chat-message.uss
|
||||
uploadId: 814574
|
||||
@@ -0,0 +1,7 @@
|
||||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="False">
|
||||
<Style src="./chat-message.uss" />
|
||||
<ui:VisualElement>
|
||||
<ui:Label text="Robi" name="sender" class="headline-small chat-message__sender" />
|
||||
<ui:Label text="Yes i really like what you are writing me here its awesome." name="message" class="chat-message__text blocks-chat-message__text" />
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,17 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 80bf5492419f84805a36cf30c440f229
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 341930
|
||||
packageName: Unity Building Block - Multiplayer Session
|
||||
packageVersion: 1.0
|
||||
assetPath: Assets/Blocks/Common/Content/composites/chat-message.uxml
|
||||
uploadId: 814574
|
||||
@@ -0,0 +1,30 @@
|
||||
.blocks-number-list-element{
|
||||
flex-grow: 1;
|
||||
flex-direction: row;
|
||||
width: 100%;
|
||||
-unity-text-align: middle-left;
|
||||
border-bottom-color: var(--color-border);
|
||||
border-width: var(--width-border-md);
|
||||
height: var(--base-unit-lg);
|
||||
min-width: 500px;
|
||||
}
|
||||
|
||||
.current-user.blocks-number-list-element {
|
||||
background-color: rgba(30,128,188,0.61);
|
||||
}
|
||||
|
||||
.blocks-number-list-element__number{
|
||||
font-size: var(--text-md);
|
||||
-unity-font-style: bold;
|
||||
width: var(--base-unit-xl);
|
||||
}
|
||||
|
||||
.blocks-number-list-element__text{
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
|
||||
.blocks-number-list-element__right{
|
||||
font-size: var(--text-sm);
|
||||
margin-left: auto;
|
||||
padding-left: var(--base-unit-md);
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1fa5a86ec0f684068824bc35f2bb6f27
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
disableValidation: 0
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 341930
|
||||
packageName: Unity Building Block - Multiplayer Session
|
||||
packageVersion: 1.0
|
||||
assetPath: Assets/Blocks/Common/Content/composites/numeric-list-element.uss
|
||||
uploadId: 814574
|
||||
Reference in New Issue
Block a user