Files
BABA_YAGA/Assets/UI/Global.uss

367 lines
9.6 KiB
Plaintext
Raw Normal View History

2026-04-28 00:07:42 +07:00
/* Global Styles for Hallucinate UI */
2026-04-28 18:49:05 +07:00
/* ============================================================
2026-05-01 16:17:12 +07:00
DESIGN TOKENS & UNITY THEME OVERRIDES
2026-04-28 18:49:05 +07:00
============================================================ */
2026-04-28 00:07:42 +07:00
:root {
--primary-color: #ffffff;
--accent-color: #00ffcc;
2026-05-01 15:08:59 +07:00
--color-surface: rgba(10, 10, 10, 0.95);
--color-surface-opaque: #0a0a0a;
2026-04-29 01:04:28 +07:00
--color-text-primary: #ffffff;
--color-text-secondary: #aaaaaa;
--color-text-accent: #00ffcc;
--radius-md: 12px;
2026-05-01 15:08:59 +07:00
--radius-lg: 24px;
2026-04-28 18:49:05 +07:00
--radius-pill: 999px;
2026-05-01 16:17:12 +07:00
/* ÉP UNITY DÙNG MÀU CỦA GAME CHO CÁC THÀNH PHẦN NỘI BỘ (DROPDOWN POPUP) */
--unity-colors-surface-background: #0a0a0a;
--unity-colors-surface-border: #00ffcc;
--unity-colors-surface-text: #ffffff;
--unity-colors-highlight-background: rgba(0, 255, 204, 0.2);
2026-04-28 00:07:42 +07:00
}
2026-04-28 18:49:05 +07:00
/* ============================================================
BASE RESET
============================================================ */
2026-04-28 00:07:42 +07:00
.screen-root {
width: 100%;
height: 100%;
position: absolute;
2026-04-29 01:04:28 +07:00
background-color: rgba(0, 0, 0, 0);
color: #ffffff;
-unity-font: url("../Fonts/BitcountSingleInk-VariableFont_CRSV,ELSH,ELXP,SZP1,SZP2,XPN1,XPN2,YPN1,YPN2,slnt,wght.ttf");
-unity-font-definition: url("../Fonts/BitcountSingleInk-VariableFont_CRSV,ELSH,ELXP,SZP1,SZP2,XPN1,XPN2,YPN1,YPN2,slnt,wght SDF.asset");
2026-04-28 00:07:42 +07:00
}
2026-04-28 18:49:05 +07:00
/* ============================================================
2026-04-28 22:35:03 +07:00
TYPOGRAPHY
2026-04-28 18:49:05 +07:00
============================================================ */
2026-04-28 22:35:03 +07:00
.text-heading {
font-size: 32px;
-unity-font-style: bold;
2026-04-29 01:04:28 +07:00
color: #ffffff;
-unity-font: url("../Fonts/BitcountGridDouble-VariableFont_CRSV,ELSH,ELXP,slnt,wght.ttf");
-unity-font-definition: url("../Fonts/BitcountGridDouble-VariableFont_CRSV,ELSH,ELXP,slnt,wght SDF.asset");
margin-bottom: 16px;
2026-04-28 22:35:03 +07:00
}
.text-subheading {
font-size: 24px;
-unity-font-style: bold;
2026-04-29 01:04:28 +07:00
color: #00ffcc;
-unity-font: url("../Fonts/BitcountGridDouble-VariableFont_CRSV,ELSH,ELXP,slnt,wght.ttf");
-unity-font-definition: url("../Fonts/BitcountGridDouble-VariableFont_CRSV,ELSH,ELXP,slnt,wght SDF.asset");
margin-bottom: 12px;
2026-04-28 22:35:03 +07:00
}
.text-label {
2026-04-29 01:04:28 +07:00
font-size: 15px;
color: #aaaaaa;
2026-04-28 22:35:03 +07:00
-unity-font-style: bold;
2026-04-29 01:04:28 +07:00
letter-spacing: 1px;
2026-04-28 22:35:03 +07:00
}
.text-body {
2026-04-29 01:04:28 +07:00
font-size: 18px;
color: #eeeeee;
-unity-font-style: normal;
2026-05-01 17:57:07 +07:00
/* Giúp chữ mượt hơn */
2026-04-29 01:04:28 +07:00
-unity-text-outline-width: 0.1px;
-unity-text-outline-color: rgba(255, 255, 255, 0.1);
2026-04-28 22:35:03 +07:00
}
.text-accent {
2026-04-29 01:04:28 +07:00
color: #00ffcc;
2026-04-28 22:35:03 +07:00
}
2026-04-28 18:49:05 +07:00
2026-04-28 22:35:03 +07:00
/* ============================================================
2026-04-29 01:04:28 +07:00
SCROLL VIEW CUSTOMIZATION
2026-04-28 22:35:03 +07:00
============================================================ */
2026-04-29 01:04:28 +07:00
.scroll-list {
padding-right: 12px;
2026-04-28 00:07:42 +07:00
}
2026-04-29 01:04:28 +07:00
.unity-scroller {
background-color: transparent;
width: 6px;
2026-04-28 00:07:42 +07:00
}
2026-04-29 01:04:28 +07:00
.unity-base-slider__tracker {
background-color: transparent;
border-width: 0;
2026-04-28 00:07:42 +07:00
}
2026-04-29 01:04:28 +07:00
.unity-base-slider__dragger {
background-color: rgba(0, 255, 204, 0.3);
border-radius: 3px;
width: 3px;
left: 1.5px;
border-width: 0;
2026-05-01 15:08:59 +07:00
transition: 200ms;
2026-04-29 01:04:28 +07:00
}
2026-04-28 18:49:05 +07:00
2026-04-29 01:04:28 +07:00
.unity-scroller:hover .unity-base-slider__dragger {
background-color: rgba(0, 255, 204, 0.8);
width: 6px;
left: 0;
2026-04-28 18:49:05 +07:00
}
2026-04-29 01:04:28 +07:00
.unity-scroller__low-button, .unity-scroller__high-button {
display: none;
2026-04-28 18:49:05 +07:00
}
/* ============================================================
2026-04-29 01:04:28 +07:00
BUTTONS
2026-04-28 18:49:05 +07:00
============================================================ */
2026-04-29 01:04:28 +07:00
.button-spring {
height: 48px;
padding: 0 24px;
border-radius: 12px;
border-width: 0;
-unity-font-style: bold;
font-size: 16px;
color: #ffffff;
background-color: rgba(255, 255, 255, 0.1);
2026-05-01 15:08:59 +07:00
transition: 150ms;
2026-04-29 01:04:28 +07:00
align-items: center;
2026-04-28 00:07:42 +07:00
justify-content: center;
2026-04-28 18:49:05 +07:00
}
2026-04-29 01:04:28 +07:00
.button-spring:hover {
2026-05-01 15:08:59 +07:00
scale: 1.05 1.05;
2026-04-29 01:04:28 +07:00
background-color: rgba(255, 255, 255, 0.2);
2026-04-28 22:35:03 +07:00
}
2026-04-29 02:31:15 +07:00
.button-spring:active {
2026-05-01 15:08:59 +07:00
scale: 0.92 0.92;
2026-04-29 02:31:15 +07:00
}
2026-04-29 01:04:28 +07:00
.btn-settings { background-color: #7B6EE8; }
.btn-join { background-color: #4DC8A0; }
.btn-create { background-color: #E8834D; }
.btn-profile { background-color: #E84D8A; }
.btn-exit { background-color: #666666; }
2026-04-28 18:49:05 +07:00
/* ============================================================
2026-05-01 16:51:08 +07:00
DROPDOWN & FIELDS
2026-05-01 15:08:59 +07:00
============================================================ */
2026-05-01 16:17:12 +07:00
DropdownField, .unity-dropdown-field {
2026-05-01 15:08:59 +07:00
margin-bottom: 12px;
}
2026-05-01 16:17:12 +07:00
DropdownField .unity-dropdown-field__label {
2026-05-01 15:08:59 +07:00
width: 35%;
color: #aaaaaa;
font-size: 14px;
-unity-font-style: bold;
}
2026-05-01 16:17:12 +07:00
DropdownField .unity-base-field__input {
2026-05-01 15:08:59 +07:00
background-color: rgba(255, 255, 255, 0.05);
border-radius: 10px;
border-width: 1px;
border-color: rgba(255, 255, 255, 0.1);
padding: 10px 15px;
flex-grow: 1;
color: #00ffcc;
}
2026-05-01 16:17:12 +07:00
DropdownField:hover .unity-base-field__input {
background-color: rgba(255, 255, 255, 0.08);
2026-05-01 15:08:59 +07:00
border-color: #00ffcc;
}
.unity-base-dropdown {
2026-05-01 16:51:08 +07:00
background-color: rgba(0, 0, 0, 0) !important;
2026-05-01 16:17:12 +07:00
border-width: 0 !important;
}
.unity-base-dropdown__container-inner {
2026-05-01 15:08:59 +07:00
background-color: #0a0a0a !important;
border-width: 2px !important;
border-color: #00ffcc !important;
border-radius: 12px !important;
margin-top: 10px !important;
2026-05-01 16:17:12 +07:00
padding: 5px !important;
2026-05-01 15:08:59 +07:00
}
.unity-base-dropdown__item {
padding: 12px 15px !important;
background-color: transparent !important;
color: #eeeeee !important;
}
2026-05-01 16:17:12 +07:00
/* Chữ trong Item */
.unity-base-dropdown__label {
color: #eeeeee !important;
}
2026-05-01 16:51:08 +07:00
2026-05-01 15:08:59 +07:00
.unity-base-dropdown__item:hover {
background-color: rgba(0, 255, 204, 0.15) !important;
color: #00ffcc !important;
}
2026-05-01 16:17:12 +07:00
.unity-base-dropdown__item:hover .unity-base-dropdown__label {
color: #00ffcc !important;
}
2026-05-01 16:51:08 +07:00
2026-05-01 15:08:59 +07:00
.unity-base-dropdown__item--selected {
background-color: rgba(0, 255, 204, 0.1) !important;
color: #00ffcc !important;
}
.unity-base-dropdown__checkmark {
-unity-background-image-tint-color: #00ffcc !important;
}
2026-05-01 16:17:12 +07:00
/* ============================================================
2026-05-01 16:51:08 +07:00
SMART SIDEBAR (STABLE OVERLAY SYSTEM)
2026-05-01 16:17:12 +07:00
============================================================ */
.sidebar-tabs-container {
2026-05-01 17:57:07 +07:00
background-color: rgb(10, 10, 10) !important; /* ĐEN ĐẶC TUYỆT ĐỐI */
opacity: 1 !important;
2026-05-01 16:17:12 +07:00
padding-top: 60px;
2026-05-01 16:51:08 +07:00
border-right-width: 2px;
2026-05-01 16:17:12 +07:00
border-right-color: rgba(0, 255, 204, 0.1);
overflow: hidden;
height: 100%;
2026-05-01 17:57:07 +07:00
position: absolute;
2026-05-01 16:51:08 +07:00
left: 0;
top: 0;
2026-05-01 17:57:07 +07:00
z-index: 999; /* ƯU TIÊN HIỂN THỊ CAO NHẤT */
2026-05-01 16:17:12 +07:00
}
.sidebar-collapsed {
width: 80px;
}
.sidebar-expanded {
border-right-color: #00ffcc;
2026-05-01 17:57:07 +07:00
background-color: rgb(10, 10, 10) !important;
2026-05-01 16:17:12 +07:00
}
.sidebar-tab {
height: 60px;
background-color: transparent;
border-width: 0;
padding: 0;
flex-direction: row;
align-items: center;
border-left-width: 4px;
border-left-color: transparent;
2026-05-01 16:51:08 +07:00
}
.active-tab {
background-color: rgba(0, 255, 204, 0.08);
border-left-color: #00ffcc;
2026-05-01 16:17:12 +07:00
}
.tab-icon-box {
width: 80px;
height: 60px;
justify-content: center;
align-items: center;
flex-shrink: 0;
}
.tab-icon {
width: 32px;
height: 32px;
2026-05-01 16:51:08 +07:00
background-color: #ffffff;
2026-05-01 16:17:12 +07:00
-unity-background-image-tint-color: #ffffff;
}
.active-tab .tab-icon {
-unity-background-image-tint-color: #00ffcc;
}
.tab-label {
font-size: 16px;
-unity-font-style: bold;
color: #888888;
margin-left: 10px;
white-space: nowrap;
opacity: 0;
2026-05-01 16:51:08 +07:00
transition: opacity 0.3s ease-out-quad;
2026-05-01 16:17:12 +07:00
}
.sidebar-expanded .tab-label {
opacity: 1;
color: #ffffff;
}
.btn-icon-only {
2026-05-01 16:51:08 +07:00
width: 50px;
height: 50px;
border-radius: 25px;
2026-05-01 17:57:07 +07:00
margin: 15px 15px;
2026-05-01 16:51:08 +07:00
background-color: rgba(255, 255, 255, 0.1);
2026-05-01 16:17:12 +07:00
}
2026-05-01 16:51:08 +07:00
.settings-details-column {
margin-left: 80px; /* CHỖ CHỪA CHO ICON */
flex-grow: 1;
padding: 40px;
2026-04-28 18:49:05 +07:00
}
.input-field {
2026-04-28 22:35:03 +07:00
height: 48px;
2026-04-29 01:04:28 +07:00
border-radius: 12px;
2026-04-28 18:49:05 +07:00
border-width: 1px;
2026-04-29 01:04:28 +07:00
border-color: rgba(255, 255, 255, 0.15);
background-color: rgba(255, 255, 255, 0.08);
color: #ffffff;
padding-left: 16px;
margin-bottom: 16px;
2026-04-28 22:35:03 +07:00
}
.unity-base-text-field__input {
2026-04-29 01:04:28 +07:00
background-color: rgba(0, 0, 0, 0);
2026-04-28 22:35:03 +07:00
border-width: 0;
2026-04-28 18:49:05 +07:00
}
2026-04-29 01:04:28 +07:00
.ribbon {
flex-direction: row;
height: 120px;
width: 100%;
background-color: rgba(10, 10, 10, 0.95);
border-top-width: 2px;
border-bottom-width: 2px;
border-top-color: #00ffcc;
border-bottom-color: #00ffcc;
align-items: center;
justify-content: center;
padding: 0 50px;
position: absolute;
top: 50%;
translate: 0 -50%;
}
.border-accent { border-color: #00ffcc; }
2026-04-28 18:49:05 +07:00
/* ============================================================
2026-05-01 16:51:08 +07:00
PANELS & OTHERS
2026-04-28 18:49:05 +07:00
============================================================ */
2026-05-01 16:51:08 +07:00
.panel-glass { background-color: var(--color-surface); border-radius: 20px; }
2026-05-01 20:07:12 +07:00
.panel-glass--right {
flex-grow: 1;
background-color: var(--color-surface);
padding: 40px;
border-top-left-radius: 40px;
border-bottom-left-radius: 40px;
/* Flush with right edge */
border-top-right-radius: 0;
border-bottom-right-radius: 0;
margin-right: 0;
border-right-width: 0;
}
2026-05-01 16:51:08 +07:00
.rebind-row { flex-direction: row; justify-content: space-between; align-items: center; padding: 12px 16px; background-color: rgba(255, 255, 255, 0.02); border-radius: 10px; margin-bottom: 6px; }
.rebind-label { font-size: 14px; color: #cccccc; }
.rebind-button { width: 140px; height: 36px; background-color: rgba(255, 255, 255, 0.08); border-radius: 8px; border-width: 1px; border-color: rgba(255, 255, 255, 0.1); color: #00ffcc; font-size: 13px; -unity-font-style: bold; }
.setting-section-header { margin-top: 24px; margin-bottom: 12px; font-size: 13px; color: #666666; -unity-font-style: bold; border-bottom-width: 1px; border-bottom-color: rgba(255, 255, 255, 0.05); padding-bottom: 6px; letter-spacing: 1px; }