forked from aminomancer/uc.css.js
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ext-darkreader.css
163 lines (137 loc) · 4.6 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
/* dark reader */
@-moz-document url-prefix("moz-extension://54964627-cc4e-4a5b-9a5a-bc3c14858102/ui/")
{
body,
html,
:root {
border-color: transparent !important;
background-color: var(--tooltip-bgcolor) !important;
border-radius: 0 !important;
color: var(--uc-content-text-a80) !important;
}
@supports -moz-bool-pref("userChrome.css.mac-ui-fonts") {
body,
button,
* {
font-family: SF Pro Display, Segoe UI, sans-serif;
font-kerning: normal;
font-weight: 300;
}
}
.m-logo {
background-image: url(chrome://userchrome/content/in-content/darkreader-logo.svg) !important;
}
.textbox,
.mobile .automation-page__system-dark-mode__button,
.preview .automation-page__system-dark-mode__button {
color: var(--uc-content-text-a80) !important;
}
.page {
background-color: transparent !important;
}
.button,
.multi-switch,
.checkbox,
.m-help-button,
#editor {
background-color: var(--uc-arrowpanel-faint) !important;
border-color: var(--uc-panel-button-solid) !important;
}
.dropdown__list__item:hover,
.button:hover,
.m-help-button:hover,
.checkbox:hover,
.multi-switch__option:hover:not(.multi-switch__option--selected),
.slider__track,
.slider__track::after,
.mobile .collapsible-panel__group__expand-button,
.preview .collapsible-panel__group__expand-button,
.textbox {
background-color: var(--uc-arrowpanel-dimmed) !important;
}
.m-donate-button {
background-color: var(--in-parent-primary-button-background) !important;
}
.m-donate-button:hover {
background-color: var(--in-parent-primary-button-background-hover) !important;
}
input::placeholder,
.site-toggle:not(.site-toggle--active),
#editor {
color: var(--uc-content-text-a50) !important;
}
.slider__track__fill,
.slider__track::before,
.slider__track__fill::before,
.multi-switch__highlight,
.dropdown__selected,
.textbox:hover,
.textbox:focus,
.mobile .check-button .checkbox__checkmark,
.preview .check-button .checkbox__checkmark {
background-color: var(--uc-panel-button-solid) !important;
}
.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;
}
.mobile .theme-group__presets-wrapper,
.preview .theme-group__presets-wrapper {
background-color: var(--uc-panel-button-solid) !important;
border-color: var(--uc-panel-button-solid) !important;
}
.theme-group__controls-wrapper,
.theme-group__presets-wrapper::before,
.site-list,
.textbox {
border-color: var(--uc-panel-button-solid) !important;
}
.dropdown__list {
background-color: var(--uc-panel-box-solid) !important;
border-color: var(--uc-panel-button-solid) !important;
}
.dropdown__list__item {
background-color: var(--uc-panel-box-solid) !important;
border-radius: 0.65rem;
}
.mobile .theme-preset-picker .dropdown__list,
.preview .theme-preset-picker .dropdown__list {
border: none;
border-radius: 0.75rem;
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;
}
.color-picker__wrapper {
background-color: transparent !important;
}
.color-picker--focused .color-picker__wrapper,
.color-picker--focused .color-picker__input,
.color-picker:hover .color-picker__input {
background-color: var(--uc-panel-button-solid) !important;
}
.mobile .site-list__item__remove,
.preview .site-list__item__remove {
background-image: url(chrome://userchrome/content/in-content/darkreader-close.svg) !important;
}
.mobile .site-list__item__remove:hover,
.preview .site-list__item__remove:hover {
background-color: var(--uc-arrowpanel-dimmed-even-further) !important;
}
.mobile .automation-page__line .checkbox__checkmark,
.preview .automation-page__line .checkbox__checkmark {
background-image: url(chrome://userchrome/content/in-content/darkreader-check.svg) !important;
}
.automation-page::after {
display: none !important;
}
.m-donate-description {
display: none !important;
}
.m-donate-group {
margin-top: -0.15rem !important;
}
.darkreader-version {
opacity: 0.4;
margin-bottom: 10px !important;
}
}