blob: 5524f8ab810437f32be357384a2252e49467405c [file] [log] [blame]
Adrià Vilanova Martínez14fba4c2021-07-10 13:28:46 +02001@import url('https://fonts.googleapis.com/css?family=Roboto:700');
2
avm999630bc113a2020-09-07 13:02:11 +02003:root {
4 --TWPT-primary-text: #e8eaed;
5 --TWPT-primary-text-alt: var(--TWPT-primary-text);
6 --TWPT-secondary-text: #9aa0a6;
7 --TWPT-primary-background: #202124;
8 --TWPT-secondary-background: #28292c;
9 --TWPT-active-background: #3c4043;
10 --TWPT-card-border: #5f6368;
11 --TWPT-subtle-border: #383735;
12 --TWPT-link: #8ab4f8;
avm99963744d0cf2021-03-23 22:05:57 +010013 --TWPT-highlighted-item-background: rgba(255, 255, 255, .08);
14 --TWPT-thread-read-background: var(--TWPT-highlighted-item-background);
avm999630bc113a2020-09-07 13:02:11 +020015 --TWPT-drawer-background: #2d2e30;
avm99963a51c7612020-11-25 23:58:56 +010016 --TWPT-button-background: #3c3e42;
avm99963223416c2021-04-21 22:13:14 +020017 --TWPT-input-underline: rgba(255, 255, 255, .28);
avm99963fb7107c2021-04-14 19:39:05 +020018 --TWPT-blue-A100: #82B1FF;
Adrià Vilanova Martínezc5d40aa2021-06-11 14:18:23 +020019 --TWPT-bad-text: #f6aea9;
20 --TWPT-good-text: #34a853;
avm999630bc113a2020-09-07 13:02:11 +020021}
22
23body {
24 color: var(--TWPT-primary-text);
25 background-color: var(--TWPT-primary-background)!important;
26}
27
28p {
29 color: var(--TWPT-primary-text);
30}
31
32body.ec a {
33 color: var(--TWPT-link);
34}
35
36/* Header */
37.material-content > header {
38 background-color: var(--TWPT-primary-background)!important;
39}
40
avm9996315b23d72021-04-26 18:07:15 +020041.material-content > header .app-title-button,
42 .material-content > header .app-title-text {
43 color: var(--TWPT-secondary-text)!important;
avm99963ea9b23f2021-04-22 14:06:03 +020044}
45
avm9996348c87d12021-04-09 13:00:21 +020046.material-content > header material-button,
avm9996315b23d72021-04-26 18:07:15 +020047 .material-content > header material-button material-icon,
avm9996348c87d12021-04-09 13:00:21 +020048 .material-content > header notification-bell material-icon {
avm999630bc113a2020-09-07 13:02:11 +020049 color: rgba(255, 255, 255, .87)!important;
50}
51
52.search-box {
53 background-color: #313235!important;
54}
55
56.search-box .clear-icon {
57 opacity: 0.8;
58 color: rgba(255, 255, 255, .87)!important;
59}
60
61.material-content > header .bell.mixin {
62 fill: rgba(255, 255, 255, .87)!important;
63}
64
65/* Drawer */
66material-drawer, material-drawer .panel, material-list-item {
67 background-color: var(--TWPT-drawer-background)!important;
68}
69
avm9996324ef6522020-11-25 19:45:43 +010070material-list-item:hover, material-list-item:focus, material-list-item.item--active {
avm999630bc113a2020-09-07 13:02:11 +020071 background-color: var(--TWPT-active-background)!important;
72}
73
74material-drawer .panel {
75 border-bottom-color: #25231f!important;
76}
77
78material-drawer .drawer-section-title, material-drawer .header > material-icon {
79 color: var(--TWPT-secondary-text)!important;
80}
81
avm9996315b23d72021-04-26 18:07:15 +020082material-drawer material-list-item,
83 material-drawer material-list-item .title {
avm999630bc113a2020-09-07 13:02:11 +020084 color: #d2cecb!important;
85}
86
87material-drawer ec-forum-drawer-item material-checkbox material-icon {
88 filter: brightness(1.5);
89}
90
avm9996315b23d72021-04-26 18:07:15 +020091/* Header menus */
92.popup material-list-item {
93 color: #d2cecb!important;
94}
95
avm99963223416c2021-04-21 22:13:14 +020096/* Filters (ec-query-builder) */
97material-condition-builder .compound-condition-operator {
98 color: var(--TWPT-secondary-text)!important;
99}
100
101material-condition-builder .compound-condition-operator::before,
102 material-condition-builder .compound-condition-operator::after {
103 border-left-color: rgba(255, 255, 255, .20)!important;
104}
105
avm999630bc113a2020-09-07 13:02:11 +0200106/* Selector */
avm99963a51c7612020-11-25 23:58:56 +0100107
108/*
109 * This applies not only to the selector but also to the ec-work-state-picker.
110 */
avm99963a091be12021-02-18 17:03:28 +0100111.popup-wrapper, material-list, .popup .item-group-list {
avm999630bc113a2020-09-07 13:02:11 +0200112 background-color: var(--TWPT-drawer-background)!important;
113}
114
avm99963a091be12021-02-18 17:03:28 +0100115material-list [group]:not(.empty) + *:not(script):not(template):not(.empty),
116 .popup .item-group-list [group]:not(.empty) + *:not(script):not(template):not(.empty) {
avm999630bc113a2020-09-07 13:02:11 +0200117 box-shadow: inset 0 8px 0 0 var(--TWPT-drawer-background)!important;
118 border-top-color: #1f1f1f!important;
119}
120
121material-list material-select-item:hover,
122 material-list material-select-item:focus,
123 material-list material-select-dropdown-item:hover,
124 material-list material-select-dropdown-item:focus,
125 material-list material-select-dropdown-item.active,
avm99963a091be12021-02-18 17:03:28 +0100126 material-list material-select-dropdown-item:not(.multiselect).selected,
127 .popup .item-group-list material-select-item:hover,
128 .popup .item-group-list material-select-item:focus,
avm99963744d0cf2021-03-23 22:05:57 +0100129 .popup .item-group-list material-select-item.active,
avm99963a091be12021-02-18 17:03:28 +0100130 .popup .item-group-list material-select-dropdown-item:hover,
131 .popup .item-group-list material-select-dropdown-item:focus,
132 .popup .item-group-list material-select-dropdown-item.active,
133 .popup .item-group-list material-select-dropdown-item:not(.multiselect).selected {
avm99963744d0cf2021-03-23 22:05:57 +0100134 background-color: var(--TWPT-highlighted-item-background)!important;
avm999630bc113a2020-09-07 13:02:11 +0200135}
136
avm99963a091be12021-02-18 17:03:28 +0100137material-list .menu-item-label,
138 material-list .label,
139 material-list .text-segment,
140 .popup .item-group-list .menu-item-label,
141 .popup .item-group-list .label,
142 .popup .item-group-list .text-segment {
avm999630bc113a2020-09-07 13:02:11 +0200143 color: rgba(255, 255, 255, .87)!important;
144}
145
avm99963a091be12021-02-18 17:03:28 +0100146.popup .item-group-list material-icon {
147 color: rgba(255, 255, 255, .7)!important;
148}
149
avm999630bc113a2020-09-07 13:02:11 +0200150material-list [group] > [label] {
151 color: #8a8a8a!important;
152}
153
avm9996348c87d12021-04-09 13:00:21 +0200154/* This is shown in the new thread view */
155ec-forum-language-picker .labeled-select .select-label {
156 color: var(--TWPT-secondary-text)!important;
157}
158
avm999630bc113a2020-09-07 13:02:11 +0200159/* Main */
160.main {
161 color: var(--TWPT-primary-text)!important;
162}
163
avm9996325a0d602020-11-25 19:24:16 +0100164/* Border color for the page title bar (most pages use .title-bar although
165 * some use .page-header).
166 */
167main .title-bar, main .page-header {
avm999630bc113a2020-09-07 13:02:11 +0200168 border-bottom-color: var(--TWPT-subtle-border)!important;
169}
170
171main .title-bar .title, main .page-header h1, main .header h1 {
172 color: var(--TWPT-primary-text)!important;
173}
174
175.card {
176 background-color: var(--TWPT-secondary-background)!important;
177 color: var(--TWPT-primary-text)!important;
178 border-color: var(--TWPT-card-border)!important;
179}
180
181.card .card-title, .card, .card-section-title {
182 color: var(--TWPT-primary-text)!important;
183}
184
avm99963223416c2021-04-21 22:13:14 +0200185.card .card-section-hint, .card .card-section-checkbox-hint {
avm999630bc113a2020-09-07 13:02:11 +0200186 color: var(--TWPT-secondary-text)!important;
187}
188
189/* Action bar */
190.material-content .action-bar material-button,
191 ec-bulk-actions material-button,
avm99963b2329632021-02-06 20:05:34 +0100192 ec-back-button material-button,
avm9996348c87d12021-04-09 13:00:21 +0200193 .sort-options material-button {
avm999630bc113a2020-09-07 13:02:11 +0200194 color: rgba(255, 255, 255, .54)!important;
195}
196
avm99963ea9b23f2021-04-22 14:06:03 +0200197.material-content .action-bar .review-button.reviewing {
198 color: #1a73e8!important;
199 background: #dae7ff!important;
200}
201
avm999630bc113a2020-09-07 13:02:11 +0200202.material-content .action-bar material-button.starred {
203 color: #fbbc04!important;
204}
205
avm99963a51c7612020-11-25 23:58:56 +0100206/* ec-work-state-picker */
207ec-work-state-picker > button {
208 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ínezfb2169a2021-07-09 00:26:37 +0200262ec-thread-summary material-expansionpanel .action material-button,
263 ec-thread-list material-checkbox material-icon,
264 ec-thread-summary material-expansionpanel .star-button:not(.starred) {
265 color: #696867!important; /* Custom value to match previous behavior */
266 opacity: 1!important;
267}
268
269ec-thread-list material-checkbox material-icon.filled {
270 color: #62a5ff!important; /* Custom value to contrast well with the background */
271}
272
273ec-thread-list material-checkbox:focus:not(.disabled).gm-icons .icon,
274 .gm-icons ec-thread-list material-checkbox:focus:not(.disabled) .icon,
275 ec-thread-list material-checkbox:hover:not(.disabled).gm-icons .icon,
276 .gm-icons ec-thread-list material-checkbox:hover:not(.disabled) .icon {
277 color: #807d7c!important; /* custom value */
278}
279
280ec-thread-list material-checkbox:focus:not(.disabled).gm-icons .icon.filled,
281 .gm-icons ec-thread-list material-checkbox:focus:not(.disabled) .icon.filled,
282 ec-thread-list material-checkbox:hover:not(.disabled).gm-icons .icon.filled,
283 .gm-icons ec-thread-list material-checkbox:hover:not(.disabled) .icon.filled {
284 color: #92c1ff!important; /* custom value */
285}
286
287/* .gm-icons is added by the SMEI_GOOGLE_MATERIAL_ICONS experiment. */
288.gm-icons ec-thread-list material-checkbox .icon-container::after{
289 background-color: #dfdedb!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
590ec-thread-composer material-drawer material-checkbox material-icon {
591 opacity: 1!important;
592 color: rgba(255, 255, 255, .74)!important; /* Custom value */
593}
594
595ec-thread-composer material-drawer material-checkbox .content {
596 color: var(--TWPT-primary-text-alt)!important;
597}
598
avm9996348c87d12021-04-09 13:00:21 +0200599/* Note: see thread view section. There is a rule for the thread creation
600 * footer.
601 **/
602
avm999630bc113a2020-09-07 13:02:11 +0200603/* Profile view */
avm9996348c87d12021-04-09 13:00:21 +0200604ec-user .main-card {
avm999630bc113a2020-09-07 13:02:11 +0200605 background-color: var(--TWPT-secondary-background)!important;
avm9996348c87d12021-04-09 13:00:21 +0200606}
607
608ec-user .abuse-alert-container {
609 background-color: var(--TWPT-active-background)!important;
avm999630bc113a2020-09-07 13:02:11 +0200610 border-top-right-radius: 8px!important;
avm9996348c87d12021-04-09 13:00:21 +0200611}
612
613ec-user .abuse-alert-container .abuse-alert {
614 color: var(--TWPT-primary-text)!important;
avm999630bc113a2020-09-07 13:02:11 +0200615}
616
avm99963c4cb8f32020-09-07 23:52:28 +0200617ec-user ec-display-name-editor, ec-user .header .name {
avm999630bc113a2020-09-07 13:02:11 +0200618 color: var(--TWPT-primary-text)!important;
619}
620
avm9996395da0772020-09-09 01:07:36 +0200621ec-user .role {
622 filter: brightness(1.5);
623}
624
avm999630bc113a2020-09-07 13:02:11 +0200625ec-user bar-chart .axis text {
626 fill: rgba(255, 255, 255, .54)!important;
627}
628
629ec-user bar-chart .axis path,
630 ec-user bar-chart .axis .gridline,
631 ec-user bar-chart .axis line {
632 stroke: rgba(255, 255, 255, .12)!important;
633}
634
635ec-user bar-chart .axis line.axis-zero-tick,
636 ec-user bar-chart .axis.x .tick-mark {
637 stroke: rgba(255, 255, 255, .38)!important;
638}
639
640ec-user bar-chart .aplos-legend-entry {
641 color: var(--TWPT-secondary-text)!important;
642}
643
644.aplos-hovercard {
645 background: var(--TWPT-secondary-background)!important;
646}
647
648.aplos-hovercard .title {
649 color: var(--TWPT-primary-text)!important;
650}
651
652.aplos-hovercard .subtitle,
653 .aplos-donut-center .subtitle,
654 .aplos-hovercard .series,
655 .aplos-donut-center .series,
656 .aplos-hovercard .value,
657 .aplos-donut-center .value {
658 color: var(--TWPT-secondary-text)!important;
659}
660
661/* Duplicate thread feature */
662.search-results ec-thread-option material-expansionpanel .panel {
663 background-color: var(--TWPT-primary-background)!important;
664}
665
666.search-results ec-thread-option material-expansionpanel.selected .panel,
667 .search-results ec-thread-option material-expansionpanel .panel > .main-header > .header.closed:hover,
668 .search-results ec-thread-option material-expansionpanel .panel > .main-header > .header.closed:focus {
669 background-color: #17191c!important;
670}
671
672/* Disabled buttons */
673material-button[disabled] {
674 color: rgba(255, 255, 255, .26)!important;
675}
676
677/* Material icons */
678ec-filter-drawer-item material-icon,
679 ec-filter-drawer-item ec-icon,
680 material-drawer .drawer-section material-icon,
681 material-drawer .drawer-section ec-icon,
682 material-list material-icon,
683 ec-query-builder material-icon,
684 material-radio .icon-container:not(.checked) material-icon,
685 ec-thread-summary material-expansionpanel .title material-icon,
686 .search-results ec-thread-option material-icon,
687 .search-results ec-thread-option ec-icon,
688 ec-rich-text-editor material-icon,
689 ec-editor-command material-icon,
avm99963223416c2021-04-21 22:13:14 +0200690 ec-canned-responses ec-canned-response-row material-icon,
691 ec-ask-flow > .header material-button {
avm999630bc113a2020-09-07 13:02:11 +0200692 color: rgba(255, 255, 255, .87)!important;
693}
694
695material-drawer ec-icon,
avm99963223416c2021-04-21 22:13:14 +0200696 .search-results ec-thread-option ec-icon,
avm9996315b23d72021-04-26 18:07:15 +0200697 ec-thread-summary material-expansionpanel .title ec-icon,
698 ec-announcements-menu-item ec-icon {
avm999630bc113a2020-09-07 13:02:11 +0200699 fill: rgba(255, 255, 255, .87)!important;
700}
701
702/* Dialogs */
703material-dialog, material-dialog .dialog-header {
704 background-color: var(--TWPT-primary-background)!important;
705}
706
707ec-movable-dialog[showminimize] material-dialog .dialog-header {
708 background-color: #d2e3fc!important;
709}
710
711material-dialog .title {
712 color: var(--TWPT-primary-text-alt)!important;
713}
714
715ec-movable-dialog[showminimize] material-dialog .dialog-header .title, ec-movable-dialog[showminimize] material-dialog header material-icon {
716 color: var(--TWPT-primary-background)!important;
717}
718
719ec-movable-dialog[showminimize] material-dialog .header-notice, material-dialog .legal-prompt {
720 background-color: #170f01!important;
721}
722
avm99963223416c2021-04-21 22:13:14 +0200723ec-movable-dialog[showminimize] material-dialog .main .header-notice material-icon[icon="info_outline"] {
724 color: var(--TWPT-blue-A100)!important;
725}
726
avm999630bc113a2020-09-07 13:02:11 +0200727material-dialog .section-title,
728 material-dialog .select-label,
729 material-dialog .input-label,
730 material-dialog .btn-no,
731 ec-display-name-editor,
732 .forum-selection-label {
733 color: var(--TWPT-secondary-text)!important;
734}
735
avm9996301818912021-05-24 11:53:18 +0200736material-dialog main > .user {
737 border-bottom-color: var(--TWPT-card-border)!important;
738}
739
avm999630bc113a2020-09-07 13:02:11 +0200740ec-movable-dialog[showminimize] material-dialog footer > [footer] > .footer > [footer] > simple-html {
741 color: var(--TWPT-secondary-text)!important;
742 background-color: var(--TWPT-active-background)!important;
743 border-top-color: #25231f!important;
744}
745
avm9996301818912021-05-24 11:53:18 +0200746ec-movable-dialog[showminimize] material-dialog footer > [footer] > .footer > [footer] > simple-html a {
747 color: var(--TWPT-link)!important;
748}
749
avm999630bc113a2020-09-07 13:02:11 +0200750/* Keyboard shortcuts dialog */
751material-dialog .main.with-scroll-strokes table td {
752 color: var(--TWPT-primary-text)!important;
753}
754
755/* Rich text editor */
756ec-editor-command material-button,
757 ec-formatting-popup material-button {
758 box-shadow: none!important;
759}
760
761ec-editor-command material-button.is-active {
762 background: var(--TWPT-active-background)!important;
763}
764
765ec-rich-text-editor .placeholder {
766 color: rgba(255, 255, 255, .38)!important;
767}
768
avm9996301818912021-05-24 11:53:18 +0200769ec-rich-text-editor .input-wrapper,
770 ec-rich-text-editor .spacer {
771 border-color: var(--TWPT-card-border)!important;
772}
773
774ec-rich-text-editor .input-wrapper.input-wrapper--focused {
775 border-color: var(--TWPT-blue-A100)!important;
776}
777
avm999630bc113a2020-09-07 13:02:11 +0200778ec-rich-text-editor .input {
779 color: var(--TWPT-primary-text)!important;
780}
781
782ec-rich-text-editor .hint {
783 color: rgba(255, 255, 255, .54)!important;
784}
785
786material-select-searchbox + material-list material-list-item {
787 color: rgba(255, 255, 255, .87)!important;
788}
789
790ec-attachment .filename {
791 color: var(--TWPT-primary-text)!important;
792}
793
794/* Thread insert */
795ec-thread-insert .title {
796 color: var(--TWPT-primary-text)!important;
797}
798
799ec-thread-insert ec-thread-counts,
800 ec-thread-insert .details,
801 ec-thread-insert ec-relative-time {
802 color: rgba(255, 255, 255, .54)!important;
803}
804
805/* Text input */
806material-input input {
807 color: var(--TWPT-primary-text)!important;
808}
809
810material-input .label-text,
811 material-input .hint-text,
812 material-input .counter {
813 color: rgba(255, 255, 255, .54)!important;
814}
815
816material-input .underline .unfocused-underline {
avm99963223416c2021-04-21 22:13:14 +0200817 background-color: var(--TWPT-input-underline)!important;
avm999630bc113a2020-09-07 13:02:11 +0200818}
819
avm9996301818912021-05-24 11:53:18 +0200820material-input .underline .focused-underline {
821 background-color: var(--TWPT-blue-A100)!important;
822}
823
avm999630bc113a2020-09-07 13:02:11 +0200824label .label {
825 color: var(--TWPT-primary-text)!important;
826}
827
828/* Input underline */
829material-input .underline .unfocused-underline,
830 material-dropdown-select dropdown-button [buttondecorator] {
avm9996301818912021-05-24 11:53:18 +0200831 border-color: var(--TWPT-input-underline)!important;
avm999630bc113a2020-09-07 13:02:11 +0200832}
833
834/* Checkbox input */
835material-checkbox, material-checkbox .content {
836 color: var(--TWPT-secondary-text)!important;
837}
838
839/* Material menu button and dropdown select */
840material-menu material-button, material-dropdown-select dropdown-button {
avm99963223416c2021-04-21 22:13:14 +0200841 color: var(--TWPT-primary-text)!important;
avm999630bc113a2020-09-07 13:02:11 +0200842}
843
avm9996348c87d12021-04-09 13:00:21 +0200844material-dropdown-select dropdown-button .button.is-disabled .button-text,
845 material-dropdown-select dropdown-button .button.is-disabled material-icon {
846 color: rgba(255, 255, 255, .32)!important;
avm999630bc113a2020-09-07 13:02:11 +0200847}
848
849/* Announcements content */
avm99963223416c2021-04-21 22:13:14 +0200850ec-announcements-content .header,
851 ec-announcements-content .no-announcements,
852 ec-announcements-content .announcement {
853 border-bottom-color: var(--TWPT-card-border)!important;
854}
855
avm999630bc113a2020-09-07 13:02:11 +0200856ec-announcements-content .header .title, ec-announcements-content .announcement-title {
857 color: var(--TWPT-primary-text-alt)!important;
858}
859
avm9996315b23d72021-04-26 18:07:15 +0200860ec-announcements-content .announcement-date {
861 color: var(--TWPT-secondary-text)!important;
862}
863
avm999630bc113a2020-09-07 13:02:11 +0200864ec-announcements-content .no-announcements-message {
865 color: #c3bfbc!important;
866}
867
avm9996315b23d72021-04-26 18:07:15 +0200868ec-announcements-content .view-all-link,
869 ec-announcements-content .read-more-button {
avm99963223416c2021-04-21 22:13:14 +0200870 color: var(--TWPT-link)!important;
871}
872
avm9996315b23d72021-04-26 18:07:15 +0200873ec-announcements-content ::-webkit-scrollbar-thumb {
874 background-color: rgba(255, 255, 255, .26)!important;
875}
876
877ec-announcements-content ::-webkit-scrollbar-thumb:hover {
878 background-color: #4285f4!important;
879}
880
avm99963b2329632021-02-06 20:05:34 +0100881/* Generic popup (for notification bell, account selector, etc.) */
882.popup-wrapper .header-text {
883 color: var(--TWPT-primary-text)!important;
884}
885
avm9996348c87d12021-04-09 13:00:21 +0200886/* Notifications bell popup/panel */
887.notification-panel .header material-button {
888 color: var(--TWPT-secondary-text)!important;
889}
890
891.notification-panel .cards-container .promo-message {
892 color: var(--TWPT-secondary-text)!important;
893}
894
895.notification-panel .cards-container .promo-message .header-text {
896 color: var(--TWPT-primary-text)!important;
897}
898
avm999630bc113a2020-09-07 13:02:11 +0200899/* Account selector */
900.popup-wrapper .profile .email {
901 color: rgba(255, 255, 255, .54)!important;
902}
903
904material-gaia-picker-footer {
905 color: rgba(255, 255, 255, .54)!important;
906 background-color: var(--TWPT-active-background)!important;
907}
908
avm9996348c87d12021-04-09 13:00:21 +0200909material-gaia-picker-footer material-button {
910 color: var(--TWPT-secondary-text)!important;
911}
912
avm999630bc113a2020-09-07 13:02:11 +0200913/* Canned responses */
914ec-canned-responses .filter-label,
avm9996325a0d602020-11-25 19:24:16 +0100915 ec-canned-responses ec-canned-response-row .name {
avm999630bc113a2020-09-07 13:02:11 +0200916 color: var(--TWPT-primary-text)!important;
917}
918
avm9996325a0d602020-11-25 19:24:16 +0100919ec-canned-responses .label-row,
920 ec-canned-responses ec-canned-response-row .snippet,
921 ec-canned-responses ec-canned-response-row .tag {
922 color: var(--TWPT-secondary-text)!important;
923}
924
avm999630bc113a2020-09-07 13:02:11 +0200925ec-canned-responses ec-canned-response-row .header.closed:hover,
926 ec-canned-responses ec-canned-response-row .header.closed:focus,
927 ec-canned-responses ec-canned-response-row .header.closed:hover .toolbar,
928 ec-canned-responses ec-canned-response-row .header.closed:focus .toolbar {
929 background-color: var(--TWPT-active-background)!important;
930}
931
avm9996325a0d602020-11-25 19:24:16 +0100932ec-canned-responses .filter-row,
933 ec-canned-responses .label-row,
934 ec-canned-responses ec-canned-response-row material-expansionpanel {
935 border-bottom-color: var(--TWPT-subtle-border)!important;
936}
937
avm999630bc113a2020-09-07 13:02:11 +0200938/* Reply button */
939material-fab.reply-button {
940 background-color: var(--TWPT-link)!important;
941 color: var(--TWPT-primary-background)!important;
942}
943
avm99963223416c2021-04-21 22:13:14 +0200944/* Settings view */
945ec-settings .forum-language-container {
946 border-bottom-color: var(--TWPT-subtle-border)!important;
947}
948
949ec-settings .forum-language-container material-button {
950 color: var(--TWPT-secondary-text)!important;
951}
952
953ec-settings material-checkbox, ec-settings material-checkbox .content {
954 color: var(--TWPT-primary-text)!important;
955}
956
Adrià Vilanova Martínez3356df72021-07-09 19:27:04 +0200957/* Loading spinner */
958material-spinner {
959 border-color: var(--TWPT-blue-A100)!important;
960}
961
avm99963f5923962020-12-07 16:44:37 +0100962/* Custom injected components */
963.TWPT-log {
964 background-color: #424242!important;
965}
966
967.TWPT-log-entry.TWPT-log-entry--error {
968 color: #ff8A80!important;
969}