|
2 | 2 | // ========================================================================== */ |
3 | 3 |
|
4 | 4 | // The "box-shadow" mixin uses colors |
5 | | -@import '_mixins'; |
| 5 | +@use '_mixins'; |
6 | 6 |
|
7 | 7 | // Graphic charter |
8 | | -@import '_graphic-charter'; |
| 8 | +@use '_graphic-charter'; |
9 | 9 |
|
10 | 10 |
|
11 | 11 | // DEBUG ICON |
12 | 12 | // ========================================================================== */ |
13 | 13 |
|
14 | 14 | #debug-icon { |
15 | | - background-color: $t-dark; |
16 | | - @include box-shadow(0, 0, 4px, $m-gray); |
| 15 | + background-color: graphic-charter.$t-dark; |
| 16 | + @include mixins.box-shadow(0, 0, 4px, graphic-charter.$m-gray); |
17 | 17 |
|
18 | 18 | a:active, |
19 | 19 | a:link, |
20 | 20 | a:visited { |
21 | | - color: $g-orange; |
| 21 | + color: graphic-charter.$g-orange; |
22 | 22 | } |
23 | 23 | } |
24 | 24 |
|
|
27 | 27 | // ========================================================================== */ |
28 | 28 |
|
29 | 29 | #debug-bar { |
30 | | - background-color: $t-dark; |
31 | | - color: $m-gray; |
| 30 | + background-color: graphic-charter.$t-dark; |
| 31 | + color: graphic-charter.$m-gray; |
32 | 32 |
|
33 | 33 | // Reset to prevent conflict with other CSS files |
34 | 34 | h1, |
|
44 | 44 | button, |
45 | 45 | .toolbar { |
46 | 46 | background-color: transparent; |
47 | | - color: $m-gray; |
| 47 | + color: graphic-charter.$m-gray; |
48 | 48 | } |
49 | 49 |
|
50 | 50 | // Buttons |
51 | 51 | button { |
52 | | - background-color: $t-dark; |
| 52 | + background-color: graphic-charter.$t-dark; |
53 | 53 | } |
54 | 54 |
|
55 | 55 | // Tables |
56 | 56 | table { |
57 | 57 | strong { |
58 | | - color: $g-orange; |
| 58 | + color: graphic-charter.$g-orange; |
59 | 59 | } |
60 | 60 |
|
61 | 61 | tbody tr { |
62 | 62 | &:hover { |
63 | | - background-color: $g-gray; |
| 63 | + background-color: graphic-charter.$g-gray; |
64 | 64 | } |
65 | 65 |
|
66 | 66 | &.current { |
67 | | - background-color: $m-orange; |
| 67 | + background-color: graphic-charter.$m-orange; |
68 | 68 |
|
69 | 69 | td { |
70 | | - color: $t-dark; |
| 70 | + color: graphic-charter.$t-dark; |
71 | 71 | } |
72 | 72 |
|
73 | 73 | &:hover td { |
74 | | - background-color: $g-red; |
75 | | - color: $t-light; |
| 74 | + background-color: graphic-charter.$g-red; |
| 75 | + color: graphic-charter.$t-light; |
76 | 76 | } |
77 | 77 | } |
78 | 78 | } |
79 | 79 | } |
80 | 80 |
|
81 | 81 | // The toolbar |
82 | 82 | .toolbar { |
83 | | - background-color: $g-gray; |
84 | | - @include box-shadow(0, 0, 4px, $g-gray); |
| 83 | + background-color: graphic-charter.$g-gray; |
| 84 | + @include mixins.box-shadow(0, 0, 4px, graphic-charter.$g-gray); |
85 | 85 |
|
86 | 86 | img { |
87 | 87 | filter: brightness(0) invert(1); |
|
91 | 91 | // Fixed top |
92 | 92 | &.fixed-top { |
93 | 93 | .toolbar { |
94 | | - @include box-shadow(0, 0, 4px, $g-gray); |
| 94 | + @include mixins.box-shadow(0, 0, 4px, graphic-charter.$g-gray); |
95 | 95 | } |
96 | 96 |
|
97 | 97 | .tab { |
98 | | - @include box-shadow(0, 1px, 4px, $g-gray); |
| 98 | + @include mixins.box-shadow(0, 1px, 4px, graphic-charter.$g-gray); |
99 | 99 | } |
100 | 100 | } |
101 | 101 |
|
102 | 102 | // "Muted" elements |
103 | 103 | .muted { |
104 | | - color: $m-gray; |
| 104 | + color: graphic-charter.$m-gray; |
105 | 105 |
|
106 | 106 | td { |
107 | | - color: $g-gray; |
| 107 | + color: graphic-charter.$g-gray; |
108 | 108 | } |
109 | 109 |
|
110 | 110 | &:hover td { |
111 | | - color: $m-gray; |
| 111 | + color: graphic-charter.$m-gray; |
112 | 112 | } |
113 | 113 | } |
114 | 114 |
|
|
121 | 121 | // The toolbar menus |
122 | 122 | .ci-label { |
123 | 123 | &.active { |
124 | | - background-color: $t-dark; |
| 124 | + background-color: graphic-charter.$t-dark; |
125 | 125 | } |
126 | 126 |
|
127 | 127 | &:hover { |
128 | | - background-color: $t-dark; |
| 128 | + background-color: graphic-charter.$t-dark; |
129 | 129 | } |
130 | 130 |
|
131 | 131 | .badge { |
132 | | - background-color: $g-red; |
133 | | - color: $t-light; |
| 132 | + background-color: graphic-charter.$g-red; |
| 133 | + color: graphic-charter.$t-light; |
134 | 134 | } |
135 | 135 | } |
136 | 136 |
|
137 | 137 | // The tabs container |
138 | 138 | .tab { |
139 | | - background-color: $t-dark; |
140 | | - @include box-shadow(0, -1px, 4px, $g-gray); |
| 139 | + background-color: graphic-charter.$t-dark; |
| 140 | + @include mixins.box-shadow(0, -1px, 4px, graphic-charter.$g-gray); |
141 | 141 | } |
142 | 142 |
|
143 | 143 | // The "Timeline" tab |
144 | 144 | .timeline { |
145 | 145 | th, |
146 | 146 | td { |
147 | | - border-color: $g-gray; |
| 147 | + border-color: graphic-charter.$g-gray; |
148 | 148 | } |
149 | 149 |
|
150 | 150 | .timer { |
151 | | - background-color: $g-orange; |
| 151 | + background-color: graphic-charter.$g-orange; |
152 | 152 | } |
153 | 153 | } |
154 | 154 | } |
|
158 | 158 | // ========================================================================== */ |
159 | 159 |
|
160 | 160 | .debug-view.show-view { |
161 | | - border-color: $g-orange; |
| 161 | + border-color: graphic-charter.$g-orange; |
162 | 162 | } |
163 | 163 |
|
164 | 164 | .debug-view-path { |
165 | | - background-color: $m-orange; |
166 | | - color: $g-gray; |
| 165 | + background-color: graphic-charter.$m-orange; |
| 166 | + color: graphic-charter.$g-gray; |
167 | 167 | } |
0 commit comments