_dark.scss 1.4 KB
Newer Older
C
chomik 已提交
1 2
// stylelint-disable declaration-no-important

C
codecalm 已提交
3
@include dark-mode {
4
  & {
C
codecalm 已提交
5 6
    color: $dark-mode-text;
    background-color: $dark-mode-darken;
C
codecalm 已提交
7
  }
C
chomik 已提交
8 9

  .card,
C
codecalm 已提交
10
  .footer,
C
modals  
codecalm 已提交
11
  .modal-content,
C
codecalm 已提交
12
  .modal-header,
C
codecalm 已提交
13 14
  .dropdown-menu,
  .flatpickr-calendar {
C
codecalm 已提交
15
    background-color: $dark;
16
    color: inherit;
C
codecalm 已提交
17 18
  }

19 20
  .card {
    border-color: transparent;
C
chomik 已提交
21
  }
C
chomik 已提交
22

C
codecalm 已提交
23
  .btn-white,
C
codecalm 已提交
24
  .form-file-button {
C
codecalm 已提交
25
    //@include button-variant($dark-mode-lighten, $border-color, $dark-mode-text, rgba($dark, 0), $border-color, $dark-mode-text);
26
    background-image: none;
C
codecalm 已提交
27 28 29
  }

  .form-check-input:not(:checked),
C
codecalm 已提交
30 31 32
  .form-select,
  .form-file-text,
  .form-control,
33
  .form-selectgroup-label,
C
codecalm 已提交
34 35 36
  .flatpickr-input.flatpickr-input,
  .form-selectgroup-check,
  .form-imagecheck-figure:before {
C
codecalm 已提交
37 38
    background-color: $dark-mode-darken;
    color: $dark-mode-text;
C
codecalm 已提交
39 40
  }

C
modals  
codecalm 已提交
41
  .form-control-plaintext {
C
codecalm 已提交
42
    color: $dark-mode-text;
C
modals  
codecalm 已提交
43 44
  }

C
codecalm 已提交
45
  .input-group-flat .input-group-text {
C
codecalm 已提交
46
    background-color: $dark-mode-darken;
C
codecalm 已提交
47 48
  }

C
codecalm 已提交
49
  .highlight {
C
codecalm 已提交
50
    background-color: $dark-mode-darken;
C
codecalm 已提交
51 52
  }

C
codecalm 已提交
53
  .avatar {
C
codecalm 已提交
54
    background-color: $dark-mode-lighten;
C
chomik 已提交
55
  }
C
codecalm 已提交
56

57 58
  .avatar-list-stacked .avatar {
    box-shadow: 0 0 0 2px $dark;
C
codecalm 已提交
59
  }
C
codecalm 已提交
60

C
codecalm 已提交
61
  .markdown,
C
codecalm 已提交
62
  .markdown>*,
C
codecalm 已提交
63
  .btn-close {
C
codecalm 已提交
64 65 66
    color: inherit;
  }

67
  .apexcharts-text {
C
codecalm 已提交
68
    fill: $dark-mode-text;
C
codecalm 已提交
69 70
  }

71 72
  .apexcharts-legend-text {
    color: inherit !important;
C
codecalm 已提交
73
  }
C
codecalm 已提交
74

75 76
  .navbar-brand-autodark {
    @include autodark-image;
C
codecalm 已提交
77
  }
C
chomik 已提交
78 79
}