/* Global Styles for Hallucinate UI */ /* ============================================================ DESIGN TOKENS ============================================================ */ :root { --primary-color: #ffffff; --accent-color: #00ffcc; --color-surface: rgba(10, 10, 10, 0.85); --color-text-primary: #ffffff; --color-text-secondary: #aaaaaa; --color-text-accent: #00ffcc; --radius-md: 12px; --radius-pill: 999px; --space-4: 16px; } /* ============================================================ BASE RESET ============================================================ */ .screen-root { width: 100%; height: 100%; position: absolute; background-color: rgba(0, 0, 0, 0); color: #ffffff; /* Fallback to TTF if SDF fails */ -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; } /* Ẩn background của thanh cuộn */ .unity-scroller { background-color: transparent; width: 6px; } .unity-base-slider__tracker { background-color: transparent; border-width: 0; } /* Thanh dragger mặc định: Rất mỏng và mờ */ .unity-base-slider__dragger { background-color: rgba(0, 255, 204, 0.3); border-radius: 3px; width: 3px; left: 1.5px; border-width: 0; transition-property: width, background-color, left; transition-duration: 0.2s; } /* Khi di chuột vào vùng scroller: Phình to ra */ .unity-scroller:hover .unity-base-slider__dragger { background-color: rgba(0, 255, 204, 0.8); width: 6px; left: 0; } /* Ẩn các nút mũi tên lên xuống của scrollbar cho đẹp */ .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 mượt cho mọi thuộc tính */ transition-property: scale, background-color, translate; transition-duration: 0.15s; transition-timing-function: ease-out-back; align-items: center; justify-content: center; } .button-spring:hover { scale: 1.05; background-color: rgba(255, 255, 255, 0.2); } /* Hiệu ứng nảy lò xo khi nhấn */ .button-spring:active { scale: 0.92; background-color: rgba(255, 255, 255, 0.3); transition-duration: 0.05s; } .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; } /* ============================================================ UTILITY ============================================================ */ .panel-glass { background-color: var(--color-surface); border-radius: 20px; border-width: 2px; border-color: rgba(255, 255, 255, 0.15); } .panel-glass--right { width: 40%; height: 100%; border-top-left-radius: 20px; border-bottom-left-radius: 20px; border-left-width: 3px; border-left-color: #00ffcc; } .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; } .radius-pill { border-radius: 999px; } .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%; } .bg-dark-50 { background-color: rgba(0, 0, 0, 0.5); } .border-default { border-color: rgba(255, 255, 255, 0.15); } .border-accent { border-color: #00ffcc; } .text-color-accent { color: #00ffcc; } /* ============================================================ SETTINGS & REBINDING ============================================================ */ .sidebar-tab { height: 50px; background-color: transparent; border-width: 0; color: #aaaaaa; -unity-font-style: bold; font-size: 16px; border-left-width: 4px; border-left-color: transparent; padding-left: 20px; border-radius: 0; margin: 5px 0; -unity-text-align: middle-left; } .sidebar-tab:hover { color: #ffffff; background-color: rgba(255, 255, 255, 0.05); } .active-tab { color: #00ffcc; border-left-color: #00ffcc; background-color: rgba(0, 255, 204, 0.1); } .rebind-row { flex-direction: row; justify-content: space-between; align-items: center; padding: 12px 16px; background-color: rgba(255, 255, 255, 0.03); border-radius: 8px; margin-bottom: 4px; } .rebind-label { font-size: 14px; color: #dddddd; } .rebind-button { width: 120px; height: 32px; background-color: rgba(255, 255, 255, 0.1); border-radius: 6px; border-width: 1px; border-color: rgba(255, 255, 255, 0.2); color: #00ffcc; font-size: 12px; -unity-font-style: bold; } .rebind-button:hover { background-color: rgba(255, 255, 255, 0.2); } .setting-section-header { margin-top: 24px; margin-bottom: 8px; font-size: 12px; color: #888888; -unity-font-style: bold; border-bottom-width: 1px; border-bottom-color: rgba(255, 255, 255, 0.1); padding-bottom: 4px; }