blob: fb9597290413fb4498d11ed2a3536664ef2e3407 [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
avm99963ea9b23f2021-04-22 14:06:03 +020039.material-content > header .app-title-button {
40 color: var(--TWPT-link)!important;
41}
42
avm9996348c87d12021-04-09 13:00:21 +020043.material-content > header material-button,
44 .material-content > header notification-bell material-icon {
avm999630bc113a2020-09-07 13:02:11 +020045 color: rgba(255, 255, 255, .87)!important;
46}
47
48.search-box {
49 background-color: #313235!important;
50}
51
52.search-box .clear-icon {
53 opacity: 0.8;
54 color: rgba(255, 255, 255, .87)!important;
55}
56
57.material-content > header .bell.mixin {
58 fill: rgba(255, 255, 255, .87)!important;
59}
60
61/* Drawer */
62material-drawer, material-drawer .panel, material-list-item {
63 background-color: var(--TWPT-drawer-background)!important;
64}
65
avm9996324ef6522020-11-25 19:45:43 +010066material-list-item:hover, material-list-item:focus, material-list-item.item--active {
avm999630bc113a2020-09-07 13:02:11 +020067 background-color: var(--TWPT-active-background)!important;
68}
69
70material-drawer .panel {
71 border-bottom-color: #25231f!important;
72}
73
74material-drawer .drawer-section-title, material-drawer .header > material-icon {
75 color: var(--TWPT-secondary-text)!important;
76}
77
78material-drawer material-list-item, material-drawer material-list-item .title {
79 color: #d2cecb!important;
80}
81
82material-drawer ec-forum-drawer-item material-checkbox material-icon {
83 filter: brightness(1.5);
84}
85
avm99963223416c2021-04-21 22:13:14 +020086/* Filters (ec-query-builder) */
87material-condition-builder .compound-condition-operator {
88 color: var(--TWPT-secondary-text)!important;
89}
90
91material-condition-builder .compound-condition-operator::before,
92 material-condition-builder .compound-condition-operator::after {
93 border-left-color: rgba(255, 255, 255, .20)!important;
94}
95
avm999630bc113a2020-09-07 13:02:11 +020096/* Selector */
avm99963a51c7612020-11-25 23:58:56 +010097
98/*
99 * This applies not only to the selector but also to the ec-work-state-picker.
100 */
avm99963a091be12021-02-18 17:03:28 +0100101.popup-wrapper, material-list, .popup .item-group-list {
avm999630bc113a2020-09-07 13:02:11 +0200102 background-color: var(--TWPT-drawer-background)!important;
103}
104
avm99963a091be12021-02-18 17:03:28 +0100105material-list [group]:not(.empty) + *:not(script):not(template):not(.empty),
106 .popup .item-group-list [group]:not(.empty) + *:not(script):not(template):not(.empty) {
avm999630bc113a2020-09-07 13:02:11 +0200107 box-shadow: inset 0 8px 0 0 var(--TWPT-drawer-background)!important;
108 border-top-color: #1f1f1f!important;
109}
110
111material-list material-select-item:hover,
112 material-list material-select-item:focus,
113 material-list material-select-dropdown-item:hover,
114 material-list material-select-dropdown-item:focus,
115 material-list material-select-dropdown-item.active,
avm99963a091be12021-02-18 17:03:28 +0100116 material-list material-select-dropdown-item:not(.multiselect).selected,
117 .popup .item-group-list material-select-item:hover,
118 .popup .item-group-list material-select-item:focus,
avm99963744d0cf2021-03-23 22:05:57 +0100119 .popup .item-group-list material-select-item.active,
avm99963a091be12021-02-18 17:03:28 +0100120 .popup .item-group-list material-select-dropdown-item:hover,
121 .popup .item-group-list material-select-dropdown-item:focus,
122 .popup .item-group-list material-select-dropdown-item.active,
123 .popup .item-group-list material-select-dropdown-item:not(.multiselect).selected {
avm99963744d0cf2021-03-23 22:05:57 +0100124 background-color: var(--TWPT-highlighted-item-background)!important;
avm999630bc113a2020-09-07 13:02:11 +0200125}
126
avm99963a091be12021-02-18 17:03:28 +0100127material-list .menu-item-label,
128 material-list .label,
129 material-list .text-segment,
130 .popup .item-group-list .menu-item-label,
131 .popup .item-group-list .label,
132 .popup .item-group-list .text-segment {
avm999630bc113a2020-09-07 13:02:11 +0200133 color: rgba(255, 255, 255, .87)!important;
134}
135
avm99963a091be12021-02-18 17:03:28 +0100136.popup .item-group-list material-icon {
137 color: rgba(255, 255, 255, .7)!important;
138}
139
avm999630bc113a2020-09-07 13:02:11 +0200140material-list [group] > [label] {
141 color: #8a8a8a!important;
142}
143
avm9996348c87d12021-04-09 13:00:21 +0200144/* This is shown in the new thread view */
145ec-forum-language-picker .labeled-select .select-label {
146 color: var(--TWPT-secondary-text)!important;
147}
148
avm999630bc113a2020-09-07 13:02:11 +0200149/* Main */
150.main {
151 color: var(--TWPT-primary-text)!important;
152}
153
avm9996325a0d602020-11-25 19:24:16 +0100154/* Border color for the page title bar (most pages use .title-bar although
155 * some use .page-header).
156 */
157main .title-bar, main .page-header {
avm999630bc113a2020-09-07 13:02:11 +0200158 border-bottom-color: var(--TWPT-subtle-border)!important;
159}
160
161main .title-bar .title, main .page-header h1, main .header h1 {
162 color: var(--TWPT-primary-text)!important;
163}
164
165.card {
166 background-color: var(--TWPT-secondary-background)!important;
167 color: var(--TWPT-primary-text)!important;
168 border-color: var(--TWPT-card-border)!important;
169}
170
171.card .card-title, .card, .card-section-title {
172 color: var(--TWPT-primary-text)!important;
173}
174
avm99963223416c2021-04-21 22:13:14 +0200175.card .card-section-hint, .card .card-section-checkbox-hint {
avm999630bc113a2020-09-07 13:02:11 +0200176 color: var(--TWPT-secondary-text)!important;
177}
178
179/* Action bar */
180.material-content .action-bar material-button,
181 ec-bulk-actions material-button,
avm99963b2329632021-02-06 20:05:34 +0100182 ec-back-button material-button,
avm9996348c87d12021-04-09 13:00:21 +0200183 .sort-options material-button {
avm999630bc113a2020-09-07 13:02:11 +0200184 color: rgba(255, 255, 255, .54)!important;
185}
186
avm99963ea9b23f2021-04-22 14:06:03 +0200187.material-content .action-bar .review-button.reviewing {
188 color: #1a73e8!important;
189 background: #dae7ff!important;
190}
191
avm999630bc113a2020-09-07 13:02:11 +0200192.material-content .action-bar material-button.starred {
193 color: #fbbc04!important;
194}
195
avm99963a51c7612020-11-25 23:58:56 +0100196/* ec-work-state-picker */
197ec-work-state-picker > button {
198 color: var(--TWPT-secondary-text)!important;
199 background-color: var(--TWPT-button-background)!important;
200 border-color: var(--TWPT-subtle-border)!important;
201}
202
203.material-popup-content .popup-content .title {
204 color: var(--TWPT-primary-text)!important;
205}
206
avm999630bc113a2020-09-07 13:02:11 +0200207/* Thread list */
208ec-thread-list ul.thread-group {
209 background-color: var(--TWPT-primary-background)!important;
210}
211
212ec-thread-list ec-bulk-actions, ec-thread-list ec-thread-summary material-expansionpanel {
213 border-bottom-color: var(--TWPT-subtle-border)!important;
214}
215
avm99963a2a06442020-11-25 21:11:10 +0100216ec-thread-summary material-expansionpanel.read:not(.checked) {
avm999630bc113a2020-09-07 13:02:11 +0200217 background-color: var(--TWPT-thread-read-background)!important;
218}
219
avm99963e65bec42020-11-25 18:26:29 +0100220ec-thread-summary material-expansionpanel.read .title span:not(.icon) {
avm9996395da0772020-09-09 01:07:36 +0200221 opacity: 0.8;
222}
223
avm99963e65bec42020-11-25 18:26:29 +0100224ec-thread-summary material-expansionpanel.read .title .icon {
225 opacity: 0.48!important;
226}
227
avm999630bc113a2020-09-07 13:02:11 +0200228ec-thread-summary material-expansionpanel.checked {
avm99963a2a06442020-11-25 21:11:10 +0100229 background-color: #2c4b77!important;
avm999630bc113a2020-09-07 13:02:11 +0200230}
231
232ec-thread-summary material-expansionpanel .title {
233 color: var(--TWPT-primary-text)!important;
234}
235
236ec-thread-summary material-expansionpanel ec-second-summary-line,
237 material-expansionpanel .header-content,
avm9996348c87d12021-04-09 13:00:21 +0200238 material-expansionpanel ec-thread-counts > span:not(.recommended-answers),
239 material-expansionpanel .duplicate-label {
avm999630bc113a2020-09-07 13:02:11 +0200240 color: #928e89!important;
241}
242
avm9996348c87d12021-04-09 13:00:21 +0200243material-expansionpanel .removed-label {
244 /*
245 * The following color should be --TWPT-red-A400, but it unfortunately doesn't
246 * contrast well with the dark background, so this is the AA correction of
247 * that color.
248 **/
249 color: #ff6868!important;
250}
251
avm999631558e6c2020-12-08 13:42:40 +0100252ec-thread-summary material-expansionpanel ec-safe-html.body,
253 material-expansionpanel .issue-tracking-work-state {
avm999630bc113a2020-09-07 13:02:11 +0200254 color: var(--TWPT-primary-text)!important;
255}
256
avm99963b2329632021-02-06 20:05:34 +0100257/* Thread view (including review/live review components) */
avm999630bc113a2020-09-07 13:02:11 +0200258ec-question, .heading + .group, ec-message {
259 background-color: var(--TWPT-secondary-background)!important;
260}
261
avm99963b2329632021-02-06 20:05:34 +0100262ec-thread .no-review-needed {
263 background-color: #155829!important;
264 border-color: var(--TWPT-subtle-border)!important;
265}
266
267/* Review bar shown above the main message or replies */
268ec-review-bar {
avm999630bc113a2020-09-07 13:02:11 +0200269 background-color: var(--TWPT-active-background)!important;
270}
271
avm99963b2329632021-02-06 20:05:34 +0100272ec-review-bar material-chip {
273 background-color: var(--TWPT-button-background)!important;
274}
275
276ec-review-bar material-chip:not(.relevant-active):not(.active) {
277 color: var(--TWPT-primary-text)!important;
278 border-color: var(--TWPT-card-border)!important;
279}
280
281ec-review-bar material-chip:not(.relevant-active):not(.active) material-icon {
282 color: var(--TWPT-primary-text)!important;
283 fill: var(--TWPT-primary-text)!important;
284}
285
286ec-review-bar material-chip.relevant-active {
287 color: var(--TWPT-green-A400)!important;
288 border-color: var(--TWPT-green-A400)!important;
289}
290
291ec-review-bar material-chip.relevant-active material-icon {
292 color: var(--TWPT-green-A400)!important;
293 fill: var(--TWPT-green-A400)!important;
294}
295
296ec-review-bar material-chip.active {
297 color: var(--TWPT-red-A400)!important;
298 border-color: var(--TWPT-red-A400)!important;
299}
300
301ec-review-bar material-chip.active material-icon {
302 color: var(--TWPT-red-A400)!important;
303 fill: var(--TWPT-red-A400)!important;
304}
305
avm999630bc113a2020-09-07 13:02:11 +0200306ec-message-header .header, ec-question .state, ec-question ec-thread-counts > span, ec-message ec-thread-counts > span {
307 color: var(--TWPT-secondary-text)!important;
308}
309
avm9996395da0772020-09-09 01:07:36 +0200310ec-question .alert, ec-message .alert {
avm999630bc113a2020-09-07 13:02:11 +0200311 background-color: var(--TWPT-active-background)!important;
312}
313
avm9996395da0772020-09-09 01:07:36 +0200314ec-question .alert material-icon, ec-message .alert material-icon {
avm999630bc113a2020-09-07 13:02:11 +0200315 color: var(--TWPT-primary-text)!important;
316}
317
avm9996395da0772020-09-09 01:07:36 +0200318ec-question .alert ec-icon, ec-message .alert ec-icon {
avm999630bc113a2020-09-07 13:02:11 +0200319 color: var(--TWPT-primary-text)!important;
320 fill: var(--TWPT-primary-text)!important;
321}
322
323ec-question .title {
324 color: var(--TWPT-primary-text-alt)!important;
325}
326
avm99963b2329632021-02-06 20:05:34 +0100327ec-user-link .name-text {
328 color: var(--TWPT-link)!important;
329}
330
331ec-message-header ec-avatar svg, ec-message-header .role,
332 ec-message .footer .role {
avm999630bc113a2020-09-07 13:02:11 +0200333 filter: brightness(1.5);
334}
335
336ec-question .body, ec-message .body {
337 color: var(--TWPT-primary-text)!important;
338}
339
340ec-question .thread-insert {
341 background: none!important;
342}
343
344ec-question .details-heading {
345 color: var(--TWPT-primary-text-alt) !important;
346}
347
avm9996348c87d12021-04-09 13:00:21 +0200348ec-question .footer,
349 ec-ask-flow .content-disclaimer {
avm999630bc113a2020-09-07 13:02:11 +0200350 color: var(--TWPT-primary-text)!important;
351 background-color: var(--TWPT-active-background)!important;
352 border-top-color: var(--TWPT-card-border)!important;
353}
354
355.heading {
356 color: var(--TWPT-primary-text)!important;
357}
358
359.heading + .group,
360 .load-more-bar,
361 ec-message:not(:first-child),
362 .load-more-bar .load-more-button,
363 .load-more-bar .load-all-button {
364 border-color: var(--TWPT-card-border)!important;
365}
366
avm9996395da0772020-09-09 01:07:36 +0200367ec-message .type {
368 color: var(--TWPT-primary-text)!important;
369}
370
avm999630bc113a2020-09-07 13:02:11 +0200371ec-message .footer ec-relative-time,
372 ec-message .footer ec-safe-html {
373 color: var(--TWPT-secondary-text)!important;
374}
375
376ec-message .helpful-prompt {
377 color: var(--TWPT-primary-text)!important;
378}
379
380ec-question .me-too-button,
381 ec-question .subscribe-button,
382 ec-message .upvote-button,
383 ec-message .downvote-button {
384 color: var(--TWPT-secondary-text)!important;
avm99963a51c7612020-11-25 23:58:56 +0100385 background-color: var(--TWPT-button-background)!important;
avm999630bc113a2020-09-07 13:02:11 +0200386}
387
avm99963223416c2021-04-21 22:13:14 +0200388ec-message .alert {
389 color: var(--TWPT-secondary-text)!important;
390}
391
avm999630bc113a2020-09-07 13:02:11 +0200392ec-question .me-too-button.selected,
393 ec-question .subscribe-button.selected,
394 ec-message .upvote-button.selected,
395 ec-message .downvote-button.selected {
396 color: #4285f4!important;
397}
398
399.load-more-bar .load-more-button, .load-more-bar .load-all-button {
400 background-color: var(--TWPT-secondary-background)!important;
401}
402
403.locked-alert {
404 background-color: var(--TWPT-active-background)!important;
405 border: var(--TWPT-card-border)!important;
406}
407
408.locked-alert material-icon {
409 color: rgba(255, 255, 255, .38)!important;
410}
411
avm99963b2329632021-02-06 20:05:34 +0100412ec-thread button.reply.collapsed {
413 color: var(--TWPT-secondary-text)!important;
414}
415
avm999630bc113a2020-09-07 13:02:11 +0200416ec-thread .finished-question {
417 background-color: var(--TWPT-active-background)!important;
418 border: var(--TWPT-card-border)!important;
419}
420
avm99963ea9b23f2021-04-22 14:06:03 +0200421ec-thread .finished-question .next-question {
422 color: var(--TWPT-link)!important;
423 border-color: var(--TWPT-link)!important;
424}
425
avm999630bc113a2020-09-07 13:02:11 +0200426.material-content .action-bar material-button.has-activity {
427 color: #1a73e8!important;
428}
429
430.material-content .action-bar material-button.showing-sidebar {
431 background-color: var(--TWPT-active-background)!important;
432}
433
434ec-activity-panel .title-bar h3 {
435 color: #e8eaf2!important;
436}
437
438ec-activity-panel ec-activity {
439 color: var(--TWPT-secondary-text)!important;
440 border-color: var(--TWPT-card-border)!important;
441}
442
443ec-activity-panel ec-activity .message {
444 color: var(--TWPT-primary-text-alt)!important;
445}
446
447ec-activity-panel ec-activity .thread-title {
448 color: #c3bfbc!important;
449}
450
451/* Recommended answers - show in green where we've overwritten the colors */
452.recommended-answers {
453 color: #34a853!important;
454}
455
avm99963fb7107c2021-04-14 19:39:05 +0200456/* Suggested answers - show brighter blue */
457.suggested-icon {
458 color: var(--TWPT-blue-A100)!important;
459}
460
461/* Help button (shown in the suggested answers header) */
462.explanation-icon material-icon {
463 color: rgba(255, 255, 255, .54)!important;
464}
465
466/* Help button tooltip */
467.popup .paper-container {
468 background: var(--TWPT-drawer-background)!important;
469}
470
471.explanation-icon material-icon:hover {
472 color: var(--TWPT-blue-A100)!important;
473}
474
avm99963223416c2021-04-21 22:13:14 +0200475/* New thread and edit message views */
476material-stepper {
477 border-top-color: var(--TWPT-card-border)!important;
478}
479
avm999630bc113a2020-09-07 13:02:11 +0200480material-stepper .stepper-step-name,
481 material-stepper .purpose-title {
482 color: var(--TWPT-primary-text)!important;
483}
484
485ec-ask-flow .display-name-label,
avm99963223416c2021-04-21 22:13:14 +0200486 material-stepper .additional-details-label,
487 material-stepper .detail-label {
avm999630bc113a2020-09-07 13:02:11 +0200488 color: var(--TWPT-secondary-text)!important;
489}
490
avm99963223416c2021-04-21 22:13:14 +0200491material-stepper .stepper-step[selectable=true]:focus {
492 background-color: rgba(60, 64, 67, .24)!important;
493}
494
avm9996348c87d12021-04-09 13:00:21 +0200495/* Note: see thread view section. There is a rule for the thread creation
496 * footer.
497 **/
498
avm999630bc113a2020-09-07 13:02:11 +0200499/* Profile view */
avm9996348c87d12021-04-09 13:00:21 +0200500ec-user .main-card {
avm999630bc113a2020-09-07 13:02:11 +0200501 background-color: var(--TWPT-secondary-background)!important;
avm9996348c87d12021-04-09 13:00:21 +0200502}
503
504ec-user .abuse-alert-container {
505 background-color: var(--TWPT-active-background)!important;
avm999630bc113a2020-09-07 13:02:11 +0200506 border-top-right-radius: 8px!important;
avm9996348c87d12021-04-09 13:00:21 +0200507}
508
509ec-user .abuse-alert-container .abuse-alert {
510 color: var(--TWPT-primary-text)!important;
avm999630bc113a2020-09-07 13:02:11 +0200511}
512
avm99963c4cb8f32020-09-07 23:52:28 +0200513ec-user ec-display-name-editor, ec-user .header .name {
avm999630bc113a2020-09-07 13:02:11 +0200514 color: var(--TWPT-primary-text)!important;
515}
516
avm9996395da0772020-09-09 01:07:36 +0200517ec-user .role {
518 filter: brightness(1.5);
519}
520
avm999630bc113a2020-09-07 13:02:11 +0200521ec-user bar-chart .axis text {
522 fill: rgba(255, 255, 255, .54)!important;
523}
524
525ec-user bar-chart .axis path,
526 ec-user bar-chart .axis .gridline,
527 ec-user bar-chart .axis line {
528 stroke: rgba(255, 255, 255, .12)!important;
529}
530
531ec-user bar-chart .axis line.axis-zero-tick,
532 ec-user bar-chart .axis.x .tick-mark {
533 stroke: rgba(255, 255, 255, .38)!important;
534}
535
536ec-user bar-chart .aplos-legend-entry {
537 color: var(--TWPT-secondary-text)!important;
538}
539
540.aplos-hovercard {
541 background: var(--TWPT-secondary-background)!important;
542}
543
544.aplos-hovercard .title {
545 color: var(--TWPT-primary-text)!important;
546}
547
548.aplos-hovercard .subtitle,
549 .aplos-donut-center .subtitle,
550 .aplos-hovercard .series,
551 .aplos-donut-center .series,
552 .aplos-hovercard .value,
553 .aplos-donut-center .value {
554 color: var(--TWPT-secondary-text)!important;
555}
556
557/* Duplicate thread feature */
558.search-results ec-thread-option material-expansionpanel .panel {
559 background-color: var(--TWPT-primary-background)!important;
560}
561
562.search-results ec-thread-option material-expansionpanel.selected .panel,
563 .search-results ec-thread-option material-expansionpanel .panel > .main-header > .header.closed:hover,
564 .search-results ec-thread-option material-expansionpanel .panel > .main-header > .header.closed:focus {
565 background-color: #17191c!important;
566}
567
568/* Disabled buttons */
569material-button[disabled] {
570 color: rgba(255, 255, 255, .26)!important;
571}
572
573/* Material icons */
574ec-filter-drawer-item material-icon,
575 ec-filter-drawer-item ec-icon,
576 material-drawer .drawer-section material-icon,
577 material-drawer .drawer-section ec-icon,
578 material-list material-icon,
579 ec-query-builder material-icon,
580 material-radio .icon-container:not(.checked) material-icon,
581 ec-thread-summary material-expansionpanel .title material-icon,
582 .search-results ec-thread-option material-icon,
583 .search-results ec-thread-option ec-icon,
584 ec-rich-text-editor material-icon,
585 ec-editor-command material-icon,
avm99963223416c2021-04-21 22:13:14 +0200586 ec-canned-responses ec-canned-response-row material-icon,
587 ec-ask-flow > .header material-button {
avm999630bc113a2020-09-07 13:02:11 +0200588 color: rgba(255, 255, 255, .87)!important;
589}
590
591material-drawer ec-icon,
avm99963223416c2021-04-21 22:13:14 +0200592 .search-results ec-thread-option ec-icon,
593 ec-thread-summary material-expansionpanel .title ec-icon {
avm999630bc113a2020-09-07 13:02:11 +0200594 fill: rgba(255, 255, 255, .87)!important;
595}
596
597/* Dialogs */
598material-dialog, material-dialog .dialog-header {
599 background-color: var(--TWPT-primary-background)!important;
600}
601
602ec-movable-dialog[showminimize] material-dialog .dialog-header {
603 background-color: #d2e3fc!important;
604}
605
606material-dialog .title {
607 color: var(--TWPT-primary-text-alt)!important;
608}
609
610ec-movable-dialog[showminimize] material-dialog .dialog-header .title, ec-movable-dialog[showminimize] material-dialog header material-icon {
611 color: var(--TWPT-primary-background)!important;
612}
613
614ec-movable-dialog[showminimize] material-dialog .header-notice, material-dialog .legal-prompt {
615 background-color: #170f01!important;
616}
617
avm99963223416c2021-04-21 22:13:14 +0200618ec-movable-dialog[showminimize] material-dialog .main .header-notice material-icon[icon="info_outline"] {
619 color: var(--TWPT-blue-A100)!important;
620}
621
avm999630bc113a2020-09-07 13:02:11 +0200622material-dialog .section-title,
623 material-dialog .select-label,
624 material-dialog .input-label,
625 material-dialog .btn-no,
626 ec-display-name-editor,
627 .forum-selection-label {
628 color: var(--TWPT-secondary-text)!important;
629}
630
631ec-movable-dialog[showminimize] material-dialog footer > [footer] > .footer > [footer] > simple-html {
632 color: var(--TWPT-secondary-text)!important;
633 background-color: var(--TWPT-active-background)!important;
634 border-top-color: #25231f!important;
635}
636
637/* Keyboard shortcuts dialog */
638material-dialog .main.with-scroll-strokes table td {
639 color: var(--TWPT-primary-text)!important;
640}
641
642/* Rich text editor */
643ec-editor-command material-button,
644 ec-formatting-popup material-button {
645 box-shadow: none!important;
646}
647
648ec-editor-command material-button.is-active {
649 background: var(--TWPT-active-background)!important;
650}
651
652ec-rich-text-editor .placeholder {
653 color: rgba(255, 255, 255, .38)!important;
654}
655
656ec-rich-text-editor .input {
657 color: var(--TWPT-primary-text)!important;
658}
659
660ec-rich-text-editor .hint {
661 color: rgba(255, 255, 255, .54)!important;
662}
663
664material-select-searchbox + material-list material-list-item {
665 color: rgba(255, 255, 255, .87)!important;
666}
667
668ec-attachment .filename {
669 color: var(--TWPT-primary-text)!important;
670}
671
672/* Thread insert */
673ec-thread-insert .title {
674 color: var(--TWPT-primary-text)!important;
675}
676
677ec-thread-insert ec-thread-counts,
678 ec-thread-insert .details,
679 ec-thread-insert ec-relative-time {
680 color: rgba(255, 255, 255, .54)!important;
681}
682
683/* Text input */
684material-input input {
685 color: var(--TWPT-primary-text)!important;
686}
687
688material-input .label-text,
689 material-input .hint-text,
690 material-input .counter {
691 color: rgba(255, 255, 255, .54)!important;
692}
693
694material-input .underline .unfocused-underline {
avm99963223416c2021-04-21 22:13:14 +0200695 background-color: var(--TWPT-input-underline)!important;
avm999630bc113a2020-09-07 13:02:11 +0200696}
697
698label .label {
699 color: var(--TWPT-primary-text)!important;
700}
701
702/* Input underline */
703material-input .underline .unfocused-underline,
704 material-dropdown-select dropdown-button [buttondecorator] {
avm99963223416c2021-04-21 22:13:14 +0200705 border-bottom-color: var(--TWPT-input-underline)!important;
avm999630bc113a2020-09-07 13:02:11 +0200706}
707
708/* Checkbox input */
709material-checkbox, material-checkbox .content {
710 color: var(--TWPT-secondary-text)!important;
711}
712
713/* Material menu button and dropdown select */
714material-menu material-button, material-dropdown-select dropdown-button {
avm99963223416c2021-04-21 22:13:14 +0200715 color: var(--TWPT-primary-text)!important;
avm999630bc113a2020-09-07 13:02:11 +0200716}
717
avm9996348c87d12021-04-09 13:00:21 +0200718material-dropdown-select dropdown-button .button.is-disabled .button-text,
719 material-dropdown-select dropdown-button .button.is-disabled material-icon {
720 color: rgba(255, 255, 255, .32)!important;
avm999630bc113a2020-09-07 13:02:11 +0200721}
722
723/* Announcements content */
avm99963223416c2021-04-21 22:13:14 +0200724ec-announcements-content .header,
725 ec-announcements-content .no-announcements,
726 ec-announcements-content .announcement {
727 border-bottom-color: var(--TWPT-card-border)!important;
728}
729
avm999630bc113a2020-09-07 13:02:11 +0200730ec-announcements-content .header .title, ec-announcements-content .announcement-title {
731 color: var(--TWPT-primary-text-alt)!important;
732}
733
734ec-announcements-content .no-announcements-message {
735 color: #c3bfbc!important;
736}
737
avm99963223416c2021-04-21 22:13:14 +0200738ec-announcements-content .view-all-link {
739 color: var(--TWPT-link)!important;
740}
741
avm99963b2329632021-02-06 20:05:34 +0100742/* Generic popup (for notification bell, account selector, etc.) */
743.popup-wrapper .header-text {
744 color: var(--TWPT-primary-text)!important;
745}
746
avm9996348c87d12021-04-09 13:00:21 +0200747/* Notifications bell popup/panel */
748.notification-panel .header material-button {
749 color: var(--TWPT-secondary-text)!important;
750}
751
752.notification-panel .cards-container .promo-message {
753 color: var(--TWPT-secondary-text)!important;
754}
755
756.notification-panel .cards-container .promo-message .header-text {
757 color: var(--TWPT-primary-text)!important;
758}
759
avm999630bc113a2020-09-07 13:02:11 +0200760/* Account selector */
761.popup-wrapper .profile .email {
762 color: rgba(255, 255, 255, .54)!important;
763}
764
765material-gaia-picker-footer {
766 color: rgba(255, 255, 255, .54)!important;
767 background-color: var(--TWPT-active-background)!important;
768}
769
avm9996348c87d12021-04-09 13:00:21 +0200770material-gaia-picker-footer material-button {
771 color: var(--TWPT-secondary-text)!important;
772}
773
avm999630bc113a2020-09-07 13:02:11 +0200774/* Canned responses */
775ec-canned-responses .filter-label,
avm9996325a0d602020-11-25 19:24:16 +0100776 ec-canned-responses ec-canned-response-row .name {
avm999630bc113a2020-09-07 13:02:11 +0200777 color: var(--TWPT-primary-text)!important;
778}
779
avm9996325a0d602020-11-25 19:24:16 +0100780ec-canned-responses .label-row,
781 ec-canned-responses ec-canned-response-row .snippet,
782 ec-canned-responses ec-canned-response-row .tag {
783 color: var(--TWPT-secondary-text)!important;
784}
785
avm999630bc113a2020-09-07 13:02:11 +0200786ec-canned-responses ec-canned-response-row .header.closed:hover,
787 ec-canned-responses ec-canned-response-row .header.closed:focus,
788 ec-canned-responses ec-canned-response-row .header.closed:hover .toolbar,
789 ec-canned-responses ec-canned-response-row .header.closed:focus .toolbar {
790 background-color: var(--TWPT-active-background)!important;
791}
792
avm9996325a0d602020-11-25 19:24:16 +0100793ec-canned-responses .filter-row,
794 ec-canned-responses .label-row,
795 ec-canned-responses ec-canned-response-row material-expansionpanel {
796 border-bottom-color: var(--TWPT-subtle-border)!important;
797}
798
avm999630bc113a2020-09-07 13:02:11 +0200799/* Reply button */
800material-fab.reply-button {
801 background-color: var(--TWPT-link)!important;
802 color: var(--TWPT-primary-background)!important;
803}
804
avm99963223416c2021-04-21 22:13:14 +0200805/* Settings view */
806ec-settings .forum-language-container {
807 border-bottom-color: var(--TWPT-subtle-border)!important;
808}
809
810ec-settings .forum-language-container material-button {
811 color: var(--TWPT-secondary-text)!important;
812}
813
814ec-settings material-checkbox, ec-settings material-checkbox .content {
815 color: var(--TWPT-primary-text)!important;
816}
817
avm99963f5923962020-12-07 16:44:37 +0100818/* Custom injected components */
819.TWPT-log {
820 background-color: #424242!important;
821}
822
823.TWPT-log-entry.TWPT-log-entry--error {
824 color: #ff8A80!important;
825}