/ linuxy / src / styles / main.css
Swadhin Biswas Ci/improve release notes (#41) · 8/28/2026
04d550f
181 lines · 3.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
:root {
  /* Elegant Dark Theme Palette (Deep Charcoal/Blue hue) */
  --bg-main: hsl(224, 18%, 8%);
  --bg-sidebar: hsl(224, 18%, 10%);
  --bg-card: hsl(224, 16%, 13%);
  --bg-card-hover: hsl(224, 16%, 16%);
  --bg-input: hsl(224, 15%, 15%);
  --bg-glass: rgba(22, 27, 38, 0.75);
  --text-primary: hsl(220, 25%, 98%);
  --text-secondary: hsl(220, 15%, 78%);
  --text-muted: hsl(220, 12%, 58%);
  --border-color: hsl(224, 15%, 22%);
  --border-glow: rgba(34, 197, 94, 0.4);

  /* Vibrant Accents */
  --accent-color: hsl(145, 68%, 46%);
  --accent-hover: hsl(145, 68%, 54%);
  --danger-color: hsl(0, 85%, 65%);
  --danger-hover: hsl(0, 85%, 72%);
  --info-color: hsl(210, 100%, 65%);
  --warning-color: hsl(42, 95%, 55%);

  /* Translucent Backgrounds for Alerts */
  --accent-bg: hsla(145, 68%, 46%, 0.15);
  --danger-bg: hsla(0, 85%, 65%, 0.15);
  --info-bg: hsla(210, 100%, 65%, 0.15);
  --warning-bg: hsla(42, 95%, 55%, 0.15);

  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 20px rgba(34, 197, 94, 0.15);
}

[data-theme="light"] {
  /* Crisp Light Theme Palette */
  --bg-main: hsl(220, 16%, 98%);
  --bg-sidebar: hsl(220, 16%, 94%);
  --bg-card: #ffffff;
  --bg-card-hover: hsl(220, 15%, 96%);
  --bg-input: hsl(220, 12%, 91%);
  --bg-glass: rgba(255, 255, 255, 0.85);
  --text-primary: hsl(220, 25%, 15%);
  --text-secondary: hsl(220, 15%, 35%);
  --text-muted: hsl(220, 10%, 52%);
  --border-color: hsl(220, 12%, 86%);
  --border-glow: rgba(22, 163, 74, 0.3);

  --accent-color: hsl(150, 75%, 36%);
  --accent-hover: hsl(150, 75%, 43%);
  --danger-color: hsl(0, 75%, 48%);
  --danger-hover: hsl(0, 75%, 55%);
  --info-color: hsl(210, 85%, 48%);
  --warning-color: hsl(40, 95%, 45%);

  --accent-bg: hsla(150, 75%, 36%, 0.1);
  --danger-bg: hsla(0, 75%, 48%, 0.08);
  --info-bg: hsla(210, 85%, 48%, 0.1);
  --warning-bg: hsla(40, 95%, 45%, 0.1);

  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 15px rgba(22, 163, 74, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  display: flex;
  height: 100vh;
  overflow: hidden;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#root {
  display: flex;
  width: 100%;
  height: 100%;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

button {
  font-family: inherit;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

button:hover:not(:disabled) {
  transform: translateY(-1px);
}

button:active:not(:disabled) {
  transform: translateY(1px);
}

input,
select {
  font-family: inherit;
}

/* Utility Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-fade-in {
  animation: fadeIn 0.25s ease-out forwards;
}

/* Glassmorphic card styling */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}