forked from insin/control-panel-for-twitter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
options.css
186 lines (164 loc) · 3.47 KB
/
options.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
body, html {
padding: 0;
margin: 0;
font-family: Roboto, "Segoe UI", Tahoma, sans-serif;
font-size: 13px;
}
body.browserAction {
min-width: 450px;
}
body.mobile .desktop,
body.desktop .mobile,
body:not(.algorithmic) .algorithmic,
body:not(.chronological) .chronological,
body:not(.debug) .debug,
body:not(.disabledHomeTimeline) .disabledHomeTimeline,
body:not(.fullWidthContent) .fullWidthContent,
body:not(.hidingMetrics) .hidingMetrics,
body:not(.hidingSidebarContent) .hidingSidebarContent,
body:not(.mutedQuotes) .mutedQuotes,
body:not(.uninvertedFollowButtons) .uninvertedFollowButtons {
display: none;
}
#showDebugOptions.clickable {
cursor: pointer;
user-select: none;
}
label {
display: flex;
justify-content: space-between;
padding: 4px 12px;
margin: 8px 0;
cursor: pointer;
}
section.button {
display: flex;
justify-content: space-between;
padding: 4px 12px;
margin: 8px 0;
align-items: flex-start;
}
section.button:not(:first-of-type) {
padding-top: 12px;
}
section.button input {
margin-left: 12px;
}
summary {
padding-left: 12px;
padding-top: 4px;
padding-bottom: 4px;
margin-top: 8px;
margin-bottom: 8px;
cursor: pointer;
}
input[type=checkbox],
select {
cursor: pointer;
}
input[type=checkbox] {
margin-left: 12px;
}
section.group > label:not(.checkbox) {
cursor: default;
}
section:not(:first-of-type) {
border-top: 1px solid #f0f0f0;
}
section.group > section {
margin-left: 40px;
}
section.group > label {
margin-bottom: 12px;
}
section.group > section > * {
color: rgb(95, 99, 104);
padding-left: 0;
}
section.group > p {
margin: 0 0 12px 40px;
font-size: 12px;
}
section.group > section > p {
margin: 0 60px 12px 0;
font-size: 12px;
}
/* Firefox overrides */
@-moz-document url-prefix() {
body {
font-family: inherit;
font-size: 15px;
}
body.browserAction {
min-width: auto;
max-width: 450px;
}
section:not(:first-of-type) {
border-color: #d7d7db;
}
section.group > p,
section.group > section > * {
color: rgb(91, 91, 102);
}
section.group > p,
section.group > section > p {
font-size: 14px;
}
}
/* Edge overrides */
body.edge {
font-family: "system-ui", sans-serif;
font-size: 14px;
}
body.edge section:not(:first-of-type) {
border-color: #B6B6B6;
}
body.edge section.group > label {
font-weight: 600;
}
body.edge section.group > p,
body.edge section.group > section > * {
color: #767676;
}
/* Dark mode overrides */
@media (prefers-color-scheme: dark) {
body {
background-color: #292a2d;
color: #e8eaed;
}
section:not(:first-of-type) {
border-color: #3f4042;
}
section.group > p,
section.group > section > * {
color: rgb(154, 160, 166);
}
/* Edge dark mode overrides */
body.edge {
background-color: #3B3B3B;
color: #A7A7A7;
}
body.edge section.group > label {
color: #fff;
}
body.edge section:not(:first-of-type) {
border-color: #737373;
}
body.edge section.group > p,
body.edge section.group > section > * {
color: #A7A7A7;
}
/* Firefox dark mode overrides */
@-moz-document url-prefix() {
body {
background-color: #23222b;
}
section:not(:first-of-type) {
border-color: #4e4d54;
}
section.group > p,
section.group > section > * {
color: rgb(191, 191, 201);
}
}
}