blob: 8967519767a217238380522a2bd78c72bc41c806 [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
Adrià Vilanova Martínez47d33bc2021-08-14 18:50:50 +020064/* Notification bell */
65notification-bell:focus {
66 background-color: rgba(255, 255, 255, .10)!important;
67}
68
avm999630bc113a2020-09-07 13:02:11 +020069/* Drawer */
70material-drawer, material-drawer .panel, material-list-item {
71 background-color: var(--TWPT-drawer-background)!important;
72}
73
avm9996324ef6522020-11-25 19:45:43 +010074material-list-item:hover, material-list-item:focus, material-list-item.item--active {
avm999630bc113a2020-09-07 13:02:11 +020075 background-color: var(--TWPT-active-background)!important;
76}
77
78material-drawer .panel {
79 border-bottom-color: #25231f!important;
80}
81
82material-drawer .drawer-section-title, material-drawer .header > material-icon {
83 color: var(--TWPT-secondary-text)!important;
84}
85
avm9996315b23d72021-04-26 18:07:15 +020086material-drawer material-list-item,
87 material-drawer material-list-item .title {
avm999630bc113a2020-09-07 13:02:11 +020088 color: #d2cecb!important;
89}
90
91material-drawer ec-forum-drawer-item material-checkbox material-icon {
92 filter: brightness(1.5);
93}
94
avm9996315b23d72021-04-26 18:07:15 +020095/* Header menus */
96.popup material-list-item {
97 color: #d2cecb!important;
98}
99
avm99963223416c2021-04-21 22:13:14 +0200100/* Filters (ec-query-builder) */
101material-condition-builder .compound-condition-operator {
102 color: var(--TWPT-secondary-text)!important;
103}
104
105material-condition-builder .compound-condition-operator::before,
106 material-condition-builder .compound-condition-operator::after {
107 border-left-color: rgba(255, 255, 255, .20)!important;
108}
109
avm999630bc113a2020-09-07 13:02:11 +0200110/* Selector */
avm99963a51c7612020-11-25 23:58:56 +0100111
112/*
113 * This applies not only to the selector but also to the ec-work-state-picker.
114 */
avm99963a091be12021-02-18 17:03:28 +0100115.popup-wrapper, material-list, .popup .item-group-list {
avm999630bc113a2020-09-07 13:02:11 +0200116 background-color: var(--TWPT-drawer-background)!important;
117}
118
avm99963a091be12021-02-18 17:03:28 +0100119material-list [group]:not(.empty) + *:not(script):not(template):not(.empty),
120 .popup .item-group-list [group]:not(.empty) + *:not(script):not(template):not(.empty) {
avm999630bc113a2020-09-07 13:02:11 +0200121 box-shadow: inset 0 8px 0 0 var(--TWPT-drawer-background)!important;
122 border-top-color: #1f1f1f!important;
123}
124
125material-list material-select-item:hover,
126 material-list material-select-item:focus,
127 material-list material-select-dropdown-item:hover,
128 material-list material-select-dropdown-item:focus,
129 material-list material-select-dropdown-item.active,
avm99963a091be12021-02-18 17:03:28 +0100130 material-list material-select-dropdown-item:not(.multiselect).selected,
131 .popup .item-group-list material-select-item:hover,
132 .popup .item-group-list material-select-item:focus,
avm99963744d0cf2021-03-23 22:05:57 +0100133 .popup .item-group-list material-select-item.active,
avm99963a091be12021-02-18 17:03:28 +0100134 .popup .item-group-list material-select-dropdown-item:hover,
135 .popup .item-group-list material-select-dropdown-item:focus,
136 .popup .item-group-list material-select-dropdown-item.active,
137 .popup .item-group-list material-select-dropdown-item:not(.multiselect).selected {
avm99963744d0cf2021-03-23 22:05:57 +0100138 background-color: var(--TWPT-highlighted-item-background)!important;
avm999630bc113a2020-09-07 13:02:11 +0200139}
140
avm99963a091be12021-02-18 17:03:28 +0100141material-list .menu-item-label,
142 material-list .label,
143 material-list .text-segment,
144 .popup .item-group-list .menu-item-label,
145 .popup .item-group-list .label,
146 .popup .item-group-list .text-segment {
avm999630bc113a2020-09-07 13:02:11 +0200147 color: rgba(255, 255, 255, .87)!important;
148}
149
avm99963a091be12021-02-18 17:03:28 +0100150.popup .item-group-list material-icon {
151 color: rgba(255, 255, 255, .7)!important;
152}
153
avm999630bc113a2020-09-07 13:02:11 +0200154material-list [group] > [label] {
155 color: #8a8a8a!important;
156}
157
avm9996348c87d12021-04-09 13:00:21 +0200158/* This is shown in the new thread view */
159ec-forum-language-picker .labeled-select .select-label {
160 color: var(--TWPT-secondary-text)!important;
161}
162
avm999630bc113a2020-09-07 13:02:11 +0200163/* Main */
164.main {
165 color: var(--TWPT-primary-text)!important;
166}
167
avm9996325a0d602020-11-25 19:24:16 +0100168/* Border color for the page title bar (most pages use .title-bar although
169 * some use .page-header).
170 */
171main .title-bar, main .page-header {
avm999630bc113a2020-09-07 13:02:11 +0200172 border-bottom-color: var(--TWPT-subtle-border)!important;
173}
174
175main .title-bar .title, main .page-header h1, main .header h1 {
176 color: var(--TWPT-primary-text)!important;
177}
178
179.card {
180 background-color: var(--TWPT-secondary-background)!important;
181 color: var(--TWPT-primary-text)!important;
182 border-color: var(--TWPT-card-border)!important;
183}
184
185.card .card-title, .card, .card-section-title {
186 color: var(--TWPT-primary-text)!important;
187}
188
avm99963223416c2021-04-21 22:13:14 +0200189.card .card-section-hint, .card .card-section-checkbox-hint {
avm999630bc113a2020-09-07 13:02:11 +0200190 color: var(--TWPT-secondary-text)!important;
191}
192
193/* Action bar */
194.material-content .action-bar material-button,
195 ec-bulk-actions material-button,
avm99963b2329632021-02-06 20:05:34 +0100196 ec-back-button material-button,
avm9996348c87d12021-04-09 13:00:21 +0200197 .sort-options material-button {
avm999630bc113a2020-09-07 13:02:11 +0200198 color: rgba(255, 255, 255, .54)!important;
199}
200
avm99963ea9b23f2021-04-22 14:06:03 +0200201.material-content .action-bar .review-button.reviewing {
202 color: #1a73e8!important;
203 background: #dae7ff!important;
204}
205
avm999630bc113a2020-09-07 13:02:11 +0200206.material-content .action-bar material-button.starred {
207 color: #fbbc04!important;
208}
209
Adrià Vilanova Martínez2c8913b2021-07-22 23:33:37 +0200210/* ec-work-state-picker and ec-symptom-picker */
211ec-work-state-picker > button,
212 ec-symptom-picker > button {
avm99963a51c7612020-11-25 23:58:56 +0100213 color: var(--TWPT-secondary-text)!important;
214 background-color: var(--TWPT-button-background)!important;
215 border-color: var(--TWPT-subtle-border)!important;
216}
217
218.material-popup-content .popup-content .title {
219 color: var(--TWPT-primary-text)!important;
220}
221
avm999630bc113a2020-09-07 13:02:11 +0200222/* Thread list */
223ec-thread-list ul.thread-group {
224 background-color: var(--TWPT-primary-background)!important;
225}
226
227ec-thread-list ec-bulk-actions, ec-thread-list ec-thread-summary material-expansionpanel {
228 border-bottom-color: var(--TWPT-subtle-border)!important;
229}
230
avm99963a2a06442020-11-25 21:11:10 +0100231ec-thread-summary material-expansionpanel.read:not(.checked) {
avm999630bc113a2020-09-07 13:02:11 +0200232 background-color: var(--TWPT-thread-read-background)!important;
233}
234
avm99963e65bec42020-11-25 18:26:29 +0100235ec-thread-summary material-expansionpanel.read .title span:not(.icon) {
avm9996395da0772020-09-09 01:07:36 +0200236 opacity: 0.8;
237}
238
avm99963e65bec42020-11-25 18:26:29 +0100239ec-thread-summary material-expansionpanel.read .title .icon {
240 opacity: 0.48!important;
241}
242
avm999630bc113a2020-09-07 13:02:11 +0200243ec-thread-summary material-expansionpanel.checked {
avm99963a2a06442020-11-25 21:11:10 +0100244 background-color: #2c4b77!important;
avm999630bc113a2020-09-07 13:02:11 +0200245}
246
247ec-thread-summary material-expansionpanel .title {
248 color: var(--TWPT-primary-text)!important;
249}
250
251ec-thread-summary material-expansionpanel ec-second-summary-line,
252 material-expansionpanel .header-content,
avm9996348c87d12021-04-09 13:00:21 +0200253 material-expansionpanel ec-thread-counts > span:not(.recommended-answers),
254 material-expansionpanel .duplicate-label {
avm999630bc113a2020-09-07 13:02:11 +0200255 color: #928e89!important;
256}
257
avm9996348c87d12021-04-09 13:00:21 +0200258material-expansionpanel .removed-label {
Adrià Vilanova Martínezc5d40aa2021-06-11 14:18:23 +0200259 color: var(--TWPT-bad-text)!important;
avm9996348c87d12021-04-09 13:00:21 +0200260}
261
avm999631558e6c2020-12-08 13:42:40 +0100262ec-thread-summary material-expansionpanel ec-safe-html.body,
263 material-expansionpanel .issue-tracking-work-state {
avm999630bc113a2020-09-07 13:02:11 +0200264 color: var(--TWPT-primary-text)!important;
265}
266
Adrià Vilanova Martínez0d15aeb2021-07-26 15:18:43 +0200267/*
268 * The following section changes the styles of the checkboxes in thread lists,
269 * based in the styles defined in the "Checkbox input" section.
270 **/
Adrià Vilanova Martínezfb2169a2021-07-09 00:26:37 +0200271ec-thread-summary material-expansionpanel .action material-button,
272 ec-thread-list material-checkbox material-icon,
273 ec-thread-summary material-expansionpanel .star-button:not(.starred) {
274 color: #696867!important; /* Custom value to match previous behavior */
275 opacity: 1!important;
276}
277
278ec-thread-list material-checkbox material-icon.filled {
279 color: #62a5ff!important; /* Custom value to contrast well with the background */
280}
281
Adrià Vilanova Martínez0d15aeb2021-07-26 15:18:43 +0200282/* .gm-icons is added by the SMEI_GOOGLE_MATERIAL_ICONS experiment. */
Adrià Vilanova Martínezfb2169a2021-07-09 00:26:37 +0200283ec-thread-list material-checkbox:focus:not(.disabled).gm-icons .icon,
284 .gm-icons ec-thread-list material-checkbox:focus:not(.disabled) .icon,
285 ec-thread-list material-checkbox:hover:not(.disabled).gm-icons .icon,
286 .gm-icons ec-thread-list material-checkbox:hover:not(.disabled) .icon {
287 color: #807d7c!important; /* custom value */
288}
289
290ec-thread-list material-checkbox:focus:not(.disabled).gm-icons .icon.filled,
291 .gm-icons ec-thread-list material-checkbox:focus:not(.disabled) .icon.filled,
292 ec-thread-list material-checkbox:hover:not(.disabled).gm-icons .icon.filled,
293 .gm-icons ec-thread-list material-checkbox:hover:not(.disabled) .icon.filled {
294 color: #92c1ff!important; /* custom value */
295}
296
avm99963b2329632021-02-06 20:05:34 +0100297/* Thread view (including review/live review components) */
avm999630bc113a2020-09-07 13:02:11 +0200298ec-question, .heading + .group, ec-message {
299 background-color: var(--TWPT-secondary-background)!important;
300}
301
avm99963b2329632021-02-06 20:05:34 +0100302ec-thread .no-review-needed {
303 background-color: #155829!important;
304 border-color: var(--TWPT-subtle-border)!important;
305}
306
307/* Review bar shown above the main message or replies */
308ec-review-bar {
avm999630bc113a2020-09-07 13:02:11 +0200309 background-color: var(--TWPT-active-background)!important;
310}
311
avm99963b2329632021-02-06 20:05:34 +0100312ec-review-bar material-chip {
313 background-color: var(--TWPT-button-background)!important;
314}
315
316ec-review-bar material-chip:not(.relevant-active):not(.active) {
avm99963b2329632021-02-06 20:05:34 +0100317 border-color: var(--TWPT-card-border)!important;
318}
319
320ec-review-bar material-chip:not(.relevant-active):not(.active) material-icon {
321 color: var(--TWPT-primary-text)!important;
322 fill: var(--TWPT-primary-text)!important;
323}
324
Adrià Vilanova Martínezc5d40aa2021-06-11 14:18:23 +0200325ec-review-bar material-chip:not(.relevant-active):not(.active) .content {
326 color: var(--TWPT-primary-text)!important;
327}
328
avm99963b2329632021-02-06 20:05:34 +0100329ec-review-bar material-chip.relevant-active {
Adrià Vilanova Martínezc5d40aa2021-06-11 14:18:23 +0200330 border-color: var(--TWPT-good-text)!important;
avm99963b2329632021-02-06 20:05:34 +0100331}
332
333ec-review-bar material-chip.relevant-active material-icon {
Adrià Vilanova Martínezc5d40aa2021-06-11 14:18:23 +0200334 color: var(--TWPT-good-text)!important;
335 fill: var(--TWPT-good-text)!important;
336}
337
338ec-review-bar material-chip.relevant-active .content {
339 color: var(--TWPT-good-text)!important;
avm99963b2329632021-02-06 20:05:34 +0100340}
341
342ec-review-bar material-chip.active {
Adrià Vilanova Martínezc5d40aa2021-06-11 14:18:23 +0200343 border-color: var(--TWPT-bad-text)!important;
avm99963b2329632021-02-06 20:05:34 +0100344}
345
346ec-review-bar material-chip.active material-icon {
Adrià Vilanova Martínezc5d40aa2021-06-11 14:18:23 +0200347 color: var(--TWPT-bad-text)!important;
348 fill: var(--TWPT-bad-text)!important;
349}
350
351ec-review-bar material-chip.active .content {
352 color: var(--TWPT-bad-text)!important;
avm99963b2329632021-02-06 20:05:34 +0100353}
354
avm999630bc113a2020-09-07 13:02:11 +0200355ec-message-header .header, ec-question .state, ec-question ec-thread-counts > span, ec-message ec-thread-counts > span {
356 color: var(--TWPT-secondary-text)!important;
357}
358
avm9996395da0772020-09-09 01:07:36 +0200359ec-question .alert, ec-message .alert {
avm999630bc113a2020-09-07 13:02:11 +0200360 background-color: var(--TWPT-active-background)!important;
361}
362
avm9996395da0772020-09-09 01:07:36 +0200363ec-question .alert material-icon, ec-message .alert material-icon {
avm999630bc113a2020-09-07 13:02:11 +0200364 color: var(--TWPT-primary-text)!important;
365}
366
avm9996395da0772020-09-09 01:07:36 +0200367ec-question .alert ec-icon, ec-message .alert ec-icon {
avm999630bc113a2020-09-07 13:02:11 +0200368 color: var(--TWPT-primary-text)!important;
369 fill: var(--TWPT-primary-text)!important;
370}
371
372ec-question .title {
373 color: var(--TWPT-primary-text-alt)!important;
374}
375
avm99963b2329632021-02-06 20:05:34 +0100376ec-user-link .name-text {
377 color: var(--TWPT-link)!important;
378}
379
380ec-message-header ec-avatar svg, ec-message-header .role,
381 ec-message .footer .role {
avm999630bc113a2020-09-07 13:02:11 +0200382 filter: brightness(1.5);
383}
384
385ec-question .body, ec-message .body {
386 color: var(--TWPT-primary-text)!important;
387}
388
389ec-question .thread-insert {
390 background: none!important;
391}
392
393ec-question .details-heading {
394 color: var(--TWPT-primary-text-alt) !important;
395}
396
Adrià Vilanova Martínez0ab61ea2021-06-03 20:25:18 +0200397ec-question .state-chips material-chip {
398 background-color: var(--TWPT-button-background)!important;
399 box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2),
400 0 1px 1px 0 rgba(0, 0, 0, 0.14),
401 0 1px 3px 0 rgba(0, 0, 0, 0.12);
402}
403
404ec-question .state-chips material-chip .content {
405 color: var(--TWPT-primary-text)!important;
406}
407
avm9996348c87d12021-04-09 13:00:21 +0200408ec-question .footer,
409 ec-ask-flow .content-disclaimer {
avm999630bc113a2020-09-07 13:02:11 +0200410 color: var(--TWPT-primary-text)!important;
411 background-color: var(--TWPT-active-background)!important;
412 border-top-color: var(--TWPT-card-border)!important;
413}
414
415.heading {
416 color: var(--TWPT-primary-text)!important;
417}
418
419.heading + .group,
420 .load-more-bar,
421 ec-message:not(:first-child),
422 .load-more-bar .load-more-button,
423 .load-more-bar .load-all-button {
424 border-color: var(--TWPT-card-border)!important;
425}
426
avm9996395da0772020-09-09 01:07:36 +0200427ec-message .type {
428 color: var(--TWPT-primary-text)!important;
429}
430
avm999630bc113a2020-09-07 13:02:11 +0200431ec-message .footer ec-relative-time,
432 ec-message .footer ec-safe-html {
433 color: var(--TWPT-secondary-text)!important;
434}
435
436ec-message .helpful-prompt {
437 color: var(--TWPT-primary-text)!important;
438}
439
440ec-question .me-too-button,
441 ec-question .subscribe-button,
442 ec-message .upvote-button,
443 ec-message .downvote-button {
444 color: var(--TWPT-secondary-text)!important;
avm99963a51c7612020-11-25 23:58:56 +0100445 background-color: var(--TWPT-button-background)!important;
avm999630bc113a2020-09-07 13:02:11 +0200446}
447
avm99963223416c2021-04-21 22:13:14 +0200448ec-message .alert {
449 color: var(--TWPT-secondary-text)!important;
450}
451
avm999630bc113a2020-09-07 13:02:11 +0200452ec-question .me-too-button.selected,
453 ec-question .subscribe-button.selected,
454 ec-message .upvote-button.selected,
455 ec-message .downvote-button.selected {
456 color: #4285f4!important;
457}
458
459.load-more-bar .load-more-button, .load-more-bar .load-all-button {
460 background-color: var(--TWPT-secondary-background)!important;
461}
462
463.locked-alert {
464 background-color: var(--TWPT-active-background)!important;
465 border: var(--TWPT-card-border)!important;
466}
467
468.locked-alert material-icon {
469 color: rgba(255, 255, 255, .38)!important;
470}
471
avm99963b2329632021-02-06 20:05:34 +0100472ec-thread button.reply.collapsed {
473 color: var(--TWPT-secondary-text)!important;
474}
475
avm999630bc113a2020-09-07 13:02:11 +0200476ec-thread .finished-question {
477 background-color: var(--TWPT-active-background)!important;
478 border: var(--TWPT-card-border)!important;
479}
480
avm99963ea9b23f2021-04-22 14:06:03 +0200481ec-thread .finished-question .next-question {
482 color: var(--TWPT-link)!important;
483 border-color: var(--TWPT-link)!important;
484}
485
avm999630bc113a2020-09-07 13:02:11 +0200486.material-content .action-bar material-button.has-activity {
487 color: #1a73e8!important;
488}
489
490.material-content .action-bar material-button.showing-sidebar {
491 background-color: var(--TWPT-active-background)!important;
492}
493
494ec-activity-panel .title-bar h3 {
495 color: #e8eaf2!important;
496}
497
498ec-activity-panel ec-activity {
499 color: var(--TWPT-secondary-text)!important;
500 border-color: var(--TWPT-card-border)!important;
501}
502
503ec-activity-panel ec-activity .message {
504 color: var(--TWPT-primary-text-alt)!important;
505}
506
507ec-activity-panel ec-activity .thread-title {
508 color: #c3bfbc!important;
509}
510
511/* Recommended answers - show in green where we've overwritten the colors */
512.recommended-answers {
513 color: #34a853!important;
514}
515
avm99963fb7107c2021-04-14 19:39:05 +0200516/* Suggested answers - show brighter blue */
517.suggested-icon {
518 color: var(--TWPT-blue-A100)!important;
519}
520
521/* Help button (shown in the suggested answers header) */
522.explanation-icon material-icon {
523 color: rgba(255, 255, 255, .54)!important;
524}
525
526/* Help button tooltip */
527.popup .paper-container {
528 background: var(--TWPT-drawer-background)!important;
529}
530
531.explanation-icon material-icon:hover {
532 color: var(--TWPT-blue-A100)!important;
533}
534
avm99963223416c2021-04-21 22:13:14 +0200535/* New thread and edit message views */
536material-stepper {
537 border-top-color: var(--TWPT-card-border)!important;
538}
539
avm999630bc113a2020-09-07 13:02:11 +0200540material-stepper .stepper-step-name,
541 material-stepper .purpose-title {
542 color: var(--TWPT-primary-text)!important;
543}
544
545ec-ask-flow .display-name-label,
avm99963223416c2021-04-21 22:13:14 +0200546 material-stepper .additional-details-label,
547 material-stepper .detail-label {
avm999630bc113a2020-09-07 13:02:11 +0200548 color: var(--TWPT-secondary-text)!important;
549}
550
avm99963223416c2021-04-21 22:13:14 +0200551material-stepper .stepper-step[selectable=true]:focus {
552 background-color: rgba(60, 64, 67, .24)!important;
553}
554
avm9996301818912021-05-24 11:53:18 +0200555/* Compose thread view */
556ec-thread-composer .main-content .title-label,
557 ec-thread-composer .main-content .post-label {
558 color: var(--TWPT-primary-text-alt)!important;
559}
560
561ec-thread-composer .main-content .title-input,
562 ec-thread-composer .main-content ec-rich-text-editor {
563 border-color: var(--TWPT-card-border)!important;
564}
565
566ec-thread-composer .main-content .title-alert {
Adrià Vilanova Martínezc5d40aa2021-06-11 14:18:23 +0200567 color: var(--TWPT-bad-text)!important;
avm9996301818912021-05-24 11:53:18 +0200568}
569
570ec-thread-composer material-drawer {
571 background-color: inherit!important;
572}
573
574ec-thread-composer material-drawer .right-panel {
575 border-left-color: var(--TWPT-card-border)!important;
576}
577
578ec-thread-composer material-drawer .panel-section-title {
579 color: var(--TWPT-primary-text)!important;
580}
581
582ec-thread-composer material-drawer .panel-section-divider {
583 border-color: var(--TWPT-card-border)!important;
584}
585
586ec-thread-composer material-drawer material-radio .radio-label {
587 color: var(--TWPT-primary-text-alt)!important;
588}
589
590ec-thread-composer material-drawer material-radio .radio-description,
591 ec-thread-composer material-drawer .settings-section .panel-section-item .select-label {
592 color: var(--TWPT-secondary-text)!important;
593}
594
avm9996348c87d12021-04-09 13:00:21 +0200595/* Note: see thread view section. There is a rule for the thread creation
596 * footer.
597 **/
598
avm999630bc113a2020-09-07 13:02:11 +0200599/* Profile view */
avm9996348c87d12021-04-09 13:00:21 +0200600ec-user .main-card {
avm999630bc113a2020-09-07 13:02:11 +0200601 background-color: var(--TWPT-secondary-background)!important;
avm9996348c87d12021-04-09 13:00:21 +0200602}
603
604ec-user .abuse-alert-container {
605 background-color: var(--TWPT-active-background)!important;
avm999630bc113a2020-09-07 13:02:11 +0200606 border-top-right-radius: 8px!important;
avm9996348c87d12021-04-09 13:00:21 +0200607}
608
609ec-user .abuse-alert-container .abuse-alert {
610 color: var(--TWPT-primary-text)!important;
avm999630bc113a2020-09-07 13:02:11 +0200611}
612
avm99963c4cb8f32020-09-07 23:52:28 +0200613ec-user ec-display-name-editor, ec-user .header .name {
avm999630bc113a2020-09-07 13:02:11 +0200614 color: var(--TWPT-primary-text)!important;
615}
616
avm9996395da0772020-09-09 01:07:36 +0200617ec-user .role {
618 filter: brightness(1.5);
619}
620
avm999630bc113a2020-09-07 13:02:11 +0200621ec-user bar-chart .axis text {
622 fill: rgba(255, 255, 255, .54)!important;
623}
624
625ec-user bar-chart .axis path,
626 ec-user bar-chart .axis .gridline,
627 ec-user bar-chart .axis line {
628 stroke: rgba(255, 255, 255, .12)!important;
629}
630
631ec-user bar-chart .axis line.axis-zero-tick,
632 ec-user bar-chart .axis.x .tick-mark {
633 stroke: rgba(255, 255, 255, .38)!important;
634}
635
636ec-user bar-chart .aplos-legend-entry {
637 color: var(--TWPT-secondary-text)!important;
638}
639
640.aplos-hovercard {
641 background: var(--TWPT-secondary-background)!important;
642}
643
644.aplos-hovercard .title {
645 color: var(--TWPT-primary-text)!important;
646}
647
648.aplos-hovercard .subtitle,
649 .aplos-donut-center .subtitle,
650 .aplos-hovercard .series,
651 .aplos-donut-center .series,
652 .aplos-hovercard .value,
653 .aplos-donut-center .value {
654 color: var(--TWPT-secondary-text)!important;
655}
656
657/* Duplicate thread feature */
658.search-results ec-thread-option material-expansionpanel .panel {
659 background-color: var(--TWPT-primary-background)!important;
660}
661
662.search-results ec-thread-option material-expansionpanel.selected .panel,
663 .search-results ec-thread-option material-expansionpanel .panel > .main-header > .header.closed:hover,
664 .search-results ec-thread-option material-expansionpanel .panel > .main-header > .header.closed:focus {
665 background-color: #17191c!important;
666}
667
668/* Disabled buttons */
669material-button[disabled] {
670 color: rgba(255, 255, 255, .26)!important;
671}
672
673/* Material icons */
674ec-filter-drawer-item material-icon,
675 ec-filter-drawer-item ec-icon,
676 material-drawer .drawer-section material-icon,
677 material-drawer .drawer-section ec-icon,
678 material-list material-icon,
679 ec-query-builder material-icon,
avm999630bc113a2020-09-07 13:02:11 +0200680 ec-thread-summary material-expansionpanel .title material-icon,
681 .search-results ec-thread-option material-icon,
682 .search-results ec-thread-option ec-icon,
683 ec-rich-text-editor material-icon,
684 ec-editor-command material-icon,
avm99963223416c2021-04-21 22:13:14 +0200685 ec-canned-responses ec-canned-response-row material-icon,
686 ec-ask-flow > .header material-button {
avm999630bc113a2020-09-07 13:02:11 +0200687 color: rgba(255, 255, 255, .87)!important;
688}
689
690material-drawer ec-icon,
avm99963223416c2021-04-21 22:13:14 +0200691 .search-results ec-thread-option ec-icon,
avm9996315b23d72021-04-26 18:07:15 +0200692 ec-thread-summary material-expansionpanel .title ec-icon,
693 ec-announcements-menu-item ec-icon {
avm999630bc113a2020-09-07 13:02:11 +0200694 fill: rgba(255, 255, 255, .87)!important;
695}
696
697/* Dialogs */
698material-dialog, material-dialog .dialog-header {
699 background-color: var(--TWPT-primary-background)!important;
700}
701
702ec-movable-dialog[showminimize] material-dialog .dialog-header {
703 background-color: #d2e3fc!important;
704}
705
706material-dialog .title {
707 color: var(--TWPT-primary-text-alt)!important;
708}
709
710ec-movable-dialog[showminimize] material-dialog .dialog-header .title, ec-movable-dialog[showminimize] material-dialog header material-icon {
711 color: var(--TWPT-primary-background)!important;
712}
713
714ec-movable-dialog[showminimize] material-dialog .header-notice, material-dialog .legal-prompt {
715 background-color: #170f01!important;
716}
717
avm99963223416c2021-04-21 22:13:14 +0200718ec-movable-dialog[showminimize] material-dialog .main .header-notice material-icon[icon="info_outline"] {
719 color: var(--TWPT-blue-A100)!important;
720}
721
avm999630bc113a2020-09-07 13:02:11 +0200722material-dialog .section-title,
723 material-dialog .select-label,
724 material-dialog .input-label,
725 material-dialog .btn-no,
726 ec-display-name-editor,
727 .forum-selection-label {
728 color: var(--TWPT-secondary-text)!important;
729}
730
avm9996301818912021-05-24 11:53:18 +0200731material-dialog main > .user {
732 border-bottom-color: var(--TWPT-card-border)!important;
733}
734
avm999630bc113a2020-09-07 13:02:11 +0200735ec-movable-dialog[showminimize] material-dialog footer > [footer] > .footer > [footer] > simple-html {
736 color: var(--TWPT-secondary-text)!important;
737 background-color: var(--TWPT-active-background)!important;
738 border-top-color: #25231f!important;
739}
740
avm9996301818912021-05-24 11:53:18 +0200741ec-movable-dialog[showminimize] material-dialog footer > [footer] > .footer > [footer] > simple-html a {
742 color: var(--TWPT-link)!important;
743}
744
avm999630bc113a2020-09-07 13:02:11 +0200745/* Keyboard shortcuts dialog */
746material-dialog .main.with-scroll-strokes table td {
747 color: var(--TWPT-primary-text)!important;
748}
749
750/* Rich text editor */
751ec-editor-command material-button,
752 ec-formatting-popup material-button {
753 box-shadow: none!important;
754}
755
756ec-editor-command material-button.is-active {
757 background: var(--TWPT-active-background)!important;
758}
759
760ec-rich-text-editor .placeholder {
761 color: rgba(255, 255, 255, .38)!important;
762}
763
avm9996301818912021-05-24 11:53:18 +0200764ec-rich-text-editor .input-wrapper,
765 ec-rich-text-editor .spacer {
766 border-color: var(--TWPT-card-border)!important;
767}
768
769ec-rich-text-editor .input-wrapper.input-wrapper--focused {
770 border-color: var(--TWPT-blue-A100)!important;
771}
772
avm999630bc113a2020-09-07 13:02:11 +0200773ec-rich-text-editor .input {
774 color: var(--TWPT-primary-text)!important;
775}
776
777ec-rich-text-editor .hint {
778 color: rgba(255, 255, 255, .54)!important;
779}
780
781material-select-searchbox + material-list material-list-item {
782 color: rgba(255, 255, 255, .87)!important;
783}
784
785ec-attachment .filename {
786 color: var(--TWPT-primary-text)!important;
787}
788
789/* Thread insert */
790ec-thread-insert .title {
791 color: var(--TWPT-primary-text)!important;
792}
793
794ec-thread-insert ec-thread-counts,
795 ec-thread-insert .details,
796 ec-thread-insert ec-relative-time {
797 color: rgba(255, 255, 255, .54)!important;
798}
799
800/* Text input */
801material-input input {
802 color: var(--TWPT-primary-text)!important;
803}
804
805material-input .label-text,
806 material-input .hint-text,
807 material-input .counter {
808 color: rgba(255, 255, 255, .54)!important;
809}
810
811material-input .underline .unfocused-underline {
avm99963223416c2021-04-21 22:13:14 +0200812 background-color: var(--TWPT-input-underline)!important;
avm999630bc113a2020-09-07 13:02:11 +0200813}
814
avm9996301818912021-05-24 11:53:18 +0200815material-input .underline .focused-underline {
816 background-color: var(--TWPT-blue-A100)!important;
817}
818
avm999630bc113a2020-09-07 13:02:11 +0200819label .label {
820 color: var(--TWPT-primary-text)!important;
821}
822
823/* Input underline */
824material-input .underline .unfocused-underline,
825 material-dropdown-select dropdown-button [buttondecorator] {
avm9996301818912021-05-24 11:53:18 +0200826 border-color: var(--TWPT-input-underline)!important;
avm999630bc113a2020-09-07 13:02:11 +0200827}
828
829/* Checkbox input */
Adrià Vilanova Martínez1d44d3d2021-07-26 15:34:19 +0200830material-checkbox material-icon,
831 material-checkbox .content {
avm999630bc113a2020-09-07 13:02:11 +0200832 color: var(--TWPT-secondary-text)!important;
833}
834
Adrià Vilanova Martínez0d15aeb2021-07-26 15:18:43 +0200835/* .gm-icons is added by the SMEI_GOOGLE_MATERIAL_ICONS experiment. */
836material-checkbox material-icon.filled {
837 color: var(--TWPT-blue-A100)!important;
838}
839
840material-checkbox:focus:not(.disabled).gm-icons .icon,
841 .gm-icons material-checkbox:focus:not(.disabled) .icon,
842 material-checkbox:hover:not(.disabled).gm-icons .icon,
843 .gm-icons material-checkbox:hover:not(.disabled) .icon {
844 color: #cfd2d8!important; /* custom value */
845}
846
847material-checkbox:focus:not(.disabled).gm-icons .icon.filled,
848 .gm-icons material-checkbox:focus:not(.disabled) .icon.filled,
849 material-checkbox:hover:not(.disabled).gm-icons .icon.filled,
850 .gm-icons material-checkbox:hover:not(.disabled) .icon.filled {
851 color: var(--TWPT-blue-100)!important;
852}
853
854.gm-icons material-checkbox .icon-container::before{
855 background-color: #dfdedb!important; /* custom value */
856}
857
858/* Radio input */
859material-radio .icon-container:not(.checked) material-icon {
860 color: var(--TWPT-secondary-text)!important;
861}
862
863material-radio .icon-container.checked material-icon {
864 color: var(--TWPT-blue-A100)!important;
865}
866
867/* Material switch */
868.mdc-switch:not(.mdc-switch--checked) .mdc-switch__track {
869 background-color: #7d7d7d!important; /* custom value */
870}
871
872.mdc-switch:not(.mdc-switch--checked) .mdc-switch__thumb {
873 border-color: #fff!important; /* custom value */
874}
875
876.mdc-switch.mdc-switch--checked .mdc-switch__track {
877 background-color: var(--TWPT-blue-A100)!important;
878}
879
880.mdc-switch.mdc-switch--checked .mdc-switch__thumb {
881 border-color: var(--TWPT-blue-A100)!important;
882}
883
avm999630bc113a2020-09-07 13:02:11 +0200884/* Material menu button and dropdown select */
885material-menu material-button, material-dropdown-select dropdown-button {
avm99963223416c2021-04-21 22:13:14 +0200886 color: var(--TWPT-primary-text)!important;
avm999630bc113a2020-09-07 13:02:11 +0200887}
888
avm9996348c87d12021-04-09 13:00:21 +0200889material-dropdown-select dropdown-button .button.is-disabled .button-text,
890 material-dropdown-select dropdown-button .button.is-disabled material-icon {
891 color: rgba(255, 255, 255, .32)!important;
avm999630bc113a2020-09-07 13:02:11 +0200892}
893
894/* Announcements content */
avm99963223416c2021-04-21 22:13:14 +0200895ec-announcements-content .header,
896 ec-announcements-content .no-announcements,
897 ec-announcements-content .announcement {
898 border-bottom-color: var(--TWPT-card-border)!important;
899}
900
avm999630bc113a2020-09-07 13:02:11 +0200901ec-announcements-content .header .title, ec-announcements-content .announcement-title {
902 color: var(--TWPT-primary-text-alt)!important;
903}
904
avm9996315b23d72021-04-26 18:07:15 +0200905ec-announcements-content .announcement-date {
906 color: var(--TWPT-secondary-text)!important;
907}
908
avm999630bc113a2020-09-07 13:02:11 +0200909ec-announcements-content .no-announcements-message {
910 color: #c3bfbc!important;
911}
912
avm9996315b23d72021-04-26 18:07:15 +0200913ec-announcements-content .view-all-link,
914 ec-announcements-content .read-more-button {
avm99963223416c2021-04-21 22:13:14 +0200915 color: var(--TWPT-link)!important;
916}
917
avm9996315b23d72021-04-26 18:07:15 +0200918ec-announcements-content ::-webkit-scrollbar-thumb {
919 background-color: rgba(255, 255, 255, .26)!important;
920}
921
922ec-announcements-content ::-webkit-scrollbar-thumb:hover {
923 background-color: #4285f4!important;
924}
925
avm99963b2329632021-02-06 20:05:34 +0100926/* Generic popup (for notification bell, account selector, etc.) */
927.popup-wrapper .header-text {
928 color: var(--TWPT-primary-text)!important;
929}
930
avm9996348c87d12021-04-09 13:00:21 +0200931/* Notifications bell popup/panel */
Adrià Vilanova Martínez47d33bc2021-08-14 18:50:50 +0200932.notification-panel .header {
933 border-bottom-color: var(--TWPT-card-border)!important;
934}
935
avm9996348c87d12021-04-09 13:00:21 +0200936.notification-panel .header material-button {
937 color: var(--TWPT-secondary-text)!important;
938}
939
940.notification-panel .cards-container .promo-message {
941 color: var(--TWPT-secondary-text)!important;
942}
943
944.notification-panel .cards-container .promo-message .header-text {
945 color: var(--TWPT-primary-text)!important;
946}
947
Adrià Vilanova Martínez47d33bc2021-08-14 18:50:50 +0200948.notification-panel .cards-container ec-notification-card-content {
949 border-bottom-color: var(--TWPT-card-border)!important;
950}
951
952.notification-panel .cards-container ec-notification-card-content .text {
953 color: var(--TWPT-primary-text)!important;
954}
955
956.notification-panel .cards-container ec-notification-card-content .time,
957 .notification-panel .cards-container ec-notification-card-content .close material-button {
958 color: var(--TWPT-secondary-text)!important;
959}
960
avm999630bc113a2020-09-07 13:02:11 +0200961/* Account selector */
962.popup-wrapper .profile .email {
963 color: rgba(255, 255, 255, .54)!important;
964}
965
966material-gaia-picker-footer {
967 color: rgba(255, 255, 255, .54)!important;
968 background-color: var(--TWPT-active-background)!important;
969}
970
avm9996348c87d12021-04-09 13:00:21 +0200971material-gaia-picker-footer material-button {
972 color: var(--TWPT-secondary-text)!important;
973}
974
avm999630bc113a2020-09-07 13:02:11 +0200975/* Canned responses */
976ec-canned-responses .filter-label,
avm9996325a0d602020-11-25 19:24:16 +0100977 ec-canned-responses ec-canned-response-row .name {
avm999630bc113a2020-09-07 13:02:11 +0200978 color: var(--TWPT-primary-text)!important;
979}
980
avm9996325a0d602020-11-25 19:24:16 +0100981ec-canned-responses .label-row,
982 ec-canned-responses ec-canned-response-row .snippet,
983 ec-canned-responses ec-canned-response-row .tag {
984 color: var(--TWPT-secondary-text)!important;
985}
986
avm999630bc113a2020-09-07 13:02:11 +0200987ec-canned-responses ec-canned-response-row .header.closed:hover,
988 ec-canned-responses ec-canned-response-row .header.closed:focus,
989 ec-canned-responses ec-canned-response-row .header.closed:hover .toolbar,
990 ec-canned-responses ec-canned-response-row .header.closed:focus .toolbar {
991 background-color: var(--TWPT-active-background)!important;
992}
993
avm9996325a0d602020-11-25 19:24:16 +0100994ec-canned-responses .filter-row,
995 ec-canned-responses .label-row,
996 ec-canned-responses ec-canned-response-row material-expansionpanel {
997 border-bottom-color: var(--TWPT-subtle-border)!important;
998}
999
avm999630bc113a2020-09-07 13:02:11 +02001000/* Reply button */
Adrià Vilanova Martínez1d44d3d2021-07-26 15:34:19 +02001001material-fab.reply-button,
1002 material-fab.reply-fab {
avm999630bc113a2020-09-07 13:02:11 +02001003 background-color: var(--TWPT-link)!important;
1004 color: var(--TWPT-primary-background)!important;
1005}
1006
avm99963223416c2021-04-21 22:13:14 +02001007/* Settings view */
1008ec-settings .forum-language-container {
1009 border-bottom-color: var(--TWPT-subtle-border)!important;
1010}
1011
1012ec-settings .forum-language-container material-button {
1013 color: var(--TWPT-secondary-text)!important;
1014}
1015
Adrià Vilanova Martínez3356df72021-07-09 19:27:04 +02001016/* Loading spinner */
1017material-spinner {
1018 border-color: var(--TWPT-blue-A100)!important;
1019}
1020
avm99963f5923962020-12-07 16:44:37 +01001021/* Custom injected components */
1022.TWPT-log {
1023 background-color: #424242!important;
1024}
1025
1026.TWPT-log-entry.TWPT-log-entry--error {
1027 color: #ff8A80!important;
1028}