-
Notifications
You must be signed in to change notification settings - Fork 27
/
ext-darkreader.css
257 lines (207 loc) · 10.1 KB
/
ext-darkreader.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
/* This Source Code Form is subject to the terms of the Creative Commons
* Attribution-NonCommercial-ShareAlike International License, v. 4.0.
* If a copy of the CC BY-NC-SA 4.0 was not distributed with this
* file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/
* or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. */
/* dark reader styles.
intended for the new theme, go to settings > devtools > apply new theme. */
@-moz-document regexp("^moz-extension://.*/ui/.*") {
:root[uc-extension-id="[email protected]"] body,
html[uc-extension-id="[email protected]"],
:root[uc-extension-id="[email protected]"] {
border-color: transparent !important;
background-color: var(--tooltip-bgcolor) !important;
border-radius: 0 !important;
border-width: 4px !important;
color: var(--uc-content-text-a80) !important;
}
:root[uc-extension-id="[email protected]"],
:root[uc-extension-id="[email protected]"] * {
scrollbar-color: var(--uc-panel-button-solid) var(--uc-panel-box-solid) !important;
}
@media (-moz-bool-pref: "userChrome.css.mac-ui-fonts") {
:root[uc-extension-id="[email protected]"] * {
font-family: SF Pro Display, SF Arabic, Segoe UI, sans-serif;
font-kerning: normal;
font-weight: 300;
}
}
:root[uc-extension-id="[email protected]"] .m-logo {
background-image: url(chrome://userchrome/content/in-content/darkreader-logo.svg) !important;
}
:root[uc-extension-id="[email protected]"] header img#logo {
padding-left: 15rem !important;
box-sizing: border-box !important;
background-image: url(chrome://userchrome/content/in-content/darkreader-logo.svg) !important;
}
:root[uc-extension-id="[email protected]"] .page {
background-color: transparent !important;
}
:root[uc-extension-id="[email protected]"] :where(.textbox) {
background-color: var(--uc-arrowpanel-faint) !important;
transition: background-color 250ms, color 250ms, box-shadow 150ms !important;
}
:root[uc-extension-id="[email protected]"] :where(.textbox:hover) {
background-color: var(--uc-panel-button-faint-solid) !important;
}
:root[uc-extension-id="[email protected]"] :where(.button, .multi-switch, .checkbox, .m-help-button, #editor) {
background-color: var(--uc-arrowpanel-faint) !important;
border-color: var(--uc-panel-button-solid) !important;
}
:root[uc-extension-id="[email protected]"] :where(.dropdown__list__item, .button, .m-help-button, .checkbox):hover,
:root[uc-extension-id="[email protected]"] :where(.multi-switch__option:hover:not(.multi-switch__option--selected), .slider__track, .slider__track::after),
:root[uc-extension-id="[email protected]"] .collapsible-panel__group__expand-button,
:root[uc-extension-id="[email protected]"] .slider__track::before,
:root[uc-extension-id="[email protected]"] .slider__track::after {
background-color: var(--uc-arrowpanel-dimmed) !important;
}
:root[uc-extension-id="[email protected]"] .m-donate-button {
background-color: var(--uc-parent-primary-button-background) !important;
}
:root[uc-extension-id="[email protected]"] .m-donate-button:hover {
background-color: var(--uc-parent-primary-button-background-hover) !important;
}
:root[uc-extension-id="[email protected]"] .m-donate-button__icon::after {
background-color: hsl(220, 85.1%, 65.6%) !important;
}
:root[uc-extension-id="[email protected]"] :where(.site-toggle:not(.site-toggle--active)) {
color: var(--uc-content-text-a50) !important;
}
:root[uc-extension-id="[email protected]"] #editor,
:root[uc-extension-id="[email protected]"] :where(.textbox, .automation-page__system-dark-mode__button),
:root[uc-extension-id="[email protected]"] input::placeholder {
color: var(--uc-content-text-a80) !important;
}
:root[uc-extension-id="[email protected]"] .button,
:root[uc-extension-id="[email protected]"] :where(.textbox:focus),
:root[uc-extension-id="[email protected]"] .textbox:focus::placeholder {
color: var(--uc-arrowpanel-color) !important;
}
:root[uc-extension-id="[email protected]"] :where(.slider__track, .slider__track__fill)::before,
:root[uc-extension-id="[email protected]"] :where(.slider__track__fill, .multi-switch__highlight, .dropdown__selected, .textbox:focus),
:root[uc-extension-id="[email protected]"] .check-button .checkbox__checkmark {
background-color: var(--uc-panel-button-solid) !important;
}
:root[uc-extension-id="[email protected]"] .site-list__textbox:focus {
background-color: var(--uc-arrowpanel-dimmed-further) !important;
box-shadow: 0 0 0 0.125rem var(--uc-panel-button-solid) !important;
}
:root[uc-extension-id="[email protected]"] .theme-group__presets-wrapper {
background-color: var(--uc-panel-button-solid) !important;
border-color: var(--uc-panel-button-solid) !important;
}
:root[uc-extension-id="[email protected]"] .theme-group__presets-wrapper::before,
:root[uc-extension-id="[email protected]"] :where(.theme-group__controls-wrapper, .site-list, .textbox) {
border-color: var(--uc-panel-button-solid) !important;
}
:root[uc-extension-id="[email protected]"] .delete-all-icon-group {
display: none !important;
left: auto !important;
right: -3px !important;
top: -1px !important;
}
:root[uc-extension-id="[email protected]"] .delete-all-icon-group .control-group__control {
height: revert !important;
}
:root[uc-extension-id="[email protected]"] .delete-all-button {
float: right !important;
width: 16px !important;
height: 16px !important;
min-width: 0 !important;
}
:root[uc-extension-id="[email protected]"] .delete-all-button:not(:hover, :focus-visible) {
opacity: 0.3 !important;
}
:root[uc-extension-id="[email protected]"] .delete-all-button-icon {
background: url(chrome://userchrome/content/close.svg) center/13px no-repeat !important;
-moz-context-properties: fill, fill-opacity !important;
fill: currentColor !important;
width: 100% !important;
height: 100% !important;
}
:root[uc-extension-id="[email protected]"] .dropdown__list {
background-color: var(--uc-panel-box-solid) !important;
border-color: var(--uc-panel-button-solid) !important;
}
:root[uc-extension-id="[email protected]"] .dropdown__list__item {
background-color: var(--uc-panel-box-solid) !important;
}
:root[uc-extension-id="[email protected]"] .theme-preset-picker .dropdown__list {
border: none;
box-shadow: 0 0 0 0.125rem var(--uc-panel-button-solid), 0 0 0.25rem 0.1875rem hsla(0, 0%, 0%, 0.5) !important;
}
:root[uc-extension-id="[email protected]"] .color-picker__wrapper {
background-color: transparent !important;
}
:root[uc-extension-id="[email protected]"] .color-picker--focused .color-picker__wrapper,
:root[uc-extension-id="[email protected]"] .color-picker--focused .color-picker__input,
:root[uc-extension-id="[email protected]"] .color-picker:hover .color-picker__input {
background-color: var(--uc-panel-button-solid) !important;
}
:root[uc-extension-id="[email protected]"] .site-list__item__remove {
background-image: url(chrome://userchrome/content/in-content/darkreader-close.svg) !important;
}
:root[uc-extension-id="[email protected]"] .site-list__item__remove:hover {
background-color: var(--uc-arrowpanel-dimmed-even-further) !important;
}
:root[uc-extension-id="[email protected]"] .automation-page__line .checkbox__checkmark {
background-image: url(chrome://userchrome/content/in-content/darkreader-check.svg) !important;
}
:root[uc-extension-id="[email protected]"] .automation-page::after {
display: none !important;
}
:root[uc-extension-id="[email protected]"] .m-donate-description {
display: none !important;
}
:root[uc-extension-id="[email protected]"] .m-donate-group {
margin-top: -0.15rem !important;
}
:root[uc-extension-id="[email protected]"] .darkreader-version {
opacity: 0.4;
margin-bottom: -4px !important;
}
:root[uc-extension-id="[email protected]"] .news-section {
background: none !important;
}
:root[uc-extension-id="[email protected]"] :where(.news-section__main-link, a.news-section__news, #description a) {
font-weight: initial !important;
color: var(--in-content-link-color) !important;
}
:root[uc-extension-id="[email protected]"] :where(.news-section__main-link, a.news-section__news, #description a):is(:hover, :focus-visible) {
color: var(--in-content-link-color-hover) !important;
}
:root[uc-extension-id="[email protected]"] :where(.news-section__main-link, a.news-section__news, #description a):active {
color: var(--in-content-link-color-active) !important;
}
:root[uc-extension-id="[email protected]"] .m-donate-button__text {
transform: none !important;
font-style: italic !important;
}
:root[uc-extension-id="[email protected]"] .news-section {
border-radius: 0 0 4px 4px !important;
}
:root[uc-extension-id="[email protected]"] :where(.news-section__popover, .message-box) {
background-color: var(--uc-panel-box-solid) !important;
border-color: var(--uc-panel-button-solid) !important;
}
:root[uc-extension-id="[email protected]"] .news-section__popover__top {
border-color: var(--uc-panel-button-solid) !important;
padding: 8px 8px 2px 0 !important;
}
:root[uc-extension-id="[email protected]"] .news-section__title {
color: inherit !important;
margin-left: 1rem !important;
}
:root[uc-extension-id="[email protected]"] .news-section__close {
color: inherit !important;
cursor: default !important;
background: url(chrome://userchrome/content/in-content/darkreader-close.svg) center/16px no-repeat !important;
color: transparent !important;
}
:root[uc-extension-id="[email protected]"] .news-section__close:hover {
background-color: var(--uc-arrowpanel-dimmed) !important;
}
:root[uc-extension-id="[email protected]"] .overlay {
background-color: color-mix(in srgb, var(--uc-arrowpanel-background), transparent) !important;
}
}