Init
This commit is contained in:
@@ -0,0 +1,115 @@
|
||||
.blocks-button {
|
||||
height: var(--base-unit-xl);
|
||||
min-width: var(--width-min-input);
|
||||
padding: 0 var(--padding-lg);
|
||||
letter-spacing: var(--letterspacing-lg);
|
||||
color: var(--color-default);
|
||||
background-color: transparent;
|
||||
border-color: var(--color-default);
|
||||
border-width: var(--width-border-md);
|
||||
border-radius: var(--radius-lg);
|
||||
-unity-font-style: bold;
|
||||
flex-grow: 0;
|
||||
}
|
||||
|
||||
.blocks-button:hover:enabled,
|
||||
.blocks-button:focus:enabled {
|
||||
background-color: var(--color-default);
|
||||
border-color: var(--color-default);
|
||||
color: var(--color-dark-content);
|
||||
}
|
||||
|
||||
.blocks-button:active:enabled {
|
||||
background-color: var(--color-active);
|
||||
border-color: var(--color-active);
|
||||
color: var(--color-dark-content);
|
||||
}
|
||||
|
||||
.blocks-button:disabled {
|
||||
color: var(--color-inactive);
|
||||
border-color: var(--color-inactive);
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.blocks-button--xs {
|
||||
height: var(--base-unit-lg);
|
||||
border-radius: var(--radius-sm);
|
||||
padding: 0;
|
||||
min-width: var(--base-unit-lg);
|
||||
}
|
||||
|
||||
.blocks-button--sm {
|
||||
height: var(--base-unit-lg);
|
||||
border-radius: var(--radius-sm);
|
||||
}
|
||||
|
||||
.blocks-button--round {
|
||||
color: transparent;
|
||||
height: var(--base-unit-xl);
|
||||
width: var(--base-unit-xl);
|
||||
min-width: var(--base-unit-xl);
|
||||
max-width: var(--base-unit-xl);
|
||||
min-height: var(--base-unit-xl);
|
||||
max-height: var(--base-unit-xl);
|
||||
border-radius: var(--radius-lg);
|
||||
padding: 0;
|
||||
background-size: 50% 50%;
|
||||
}
|
||||
|
||||
.blocks-button--round:hover {
|
||||
color: transparent;
|
||||
-unity-background-image-tint-color: var(--color-dark-content);
|
||||
}
|
||||
|
||||
.blocks-button--round:focus {
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
/* Buttons to use for Tab Selection */
|
||||
.blocks-tab-button {
|
||||
border-width: var(--width-border-md);
|
||||
color: var(--color-inactive);
|
||||
padding-left: var(--padding-md);
|
||||
padding-right: var(--padding-md);
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
height: var(--base-unit-xl);
|
||||
-unity-text-align: middle-center;
|
||||
letter-spacing: var(--letterspacing-lg);
|
||||
}
|
||||
|
||||
.blocks-tab-button__underline {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.blocks-tab-button:focus:enabled{
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
color: var(--color-default);
|
||||
border-bottom-color: var(--color-default);
|
||||
}
|
||||
|
||||
.blocks-tab-button:hover:enabled {
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
color: var(--color-default);
|
||||
}
|
||||
|
||||
.blocks-tab-button:checked:hover:enabled {
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
color: var(--color-default);
|
||||
border-bottom-color: var(--color-default);
|
||||
}
|
||||
|
||||
.blocks-tab-button:checked:enabled {
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
color: var(--color-active);
|
||||
border-bottom-color: var(--color-default);
|
||||
}
|
||||
|
||||
.blocks-tab-button .unity-toggle__checkmark {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 24a81c4df0f34b7f8c53416ae3f8d529
|
||||
timeCreated: 1746543912
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 341930
|
||||
packageName: Unity Building Block - Multiplayer Session
|
||||
packageVersion: 1.0
|
||||
assetPath: Assets/Blocks/Common/Content/stylesheets/buttons.uss
|
||||
uploadId: 814574
|
||||
@@ -0,0 +1,29 @@
|
||||
.blocks-copy-session--header {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.blocks-copy-session--header > .blocks-button {
|
||||
background-image: url("../textures/icon_copy.png");
|
||||
background-size: 16px 16px;
|
||||
border-width: 0;
|
||||
font-size: 0;
|
||||
max-height: 16px;
|
||||
min-width: 16px;
|
||||
max-width: 16px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.blocks-copy-session--header > .blocks-textfield {
|
||||
min-width: auto;
|
||||
min-height: auto;
|
||||
border-width: 0;
|
||||
flex-grow: 0;
|
||||
padding: 4px 2px 4px 1px;
|
||||
margin: 4px 4px 2px 2px;
|
||||
}
|
||||
|
||||
.blocks-copy-session--header > .blocks-textfield > .unity-base-field__input {
|
||||
-unity-text-align: middle-right;
|
||||
justify-content: flex-end;
|
||||
padding: 0;
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6d0fe8ff6f2a1ef4fb1af3a5e8584135
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
disableValidation: 0
|
||||
unsupportedSelectorAction: 0
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 341930
|
||||
packageName: Unity Building Block - Multiplayer Session
|
||||
packageVersion: 1.0
|
||||
assetPath: Assets/Blocks/Common/Content/stylesheets/copy-session--header.uss
|
||||
uploadId: 814574
|
||||
@@ -0,0 +1,63 @@
|
||||
:root {
|
||||
/* font and text */
|
||||
--font-sans: "Inter", sans-serif;
|
||||
--text-sm: 14px;
|
||||
--text-md: 18px;
|
||||
--text-lg: 24px;
|
||||
--text-xl: 32px;
|
||||
--letterspacing-md: 2px;
|
||||
--letterspacing-lg: 4px;
|
||||
|
||||
/* colors */
|
||||
--color-modal-background: rgba(16, 16, 16, 0.96);
|
||||
--color-card-background: rgb(31, 31, 31);
|
||||
--color-dropdown-selection-background: rgb(63, 63, 63);
|
||||
|
||||
--color-default: rgb(255, 255, 255);
|
||||
--color-inactive: rgba(255, 255, 255, 0.5);
|
||||
--color-neutral: rgb(171, 171, 171);
|
||||
--color-active: rgb(199, 199, 199);
|
||||
--color-dark-content: rgb(0, 0, 0);
|
||||
--color-border: rgb(66, 66, 66);
|
||||
|
||||
/* spacing and sizing */
|
||||
--base-unit-xs:4px;
|
||||
--base-unit-sm:8px;
|
||||
--base-unit-md:16px;
|
||||
--base-unit-lg:32px;
|
||||
--base-unit-xls:40px;
|
||||
--base-unit-xl:56px;
|
||||
--base-unit-xxl:96px;
|
||||
|
||||
/* paddings */
|
||||
--padding-sm: 8px;
|
||||
--padding-md: 18px;
|
||||
--padding-lg: 32px;
|
||||
--padding-xl: 48px;
|
||||
--padding-xxl: 64px;
|
||||
|
||||
/* margin */
|
||||
--margin-xs: 4px;
|
||||
--margin-sm: 16px;
|
||||
--margin-md: 24px;
|
||||
--margin-lg: 32px;
|
||||
--margin-xl: 48px;
|
||||
|
||||
/* border-radius */
|
||||
--radius-xs: 4px;
|
||||
--radius-sm: 16px;
|
||||
--radius-md: 24px;
|
||||
--radius-lg: 28px;
|
||||
--radius-xl: 32px;
|
||||
|
||||
--width-min-input: 156px;
|
||||
--width-border-md: 2px;
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
-unity-font: var(--font-sans);
|
||||
font-size: var(--text-md);
|
||||
letter-spacing: var(--letterspacing-md);
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 579ba5ca033b24b4a963ed035c497332
|
||||
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/stylesheets/core.uss
|
||||
uploadId: 814574
|
||||
@@ -0,0 +1,47 @@
|
||||
.blocks-icon-triangle{
|
||||
background-image: url("../textures/icon_triangle.png");
|
||||
}
|
||||
|
||||
.blocks-icon-x{
|
||||
background-image: url("../textures/icon_x.png");
|
||||
}
|
||||
|
||||
.blocks-icon-arrow{
|
||||
background-image: url("../textures/icon_triangle.png");
|
||||
}
|
||||
|
||||
.blocks-reticle-cross{
|
||||
background-image: url("../textures/reticle_cross.png");
|
||||
}
|
||||
|
||||
.blocks-reticle-opencircular{
|
||||
background-image: url("../textures/reticle_opencircular.png");
|
||||
}
|
||||
|
||||
.blocks-reticle-tcross{
|
||||
background-image: url("../textures/reticle_tcross.png");
|
||||
}
|
||||
|
||||
.blocks-reticle-circularcross{
|
||||
background-image: url("../textures/reticle_circularcross.png");
|
||||
}
|
||||
|
||||
.blocks-icon-pistol{
|
||||
background-image: url("../textures/icon_pistol.png");
|
||||
}
|
||||
|
||||
.blocks-icon-shotgun{
|
||||
background-image: url("../textures/icon_shotgun.png");
|
||||
}
|
||||
|
||||
.blocks-icon-machinegun{
|
||||
background-image: url("../textures/icon_machinegun.png");
|
||||
}
|
||||
|
||||
.blocks-icon-rocketlauncher{
|
||||
background-image: url("../textures/icon_rocketlauncher.png");
|
||||
}
|
||||
|
||||
.blocks-icon-reload{
|
||||
background-image: url("../textures/reticle_reload_circle.png");
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9a4825ea77704dd099e1cf197a3f9728
|
||||
timeCreated: 1746616051
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 341930
|
||||
packageName: Unity Building Block - Multiplayer Session
|
||||
packageVersion: 1.0
|
||||
assetPath: Assets/Blocks/Common/Content/stylesheets/icons.uss
|
||||
uploadId: 814574
|
||||
@@ -0,0 +1,141 @@
|
||||
.blocks-textfield,
|
||||
.blocks-dropdown{
|
||||
min-width: var(--width-min-input);
|
||||
min-height: var(--base-unit-xl);
|
||||
letter-spacing: var(--letterspacing-md);
|
||||
border-radius: var(--radius-sm);
|
||||
border-color: var(--color-neutral);
|
||||
border-width: var(--width-border-md);
|
||||
white-space: normal;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.blocks-textfield > .unity-base-field__input,
|
||||
.blocks-dropdown:hover:enabled > .unity-base-popup-field__input,
|
||||
.blocks-dropdown > .unity-base-popup-field__input,
|
||||
.blocks-dropdown:active:enabled > .unity-base-popup-field__input{
|
||||
--unity-cursor-color: rgb(255, 255, 255);
|
||||
background-color: transparent;
|
||||
border-width: 0;
|
||||
color: var(--color-default);
|
||||
padding: var(--padding-md);
|
||||
}
|
||||
|
||||
.blocks-textfield > .unity-base-text-field__input--placeholder {
|
||||
color: var(--color-neutral);
|
||||
}
|
||||
|
||||
.blocks-textfield > .unity-base-field__label,
|
||||
.blocks-dropdown > .unity-base-field__label{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.blocks-dropdown > .unity-base-popup-field__input > .unity-base-popup-field__arrow{
|
||||
background-image: url("../textures/icon_triangle.png");
|
||||
width: var(--base-unit-md);
|
||||
height: var(--base-unit-md);
|
||||
margin-left: var( --margin-sm);
|
||||
-unity-background-image-tint-color: var(--color-default);
|
||||
}
|
||||
|
||||
.blocks-toggle {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.blocks-toggle > .unity-toggle__label{
|
||||
color: var(--color-active);
|
||||
font-size: var( --text-xl);
|
||||
align-items: center;
|
||||
letter-spacing: var(--letterspacing-lg);
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.blocks-toggle:checked > .unity-toggle__label,
|
||||
.blocks-toggle:focus:enabled > .unity-toggle__label {
|
||||
color: var(--color-default);
|
||||
font-size: var( --text-xl);
|
||||
align-items: center;
|
||||
letter-spacing: var(--letterspacing-lg);
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.blocks-toggle > .unity-toggle__input{
|
||||
margin-left: var( --margin-sm);
|
||||
min-height: var(--base-unit-xl);
|
||||
min-width: var(--base-unit-xxl);
|
||||
max-width: var(--base-unit-xxl);
|
||||
border-radius: var(--radius-lg);
|
||||
border-color: darkgrey;
|
||||
border-width: var(--width-border-md);
|
||||
}
|
||||
|
||||
.blocks-toggle > .unity-toggle__input > .unity-toggle__checkmark{
|
||||
transition: left 0.1s ease-in-out, scale 0.1s ease-in-out;
|
||||
left: 8px;
|
||||
min-width: var( --base-unit-lg);
|
||||
min-height: var( --base-unit-lg);
|
||||
background-color: var(--color-inactive);
|
||||
background-image: none;
|
||||
border-width: 0;
|
||||
border-radius: var(--radius-sm);
|
||||
}
|
||||
|
||||
.blocks-toggle:checked > .unity-toggle__input > .unity-toggle__checkmark{
|
||||
scale: 1.2;
|
||||
left: 48px;
|
||||
background-color: var(--color-default);
|
||||
}
|
||||
|
||||
.blocks-toggle > .unity-toggle__input:checked > .unity-toggle__checkmark,
|
||||
.blocks-toggle > .unity-toggle__input:focus:enabled:checked > .unity-toggle__checkmark,
|
||||
.blocks-toggle > .unity-toggle__input:hover:enabled:checked > .unity-toggle__checkmark{
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
.blocks-toggle:focus:enabled > .unity-toggle__input,
|
||||
.blocks-textfield:focus,
|
||||
.blocks-dropdown:active:enabled,
|
||||
.blocks-dropdown:focus{
|
||||
border-color: var(--color-default);
|
||||
}
|
||||
|
||||
|
||||
/* Unfortunately we have to style the global dropdown as it has no custom class
|
||||
this is shown when the dropdown is open.
|
||||
*/
|
||||
|
||||
.unity-base-dropdown__container-outer{
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
.unity-base-dropdown__container-inner{
|
||||
padding: 2px;
|
||||
background-color: var(--color-card-background);
|
||||
border-radius: var(--radius-sm);
|
||||
}
|
||||
|
||||
.unity-base-dropdown__item{
|
||||
margin: var(--base-unit-xs);
|
||||
color: var(--color-inactive);
|
||||
}
|
||||
|
||||
.unity-base-dropdown__item:hover:enabled{
|
||||
background-color: var(--color-dropdown-selection-background);
|
||||
border-radius: var(--radius-sm);
|
||||
}
|
||||
|
||||
.unity-base-dropdown__item:checked:enabled{
|
||||
background-color: var(--color-dropdown-selection-background);
|
||||
border-radius: var(--radius-sm);
|
||||
color: var(--color-default);
|
||||
}
|
||||
|
||||
.unity-base-dropdown__item > .unity-base-dropdown__item-content > .unity-base-dropdown__checkmark{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.unity-base-dropdown__item > .unity-base-dropdown__item-content > .unity-base-dropdown__label,
|
||||
.unity-base-dropdown__item:checked > .unity-base-dropdown__item-content > .unity-base-dropdown__label{
|
||||
padding-left: var(--base-unit-xs);
|
||||
padding-right: var(--base-unit-xs);
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e01aade3b4d44466be1a74cda2e4b773
|
||||
timeCreated: 1746544115
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 341930
|
||||
packageName: Unity Building Block - Multiplayer Session
|
||||
packageVersion: 1.0
|
||||
assetPath: Assets/Blocks/Common/Content/stylesheets/inputs.uss
|
||||
uploadId: 814574
|
||||
@@ -0,0 +1,26 @@
|
||||
.blocks-label{
|
||||
color: var(--color-default);
|
||||
}
|
||||
|
||||
.blocks-header {
|
||||
font-size: var(--text-lg);
|
||||
-unity-font-style: bold;
|
||||
color: var(--color-neutral);
|
||||
-unity-text-align: middle-center;
|
||||
padding: 0 var(--padding-lg);
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.blocks-header--sm {
|
||||
font-size: var(--text-md);
|
||||
}
|
||||
|
||||
.blocks-header--xs {
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
|
||||
.blocks-header--space-bottom {
|
||||
margin-bottom: var(--margin-xl);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3967daf31cdfb2d4b8326839de2c378e
|
||||
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/stylesheets/labels.uss
|
||||
uploadId: 814574
|
||||
@@ -0,0 +1,4 @@
|
||||
.blocks-list-view--no-hover .unity-collection-view__item:hover
|
||||
{
|
||||
background-color: transparent;
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0c25414d17a91d14e85428d6e27917f9
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
disableValidation: 0
|
||||
unsupportedSelectorAction: 0
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 341930
|
||||
packageName: Unity Building Block - Multiplayer Session
|
||||
packageVersion: 1.0
|
||||
assetPath: Assets/Blocks/Common/Content/stylesheets/list-view.uss
|
||||
uploadId: 814574
|
||||
@@ -0,0 +1,54 @@
|
||||
.blocks-modal {
|
||||
background-color: var(--color-modal-background);
|
||||
border-radius: var(--radius-md);
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
flex-grow: 0;
|
||||
flex-shrink: 1;
|
||||
padding: var(--padding-lg) var(--padding-xl);
|
||||
}
|
||||
|
||||
.blocks-modal__close-button {
|
||||
position: absolute;
|
||||
top: var(--padding-lg);
|
||||
right: var(--padding-xl);
|
||||
}
|
||||
|
||||
.blocks-menu
|
||||
{
|
||||
align-content: center;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
align-self: center;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.blocks-debug-menu
|
||||
{
|
||||
flex-grow: 1;
|
||||
flex-shrink: 1;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
align-content: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.blocks-menu--left-panel {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.blocks-menu--left-panel > .blocks-modal
|
||||
{
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.blocks-modal--left-aligned-text {}
|
||||
|
||||
.blocks-modal--left-aligned-text .blocks-label,
|
||||
.blocks-modal--left-aligned-text .blocks-header {
|
||||
-unity-text-align: middle-left;
|
||||
padding: 0;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cef182fc9fb448339fe32a55e8ba31b6
|
||||
timeCreated: 1746544465
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 341930
|
||||
packageName: Unity Building Block - Multiplayer Session
|
||||
packageVersion: 1.0
|
||||
assetPath: Assets/Blocks/Common/Content/stylesheets/modals.uss
|
||||
uploadId: 814574
|
||||
@@ -0,0 +1,57 @@
|
||||
:root{
|
||||
--color-progressbar-background: rgba(16, 16, 16, 0.75);
|
||||
--color-progressbar-border-color: rgba(0, 0, 0, 0);
|
||||
--color-progressbar-fill: rgba(145, 213, 97, 0.75);
|
||||
--color-progressbar-text: rgb(255, 255, 255);
|
||||
--color-progressbar-text-low: rgb(255, 0, 0);
|
||||
--color-progressbar-ammo-blue: rgba(19, 181, 231, 0.75);
|
||||
}
|
||||
|
||||
.blocks-progress-bar .unity-progress-bar{
|
||||
position: relative;
|
||||
width: 100%;
|
||||
background-color: black;
|
||||
border-radius: 10px;
|
||||
min-height: 16px;
|
||||
max-height: 16px;
|
||||
overflow: hidden;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.blocks-progress-bar .unity-progress-bar__container {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.blocks-progress-bar .unity-progress-bar__background {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
min-height: 16px;
|
||||
max-height: 16px;
|
||||
background-color: var(--color-progressbar-background);
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
border-width: 4px;
|
||||
border-color: var(--color-progressbar-border-color);
|
||||
}
|
||||
|
||||
.blocks-progress-bar .unity-progress-bar__progress {
|
||||
position: absolute;
|
||||
height: 8px;
|
||||
margin: 0px;
|
||||
border-radius: 5px;
|
||||
padding: 0px;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background-color: var(--color-progressbar-fill);
|
||||
transition: width 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.blocks-progress-bar .unity-progress-bar__title {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.blocks-ammo-bar .unity-progress-bar__progress {
|
||||
background-color: var(--color-progressbar-ammo-blue);
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 560ab0d72fae04873ba6435f044289eb
|
||||
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/stylesheets/progressbar.uss
|
||||
uploadId: 814574
|
||||
@@ -0,0 +1,51 @@
|
||||
.blocks-scroll-view {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.blocks-scroll-view .unity-scroll-view__content-container {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.blocks-modal--left-aligned-text .unity-scroll-view__content-container {
|
||||
justify-content: flex-start;
|
||||
align-items: flex-start;
|
||||
color: red;
|
||||
}
|
||||
|
||||
.blocks-scroll-view .unity-scroller {
|
||||
margin-left: 10px;
|
||||
margin-right: -10px;
|
||||
}
|
||||
|
||||
.blocks-scroll-view .unity-base-slider__dragger {
|
||||
left: auto;
|
||||
align-self: center;
|
||||
width: var(--base-unit-xs);
|
||||
border-radius: var(--radius-xs);
|
||||
background-color: var(--color-default);
|
||||
}
|
||||
|
||||
.blocks-scroll-view .unity-base-slider__tracker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.blocks-scroll-view .unity-base-slider__dragger-border {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.blocks-scroll-view .unity-scroller__high-button {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.blocks-scroll-view .unity-scroller__low-button {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.blocks-scroll-view__element{
|
||||
width: 100%;
|
||||
height: var(--base-unit-xl);
|
||||
-unity-text-align: middle-left;
|
||||
border-bottom-color: var(--color-border);
|
||||
border-width: var(--width-border-md);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8367ea085d4c40fa91a394d241392f22
|
||||
timeCreated: 1755704769
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 341930
|
||||
packageName: Unity Building Block - Multiplayer Session
|
||||
packageVersion: 1.0
|
||||
assetPath: Assets/Blocks/Common/Content/stylesheets/scroll-view.uss
|
||||
uploadId: 814574
|
||||
@@ -0,0 +1,51 @@
|
||||
.blocks-container--horizontal {
|
||||
flex-grow: 0;
|
||||
flex-shrink: 0;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
align-content: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.blocks-container--horizontal--grow {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.blocks-container--space-between {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.blocks-container--stretch {
|
||||
align-self: stretch;
|
||||
}
|
||||
|
||||
.blocks-container--right {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.blocks-element--space-right {
|
||||
margin-right: var(--margin-lg);
|
||||
}
|
||||
|
||||
.blocks-element--space-left {
|
||||
margin-left: var(--margin-lg);
|
||||
}
|
||||
|
||||
.blocks-element--space-bottom {
|
||||
margin-bottom: var(--margin-sm);
|
||||
}
|
||||
|
||||
.blocks-element--space-bottom-sm {
|
||||
margin-bottom: var(--margin-xs);
|
||||
}
|
||||
|
||||
.blocks-element--border-bottom {
|
||||
border-bottom-width: var(--base-unit-xs);
|
||||
border-bottom-color: var(--color-border);
|
||||
}
|
||||
|
||||
.blocks-element--full-width {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c4c8f1a4b06149cba4827009b662075d
|
||||
timeCreated: 1746544393
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 341930
|
||||
packageName: Unity Building Block - Multiplayer Session
|
||||
packageVersion: 1.0
|
||||
assetPath: Assets/Blocks/Common/Content/stylesheets/utilities.uss
|
||||
uploadId: 814574
|
||||
Reference in New Issue
Block a user