Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 14 additions & 61 deletions assets/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,34 +15,31 @@ html {
--neon-purple-glow: #e879f9;
}

/* Optimized Static Background - No animations, scroll optimized */
body {
background: #0a0a0f;
background-image: linear-gradient(135deg, #0a0a0f 0%, #1a0a2e 50%, #0a0a0f 100%);
--neon-purple-dark: #5b0099;
--neon-purple: #8b00ff;
--neon-purple-bright: #c084fc;

background: #120022;
background-image: linear-gradient(135deg, #120022 0%, #5b0099 40%, #8b00ff 100%);
position: relative;
min-height: 100vh;
/* Scroll performance optimization */
contain: layout style;
transform: translate3d(0, 0, 0);
backface-visibility: hidden;
overflow: hidden;
}

/* Optimized fixed background - GPU layer, no repaints on scroll */
body::before {
content: "";
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
radial-gradient(circle at 80% 80%, rgba(192, 132, 252, 0.08) 0%, transparent 50%);
position: absolute;
inset: 0;
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(24px) saturate(180%);
-webkit-backdrop-filter: blur(24px) saturate(180%);
border: 1px solid rgba(255, 255, 255, 0.05);
mix-blend-mode: overlay;
pointer-events: none;
z-index: 0;
/* GPU layer - prevents repaints during scroll */
transform: translate3d(0, 0, 0);
will-change: transform;
backface-visibility: hidden;
}

/* Removed body::after (SVG noise filter) - too expensive */
Expand Down Expand Up @@ -95,8 +92,6 @@ body::before {
/* Optimized Glass Card - minimal blur, scroll optimized */
.glass-card {
background: rgba(30, 20, 50, 0.4);
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
border: 1px solid rgba(168, 85, 247, 0.3);
box-shadow: 0 4px 16px rgba(168, 85, 247, 0.1);
transition: border-color 0.2s ease, box-shadow 0.2s ease;
Expand All @@ -112,8 +107,6 @@ body::before {

.glass-header {
background: rgba(20, 10, 40, 0.5);
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
border-bottom: 1px solid rgba(168, 85, 247, 0.3);
box-shadow: 0 2px 8px rgba(168, 85, 247, 0.1);
/* Fixed header optimization for scroll */
Expand Down Expand Up @@ -236,8 +229,6 @@ body::before {
/* Glass Button */
.glass-button {
background: rgba(168, 85, 247, 0.15);
backdrop-filter: blur(2px);
-webkit-backdrop-filter: blur(2px);
border: 1px solid rgba(192, 132, 252, 0.3);
color: var(--neon-purple-bright);
transition: background-color 0.2s ease, border-color 0.2s ease;
Expand Down Expand Up @@ -303,8 +294,6 @@ body::before {
position: relative;
padding: 0.75rem 1.5rem;
background: rgba(30, 20, 50, 0.3);
backdrop-filter: blur(2px);
-webkit-backdrop-filter: blur(2px);
border: 1px solid rgba(168, 85, 247, 0.2);
border-radius: 0.75rem;
color: rgba(192, 132, 252, 0.7);
Expand Down Expand Up @@ -353,8 +342,6 @@ body::before {
gap: 0.375rem;
padding: 0.375rem 0.75rem;
background: rgba(30, 20, 50, 0.5);
backdrop-filter: blur(2px);
-webkit-backdrop-filter: blur(2px);
border: 1px solid rgba(168, 85, 247, 0.2);
border-radius: 9999px;
font-size: 0.75rem;
Expand Down Expand Up @@ -408,8 +395,6 @@ body::before {
width: 2.5rem;
height: 2.5rem;
background: rgba(168, 85, 247, 0.15);
backdrop-filter: blur(2px);
-webkit-backdrop-filter: blur(2px);
border: 1px solid rgba(192, 132, 252, 0.2);
border-radius: 0.75rem;
color: var(--neon-purple-bright);
Expand All @@ -430,8 +415,6 @@ body::before {
/* Enhanced Card Design */
.enhanced-card {
background: rgba(30, 20, 50, 0.4);
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
border: 1px solid rgba(168, 85, 247, 0.25);
border-radius: 1rem;
box-shadow: 0 4px 16px rgba(168, 85, 247, 0.1);
Expand Down Expand Up @@ -652,8 +635,6 @@ div.fixed.inset-0[role="dialog"] {

.modal-period-content {
background: rgba(20, 10, 35, 0.6) !important;
backdrop-filter: blur(6px) !important;
-webkit-backdrop-filter: blur(6px) !important;
border: 1px solid rgba(168, 85, 247, 0.4) !important;
border-radius: 1.5rem !important;
box-shadow: 0 8px 32px rgba(168, 85, 247, 0.2) !important;
Expand Down Expand Up @@ -824,8 +805,6 @@ div.fixed.inset-0[role="dialog"] {
border-radius: 0.75rem;
border: 1px solid;
font-weight: 700;
backdrop-filter: blur(2px);
-webkit-backdrop-filter: blur(2px);
}

.modal-status-red-700 {
Expand Down Expand Up @@ -911,8 +890,6 @@ div.fixed.inset-0[role="dialog"] {

.modal-event-card {
background: rgba(30, 20, 50, 0.5);
backdrop-filter: blur(2px);
-webkit-backdrop-filter: blur(2px);
border: 1px solid rgba(168, 85, 247, 0.2);
border-radius: 1rem;
padding: 1.25rem;
Expand Down Expand Up @@ -1054,17 +1031,13 @@ div[id*="-googlecalendar"] {
div[id$="-bg"] {
z-index: 999999 !important;
background: rgba(10, 10, 15, 0.8) !important;
backdrop-filter: blur(4px) !important;
-webkit-backdrop-filter: blur(4px) !important;
transition: opacity 0.2s ease !important;
}

.modal-glass-content {
position: relative !important;
z-index: 1000000 !important;
background: rgba(30, 20, 50, 0.5) !important;
backdrop-filter: blur(6px) !important;
-webkit-backdrop-filter: blur(6px) !important;
border: 1px solid rgba(168, 85, 247, 0.3) !important;
box-shadow: 0 4px 20px rgba(168, 85, 247, 0.2) !important;
border-radius: 1rem !important;
Expand Down Expand Up @@ -1143,8 +1116,6 @@ main,
border-radius: 0.5rem;
pointer-events: none;
z-index: 5;
backdrop-filter: blur(2px);
-webkit-backdrop-filter: blur(2px);
}

.period-status-overlay-content {
Expand Down Expand Up @@ -1261,8 +1232,6 @@ main,

.timetable-nav-container {
background: rgba(20, 10, 35, 0.5);
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
border: 1px solid rgba(168, 85, 247, 0.3);
border-radius: 1rem;
padding: 1.25rem 1.5rem;
Expand Down Expand Up @@ -1295,8 +1264,6 @@ main,
.timetable-calendar-input-field {
width: 100%;
background: rgba(30, 20, 50, 0.6);
backdrop-filter: blur(2px);
-webkit-backdrop-filter: blur(2px);
border: 1px solid rgba(168, 85, 247, 0.3);
border-radius: 0.75rem;
padding: 0.75rem 1rem;
Expand Down Expand Up @@ -1338,8 +1305,6 @@ main,
width: 3rem;
height: 3rem;
background: rgba(168, 85, 247, 0.2);
backdrop-filter: blur(2px);
-webkit-backdrop-filter: blur(2px);
border: 1px solid rgba(192, 132, 252, 0.3);
border-radius: 0.75rem;
color: var(--neon-purple-bright);
Expand Down Expand Up @@ -1392,8 +1357,6 @@ main,
align-items: center;
gap: 0.75rem;
background: rgba(168, 85, 247, 0.15);
backdrop-filter: blur(2px);
-webkit-backdrop-filter: blur(2px);
border: 1px solid rgba(192, 132, 252, 0.3);
border-radius: 0.75rem;
padding: 0.75rem 1.25rem;
Expand All @@ -1419,8 +1382,6 @@ main,
align-items: center;
gap: 0.75rem;
background: rgba(30, 20, 50, 0.5);
backdrop-filter: blur(2px);
-webkit-backdrop-filter: blur(2px);
border: 1px solid rgba(168, 85, 247, 0.2);
border-radius: 0.75rem;
padding: 0.75rem 1.25rem;
Expand Down Expand Up @@ -1516,8 +1477,6 @@ main,
width: 100%;
height: 100%;
background: rgba(30, 20, 50, 0.4);
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
border: 1px solid rgba(168, 85, 247, 0.25);
border-radius: 0.75rem;
padding: 0.5rem 0.875rem;
Expand Down Expand Up @@ -1657,8 +1616,6 @@ main,

.weekday-events-modal-content {
background: rgba(20, 10, 35, 0.6) !important;
backdrop-filter: blur(6px) !important;
-webkit-backdrop-filter: blur(6px) !important;
border: 1px solid rgba(168, 85, 247, 0.4) !important;
border-radius: 1.5rem !important;
box-shadow: 0 8px 32px rgba(168, 85, 247, 0.2) !important;
Expand Down Expand Up @@ -1746,8 +1703,6 @@ main,

.weekday-event-card {
background: rgba(30, 20, 50, 0.5);
backdrop-filter: blur(2px);
-webkit-backdrop-filter: blur(2px);
border: 1px solid rgba(168, 85, 247, 0.2);
border-radius: 1rem;
padding: 1.25rem;
Expand Down Expand Up @@ -2047,8 +2002,6 @@ main,

.stat-tab-button {
background: rgba(30, 20, 50, 0.4);
backdrop-filter: blur(2px);
-webkit-backdrop-filter: blur(2px);
border: 1px solid rgba(168, 85, 247, 0.2);
transition: background-color 0.2s ease, border-color 0.2s ease;
}
Expand Down
Loading