|
1 | 1 | $body-bg: #e5e5e5; |
2 | | -$success: #82b792; |
3 | 2 | $cb-text-color: #999; |
4 | 3 | $cb-border-radius: 0.5rem; |
5 | | -$cb-success: #32cd32; |
6 | | -$cb-hovered-success: #28a428; |
| 4 | +$cb-success: #46a077; |
| 5 | +$cb-hovered-success: #398862; |
7 | 6 | $cb-border-radius: 0.5rem; |
8 | 7 |
|
9 | 8 | $cb-secondary: #3a3f50; |
@@ -52,14 +51,29 @@ $orange: rgba(238, 55, 55, 0.76); |
52 | 51 | $link-hover-color: $orange; |
53 | 52 | $border-radius-sm: 0%; |
54 | 53 | $btn-border-width: 2px; |
55 | | -$gold: #daa520; |
56 | 54 |
|
57 | | -$cb-rookie-bg: rgba(50, 205, 50, 1); |
58 | | -$cb-challenger-bg: rgba(87, 187, 61, 1); |
59 | | -$cb-pro-bg: rgba(125, 169, 72, 1); |
60 | | -$cb-masters-bg: rgba(162, 137, 83, 1); |
61 | | -$cb-elite-bg: rgba(200, 99, 69, 1); |
62 | | -$cb-grand-slam-bg: rgba(238, 55, 55, 1); |
| 55 | +$gold: #c9a56c; // Grand Slam – polished gold highlight |
| 56 | +$silver: #a3acb9; // Masters – brighter brushed silver (more readable) |
| 57 | +$bronze: #b07a4a; // Elite – copper bronze highlight |
| 58 | +$platinum: #8b919a; // Pro – cooler, slightly darker than silver (clear separation) |
| 59 | +$steel: #6f7680; // Challenger – neutral steel (a touch lighter than iron) |
| 60 | +$iron: #59606a; // Rookie – darker iron (avoids “disabled outline” look) |
| 61 | + |
| 62 | +$cb-grand-slam-bg: $gold; |
| 63 | +$cb-masters-bg: $silver; |
| 64 | +$cb-elite-bg: $bronze; |
| 65 | +$cb-pro-bg: $platinum; |
| 66 | +$cb-challenger-bg: $steel; |
| 67 | +$cb-rookie-bg: $iron; |
| 68 | + |
| 69 | +:root { |
| 70 | + --cb-grade-grand_slam: #{$cb-grand-slam-bg}; |
| 71 | + --cb-grade-masters: #{$cb-masters-bg}; |
| 72 | + --cb-grade-elite: #{$cb-elite-bg}; |
| 73 | + --cb-grade-pro: #{$cb-pro-bg}; |
| 74 | + --cb-grade-challenger: #{$cb-challenger-bg}; |
| 75 | + --cb-grade-rookie: #{$cb-rookie-bg}; |
| 76 | +} |
63 | 77 |
|
64 | 78 | @import "variables"; |
65 | 79 | @import "bootstrap/scss/bootstrap"; |
@@ -224,41 +238,70 @@ input[type="range"] { |
224 | 238 | .alert-dark-theme { |
225 | 239 | border: none; |
226 | 240 | backdrop-filter: blur(10px); |
227 | | - |
| 241 | + |
228 | 242 | &.alert-info { |
229 | | - background: linear-gradient(135deg, rgba(13, 110, 253, 0.9), rgba(13, 110, 253, 0.7)); |
| 243 | + background: linear-gradient( |
| 244 | + 135deg, |
| 245 | + rgba(13, 110, 253, 0.9), |
| 246 | + rgba(13, 110, 253, 0.7) |
| 247 | + ); |
230 | 248 | color: #ffffff; |
231 | 249 | border-left: 4px solid #0d6efd; |
232 | 250 | } |
233 | | - |
| 251 | + |
234 | 252 | &.alert-success { |
235 | | - background: linear-gradient(135deg, rgba(25, 135, 84, 0.9), rgba(25, 135, 84, 0.7)); |
| 253 | + background: linear-gradient( |
| 254 | + 135deg, |
| 255 | + rgba(25, 135, 84, 0.9), |
| 256 | + rgba(25, 135, 84, 0.7) |
| 257 | + ); |
236 | 258 | color: #ffffff; |
237 | 259 | border-left: 4px solid #198754; |
238 | 260 | } |
239 | | - |
| 261 | + |
240 | 262 | &.alert-danger { |
241 | | - background: linear-gradient(135deg, rgba(220, 53, 69, 0.9), rgba(220, 53, 69, 0.7)); |
| 263 | + background: linear-gradient( |
| 264 | + 135deg, |
| 265 | + rgba(220, 53, 69, 0.9), |
| 266 | + rgba(220, 53, 69, 0.7) |
| 267 | + ); |
242 | 268 | color: #ffffff; |
243 | 269 | border-left: 4px solid #dc3545; |
244 | 270 | } |
245 | | - |
| 271 | + |
246 | 272 | &.alert-warning { |
247 | | - background: linear-gradient(135deg, rgba(255, 193, 7, 0.9), rgba(255, 193, 7, 0.7)); |
| 273 | + background: linear-gradient( |
| 274 | + 135deg, |
| 275 | + rgba(255, 193, 7, 0.9), |
| 276 | + rgba(255, 193, 7, 0.7) |
| 277 | + ); |
248 | 278 | color: #000000; |
249 | 279 | border-left: 4px solid #ffc107; |
250 | 280 | } |
251 | | - |
| 281 | + |
252 | 282 | .close { |
253 | 283 | text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); |
254 | 284 | opacity: 0.8; |
255 | | - |
| 285 | + |
256 | 286 | &:hover { |
257 | 287 | opacity: 1; |
258 | 288 | } |
259 | 289 | } |
260 | 290 | } |
261 | 291 |
|
| 292 | +.alert-dark-theme.cb-game-win-alert.alert-success { |
| 293 | + background: linear-gradient( |
| 294 | + 135deg, |
| 295 | + rgba(25, 135, 84, 0.95), |
| 296 | + rgba(240, 199, 94, 0.75) |
| 297 | + ); |
| 298 | + color: #ffffff; |
| 299 | + border-left: 4px solid #f0c75e; |
| 300 | + box-shadow: |
| 301 | + 0 0 0 1px rgba(240, 199, 94, 0.25), |
| 302 | + 0 10px 24px rgba(0, 0, 0, 0.35); |
| 303 | +} |
| 304 | + |
262 | 305 | .gutter-vertical { |
263 | 306 | background-image: url("../static/images/verticalGutter.svg"); |
264 | 307 | cursor: col-resize; |
@@ -1149,18 +1192,21 @@ a:hover { |
1149 | 1192 | } |
1150 | 1193 |
|
1151 | 1194 | .cb-gold-place-bg { |
1152 | | - background-color: #fce300 !important; |
| 1195 | + background: linear-gradient(180deg, #8f734c 0%, #7f6442 100%) !important; |
1153 | 1196 | border-radius: 0.5rem; |
| 1197 | + box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35); |
1154 | 1198 | } |
1155 | 1199 |
|
1156 | 1200 | .cb-silver-place-bg { |
1157 | | - background-color: #c3c2bc !important; |
| 1201 | + background: linear-gradient(180deg, #3a3f4a 0%, #343944 100%) !important; |
1158 | 1202 | border-radius: 0.5rem; |
| 1203 | + box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35); |
1159 | 1204 | } |
1160 | 1205 |
|
1161 | 1206 | .cb-bronze-place-bg { |
1162 | | - background-color: #ff9c41 !important; |
| 1207 | + background: linear-gradient(180deg, #3a271a 0%, #2f2016 100%) !important; |
1163 | 1208 | border-radius: 0.5rem; |
| 1209 | + box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35); |
1164 | 1210 | } |
1165 | 1211 |
|
1166 | 1212 | #tasklang-dropdown { |
@@ -1918,15 +1964,21 @@ a:hover { |
1918 | 1964 | } |
1919 | 1965 |
|
1920 | 1966 | .cb-gold-place-bg { |
1921 | | - background-color: #fce300 !important; |
| 1967 | + background: linear-gradient(180deg, #8f734c 0%, #7f6442 100%) !important; |
| 1968 | + border-radius: 0.5rem; |
| 1969 | + box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35); |
1922 | 1970 | } |
1923 | 1971 |
|
1924 | 1972 | .cb-silver-place-bg { |
1925 | | - background-color: #c3c2bc !important; |
| 1973 | + background: linear-gradient(180deg, #3a3f4a 0%, #343944 100%) !important; |
| 1974 | + border-radius: 0.5rem; |
| 1975 | + box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35); |
1926 | 1976 | } |
1927 | 1977 |
|
1928 | 1978 | .cb-bronze-place-bg { |
1929 | | - background-color: #ff9c41 !important; |
| 1979 | + background: linear-gradient(180deg, #3a271a 0%, #2f2016 100%) !important; |
| 1980 | + border-radius: 0.5rem; |
| 1981 | + box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35); |
1930 | 1982 | } |
1931 | 1983 |
|
1932 | 1984 | .user-select-none { |
|
0 commit comments