blob: 735e2119dabf1df60896d90b8107f3553cb5032a [file] [log] [blame]
avm999630bc113a2020-09-07 13:02:11 +02001:root {
2 --TWPT-primary-text: #e8eaed;
3 --TWPT-primary-text-alt: var(--TWPT-primary-text);
4 --TWPT-secondary-text: #9aa0a6;
5 --TWPT-primary-background: #202124;
6 --TWPT-secondary-background: #28292c;
7 --TWPT-active-background: #3c4043;
8 --TWPT-card-border: #5f6368;
9 --TWPT-subtle-border: #383735;
10 --TWPT-link: #8ab4f8;
avm99963744d0cf2021-03-23 22:05:57 +010011 --TWPT-highlighted-item-background: rgba(255, 255, 255, .08);
12 --TWPT-thread-read-background: var(--TWPT-highlighted-item-background);
avm999630bc113a2020-09-07 13:02:11 +020013 --TWPT-drawer-background: #2d2e30;
avm99963a51c7612020-11-25 23:58:56 +010014 --TWPT-button-background: #3c3e42;
avm99963223416c2021-04-21 22:13:14 +020015 --TWPT-input-underline: rgba(255, 255, 255, .28);
Adrià Vilanova Martínez0d15aeb2021-07-26 15:18:43 +020016 --TWPT-blue-100: #BBDEFB;
avm99963fb7107c2021-04-14 19:39:05 +020017 --TWPT-blue-A100: #82B1FF;
Adrià Vilanova Martínezc5d40aa2021-06-11 14:18:23 +020018 --TWPT-bad-text: #f6aea9;
19 --TWPT-good-text: #34a853;
avm999630bc113a2020-09-07 13:02:11 +020020}
21
22body {
23 color: var(--TWPT-primary-text);
24 background-color: var(--TWPT-primary-background)!important;
25}
26
27p {
28 color: var(--TWPT-primary-text);
29}
30
31body.ec a {
32 color: var(--TWPT-link);
33}
34
35/* Header */
36.material-content > header {
37 background-color: var(--TWPT-primary-background)!important;
38}
39
avm9996315b23d72021-04-26 18:07:15 +020040.material-content > header .app-title-button,
41 .material-content > header .app-title-text {
42 color: var(--TWPT-secondary-text)!important;
avm99963ea9b23f2021-04-22 14:06:03 +020043}
44
avm9996348c87d12021-04-09 13:00:21 +020045.material-content > header material-button,
avm9996315b23d72021-04-26 18:07:15 +020046 .material-content > header material-button material-icon,
avm9996348c87d12021-04-09 13:00:21 +020047 .material-content > header notification-bell material-icon {
avm999630bc113a2020-09-07 13:02:11 +020048 color: rgba(255, 255, 255, .87)!important;
49}
50
51.search-box {
52 background-color: #313235!important;
53}
54
55.search-box .clear-icon {
56 opacity: 0.8;
57 color: rgba(255, 255, 255, .87)!important;
58}
59
60.material-content > header .bell.mixin {
61 fill: rgba(255, 255, 255, .87)!important;
62}
63
64/* Drawer */
65material-drawer, material-drawer .panel, material-list-item {
66 background-color: var(--TWPT-drawer-background)!important;
67}
68
avm9996324ef6522020-11-25 19:45:43 +010069material-list-item:hover, material-list-item:focus, material-list-item.item--active {
avm999630bc113a2020-09-07 13:02:11 +020070 background-color: var(--TWPT-active-background)!important;
71}
72
73material-drawer .panel {
74 border-bottom-color: #25231f!important;
75}
76
77material-drawer .drawer-section-title, material-drawer .header > material-icon {
78 color: var(--TWPT-secondary-text)!important;
79}
80
avm9996315b23d72021-04-26 18:07:15 +020081material-drawer material-list-item,
82 material-drawer material-list-item .title {
avm999630bc113a2020-09-07 13:02:11 +020083 color: #d2cecb!important;
84}
85
86material-drawer ec-forum-drawer-item material-checkbox material-icon {
87 filter: brightness(1.5);
88}
89
avm9996315b23d72021-04-26 18:07:15 +020090/* Header menus */
91.popup material-list-item {
92 color: #d2cecb!important;
93}
94
avm99963223416c2021-04-21 22:13:14 +020095/* Filters (ec-query-builder) */
96material-condition-builder .compound-condition-operator {
97 color: var(--TWPT-secondary-text)!important;
98}
99
100material-condition-builder .compound-condition-operator::before,
101 material-condition-builder .compound-condition-operator::after {
102 border-left-color: rgba(255, 255, 255, .20)!important;
103}
104
avm999630bc113a2020-09-07 13:02:11 +0200105/* Selector */
avm99963a51c7612020-11-25 23:58:56 +0100106
107/*
108 * This applies not only to the selector but also to the ec-work-state-picker.
109 */
avm99963a091be12021-02-18 17:03:28 +0100110.popup-wrapper, material-list, .popup .item-group-list {
avm999630bc113a2020-09-07 13:02:11 +0200111 background-color: var(--TWPT-drawer-background)!important;
112}
113
avm99963a091be12021-02-18 17:03:28 +0100114material-list [group]:not(.empty) + *:not(script):not(template):not(.empty),
115 .popup .item-group-list [group]:not(.empty) + *:not(script):not(template):not(.empty) {
avm999630bc113a2020-09-07 13:02:11 +0200116 box-shadow: inset 0 8px 0 0 var(--TWPT-drawer-background)!important;
117 border-top-color: #1f1f1f!important;
118}
119
120material-list material-select-item:hover,
121 material-list material-select-item:focus,
122 material-list material-select-dropdown-item:hover,
123 material-list material-select-dropdown-item:focus,
124 material-list material-select-dropdown-item.active,
avm99963a091be12021-02-18 17:03:28 +0100125 material-list material-select-dropdown-item:not(.multiselect).selected,
126 .popup .item-group-list material-select-item:hover,
127 .popup .item-group-list material-select-item:focus,
avm99963744d0cf2021-03-23 22:05:57 +0100128 .popup .item-group-list material-select-item.active,
avm99963a091be12021-02-18 17:03:28 +0100129 .popup .item-group-list material-select-dropdown-item:hover,
130 .popup .item-group-list material-select-dropdown-item:focus,
131 .popup .item-group-list material-select-dropdown-item.active,
132 .popup .item-group-list material-select-dropdown-item:not(.multiselect).selected {
avm99963744d0cf2021-03-23 22:05:57 +0100133 background-color: var(--TWPT-highlighted-item-background)!important;
avm999630bc113a2020-09-07 13:02:11 +0200134}
135
avm99963a091be12021-02-18 17:03:28 +0100136material-list .menu-item-label,
137 material-list .label,
138 material-list .text-segment,
139 .popup .item-group-list .menu-item-label,
140 .popup .item-group-list .label,
141 .popup .item-group-list .text-segment {
avm999630bc113a2020-09-07 13:02:11 +0200142 color: rgba(255, 255, 255, .87)!important;
143}
144
avm99963a091be12021-02-18 17:03:28 +0100145.popup .item-group-list material-icon {
146 color: rgba(255, 255, 255, .7)!important;
147}
148
avm999630bc113a2020-09-07 13:02:11 +0200149material-list [group] > [label] {
150 color: #8a8a8a!important;
151}
152
avm9996348c87d12021-04-09 13:00:21 +0200153/* This is shown in the new thread view */
154ec-forum-language-picker .labeled-select .select-label {
155 color: var(--TWPT-secondary-text)!important;
156}
157
avm999630bc113a2020-09-07 13:02:11 +0200158/* Main */
159.main {
160 color: var(--TWPT-primary-text)!important;
161}
162
avm9996325a0d602020-11-25 19:24:16 +0100163/* Border color for the page title bar (most pages use .title-bar although
164 * some use .page-header).
165 */
166main .title-bar, main .page-header {
avm999630bc113a2020-09-07 13:02:11 +0200167 border-bottom-color: var(--TWPT-subtle-border)!important;
168}
169
170main .title-bar .title, main .page-header h1, main .header h1 {
171 color: var(--TWPT-primary-text)!important;
172}
173
174.card {
175 background-color: var(--TWPT-secondary-background)!important;
176 color: var(--TWPT-primary-text)!important;
177 border-color: var(--TWPT-card-border)!important;
178}
179
180.card .card-title, .card, .card-section-title {
181 color: var(--TWPT-primary-text)!important;
182}
183
avm99963223416c2021-04-21 22:13:14 +0200184.card .card-section-hint, .card .card-section-checkbox-hint {
avm999630bc113a2020-09-07 13:02:11 +0200185 color: var(--TWPT-secondary-text)!important;
186}
187
188/* Action bar */
189.material-content .action-bar material-button,
190 ec-bulk-actions material-button,
avm99963b2329632021-02-06 20:05:34 +0100191 ec-back-button material-button,
avm9996348c87d12021-04-09 13:00:21 +0200192 .sort-options material-button {
avm999630bc113a2020-09-07 13:02:11 +0200193 color: rgba(255, 255, 255, .54)!important;
194}
195
avm99963ea9b23f2021-04-22 14:06:03 +0200196.material-content .action-bar .review-button.reviewing {
197 color: #1a73e8!important;
198 background: #dae7ff!important;
199}
200
avm999630bc113a2020-09-07 13:02:11 +0200201.material-content .action-bar material-button.starred {
202 color: #fbbc04!important;
203}
204
Adrià Vilanova Martínez2c8913b2021-07-22 23:33:37 +0200205/* ec-work-state-picker and ec-symptom-picker */
206ec-work-state-picker > button,
207 ec-symptom-picker > button {
avm99963a51c7612020-11-25 23:58:56 +0100208 color: var(--TWPT-secondary-text)!important;
209 background-color: var(--TWPT-button-background)!important;
210 border-color: var(--TWPT-subtle-border)!important;
211}
212
213.material-popup-content .popup-content .title {
214 color: var(--TWPT-primary-text)!important;
215}
216
avm999630bc113a2020-09-07 13:02:11 +0200217/* Thread list */
218ec-thread-list ul.thread-group {
219 background-color: var(--TWPT-primary-background)!important;
220}
221
222ec-thread-list ec-bulk-actions, ec-thread-list ec-thread-summary material-expansionpanel {
223 border-bottom-color: var(--TWPT-subtle-border)!important;
224}
225
avm99963a2a06442020-11-25 21:11:10 +0100226ec-thread-summary material-expansionpanel.read:not(.checked) {
avm999630bc113a2020-09-07 13:02:11 +0200227 background-color: var(--TWPT-thread-read-background)!important;
228}
229
avm99963e65bec42020-11-25 18:26:29 +0100230ec-thread-summary material-expansionpanel.read .title span:not(.icon) {
avm9996395da0772020-09-09 01:07:36 +0200231 opacity: 0.8;
232}
233
avm99963e65bec42020-11-25 18:26:29 +0100234ec-thread-summary material-expansionpanel.read .title .icon {
235 opacity: 0.48!important;
236}
237
avm999630bc113a2020-09-07 13:02:11 +0200238ec-thread-summary material-expansionpanel.checked {
avm99963a2a06442020-11-25 21:11:10 +0100239 background-color: #2c4b77!important;
avm999630bc113a2020-09-07 13:02:11 +0200240}
241
242ec-thread-summary material-expansionpanel .title {
243 color: var(--TWPT-primary-text)!important;
244}
245
246ec-thread-summary material-expansionpanel ec-second-summary-line,
247 material-expansionpanel .header-content,
avm9996348c87d12021-04-09 13:00:21 +0200248 material-expansionpanel ec-thread-counts > span:not(.recommended-answers),
249 material-expansionpanel .duplicate-label {
avm999630bc113a2020-09-07 13:02:11 +0200250 color: #928e89!important;
251}
252
avm9996348c87d12021-04-09 13:00:21 +0200253material-expansionpanel .removed-label {
Adrià Vilanova Martínezc5d40aa2021-06-11 14:18:23 +0200254 color: var(--TWPT-bad-text)!important;
avm9996348c87d12021-04-09 13:00:21 +0200255}
256
avm999631558e6c2020-12-08 13:42:40 +0100257ec-thread-summary material-expansionpanel ec-safe-html.body,
258 material-expansionpanel .issue-tracking-work-state {
avm999630bc113a2020-09-07 13:02:11 +0200259 color: var(--TWPT-primary-text)!important;
260}
261
Adrià Vilanova Martínez0d15aeb2021-07-26 15:18:43 +0200262/*
263 * The following section changes the styles of the checkboxes in thread lists,
264 * based in the styles defined in the "Checkbox input" section.
265 **/
Adrià Vilanova Martínezfb2169a2021-07-09 00:26:37 +0200266ec-thread-summary material-expansionpanel .action material-button,
267 ec-thread-list material-checkbox material-icon,
268 ec-thread-summary material-expansionpanel .star-button:not(.starred) {
269 color: #696867!important; /* Custom value to match previous behavior */
270 opacity: 1!important;
271}
272
273ec-thread-list material-checkbox material-icon.filled {
274 color: #62a5ff!important; /* Custom value to contrast well with the background */
275}
276
Adrià Vilanova Martínez0d15aeb2021-07-26 15:18:43 +0200277/* .gm-icons is added by the SMEI_GOOGLE_MATERIAL_ICONS experiment. */
Adrià Vilanova Martínezfb2169a2021-07-09 00:26:37 +0200278ec-thread-list material-checkbox:focus:not(.disabled).gm-icons .icon,
279 .gm-icons ec-thread-list material-checkbox:focus:not(.disabled) .icon,
280 ec-thread-list material-checkbox:hover:not(.disabled).gm-icons .icon,
281 .gm-icons ec-thread-list material-checkbox:hover:not(.disabled) .icon {
282 color: #807d7c!important; /* custom value */
283}
284
285ec-thread-list material-checkbox:focus:not(.disabled).gm-icons .icon.filled,
286 .gm-icons ec-thread-list material-checkbox:focus:not(.disabled) .icon.filled,
287 ec-thread-list material-checkbox:hover:not(.disabled).gm-icons .icon.filled,
288 .gm-icons ec-thread-list material-checkbox:hover:not(.disabled) .icon.filled {
289 color: #92c1ff!important; /* custom value */
290}
291
avm99963b2329632021-02-06 20:05:34 +0100292/* Thread view (including review/live review components) */
avm999630bc113a2020-09-07 13:02:11 +0200293ec-question, .heading + .group, ec-message {
294 background-color: var(--TWPT-secondary-background)!important;
295}
296
avm99963b2329632021-02-06 20:05:34 +0100297ec-thread .no-review-needed {
298 background-color: #155829!important;
299 border-color: var(--TWPT-subtle-border)!important;
300}
301
302/* Review bar shown above the main message or replies */
303ec-review-bar {
avm999630bc113a2020-09-07 13:02:11 +0200304 background-color: var(--TWPT-active-background)!important;
305}
306
avm99963b2329632021-02-06 20:05:34 +0100307ec-review-bar material-chip {
308 background-color: var(--TWPT-button-background)!important;
309}
310
311ec-review-bar material-chip:not(.relevant-active):not(.active) {
avm99963b2329632021-02-06 20:05:34 +0100312 border-color: var(--TWPT-card-border)!important;
313}
314
315ec-review-bar material-chip:not(.relevant-active):not(.active) material-icon {
316 color: var(--TWPT-primary-text)!important;
317 fill: var(--TWPT-primary-text)!important;
318}
319
Adrià Vilanova Martínezc5d40aa2021-06-11 14:18:23 +0200320ec-review-bar material-chip:not(.relevant-active):not(.active) .content {
321 color: var(--TWPT-primary-text)!important;
322}
323
avm99963b2329632021-02-06 20:05:34 +0100324ec-review-bar material-chip.relevant-active {
Adrià Vilanova Martínezc5d40aa2021-06-11 14:18:23 +0200325 border-color: var(--TWPT-good-text)!important;
avm99963b2329632021-02-06 20:05:34 +0100326}
327
328ec-review-bar material-chip.relevant-active material-icon {
Adrià Vilanova Martínezc5d40aa2021-06-11 14:18:23 +0200329 color: var(--TWPT-good-text)!important;
330 fill: var(--TWPT-good-text)!important;
331}
332
333ec-review-bar material-chip.relevant-active .content {
334 color: var(--TWPT-good-text)!important;
avm99963b2329632021-02-06 20:05:34 +0100335}
336
337ec-review-bar material-chip.active {
Adrià Vilanova Martínezc5d40aa2021-06-11 14:18:23 +0200338 border-color: var(--TWPT-bad-text)!important;
avm99963b2329632021-02-06 20:05:34 +0100339}
340
341ec-review-bar material-chip.active material-icon {
Adrià Vilanova Martínezc5d40aa2021-06-11 14:18:23 +0200342 color: var(--TWPT-bad-text)!important;
343 fill: var(--TWPT-bad-text)!important;
344}
345
346ec-review-bar material-chip.active .content {
347 color: var(--TWPT-bad-text)!important;
avm99963b2329632021-02-06 20:05:34 +0100348}
349
avm999630bc113a2020-09-07 13:02:11 +0200350ec-message-header .header, ec-question .state, ec-question ec-thread-counts > span, ec-message ec-thread-counts > span {
351 color: var(--TWPT-secondary-text)!important;
352}
353
avm9996395da0772020-09-09 01:07:36 +0200354ec-question .alert, ec-message .alert {
avm999630bc113a2020-09-07 13:02:11 +0200355 background-color: var(--TWPT-active-background)!important;
356}
357
avm9996395da0772020-09-09 01:07:36 +0200358ec-question .alert material-icon, ec-message .alert material-icon {
avm999630bc113a2020-09-07 13:02:11 +0200359 color: var(--TWPT-primary-text)!important;
360}
361
avm9996395da0772020-09-09 01:07:36 +0200362ec-question .alert ec-icon, ec-message .alert ec-icon {
avm999630bc113a2020-09-07 13:02:11 +0200363 color: var(--TWPT-primary-text)!important;
364 fill: var(--TWPT-primary-text)!important;
365}
366
367ec-question .title {
368 color: var(--TWPT-primary-text-alt)!important;
369}
370
avm99963b2329632021-02-06 20:05:34 +0100371ec-user-link .name-text {
372 color: var(--TWPT-link)!important;
373}
374
375ec-message-header ec-avatar svg, ec-message-header .role,
376 ec-message .footer .role {
avm999630bc113a2020-09-07 13:02:11 +0200377 filter: brightness(1.5);
378}
379
380ec-question .body, ec-message .body {
381 color: var(--TWPT-primary-text)!important;
382}
383
384ec-question .thread-insert {
385 background: none!important;
386}
387
388ec-question .details-heading {
389 color: var(--TWPT-primary-text-alt) !important;
390}
391
Adrià Vilanova Martínez0ab61ea2021-06-03 20:25:18 +0200392ec-question .state-chips material-chip {
393 background-color: var(--TWPT-button-background)!important;
394 box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2),
395 0 1px 1px 0 rgba(0, 0, 0, 0.14),
396 0 1px 3px 0 rgba(0, 0, 0, 0.12);
397}
398
399ec-question .state-chips material-chip .content {
400 color: var(--TWPT-primary-text)!important;
401}
402
avm9996348c87d12021-04-09 13:00:21 +0200403ec-question .footer,
404 ec-ask-flow .content-disclaimer {
avm999630bc113a2020-09-07 13:02:11 +0200405 color: var(--TWPT-primary-text)!important;
406 background-color: var(--TWPT-active-background)!important;
407 border-top-color: var(--TWPT-card-border)!important;
408}
409
410.heading {
411 color: var(--TWPT-primary-text)!important;
412}
413
414.heading + .group,
415 .load-more-bar,
416 ec-message:not(:first-child),
417 .load-more-bar .load-more-button,
418 .load-more-bar .load-all-button {
419 border-color: var(--TWPT-card-border)!important;
420}
421
avm9996395da0772020-09-09 01:07:36 +0200422ec-message .type {
423 color: var(--TWPT-primary-text)!important;
424}
425
avm999630bc113a2020-09-07 13:02:11 +0200426ec-message .footer ec-relative-time,
427 ec-message .footer ec-safe-html {
428 color: var(--TWPT-secondary-text)!important;
429}
430
431ec-message .helpful-prompt {
432 color: var(--TWPT-primary-text)!important;
433}
434
435ec-question .me-too-button,
436 ec-question .subscribe-button,
437 ec-message .upvote-button,
438 ec-message .downvote-button {
439 color: var(--TWPT-secondary-text)!important;
avm99963a51c7612020-11-25 23:58:56 +0100440 background-color: var(--TWPT-button-background)!important;
avm999630bc113a2020-09-07 13:02:11 +0200441}
442
avm99963223416c2021-04-21 22:13:14 +0200443ec-message .alert {
444 color: var(--TWPT-secondary-text)!important;
445}
446
avm999630bc113a2020-09-07 13:02:11 +0200447ec-question .me-too-button.selected,
448 ec-question .subscribe-button.selected,
449 ec-message .upvote-button.selected,
450 ec-message .downvote-button.selected {
451 color: #4285f4!important;
452}
453
454.load-more-bar .load-more-button, .load-more-bar .load-all-button {
455 background-color: var(--TWPT-secondary-background)!important;
456}
457
458.locked-alert {
459 background-color: var(--TWPT-active-background)!important;
460 border: var(--TWPT-card-border)!important;
461}
462
463.locked-alert material-icon {
464 color: rgba(255, 255, 255, .38)!important;
465}
466
avm99963b2329632021-02-06 20:05:34 +0100467ec-thread button.reply.collapsed {
468 color: var(--TWPT-secondary-text)!important;
469}
470
avm999630bc113a2020-09-07 13:02:11 +0200471ec-thread .finished-question {
472 background-color: var(--TWPT-active-background)!important;
473 border: var(--TWPT-card-border)!important;
474}
475
avm99963ea9b23f2021-04-22 14:06:03 +0200476ec-thread .finished-question .next-question {
477 color: var(--TWPT-link)!important;
478 border-color: var(--TWPT-link)!important;
479}
480
avm999630bc113a2020-09-07 13:02:11 +0200481.material-content .action-bar material-button.has-activity {
482 color: #1a73e8!important;
483}
484
485.material-content .action-bar material-button.showing-sidebar {
486 background-color: var(--TWPT-active-background)!important;
487}
488
489ec-activity-panel .title-bar h3 {
490 color: #e8eaf2!important;
491}
492
493ec-activity-panel ec-activity {
494 color: var(--TWPT-secondary-text)!important;
495 border-color: var(--TWPT-card-border)!important;
496}
497
498ec-activity-panel ec-activity .message {
499 color: var(--TWPT-primary-text-alt)!important;
500}
501
502ec-activity-panel ec-activity .thread-title {
503 color: #c3bfbc!important;
504}
505
506/* Recommended answers - show in green where we've overwritten the colors */
507.recommended-answers {
508 color: #34a853!important;
509}
510
avm99963fb7107c2021-04-14 19:39:05 +0200511/* Suggested answers - show brighter blue */
512.suggested-icon {
513 color: var(--TWPT-blue-A100)!important;
514}
515
516/* Help button (shown in the suggested answers header) */
517.explanation-icon material-icon {
518 color: rgba(255, 255, 255, .54)!important;
519}
520
521/* Help button tooltip */
522.popup .paper-container {
523 background: var(--TWPT-drawer-background)!important;
524}
525
526.explanation-icon material-icon:hover {
527 color: var(--TWPT-blue-A100)!important;
528}
529
avm99963223416c2021-04-21 22:13:14 +0200530/* New thread and edit message views */
531material-stepper {
532 border-top-color: var(--TWPT-card-border)!important;
533}
534
avm999630bc113a2020-09-07 13:02:11 +0200535material-stepper .stepper-step-name,
536 material-stepper .purpose-title {
537 color: var(--TWPT-primary-text)!important;
538}
539
540ec-ask-flow .display-name-label,
avm99963223416c2021-04-21 22:13:14 +0200541 material-stepper .additional-details-label,
542 material-stepper .detail-label {
avm999630bc113a2020-09-07 13:02:11 +0200543 color: var(--TWPT-secondary-text)!important;
544}
545
avm99963223416c2021-04-21 22:13:14 +0200546material-stepper .stepper-step[selectable=true]:focus {
547 background-color: rgba(60, 64, 67, .24)!important;
548}
549
avm9996301818912021-05-24 11:53:18 +0200550/* Compose thread view */
551ec-thread-composer .main-content .title-label,
552 ec-thread-composer .main-content .post-label {
553 color: var(--TWPT-primary-text-alt)!important;
554}
555
556ec-thread-composer .main-content .title-input,
557 ec-thread-composer .main-content ec-rich-text-editor {
558 border-color: var(--TWPT-card-border)!important;
559}
560
561ec-thread-composer .main-content .title-alert {
Adrià Vilanova Martínezc5d40aa2021-06-11 14:18:23 +0200562 color: var(--TWPT-bad-text)!important;
avm9996301818912021-05-24 11:53:18 +0200563}
564
565ec-thread-composer material-drawer {
566 background-color: inherit!important;
567}
568
569ec-thread-composer material-drawer .right-panel {
570 border-left-color: var(--TWPT-card-border)!important;
571}
572
573ec-thread-composer material-drawer .panel-section-title {
574 color: var(--TWPT-primary-text)!important;
575}
576
577ec-thread-composer material-drawer .panel-section-divider {
578 border-color: var(--TWPT-card-border)!important;
579}
580
581ec-thread-composer material-drawer material-radio .radio-label {
582 color: var(--TWPT-primary-text-alt)!important;
583}
584
585ec-thread-composer material-drawer material-radio .radio-description,
586 ec-thread-composer material-drawer .settings-section .panel-section-item .select-label {
587 color: var(--TWPT-secondary-text)!important;
588}
589
avm9996348c87d12021-04-09 13:00:21 +0200590/* Note: see thread view section. There is a rule for the thread creation
591 * footer.
592 **/
593
avm999630bc113a2020-09-07 13:02:11 +0200594/* Profile view */
avm9996348c87d12021-04-09 13:00:21 +0200595ec-user .main-card {
avm999630bc113a2020-09-07 13:02:11 +0200596 background-color: var(--TWPT-secondary-background)!important;
avm9996348c87d12021-04-09 13:00:21 +0200597}
598
599ec-user .abuse-alert-container {
600 background-color: var(--TWPT-active-background)!important;
avm999630bc113a2020-09-07 13:02:11 +0200601 border-top-right-radius: 8px!important;
avm9996348c87d12021-04-09 13:00:21 +0200602}
603
604ec-user .abuse-alert-container .abuse-alert {
605 color: var(--TWPT-primary-text)!important;
avm999630bc113a2020-09-07 13:02:11 +0200606}
607
avm99963c4cb8f32020-09-07 23:52:28 +0200608ec-user ec-display-name-editor, ec-user .header .name {
avm999630bc113a2020-09-07 13:02:11 +0200609 color: var(--TWPT-primary-text)!important;
610}
611
avm9996395da0772020-09-09 01:07:36 +0200612ec-user .role {
613 filter: brightness(1.5);
614}
615
avm999630bc113a2020-09-07 13:02:11 +0200616ec-user bar-chart .axis text {
617 fill: rgba(255, 255, 255, .54)!important;
618}
619
620ec-user bar-chart .axis path,
621 ec-user bar-chart .axis .gridline,
622 ec-user bar-chart .axis line {
623 stroke: rgba(255, 255, 255, .12)!important;
624}
625
626ec-user bar-chart .axis line.axis-zero-tick,
627 ec-user bar-chart .axis.x .tick-mark {
628 stroke: rgba(255, 255, 255, .38)!important;
629}
630
631ec-user bar-chart .aplos-legend-entry {
632 color: var(--TWPT-secondary-text)!important;
633}
634
635.aplos-hovercard {
636 background: var(--TWPT-secondary-background)!important;
637}
638
639.aplos-hovercard .title {
640 color: var(--TWPT-primary-text)!important;
641}
642
643.aplos-hovercard .subtitle,
644 .aplos-donut-center .subtitle,
645 .aplos-hovercard .series,
646 .aplos-donut-center .series,
647 .aplos-hovercard .value,
648 .aplos-donut-center .value {
649 color: var(--TWPT-secondary-text)!important;
650}
651
652/* Duplicate thread feature */
653.search-results ec-thread-option material-expansionpanel .panel {
654 background-color: var(--TWPT-primary-background)!important;
655}
656
657.search-results ec-thread-option material-expansionpanel.selected .panel,
658 .search-results ec-thread-option material-expansionpanel .panel > .main-header > .header.closed:hover,
659 .search-results ec-thread-option material-expansionpanel .panel > .main-header > .header.closed:focus {
660 background-color: #17191c!important;
661}
662
663/* Disabled buttons */
664material-button[disabled] {
665 color: rgba(255, 255, 255, .26)!important;
666}
667
668/* Material icons */
669ec-filter-drawer-item material-icon,
670 ec-filter-drawer-item ec-icon,
671 material-drawer .drawer-section material-icon,
672 material-drawer .drawer-section ec-icon,
673 material-list material-icon,
674 ec-query-builder material-icon,
avm999630bc113a2020-09-07 13:02:11 +0200675 ec-thread-summary material-expansionpanel .title material-icon,
676 .search-results ec-thread-option material-icon,
677 .search-results ec-thread-option ec-icon,
678 ec-rich-text-editor material-icon,
679 ec-editor-command material-icon,
avm99963223416c2021-04-21 22:13:14 +0200680 ec-canned-responses ec-canned-response-row material-icon,
681 ec-ask-flow > .header material-button {
avm999630bc113a2020-09-07 13:02:11 +0200682 color: rgba(255, 255, 255, .87)!important;
683}
684
685material-drawer ec-icon,
avm99963223416c2021-04-21 22:13:14 +0200686 .search-results ec-thread-option ec-icon,
avm9996315b23d72021-04-26 18:07:15 +0200687 ec-thread-summary material-expansionpanel .title ec-icon,
688 ec-announcements-menu-item ec-icon {
avm999630bc113a2020-09-07 13:02:11 +0200689 fill: rgba(255, 255, 255, .87)!important;
690}
691
692/* Dialogs */
693material-dialog, material-dialog .dialog-header {
694 background-color: var(--TWPT-primary-background)!important;
695}
696
697ec-movable-dialog[showminimize] material-dialog .dialog-header {
698 background-color: #d2e3fc!important;
699}
700
701material-dialog .title {
702 color: var(--TWPT-primary-text-alt)!important;
703}
704
705ec-movable-dialog[showminimize] material-dialog .dialog-header .title, ec-movable-dialog[showminimize] material-dialog header material-icon {
706 color: var(--TWPT-primary-background)!important;
707}
708
709ec-movable-dialog[showminimize] material-dialog .header-notice, material-dialog .legal-prompt {
710 background-color: #170f01!important;
711}
712
avm99963223416c2021-04-21 22:13:14 +0200713ec-movable-dialog[showminimize] material-dialog .main .header-notice material-icon[icon="info_outline"] {
714 color: var(--TWPT-blue-A100)!important;
715}
716
avm999630bc113a2020-09-07 13:02:11 +0200717material-dialog .section-title,
718 material-dialog .select-label,
719 material-dialog .input-label,
720 material-dialog .btn-no,
721 ec-display-name-editor,
722 .forum-selection-label {
723 color: var(--TWPT-secondary-text)!important;
724}
725
avm9996301818912021-05-24 11:53:18 +0200726material-dialog main > .user {
727 border-bottom-color: var(--TWPT-card-border)!important;
728}
729
avm999630bc113a2020-09-07 13:02:11 +0200730ec-movable-dialog[showminimize] material-dialog footer > [footer] > .footer > [footer] > simple-html {
731 color: var(--TWPT-secondary-text)!important;
732 background-color: var(--TWPT-active-background)!important;
733 border-top-color: #25231f!important;
734}
735
avm9996301818912021-05-24 11:53:18 +0200736ec-movable-dialog[showminimize] material-dialog footer > [footer] > .footer > [footer] > simple-html a {
737 color: var(--TWPT-link)!important;
738}
739
avm999630bc113a2020-09-07 13:02:11 +0200740/* Keyboard shortcuts dialog */
741material-dialog .main.with-scroll-strokes table td {
742 color: var(--TWPT-primary-text)!important;
743}
744
745/* Rich text editor */
746ec-editor-command material-button,
747 ec-formatting-popup material-button {
748 box-shadow: none!important;
749}
750
751ec-editor-command material-button.is-active {
752 background: var(--TWPT-active-background)!important;
753}
754
755ec-rich-text-editor .placeholder {
756 color: rgba(255, 255, 255, .38)!important;
757}
758
avm9996301818912021-05-24 11:53:18 +0200759ec-rich-text-editor .input-wrapper,
760 ec-rich-text-editor .spacer {
761 border-color: var(--TWPT-card-border)!important;
762}
763
764ec-rich-text-editor .input-wrapper.input-wrapper--focused {
765 border-color: var(--TWPT-blue-A100)!important;
766}
767
avm999630bc113a2020-09-07 13:02:11 +0200768ec-rich-text-editor .input {
769 color: var(--TWPT-primary-text)!important;
770}
771
772ec-rich-text-editor .hint {
773 color: rgba(255, 255, 255, .54)!important;
774}
775
776material-select-searchbox + material-list material-list-item {
777 color: rgba(255, 255, 255, .87)!important;
778}
779
780ec-attachment .filename {
781 color: var(--TWPT-primary-text)!important;
782}
783
784/* Thread insert */
785ec-thread-insert .title {
786 color: var(--TWPT-primary-text)!important;
787}
788
789ec-thread-insert ec-thread-counts,
790 ec-thread-insert .details,
791 ec-thread-insert ec-relative-time {
792 color: rgba(255, 255, 255, .54)!important;
793}
794
795/* Text input */
796material-input input {
797 color: var(--TWPT-primary-text)!important;
798}
799
800material-input .label-text,
801 material-input .hint-text,
802 material-input .counter {
803 color: rgba(255, 255, 255, .54)!important;
804}
805
806material-input .underline .unfocused-underline {
avm99963223416c2021-04-21 22:13:14 +0200807 background-color: var(--TWPT-input-underline)!important;
avm999630bc113a2020-09-07 13:02:11 +0200808}
809
avm9996301818912021-05-24 11:53:18 +0200810material-input .underline .focused-underline {
811 background-color: var(--TWPT-blue-A100)!important;
812}
813
avm999630bc113a2020-09-07 13:02:11 +0200814label .label {
815 color: var(--TWPT-primary-text)!important;
816}
817
818/* Input underline */
819material-input .underline .unfocused-underline,
820 material-dropdown-select dropdown-button [buttondecorator] {
avm9996301818912021-05-24 11:53:18 +0200821 border-color: var(--TWPT-input-underline)!important;
avm999630bc113a2020-09-07 13:02:11 +0200822}
823
824/* Checkbox input */
Adrià Vilanova Martínez1d44d3d2021-07-26 15:34:19 +0200825material-checkbox material-icon,
826 material-checkbox .content {
avm999630bc113a2020-09-07 13:02:11 +0200827 color: var(--TWPT-secondary-text)!important;
828}
829
Adrià Vilanova Martínez0d15aeb2021-07-26 15:18:43 +0200830/* .gm-icons is added by the SMEI_GOOGLE_MATERIAL_ICONS experiment. */
831material-checkbox material-icon.filled {
832 color: var(--TWPT-blue-A100)!important;
833}
834
835material-checkbox:focus:not(.disabled).gm-icons .icon,
836 .gm-icons material-checkbox:focus:not(.disabled) .icon,
837 material-checkbox:hover:not(.disabled).gm-icons .icon,
838 .gm-icons material-checkbox:hover:not(.disabled) .icon {
839 color: #cfd2d8!important; /* custom value */
840}
841
842material-checkbox:focus:not(.disabled).gm-icons .icon.filled,
843 .gm-icons material-checkbox:focus:not(.disabled) .icon.filled,
844 material-checkbox:hover:not(.disabled).gm-icons .icon.filled,
845 .gm-icons material-checkbox:hover:not(.disabled) .icon.filled {
846 color: var(--TWPT-blue-100)!important;
847}
848
849.gm-icons material-checkbox .icon-container::before{
850 background-color: #dfdedb!important; /* custom value */
851}
852
853/* Radio input */
854material-radio .icon-container:not(.checked) material-icon {
855 color: var(--TWPT-secondary-text)!important;
856}
857
858material-radio .icon-container.checked material-icon {
859 color: var(--TWPT-blue-A100)!important;
860}
861
862/* Material switch */
863.mdc-switch:not(.mdc-switch--checked) .mdc-switch__track {
864 background-color: #7d7d7d!important; /* custom value */
865}
866
867.mdc-switch:not(.mdc-switch--checked) .mdc-switch__thumb {
868 border-color: #fff!important; /* custom value */
869}
870
871.mdc-switch.mdc-switch--checked .mdc-switch__track {
872 background-color: var(--TWPT-blue-A100)!important;
873}
874
875.mdc-switch.mdc-switch--checked .mdc-switch__thumb {
876 border-color: var(--TWPT-blue-A100)!important;
877}
878
avm999630bc113a2020-09-07 13:02:11 +0200879/* Material menu button and dropdown select */
880material-menu material-button, material-dropdown-select dropdown-button {
avm99963223416c2021-04-21 22:13:14 +0200881 color: var(--TWPT-primary-text)!important;
avm999630bc113a2020-09-07 13:02:11 +0200882}
883
avm9996348c87d12021-04-09 13:00:21 +0200884material-dropdown-select dropdown-button .button.is-disabled .button-text,
885 material-dropdown-select dropdown-button .button.is-disabled material-icon {
886 color: rgba(255, 255, 255, .32)!important;
avm999630bc113a2020-09-07 13:02:11 +0200887}
888
889/* Announcements content */
avm99963223416c2021-04-21 22:13:14 +0200890ec-announcements-content .header,
891 ec-announcements-content .no-announcements,
892 ec-announcements-content .announcement {
893 border-bottom-color: var(--TWPT-card-border)!important;
894}
895
avm999630bc113a2020-09-07 13:02:11 +0200896ec-announcements-content .header .title, ec-announcements-content .announcement-title {
897 color: var(--TWPT-primary-text-alt)!important;
898}
899
avm9996315b23d72021-04-26 18:07:15 +0200900ec-announcements-content .announcement-date {
901 color: var(--TWPT-secondary-text)!important;
902}
903
avm999630bc113a2020-09-07 13:02:11 +0200904ec-announcements-content .no-announcements-message {
905 color: #c3bfbc!important;
906}
907
avm9996315b23d72021-04-26 18:07:15 +0200908ec-announcements-content .view-all-link,
909 ec-announcements-content .read-more-button {
avm99963223416c2021-04-21 22:13:14 +0200910 color: var(--TWPT-link)!important;
911}
912
avm9996315b23d72021-04-26 18:07:15 +0200913ec-announcements-content ::-webkit-scrollbar-thumb {
914 background-color: rgba(255, 255, 255, .26)!important;
915}
916
917ec-announcements-content ::-webkit-scrollbar-thumb:hover {
918 background-color: #4285f4!important;
919}
920
avm99963b2329632021-02-06 20:05:34 +0100921/* Generic popup (for notification bell, account selector, etc.) */
922.popup-wrapper .header-text {
923 color: var(--TWPT-primary-text)!important;
924}
925
avm9996348c87d12021-04-09 13:00:21 +0200926/* Notifications bell popup/panel */
927.notification-panel .header material-button {
928 color: var(--TWPT-secondary-text)!important;
929}
930
931.notification-panel .cards-container .promo-message {
932 color: var(--TWPT-secondary-text)!important;
933}
934
935.notification-panel .cards-container .promo-message .header-text {
936 color: var(--TWPT-primary-text)!important;
937}
938
avm999630bc113a2020-09-07 13:02:11 +0200939/* Account selector */
940.popup-wrapper .profile .email {
941 color: rgba(255, 255, 255, .54)!important;
942}
943
944material-gaia-picker-footer {
945 color: rgba(255, 255, 255, .54)!important;
946 background-color: var(--TWPT-active-background)!important;
947}
948
avm9996348c87d12021-04-09 13:00:21 +0200949material-gaia-picker-footer material-button {
950 color: var(--TWPT-secondary-text)!important;
951}
952
avm999630bc113a2020-09-07 13:02:11 +0200953/* Canned responses */
954ec-canned-responses .filter-label,
avm9996325a0d602020-11-25 19:24:16 +0100955 ec-canned-responses ec-canned-response-row .name {
avm999630bc113a2020-09-07 13:02:11 +0200956 color: var(--TWPT-primary-text)!important;
957}
958
avm9996325a0d602020-11-25 19:24:16 +0100959ec-canned-responses .label-row,
960 ec-canned-responses ec-canned-response-row .snippet,
961 ec-canned-responses ec-canned-response-row .tag {
962 color: var(--TWPT-secondary-text)!important;
963}
964
avm999630bc113a2020-09-07 13:02:11 +0200965ec-canned-responses ec-canned-response-row .header.closed:hover,
966 ec-canned-responses ec-canned-response-row .header.closed:focus,
967 ec-canned-responses ec-canned-response-row .header.closed:hover .toolbar,
968 ec-canned-responses ec-canned-response-row .header.closed:focus .toolbar {
969 background-color: var(--TWPT-active-background)!important;
970}
971
avm9996325a0d602020-11-25 19:24:16 +0100972ec-canned-responses .filter-row,
973 ec-canned-responses .label-row,
974 ec-canned-responses ec-canned-response-row material-expansionpanel {
975 border-bottom-color: var(--TWPT-subtle-border)!important;
976}
977
avm999630bc113a2020-09-07 13:02:11 +0200978/* Reply button */
Adrià Vilanova Martínez1d44d3d2021-07-26 15:34:19 +0200979material-fab.reply-button,
980 material-fab.reply-fab {
avm999630bc113a2020-09-07 13:02:11 +0200981 background-color: var(--TWPT-link)!important;
982 color: var(--TWPT-primary-background)!important;
983}
984
avm99963223416c2021-04-21 22:13:14 +0200985/* Settings view */
986ec-settings .forum-language-container {
987 border-bottom-color: var(--TWPT-subtle-border)!important;
988}
989
990ec-settings .forum-language-container material-button {
991 color: var(--TWPT-secondary-text)!important;
992}
993
Adrià Vilanova Martínez3356df72021-07-09 19:27:04 +0200994/* Loading spinner */
995material-spinner {
996 border-color: var(--TWPT-blue-A100)!important;
997}
998
avm99963f5923962020-12-07 16:44:37 +0100999/* Custom injected components */
1000.TWPT-log {
1001 background-color: #424242!important;
1002}
1003
1004.TWPT-log-entry.TWPT-log-entry--error {
1005 color: #ff8A80!important;
1006}