_dark.scss 1.9 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,
P
Paweł Balicki 已提交
10 11
  .card-footer,
  .card-stacked::after,
C
codecalm 已提交
12
  .footer:not(.footer-transparent),
C
modals  
codecalm 已提交
13
  .modal-content,
C
codecalm 已提交
14
  .modal-header,
C
codecalm 已提交
15 16
  .dropdown-menu,
  .flatpickr-calendar {
C
codecalm 已提交
17
    background-color: $dark;
18
    color: inherit;
C
codecalm 已提交
19 20
  }

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

P
Paweł Balicki 已提交
25 26 27 28 29 30 31 32 33 34
  .card-tabs .nav-tabs .nav-link {
    background-color: $dark-mode-darken;
    color: inherit;
  }

  .card-tabs .nav-tabs .nav-link.active {
    background-color: $dark;
    color: inherit;
  }

C
codecalm 已提交
35
  .btn-white,
C
codecalm 已提交
36
  .form-file-button {
C
codecalm 已提交
37
    //@include button-variant($dark-mode-lighten, $border-color, $dark-mode-text, rgba($dark, 0), $border-color, $dark-mode-text);
38
    background-image: none;
C
codecalm 已提交
39 40 41
  }

  .form-check-input:not(:checked),
C
codecalm 已提交
42 43 44
  .form-select,
  .form-file-text,
  .form-control,
45
  .form-selectgroup-label,
C
codecalm 已提交
46 47 48
  .flatpickr-input.flatpickr-input,
  .form-selectgroup-check,
  .form-imagecheck-figure:before {
C
codecalm 已提交
49 50
    background-color: $dark-mode-darken;
    color: $dark-mode-text;
C
codecalm 已提交
51 52
  }

C
modals  
codecalm 已提交
53
  .form-control-plaintext {
C
codecalm 已提交
54
    color: $dark-mode-text;
C
modals  
codecalm 已提交
55 56
  }

C
codecalm 已提交
57
  .input-group-flat .input-group-text {
C
codecalm 已提交
58
    background-color: $dark-mode-darken;
C
codecalm 已提交
59 60
  }

C
codecalm 已提交
61
  .highlight {
C
codecalm 已提交
62
    background-color: $dark-mode-darken;
C
codecalm 已提交
63 64
  }

C
codecalm 已提交
65
  .avatar {
C
codecalm 已提交
66
    background-color: $dark-mode-lighten;
C
chomik 已提交
67
  }
C
codecalm 已提交
68

69 70
  .avatar-list-stacked .avatar {
    box-shadow: 0 0 0 2px $dark;
C
codecalm 已提交
71
  }
C
codecalm 已提交
72

C
codecalm 已提交
73
  .markdown,
C
codecalm 已提交
74
  .markdown>*,
P
Paweł Balicki 已提交
75 76
  .btn-close,
  .accordion-button {
C
codecalm 已提交
77 78 79
    color: inherit;
  }

80
  .apexcharts-text {
C
codecalm 已提交
81
    fill: $dark-mode-text;
C
codecalm 已提交
82 83
  }

84 85
  .apexcharts-legend-text {
    color: inherit !important;
C
codecalm 已提交
86
  }
C
codecalm 已提交
87

88 89
  .navbar-brand-autodark {
    @include autodark-image;
C
codecalm 已提交
90
  }
P
Paweł Balicki 已提交
91 92 93 94 95 96 97

  .table thead th,
  .input-group-text {
    background: transparent;
  }

  .list-group-item,
C
codecalm 已提交
98
  .form-fieldset {
P
Paweł Balicki 已提交
99 100 101 102 103 104 105
    border-color: $input-border-color;
  }

  .list-group-header {
    background: $dark-mode-darken;
    border-color: $input-border-color;
  }
C
chomik 已提交
106 107
}