mirror of
https://github.com/hanzo-apps/university.git
synced 2026-10-30 15:05:53 +00:00
316 lines
5.9 KiB
CSS
316 lines
5.9 KiB
CSS
:root {
|
|
--background: #000000;
|
|
--foreground: #ffffff;
|
|
--pure-black: #000000;
|
|
--white: #ffffff;
|
|
--white-70: rgba(255, 255, 255, 0.7);
|
|
--border: rgba(255, 255, 255, 0.05);
|
|
--card: #080808;
|
|
--muted-foreground: rgba(255, 255, 255, 0.6);
|
|
--emerald-300: #6ee7b7;
|
|
--emerald-400: #34d399;
|
|
--emerald-500: #10b981;
|
|
--emerald-800: #065f46;
|
|
--red-400: #f87171;
|
|
--red-500: #ef4444;
|
|
--red-600: #dc2626;
|
|
--amber-400: #fbbf24;
|
|
}
|
|
|
|
*, *::before, *::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
overflow-x: hidden;
|
|
max-width: 100vw;
|
|
width: 100%;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
overflow-x: hidden;
|
|
max-width: 100vw;
|
|
width: 100%;
|
|
background-color: #000000;
|
|
color: #ffffff;
|
|
font-feature-settings: "rlig" 1, "calt" 1;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
img, svg, video {
|
|
max-width: 100%;
|
|
}
|
|
|
|
a, p, span, h1, h2, h3, h4, div {
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
[data-scrollbar='none']::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
/* Mobile & Tablet Visibility Utilities */
|
|
@media (max-width: 768px) {
|
|
.hide-on-mobile {
|
|
display: none !important;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 769px) {
|
|
.show-on-mobile-only {
|
|
display: none !important;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1100px) {
|
|
.hide-on-tablet {
|
|
display: none !important;
|
|
}
|
|
}
|
|
|
|
/* Dashboard Breakpoints */
|
|
@media (min-width: 901px) {
|
|
.mobile-dashboard-view {
|
|
display: none !important;
|
|
}
|
|
.mobile-bottom-nav {
|
|
display: none !important;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.desktop-dashboard-view {
|
|
display: none !important;
|
|
}
|
|
.mobile-dashboard-view {
|
|
display: flex !important;
|
|
}
|
|
.mobile-bottom-pad {
|
|
padding-bottom: calc(80px + env(safe-area-inset-bottom)) !important;
|
|
}
|
|
}
|
|
|
|
/* Mobile Bottom Navigation Bar */
|
|
.mobile-bottom-nav {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 50;
|
|
background: rgba(8, 10, 15, 0.92);
|
|
backdrop-filter: blur(24px);
|
|
-webkit-backdrop-filter: blur(24px);
|
|
border-top: 1px solid rgba(255, 255, 255, 0.08);
|
|
padding: 8px 16px max(10px, env(safe-area-inset-bottom)) 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-around;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.mobile-bottom-nav-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 4px;
|
|
background: transparent;
|
|
border: none;
|
|
padding: 6px 10px;
|
|
color: rgba(255, 255, 255, 0.55);
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
border-radius: 10px;
|
|
transition: color 0.15s ease, transform 0.1s ease;
|
|
user-select: none;
|
|
}
|
|
|
|
.mobile-bottom-nav-item.active {
|
|
color: #ffffff;
|
|
}
|
|
|
|
.mobile-bottom-nav-item:active {
|
|
transform: scale(0.92);
|
|
}
|
|
|
|
/* Interactive Card & Button Effects */
|
|
.hanzo-mobile-card {
|
|
transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.15s ease, border-color 0.15s ease;
|
|
}
|
|
|
|
.hanzo-mobile-card:hover {
|
|
background-color: rgba(255, 255, 255, 0.06) !important;
|
|
border-color: rgba(255, 255, 255, 0.14) !important;
|
|
}
|
|
|
|
.hanzo-mobile-card:active {
|
|
transform: scale(0.985);
|
|
}
|
|
|
|
.mobile-cred-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 16px 24px;
|
|
}
|
|
|
|
@media (max-width: 420px) {
|
|
.mobile-cred-grid {
|
|
grid-template-columns: 1fr !important;
|
|
gap: 14px !important;
|
|
}
|
|
}
|
|
|
|
/* Animations */
|
|
@keyframes slideDownDrawer {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-8px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.drawer-enter {
|
|
animation: slideDownDrawer 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
|
|
}
|
|
|
|
@keyframes dropdownFadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-6px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.programs-dropdown-menu {
|
|
animation: dropdownFadeIn 0.16s cubic-bezier(0.16, 1, 0.3, 1) forwards;
|
|
}
|
|
|
|
.programs-trigger-btn:hover svg {
|
|
color: var(--white) !important;
|
|
}
|
|
.programs-trigger-btn:hover span {
|
|
color: var(--white) !important;
|
|
}
|
|
|
|
/* Student Portal Responsive Workspace */
|
|
.portal-workspace-grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
gap: 24px;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.portal-workspace-grid > * {
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.portal-workspace-grid {
|
|
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
gap: 32px;
|
|
align-items: start;
|
|
}
|
|
}
|
|
|
|
.portal-stepper-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
|
|
gap: 10px;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.portal-stepper-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 8px;
|
|
}
|
|
}
|
|
|
|
.portal-terminal-box {
|
|
white-space: pre-wrap;
|
|
word-break: break-all;
|
|
overflow-wrap: anywhere;
|
|
max-height: 420px;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
font-family: var(--font-mono, monospace);
|
|
font-size: 12px;
|
|
line-height: 1.6;
|
|
max-width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.portal-terminal-box {
|
|
max-height: 300px;
|
|
font-size: 11px;
|
|
}
|
|
}
|
|
|
|
.portal-terminal-box::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
.portal-terminal-box::-webkit-scrollbar-track {
|
|
background: rgba(0, 0, 0, 0.4);
|
|
}
|
|
.portal-terminal-box::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
border-radius: 3px;
|
|
}
|
|
.portal-terminal-box::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
.portal-step-card {
|
|
transition: all 0.15s ease;
|
|
border: none !important;
|
|
border-radius: 8px;
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.portal-media-row {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
padding: 10px 14px;
|
|
border-radius: 8px;
|
|
border: none !important;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
cursor: pointer;
|
|
text-align: left;
|
|
transition: background 0.15s ease;
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.portal-media-row:hover {
|
|
background: rgba(255, 255, 255, 0.06) !important;
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
.portal-media-row {
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
}
|
|
|
|
|
|
|