blob: 475d4519ef8feacb24b125f4789c67f96b076d6c [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);
avm99963b2329632021-02-06 20:05:34 +010016 --TWPT-green-A400: #00E676;
17 --TWPT-red-A400: #FF1744;
avm99963fb7107c2021-04-14 19:39:05 +020018 --TWPT-blue-A100: #82B1FF;
avm999630bc113a2020-09-07 13:02:11 +020019}
20
21body {
22 color: var(--TWPT-primary-text);
23 background-color: var(--TWPT-primary-background)!important;
24}
25
26p {
27 color: var(--TWPT-primary-text);
28}
29
30body.ec a {
31 color: var(--TWPT-link);
32}
33
34/* Header */
35.material-content > header {
36 background-color: var(--TWPT-primary-background)!important;
37}
38
avm9996348c87d12021-04-09 13:00:21 +020039.material-content > header material-button,
40 .material-content > header notification-bell material-icon {
avm999630bc113a2020-09-07 13:02:11 +020041 color: rgba(255, 255, 255, .87)!important;
42}
43
44.search-box {
45 background-color: #313235!important;
46}
47
48.search-box .clear-icon {
49 opacity: 0.8;
50 color: rgba(255, 255, 255, .87)!important;
51}
52
53.material-content > header .bell.mixin {
54 fill: rgba(255, 255, 255, .87)!important;
55}
56
57/* Drawer */
58material-drawer, material-drawer .panel, material-list-item {
59 background-color: var(--TWPT-drawer-background)!important;
60}
61
avm9996324ef6522020-11-25 19:45:43 +010062material-list-item:hover, material-list-item:focus, material-list-item.item--active {
avm999630bc113a2020-09-07 13:02:11 +020063 background-color: var(--TWPT-active-background)!important;
64}
65
66material-drawer .panel {
67 border-bottom-color: #25231f!important;
68}
69
70material-drawer .drawer-section-title, material-drawer .header > material-icon {
71 color: var(--TWPT-secondary-text)!important;
72}
73
74material-drawer material-list-item, material-drawer material-list-item .title {
75 color: #d2cecb!important;
76}
77
78material-drawer ec-forum-drawer-item material-checkbox material-icon {
79 filter: brightness(1.5);
80}
81
avm99963223416c2021-04-21 22:13:14 +020082/* Filters (ec-query-builder) */
83material-condition-builder .compound-condition-operator {
84 color: var(--TWPT-secondary-text)!important;
85}
86
87material-condition-builder .compound-condition-operator::before,
88 material-condition-builder .compound-condition-operator::after {
89 border-left-color: rgba(255, 255, 255, .20)!important;
90}
91
avm999630bc113a2020-09-07 13:02:11 +020092/* Selector */
avm99963a51c7612020-11-25 23:58:56 +010093
94/*
95 * This applies not only to the selector but also to the ec-work-state-picker.
96 */
avm99963a091be12021-02-18 17:03:28 +010097.popup-wrapper, material-list, .popup .item-group-list {
avm999630bc113a2020-09-07 13:02:11 +020098 background-color: var(--TWPT-drawer-background)!important;
99}
100
avm99963a091be12021-02-18 17:03:28 +0100101material-list [group]:not(.empty) + *:not(script):not(template):not(.empty),
102 .popup .item-group-list [group]:not(.empty) + *:not(script):not(template):not(.empty) {
avm999630bc113a2020-09-07 13:02:11 +0200103 box-shadow: inset 0 8px 0 0 var(--TWPT-drawer-background)!important;
104 border-top-color: #1f1f1f!important;
105}
106
107material-list material-select-item:hover,
108 material-list material-select-item:focus,
109 material-list material-select-dropdown-item:hover,
110 material-list material-select-dropdown-item:focus,
111 material-list material-select-dropdown-item.active,
avm99963a091be12021-02-18 17:03:28 +0100112 material-list material-select-dropdown-item:not(.multiselect).selected,
113 .popup .item-group-list material-select-item:hover,
114 .popup .item-group-list material-select-item:focus,
avm99963744d0cf2021-03-23 22:05:57 +0100115 .popup .item-group-list material-select-item.active,
avm99963a091be12021-02-18 17:03:28 +0100116 .popup .item-group-list material-select-dropdown-item:hover,
117 .popup .item-group-list material-select-dropdown-item:focus,
118 .popup .item-group-list material-select-dropdown-item.active,
119 .popup .item-group-list material-select-dropdown-item:not(.multiselect).selected {
avm99963744d0cf2021-03-23 22:05:57 +0100120 background-color: var(--TWPT-highlighted-item-background)!important;
avm999630bc113a2020-09-07 13:02:11 +0200121}
122
avm99963a091be12021-02-18 17:03:28 +0100123material-list .menu-item-label,
124 material-list .label,
125 material-list .text-segment,
126 .popup .item-group-list .menu-item-label,
127 .popup .item-group-list .label,
128 .popup .item-group-list .text-segment {
avm999630bc113a2020-09-07 13:02:11 +0200129 color: rgba(255, 255, 255, .87)!important;
130}
131
avm99963a091be12021-02-18 17:03:28 +0100132.popup .item-group-list material-icon {
133 color: rgba(255, 255, 255, .7)!important;
134}
135
avm999630bc113a2020-09-07 13:02:11 +0200136material-list [group] > [label] {
137 color: #8a8a8a!important;
138}
139
avm9996348c87d12021-04-09 13:00:21 +0200140/* This is shown in the new thread view */
141ec-forum-language-picker .labeled-select .select-label {
142 color: var(--TWPT-secondary-text)!important;
143}
144
avm999630bc113a2020-09-07 13:02:11 +0200145/* Main */
146.main {
147 color: var(--TWPT-primary-text)!important;
148}
149
avm9996325a0d602020-11-25 19:24:16 +0100150/* Border color for the page title bar (most pages use .title-bar although
151 * some use .page-header).
152 */
153main .title-bar, main .page-header {
avm999630bc113a2020-09-07 13:02:11 +0200154 border-bottom-color: var(--TWPT-subtle-border)!important;
155}
156
157main .title-bar .title, main .page-header h1, main .header h1 {
158 color: var(--TWPT-primary-text)!important;
159}
160
161.card {
162 background-color: var(--TWPT-secondary-background)!important;
163 color: var(--TWPT-primary-text)!important;
164 border-color: var(--TWPT-card-border)!important;
165}
166
167.card .card-title, .card, .card-section-title {
168 color: var(--TWPT-primary-text)!important;
169}
170
avm99963223416c2021-04-21 22:13:14 +0200171.card .card-section-hint, .card .card-section-checkbox-hint {
avm999630bc113a2020-09-07 13:02:11 +0200172 color: var(--TWPT-secondary-text)!important;
173}
174
175/* Action bar */
176.material-content .action-bar material-button,
177 ec-bulk-actions material-button,
avm99963b2329632021-02-06 20:05:34 +0100178 ec-back-button material-button,
avm9996348c87d12021-04-09 13:00:21 +0200179 .sort-options material-button {
avm999630bc113a2020-09-07 13:02:11 +0200180 color: rgba(255, 255, 255, .54)!important;
181}
182
183.material-content .action-bar material-button.starred {
184 color: #fbbc04!important;
185}
186
avm99963a51c7612020-11-25 23:58:56 +0100187/* ec-work-state-picker */
188ec-work-state-picker > button {
189 color: var(--TWPT-secondary-text)!important;
190 background-color: var(--TWPT-button-background)!important;
191 border-color: var(--TWPT-subtle-border)!important;
192}
193
194.material-popup-content .popup-content .title {
195 color: var(--TWPT-primary-text)!important;
196}
197
avm999630bc113a2020-09-07 13:02:11 +0200198/* Thread list */
199ec-thread-list ul.thread-group {
200 background-color: var(--TWPT-primary-background)!important;
201}
202
203ec-thread-list ec-bulk-actions, ec-thread-list ec-thread-summary material-expansionpanel {
204 border-bottom-color: var(--TWPT-subtle-border)!important;
205}
206
avm99963a2a06442020-11-25 21:11:10 +0100207ec-thread-summary material-expansionpanel.read:not(.checked) {
avm999630bc113a2020-09-07 13:02:11 +0200208 background-color: var(--TWPT-thread-read-background)!important;
209}
210
avm99963e65bec42020-11-25 18:26:29 +0100211ec-thread-summary material-expansionpanel.read .title span:not(.icon) {
avm9996395da0772020-09-09 01:07:36 +0200212 opacity: 0.8;
213}
214
avm99963e65bec42020-11-25 18:26:29 +0100215ec-thread-summary material-expansionpanel.read .title .icon {
216 opacity: 0.48!important;
217}
218
avm999630bc113a2020-09-07 13:02:11 +0200219ec-thread-summary material-expansionpanel.checked {
avm99963a2a06442020-11-25 21:11:10 +0100220 background-color: #2c4b77!important;
avm999630bc113a2020-09-07 13:02:11 +0200221}
222
223ec-thread-summary material-expansionpanel .title {
224 color: var(--TWPT-primary-text)!important;
225}
226
227ec-thread-summary material-expansionpanel ec-second-summary-line,
228 material-expansionpanel .header-content,
avm9996348c87d12021-04-09 13:00:21 +0200229 material-expansionpanel ec-thread-counts > span:not(.recommended-answers),
230 material-expansionpanel .duplicate-label {
avm999630bc113a2020-09-07 13:02:11 +0200231 color: #928e89!important;
232}
233
avm9996348c87d12021-04-09 13:00:21 +0200234material-expansionpanel .removed-label {
235 /*
236 * The following color should be --TWPT-red-A400, but it unfortunately doesn't
237 * contrast well with the dark background, so this is the AA correction of
238 * that color.
239 **/
240 color: #ff6868!important;
241}
242
avm999631558e6c2020-12-08 13:42:40 +0100243ec-thread-summary material-expansionpanel ec-safe-html.body,
244 material-expansionpanel .issue-tracking-work-state {
avm999630bc113a2020-09-07 13:02:11 +0200245 color: var(--TWPT-primary-text)!important;
246}
247
avm99963b2329632021-02-06 20:05:34 +0100248/* Thread view (including review/live review components) */
avm999630bc113a2020-09-07 13:02:11 +0200249ec-question, .heading + .group, ec-message {
250 background-color: var(--TWPT-secondary-background)!important;
251}
252
avm99963b2329632021-02-06 20:05:34 +0100253ec-thread .no-review-needed {
254 background-color: #155829!important;
255 border-color: var(--TWPT-subtle-border)!important;
256}
257
258/* Review bar shown above the main message or replies */
259ec-review-bar {
avm999630bc113a2020-09-07 13:02:11 +0200260 background-color: var(--TWPT-active-background)!important;
261}
262
avm99963b2329632021-02-06 20:05:34 +0100263ec-review-bar material-chip {
264 background-color: var(--TWPT-button-background)!important;
265}
266
267ec-review-bar material-chip:not(.relevant-active):not(.active) {
268 color: var(--TWPT-primary-text)!important;
269 border-color: var(--TWPT-card-border)!important;
270}
271
272ec-review-bar material-chip:not(.relevant-active):not(.active) material-icon {
273 color: var(--TWPT-primary-text)!important;
274 fill: var(--TWPT-primary-text)!important;
275}
276
277ec-review-bar material-chip.relevant-active {
278 color: var(--TWPT-green-A400)!important;
279 border-color: var(--TWPT-green-A400)!important;
280}
281
282ec-review-bar material-chip.relevant-active material-icon {
283 color: var(--TWPT-green-A400)!important;
284 fill: var(--TWPT-green-A400)!important;
285}
286
287ec-review-bar material-chip.active {
288 color: var(--TWPT-red-A400)!important;
289 border-color: var(--TWPT-red-A400)!important;
290}
291
292ec-review-bar material-chip.active material-icon {
293 color: var(--TWPT-red-A400)!important;
294 fill: var(--TWPT-red-A400)!important;
295}
296
avm999630bc113a2020-09-07 13:02:11 +0200297ec-message-header .header, ec-question .state, ec-question ec-thread-counts > span, ec-message ec-thread-counts > span {
298 color: var(--TWPT-secondary-text)!important;
299}
300
avm9996395da0772020-09-09 01:07:36 +0200301ec-question .alert, ec-message .alert {
avm999630bc113a2020-09-07 13:02:11 +0200302 background-color: var(--TWPT-active-background)!important;
303}
304
avm9996395da0772020-09-09 01:07:36 +0200305ec-question .alert material-icon, ec-message .alert material-icon {
avm999630bc113a2020-09-07 13:02:11 +0200306 color: var(--TWPT-primary-text)!important;
307}
308
avm9996395da0772020-09-09 01:07:36 +0200309ec-question .alert ec-icon, ec-message .alert ec-icon {
avm999630bc113a2020-09-07 13:02:11 +0200310 color: var(--TWPT-primary-text)!important;
311 fill: var(--TWPT-primary-text)!important;
312}
313
314ec-question .title {
315 color: var(--TWPT-primary-text-alt)!important;
316}
317
avm99963b2329632021-02-06 20:05:34 +0100318ec-user-link .name-text {
319 color: var(--TWPT-link)!important;
320}
321
322ec-message-header ec-avatar svg, ec-message-header .role,
323 ec-message .footer .role {
avm999630bc113a2020-09-07 13:02:11 +0200324 filter: brightness(1.5);
325}
326
327ec-question .body, ec-message .body {
328 color: var(--TWPT-primary-text)!important;
329}
330
331ec-question .thread-insert {
332 background: none!important;
333}
334
335ec-question .details-heading {
336 color: var(--TWPT-primary-text-alt) !important;
337}
338
avm9996348c87d12021-04-09 13:00:21 +0200339ec-question .footer,
340 ec-ask-flow .content-disclaimer {
avm999630bc113a2020-09-07 13:02:11 +0200341 color: var(--TWPT-primary-text)!important;
342 background-color: var(--TWPT-active-background)!important;
343 border-top-color: var(--TWPT-card-border)!important;
344}
345
346.heading {
347 color: var(--TWPT-primary-text)!important;
348}
349
350.heading + .group,
351 .load-more-bar,
352 ec-message:not(:first-child),
353 .load-more-bar .load-more-button,
354 .load-more-bar .load-all-button {
355 border-color: var(--TWPT-card-border)!important;
356}
357
avm9996395da0772020-09-09 01:07:36 +0200358ec-message .type {
359 color: var(--TWPT-primary-text)!important;
360}
361
avm999630bc113a2020-09-07 13:02:11 +0200362ec-message .footer ec-relative-time,
363 ec-message .footer ec-safe-html {
364 color: var(--TWPT-secondary-text)!important;
365}
366
367ec-message .helpful-prompt {
368 color: var(--TWPT-primary-text)!important;
369}
370
371ec-question .me-too-button,
372 ec-question .subscribe-button,
373 ec-message .upvote-button,
374 ec-message .downvote-button {
375 color: var(--TWPT-secondary-text)!important;
avm99963a51c7612020-11-25 23:58:56 +0100376 background-color: var(--TWPT-button-background)!important;
avm999630bc113a2020-09-07 13:02:11 +0200377}
378
avm99963223416c2021-04-21 22:13:14 +0200379ec-message .alert {
380 color: var(--TWPT-secondary-text)!important;
381}
382
avm999630bc113a2020-09-07 13:02:11 +0200383ec-question .me-too-button.selected,
384 ec-question .subscribe-button.selected,
385 ec-message .upvote-button.selected,
386 ec-message .downvote-button.selected {
387 color: #4285f4!important;
388}
389
390.load-more-bar .load-more-button, .load-more-bar .load-all-button {
391 background-color: var(--TWPT-secondary-background)!important;
392}
393
394.locked-alert {
395 background-color: var(--TWPT-active-background)!important;
396 border: var(--TWPT-card-border)!important;
397}
398
399.locked-alert material-icon {
400 color: rgba(255, 255, 255, .38)!important;
401}
402
avm99963b2329632021-02-06 20:05:34 +0100403ec-thread button.reply.collapsed {
404 color: var(--TWPT-secondary-text)!important;
405}
406
avm999630bc113a2020-09-07 13:02:11 +0200407ec-thread .finished-question {
408 background-color: var(--TWPT-active-background)!important;
409 border: var(--TWPT-card-border)!important;
410}
411
412.material-content .action-bar material-button.has-activity {
413 color: #1a73e8!important;
414}
415
416.material-content .action-bar material-button.showing-sidebar {
417 background-color: var(--TWPT-active-background)!important;
418}
419
420ec-activity-panel .title-bar h3 {
421 color: #e8eaf2!important;
422}
423
424ec-activity-panel ec-activity {
425 color: var(--TWPT-secondary-text)!important;
426 border-color: var(--TWPT-card-border)!important;
427}
428
429ec-activity-panel ec-activity .message {
430 color: var(--TWPT-primary-text-alt)!important;
431}
432
433ec-activity-panel ec-activity .thread-title {
434 color: #c3bfbc!important;
435}
436
437/* Recommended answers - show in green where we've overwritten the colors */
438.recommended-answers {
439 color: #34a853!important;
440}
441
avm99963fb7107c2021-04-14 19:39:05 +0200442/* Suggested answers - show brighter blue */
443.suggested-icon {
444 color: var(--TWPT-blue-A100)!important;
445}
446
447/* Help button (shown in the suggested answers header) */
448.explanation-icon material-icon {
449 color: rgba(255, 255, 255, .54)!important;
450}
451
452/* Help button tooltip */
453.popup .paper-container {
454 background: var(--TWPT-drawer-background)!important;
455}
456
457.explanation-icon material-icon:hover {
458 color: var(--TWPT-blue-A100)!important;
459}
460
avm99963223416c2021-04-21 22:13:14 +0200461/* New thread and edit message views */
462material-stepper {
463 border-top-color: var(--TWPT-card-border)!important;
464}
465
avm999630bc113a2020-09-07 13:02:11 +0200466material-stepper .stepper-step-name,
467 material-stepper .purpose-title {
468 color: var(--TWPT-primary-text)!important;
469}
470
471ec-ask-flow .display-name-label,
avm99963223416c2021-04-21 22:13:14 +0200472 material-stepper .additional-details-label,
473 material-stepper .detail-label {
avm999630bc113a2020-09-07 13:02:11 +0200474 color: var(--TWPT-secondary-text)!important;
475}
476
avm99963223416c2021-04-21 22:13:14 +0200477material-stepper .stepper-step[selectable=true]:focus {
478 background-color: rgba(60, 64, 67, .24)!important;
479}
480
avm9996348c87d12021-04-09 13:00:21 +0200481/* Note: see thread view section. There is a rule for the thread creation
482 * footer.
483 **/
484
avm999630bc113a2020-09-07 13:02:11 +0200485/* Profile view */
avm9996348c87d12021-04-09 13:00:21 +0200486ec-user .main-card {
avm999630bc113a2020-09-07 13:02:11 +0200487 background-color: var(--TWPT-secondary-background)!important;
avm9996348c87d12021-04-09 13:00:21 +0200488}
489
490ec-user .abuse-alert-container {
491 background-color: var(--TWPT-active-background)!important;
avm999630bc113a2020-09-07 13:02:11 +0200492 border-top-right-radius: 8px!important;
avm9996348c87d12021-04-09 13:00:21 +0200493}
494
495ec-user .abuse-alert-container .abuse-alert {
496 color: var(--TWPT-primary-text)!important;
avm999630bc113a2020-09-07 13:02:11 +0200497}
498
avm99963c4cb8f32020-09-07 23:52:28 +0200499ec-user ec-display-name-editor, ec-user .header .name {
avm999630bc113a2020-09-07 13:02:11 +0200500 color: var(--TWPT-primary-text)!important;
501}
502
avm9996395da0772020-09-09 01:07:36 +0200503ec-user .role {
504 filter: brightness(1.5);
505}
506
avm999630bc113a2020-09-07 13:02:11 +0200507ec-user bar-chart .axis text {
508 fill: rgba(255, 255, 255, .54)!important;
509}
510
511ec-user bar-chart .axis path,
512 ec-user bar-chart .axis .gridline,
513 ec-user bar-chart .axis line {
514 stroke: rgba(255, 255, 255, .12)!important;
515}
516
517ec-user bar-chart .axis line.axis-zero-tick,
518 ec-user bar-chart .axis.x .tick-mark {
519 stroke: rgba(255, 255, 255, .38)!important;
520}
521
522ec-user bar-chart .aplos-legend-entry {
523 color: var(--TWPT-secondary-text)!important;
524}
525
526.aplos-hovercard {
527 background: var(--TWPT-secondary-background)!important;
528}
529
530.aplos-hovercard .title {
531 color: var(--TWPT-primary-text)!important;
532}
533
534.aplos-hovercard .subtitle,
535 .aplos-donut-center .subtitle,
536 .aplos-hovercard .series,
537 .aplos-donut-center .series,
538 .aplos-hovercard .value,
539 .aplos-donut-center .value {
540 color: var(--TWPT-secondary-text)!important;
541}
542
543/* Duplicate thread feature */
544.search-results ec-thread-option material-expansionpanel .panel {
545 background-color: var(--TWPT-primary-background)!important;
546}
547
548.search-results ec-thread-option material-expansionpanel.selected .panel,
549 .search-results ec-thread-option material-expansionpanel .panel > .main-header > .header.closed:hover,
550 .search-results ec-thread-option material-expansionpanel .panel > .main-header > .header.closed:focus {
551 background-color: #17191c!important;
552}
553
554/* Disabled buttons */
555material-button[disabled] {
556 color: rgba(255, 255, 255, .26)!important;
557}
558
559/* Material icons */
560ec-filter-drawer-item material-icon,
561 ec-filter-drawer-item ec-icon,
562 material-drawer .drawer-section material-icon,
563 material-drawer .drawer-section ec-icon,
564 material-list material-icon,
565 ec-query-builder material-icon,
566 material-radio .icon-container:not(.checked) material-icon,
567 ec-thread-summary material-expansionpanel .title material-icon,
568 .search-results ec-thread-option material-icon,
569 .search-results ec-thread-option ec-icon,
570 ec-rich-text-editor material-icon,
571 ec-editor-command material-icon,
avm99963223416c2021-04-21 22:13:14 +0200572 ec-canned-responses ec-canned-response-row material-icon,
573 ec-ask-flow > .header material-button {
avm999630bc113a2020-09-07 13:02:11 +0200574 color: rgba(255, 255, 255, .87)!important;
575}
576
577material-drawer ec-icon,
avm99963223416c2021-04-21 22:13:14 +0200578 .search-results ec-thread-option ec-icon,
579 ec-thread-summary material-expansionpanel .title ec-icon {
avm999630bc113a2020-09-07 13:02:11 +0200580 fill: rgba(255, 255, 255, .87)!important;
581}
582
583/* Dialogs */
584material-dialog, material-dialog .dialog-header {
585 background-color: var(--TWPT-primary-background)!important;
586}
587
588ec-movable-dialog[showminimize] material-dialog .dialog-header {
589 background-color: #d2e3fc!important;
590}
591
592material-dialog .title {
593 color: var(--TWPT-primary-text-alt)!important;
594}
595
596ec-movable-dialog[showminimize] material-dialog .dialog-header .title, ec-movable-dialog[showminimize] material-dialog header material-icon {
597 color: var(--TWPT-primary-background)!important;
598}
599
600ec-movable-dialog[showminimize] material-dialog .header-notice, material-dialog .legal-prompt {
601 background-color: #170f01!important;
602}
603
avm99963223416c2021-04-21 22:13:14 +0200604ec-movable-dialog[showminimize] material-dialog .main .header-notice material-icon[icon="info_outline"] {
605 color: var(--TWPT-blue-A100)!important;
606}
607
avm999630bc113a2020-09-07 13:02:11 +0200608material-dialog .section-title,
609 material-dialog .select-label,
610 material-dialog .input-label,
611 material-dialog .btn-no,
612 ec-display-name-editor,
613 .forum-selection-label {
614 color: var(--TWPT-secondary-text)!important;
615}
616
617ec-movable-dialog[showminimize] material-dialog footer > [footer] > .footer > [footer] > simple-html {
618 color: var(--TWPT-secondary-text)!important;
619 background-color: var(--TWPT-active-background)!important;
620 border-top-color: #25231f!important;
621}
622
623/* Keyboard shortcuts dialog */
624material-dialog .main.with-scroll-strokes table td {
625 color: var(--TWPT-primary-text)!important;
626}
627
628/* Rich text editor */
629ec-editor-command material-button,
630 ec-formatting-popup material-button {
631 box-shadow: none!important;
632}
633
634ec-editor-command material-button.is-active {
635 background: var(--TWPT-active-background)!important;
636}
637
638ec-rich-text-editor .placeholder {
639 color: rgba(255, 255, 255, .38)!important;
640}
641
642ec-rich-text-editor .input {
643 color: var(--TWPT-primary-text)!important;
644}
645
646ec-rich-text-editor .hint {
647 color: rgba(255, 255, 255, .54)!important;
648}
649
650material-select-searchbox + material-list material-list-item {
651 color: rgba(255, 255, 255, .87)!important;
652}
653
654ec-attachment .filename {
655 color: var(--TWPT-primary-text)!important;
656}
657
658/* Thread insert */
659ec-thread-insert .title {
660 color: var(--TWPT-primary-text)!important;
661}
662
663ec-thread-insert ec-thread-counts,
664 ec-thread-insert .details,
665 ec-thread-insert ec-relative-time {
666 color: rgba(255, 255, 255, .54)!important;
667}
668
669/* Text input */
670material-input input {
671 color: var(--TWPT-primary-text)!important;
672}
673
674material-input .label-text,
675 material-input .hint-text,
676 material-input .counter {
677 color: rgba(255, 255, 255, .54)!important;
678}
679
680material-input .underline .unfocused-underline {
avm99963223416c2021-04-21 22:13:14 +0200681 background-color: var(--TWPT-input-underline)!important;
avm999630bc113a2020-09-07 13:02:11 +0200682}
683
684label .label {
685 color: var(--TWPT-primary-text)!important;
686}
687
688/* Input underline */
689material-input .underline .unfocused-underline,
690 material-dropdown-select dropdown-button [buttondecorator] {
avm99963223416c2021-04-21 22:13:14 +0200691 border-bottom-color: var(--TWPT-input-underline)!important;
avm999630bc113a2020-09-07 13:02:11 +0200692}
693
694/* Checkbox input */
695material-checkbox, material-checkbox .content {
696 color: var(--TWPT-secondary-text)!important;
697}
698
699/* Material menu button and dropdown select */
700material-menu material-button, material-dropdown-select dropdown-button {
avm99963223416c2021-04-21 22:13:14 +0200701 color: var(--TWPT-primary-text)!important;
avm999630bc113a2020-09-07 13:02:11 +0200702}
703
avm9996348c87d12021-04-09 13:00:21 +0200704material-dropdown-select dropdown-button .button.is-disabled .button-text,
705 material-dropdown-select dropdown-button .button.is-disabled material-icon {
706 color: rgba(255, 255, 255, .32)!important;
avm999630bc113a2020-09-07 13:02:11 +0200707}
708
709/* Announcements content */
avm99963223416c2021-04-21 22:13:14 +0200710ec-announcements-content .header,
711 ec-announcements-content .no-announcements,
712 ec-announcements-content .announcement {
713 border-bottom-color: var(--TWPT-card-border)!important;
714}
715
avm999630bc113a2020-09-07 13:02:11 +0200716ec-announcements-content .header .title, ec-announcements-content .announcement-title {
717 color: var(--TWPT-primary-text-alt)!important;
718}
719
720ec-announcements-content .no-announcements-message {
721 color: #c3bfbc!important;
722}
723
avm99963223416c2021-04-21 22:13:14 +0200724ec-announcements-content .view-all-link {
725 color: var(--TWPT-link)!important;
726}
727
avm99963b2329632021-02-06 20:05:34 +0100728/* Generic popup (for notification bell, account selector, etc.) */
729.popup-wrapper .header-text {
730 color: var(--TWPT-primary-text)!important;
731}
732
avm9996348c87d12021-04-09 13:00:21 +0200733/* Notifications bell popup/panel */
734.notification-panel .header material-button {
735 color: var(--TWPT-secondary-text)!important;
736}
737
738.notification-panel .cards-container .promo-message {
739 color: var(--TWPT-secondary-text)!important;
740}
741
742.notification-panel .cards-container .promo-message .header-text {
743 color: var(--TWPT-primary-text)!important;
744}
745
avm999630bc113a2020-09-07 13:02:11 +0200746/* Account selector */
747.popup-wrapper .profile .email {
748 color: rgba(255, 255, 255, .54)!important;
749}
750
751material-gaia-picker-footer {
752 color: rgba(255, 255, 255, .54)!important;
753 background-color: var(--TWPT-active-background)!important;
754}
755
avm9996348c87d12021-04-09 13:00:21 +0200756material-gaia-picker-footer material-button {
757 color: var(--TWPT-secondary-text)!important;
758}
759
avm999630bc113a2020-09-07 13:02:11 +0200760/* Canned responses */
761ec-canned-responses .filter-label,
avm9996325a0d602020-11-25 19:24:16 +0100762 ec-canned-responses ec-canned-response-row .name {
avm999630bc113a2020-09-07 13:02:11 +0200763 color: var(--TWPT-primary-text)!important;
764}
765
avm9996325a0d602020-11-25 19:24:16 +0100766ec-canned-responses .label-row,
767 ec-canned-responses ec-canned-response-row .snippet,
768 ec-canned-responses ec-canned-response-row .tag {
769 color: var(--TWPT-secondary-text)!important;
770}
771
avm999630bc113a2020-09-07 13:02:11 +0200772ec-canned-responses ec-canned-response-row .header.closed:hover,
773 ec-canned-responses ec-canned-response-row .header.closed:focus,
774 ec-canned-responses ec-canned-response-row .header.closed:hover .toolbar,
775 ec-canned-responses ec-canned-response-row .header.closed:focus .toolbar {
776 background-color: var(--TWPT-active-background)!important;
777}
778
avm9996325a0d602020-11-25 19:24:16 +0100779ec-canned-responses .filter-row,
780 ec-canned-responses .label-row,
781 ec-canned-responses ec-canned-response-row material-expansionpanel {
782 border-bottom-color: var(--TWPT-subtle-border)!important;
783}
784
avm999630bc113a2020-09-07 13:02:11 +0200785/* Reply button */
786material-fab.reply-button {
787 background-color: var(--TWPT-link)!important;
788 color: var(--TWPT-primary-background)!important;
789}
790
avm99963223416c2021-04-21 22:13:14 +0200791/* Settings view */
792ec-settings .forum-language-container {
793 border-bottom-color: var(--TWPT-subtle-border)!important;
794}
795
796ec-settings .forum-language-container material-button {
797 color: var(--TWPT-secondary-text)!important;
798}
799
800ec-settings material-checkbox, ec-settings material-checkbox .content {
801 color: var(--TWPT-primary-text)!important;
802}
803
avm99963f5923962020-12-07 16:44:37 +0100804/* Custom injected components */
805.TWPT-log {
806 background-color: #424242!important;
807}
808
809.TWPT-log-entry.TWPT-log-entry--error {
810 color: #ff8A80!important;
811}