|
2 | 2 | @name bStats Catppuccin |
3 | 3 | @namespace github.com/catppuccin/userstyles/styles/bstats |
4 | 4 | @homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/bstats |
5 | | -@version 0.2.0 |
| 5 | +@version 0.2.1 |
6 | 6 | @updateURL https://github.com/catppuccin/userstyles/raw/main/styles/bstats/catppuccin.user.css |
7 | 7 | @description Soothing pastel theme for bStats |
8 | 8 | @author Catppuccin |
|
287 | 287 | .red-text { |
288 | 288 | color: @red !important; |
289 | 289 | } |
| 290 | + .red { |
| 291 | + background-color: @red; |
| 292 | + } |
290 | 293 |
|
291 | 294 | /* discord logo on homepage */ |
292 | 295 | img[src="/images/discord.svg"] when (@flavor=latte) { |
|
329 | 332 | background-color: fade(@surface2, 5%); |
330 | 333 | } |
331 | 334 |
|
332 | | - .input-field .active { |
| 335 | + .input-field label { |
333 | 336 | color: @accent-color !important; |
334 | 337 | } |
335 | 338 | /* search unfocused */ |
|
366 | 369 | border-bottom: 1px solid @accent-color; |
367 | 370 | box-shadow: 0 1px 0 0 @accent-color; |
368 | 371 | } |
| 372 | + /* valid input */ |
| 373 | + input:not([type]).valid, |
| 374 | + input:not([type]):focus.valid, |
| 375 | + input[type="text"].valid, |
| 376 | + input[type="text"]:focus.valid, |
| 377 | + input[type="password"].valid, |
| 378 | + input[type="password"]:focus.valid, |
| 379 | + input[type="email"].valid, |
| 380 | + input[type="email"]:focus.valid, |
| 381 | + input[type="url"].valid, |
| 382 | + input[type="url"]:focus.valid, |
| 383 | + input[type="time"].valid, |
| 384 | + input[type="time"]:focus.valid, |
| 385 | + input[type="date"].valid, |
| 386 | + input[type="date"]:focus.valid, |
| 387 | + input[type="datetime"].valid, |
| 388 | + input[type="datetime"]:focus.valid, |
| 389 | + input[type="datetime-local"].valid, |
| 390 | + input[type="datetime-local"]:focus.valid, |
| 391 | + input[type="tel"].valid, |
| 392 | + input[type="tel"]:focus.valid, |
| 393 | + input[type="number"].valid, |
| 394 | + input[type="number"]:focus.valid, |
| 395 | + input[type="search"].valid, |
| 396 | + input[type="search"]:focus.valid, |
| 397 | + textarea.materialize-textarea.valid, |
| 398 | + textarea.materialize-textarea:focus.valid { |
| 399 | + border-bottom: 1px solid @green; |
| 400 | + box-shadow: 0 1px 0 0 @green; |
| 401 | + } |
369 | 402 |
|
370 | 403 | .teal-text, |
371 | 404 | .teal-text.text-darken-2, |
|
392 | 425 | [disabled].btn-large, |
393 | 426 | .btn-floating[disabled], |
394 | 427 | .btn-large[disabled], |
395 | | - .btn-flat[disabled] { |
| 428 | + .btn-flat[disabled], |
| 429 | + .btn-large.red[disabled], |
| 430 | + .btn-large.red.disabled[id="delete_button"] { |
396 | 431 | background-color: @mantle !important; |
397 | 432 | color: @subtext0 !important; |
398 | 433 | } |
399 | | - |
400 | | - .btn-large.red { |
401 | | - background-color: darken(@red, 30%) !important; |
| 434 | + .btn-large.red[id="delete_button"] { |
| 435 | + color: @mantle !important; |
| 436 | + background-color: @red !important; |
402 | 437 | } |
403 | 438 |
|
404 | 439 | .card { |
|
439 | 474 | } |
440 | 475 |
|
441 | 476 | .divider { |
442 | | - background-color: @overlay2; |
| 477 | + background-color: @surface1; |
443 | 478 | } |
444 | 479 | .caret { |
445 | 480 | color: @overlay1 !important; |
|
453 | 488 | } |
454 | 489 | } |
455 | 490 | .switch label input[type="checkbox"]:checked + .lever { |
456 | | - background-color: desaturate(darken(@accent-color, 30%), 50%); |
| 491 | + background-color: desaturate(darken(@accent-color, 25%), 50%); |
| 492 | + & when (@flavor=latte) { |
| 493 | + background-color: desaturate(lighten(@accent-color, 12%), 30%); |
| 494 | + } |
457 | 495 | &::after { |
458 | 496 | background-color: @accent-color; |
459 | 497 | } |
460 | 498 | } |
461 | 499 |
|
| 500 | + /* custom chart filter data */ |
| 501 | + .chip { |
| 502 | + color: @text; |
| 503 | + background-color: @surface1; |
| 504 | + } |
| 505 | + .chips .chip.selected { |
| 506 | + background-color: @accent-color; |
| 507 | + color: @base; |
| 508 | + } |
| 509 | + .chips.focus { |
| 510 | + border-bottom: 1px solid @accent-color; |
| 511 | + box-shadow: 0 1px 0 0 @accent-color; |
| 512 | + } |
| 513 | + .chips .input { |
| 514 | + color: @text; |
| 515 | + } |
| 516 | + input:not([type]), |
| 517 | + input[type="text"], |
| 518 | + input[type="password"], |
| 519 | + input[type="email"], |
| 520 | + input[type="url"], |
| 521 | + input[type="time"], |
| 522 | + input[type="date"], |
| 523 | + input[type="datetime"], |
| 524 | + input[type="datetime-local"], |
| 525 | + input[type="tel"], |
| 526 | + input[type="number"], |
| 527 | + input[type="search"], |
| 528 | + textarea.materialize-textarea { |
| 529 | + border-bottom: 1px solid @overlay2; |
| 530 | + box-shadow: 1 1px 0 0 @overlay2 !important; |
| 531 | + } |
| 532 | + input[placeholder="Add an other value"] { |
| 533 | + border-bottom: 0px solid @overlay2 !important; |
| 534 | + } |
| 535 | + |
462 | 536 | /* HIGHCHARTS "let's hope this does'nt break"-section */ |
463 | 537 | /* all the charts */ |
464 | 538 | .highcharts-graph when (@graphUseAccentColor=1) { |
|
613 | 687 | stroke: @surface0 !important; |
614 | 688 | } |
615 | 689 |
|
| 690 | + /* "Load full data" button */ |
| 691 | + .highcharts-menu { |
| 692 | + background: @surface0 !important; |
| 693 | + border: 1px solid @surface1 !important; |
| 694 | + box-shadow: @mantle 3px 3px 10px !important; |
| 695 | + } |
| 696 | + .highcharts-menu-item { |
| 697 | + color: @text !important; |
| 698 | + &:hover { |
| 699 | + color: @base !important; |
| 700 | + background: @accent-color !important; |
| 701 | + } |
| 702 | + } |
616 | 703 | /* pie text "shadow" */ |
617 | 704 | .highcharts-text-outline { |
618 | 705 | stroke: @mantle; |
|
0 commit comments