367 lines
9.6 KiB
Plaintext
367 lines
9.6 KiB
Plaintext
/* Global Styles for Hallucinate UI */
|
|
|
|
/* ============================================================
|
|
DESIGN TOKENS & UNITY THEME OVERRIDES
|
|
============================================================ */
|
|
:root {
|
|
--primary-color: #ffffff;
|
|
--accent-color: #00ffcc;
|
|
--color-surface: rgba(10, 10, 10, 0.95);
|
|
--color-surface-opaque: #0a0a0a;
|
|
--color-text-primary: #ffffff;
|
|
--color-text-secondary: #aaaaaa;
|
|
--color-text-accent: #00ffcc;
|
|
--radius-md: 12px;
|
|
--radius-lg: 24px;
|
|
--radius-pill: 999px;
|
|
|
|
/* É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);
|
|
}
|
|
|
|
/* ============================================================
|
|
BASE RESET
|
|
============================================================ */
|
|
.screen-root {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: absolute;
|
|
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");
|
|
}
|
|
|
|
/* ============================================================
|
|
TYPOGRAPHY
|
|
============================================================ */
|
|
.text-heading {
|
|
font-size: 32px;
|
|
-unity-font-style: bold;
|
|
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;
|
|
}
|
|
|
|
.text-subheading {
|
|
font-size: 24px;
|
|
-unity-font-style: bold;
|
|
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;
|
|
}
|
|
|
|
.text-label {
|
|
font-size: 15px;
|
|
color: #aaaaaa;
|
|
-unity-font-style: bold;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.text-body {
|
|
font-size: 18px;
|
|
color: #eeeeee;
|
|
-unity-font-style: normal;
|
|
/* Giúp chữ mượt hơn */
|
|
-unity-text-outline-width: 0.1px;
|
|
-unity-text-outline-color: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.text-accent {
|
|
color: #00ffcc;
|
|
}
|
|
|
|
/* ============================================================
|
|
SCROLL VIEW CUSTOMIZATION
|
|
============================================================ */
|
|
.scroll-list {
|
|
padding-right: 12px;
|
|
}
|
|
|
|
.unity-scroller {
|
|
background-color: transparent;
|
|
width: 6px;
|
|
}
|
|
|
|
.unity-base-slider__tracker {
|
|
background-color: transparent;
|
|
border-width: 0;
|
|
}
|
|
|
|
.unity-base-slider__dragger {
|
|
background-color: rgba(0, 255, 204, 0.3);
|
|
border-radius: 3px;
|
|
width: 3px;
|
|
left: 1.5px;
|
|
border-width: 0;
|
|
transition: 200ms;
|
|
}
|
|
|
|
.unity-scroller:hover .unity-base-slider__dragger {
|
|
background-color: rgba(0, 255, 204, 0.8);
|
|
width: 6px;
|
|
left: 0;
|
|
}
|
|
|
|
.unity-scroller__low-button, .unity-scroller__high-button {
|
|
display: none;
|
|
}
|
|
|
|
/* ============================================================
|
|
BUTTONS
|
|
============================================================ */
|
|
.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);
|
|
transition: 150ms;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.button-spring:hover {
|
|
scale: 1.05 1.05;
|
|
background-color: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.button-spring:active {
|
|
scale: 0.92 0.92;
|
|
}
|
|
|
|
.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; }
|
|
|
|
/* ============================================================
|
|
DROPDOWN & FIELDS
|
|
============================================================ */
|
|
DropdownField, .unity-dropdown-field {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
DropdownField .unity-dropdown-field__label {
|
|
width: 35%;
|
|
color: #aaaaaa;
|
|
font-size: 14px;
|
|
-unity-font-style: bold;
|
|
}
|
|
|
|
DropdownField .unity-base-field__input {
|
|
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;
|
|
}
|
|
|
|
DropdownField:hover .unity-base-field__input {
|
|
background-color: rgba(255, 255, 255, 0.08);
|
|
border-color: #00ffcc;
|
|
}
|
|
|
|
.unity-base-dropdown {
|
|
background-color: rgba(0, 0, 0, 0) !important;
|
|
border-width: 0 !important;
|
|
}
|
|
|
|
.unity-base-dropdown__container-inner {
|
|
background-color: #0a0a0a !important;
|
|
border-width: 2px !important;
|
|
border-color: #00ffcc !important;
|
|
border-radius: 12px !important;
|
|
margin-top: 10px !important;
|
|
padding: 5px !important;
|
|
}
|
|
|
|
.unity-base-dropdown__item {
|
|
padding: 12px 15px !important;
|
|
background-color: transparent !important;
|
|
color: #eeeeee !important;
|
|
}
|
|
|
|
/* Chữ trong Item */
|
|
.unity-base-dropdown__label {
|
|
color: #eeeeee !important;
|
|
}
|
|
|
|
|
|
.unity-base-dropdown__item:hover {
|
|
background-color: rgba(0, 255, 204, 0.15) !important;
|
|
color: #00ffcc !important;
|
|
}
|
|
|
|
.unity-base-dropdown__item:hover .unity-base-dropdown__label {
|
|
color: #00ffcc !important;
|
|
}
|
|
|
|
|
|
.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;
|
|
}
|
|
|
|
/* ============================================================
|
|
SMART SIDEBAR (STABLE OVERLAY SYSTEM)
|
|
============================================================ */
|
|
.sidebar-tabs-container {
|
|
background-color: rgb(10, 10, 10) !important; /* ĐEN ĐẶC TUYỆT ĐỐI */
|
|
opacity: 1 !important;
|
|
padding-top: 60px;
|
|
border-right-width: 2px;
|
|
border-right-color: rgba(0, 255, 204, 0.1);
|
|
overflow: hidden;
|
|
height: 100%;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
z-index: 999; /* ƯU TIÊN HIỂN THỊ CAO NHẤT */
|
|
}
|
|
|
|
.sidebar-collapsed {
|
|
width: 80px;
|
|
}
|
|
|
|
.sidebar-expanded {
|
|
border-right-color: #00ffcc;
|
|
background-color: rgb(10, 10, 10) !important;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.active-tab {
|
|
background-color: rgba(0, 255, 204, 0.08);
|
|
border-left-color: #00ffcc;
|
|
}
|
|
|
|
.tab-icon-box {
|
|
width: 80px;
|
|
height: 60px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.tab-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
background-color: #ffffff;
|
|
-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;
|
|
transition: opacity 0.3s ease-out-quad;
|
|
}
|
|
|
|
.sidebar-expanded .tab-label {
|
|
opacity: 1;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.btn-icon-only {
|
|
width: 50px;
|
|
height: 50px;
|
|
border-radius: 25px;
|
|
margin: 15px 15px;
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.settings-details-column {
|
|
margin-left: 80px; /* CHỖ CHỪA CHO ICON */
|
|
flex-grow: 1;
|
|
padding: 40px;
|
|
}
|
|
|
|
.input-field {
|
|
height: 48px;
|
|
border-radius: 12px;
|
|
border-width: 1px;
|
|
border-color: rgba(255, 255, 255, 0.15);
|
|
background-color: rgba(255, 255, 255, 0.08);
|
|
color: #ffffff;
|
|
padding-left: 16px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.unity-base-text-field__input {
|
|
background-color: rgba(0, 0, 0, 0);
|
|
border-width: 0;
|
|
}
|
|
|
|
.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; }
|
|
|
|
/* ============================================================
|
|
PANELS & OTHERS
|
|
============================================================ */
|
|
.panel-glass { background-color: var(--color-surface); border-radius: 20px; }
|
|
|
|
.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;
|
|
}
|
|
.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; }
|