blob: 5b3749716e0ba993b7d3569063e30adae6cb38e7 [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;
avm9996306167752020-09-08 00:50:36 +020011 --TWPT-thread-read-background: rgba(255, 255, 255, .08);
avm999630bc113a2020-09-07 13:02:11 +020012 --TWPT-drawer-background: #2d2e30;
avm99963a51c7612020-11-25 23:58:56 +010013 --TWPT-button-background: #3c3e42;
avm99963b2329632021-02-06 20:05:34 +010014 --TWPT-green-A400: #00E676;
15 --TWPT-red-A400: #FF1744;
avm999630bc113a2020-09-07 13:02:11 +020016}
17
18body {
19 color: var(--TWPT-primary-text);
20 background-color: var(--TWPT-primary-background)!important;
21}
22
23p {
24 color: var(--TWPT-primary-text);
25}
26
27body.ec a {
28 color: var(--TWPT-link);
29}
30
31/* Header */
32.material-content > header {
33 background-color: var(--TWPT-primary-background)!important;
34}
35
36.material-content > header material-button {
37 color: rgba(255, 255, 255, .87)!important;
38}
39
40.search-box {
41 background-color: #313235!important;
42}
43
44.search-box .clear-icon {
45 opacity: 0.8;
46 color: rgba(255, 255, 255, .87)!important;
47}
48
49.material-content > header .bell.mixin {
50 fill: rgba(255, 255, 255, .87)!important;
51}
52
53/* Drawer */
54material-drawer, material-drawer .panel, material-list-item {
55 background-color: var(--TWPT-drawer-background)!important;
56}
57
avm9996324ef6522020-11-25 19:45:43 +010058material-list-item:hover, material-list-item:focus, material-list-item.item--active {
avm999630bc113a2020-09-07 13:02:11 +020059 background-color: var(--TWPT-active-background)!important;
60}
61
62material-drawer .panel {
63 border-bottom-color: #25231f!important;
64}
65
66material-drawer .drawer-section-title, material-drawer .header > material-icon {
67 color: var(--TWPT-secondary-text)!important;
68}
69
70material-drawer material-list-item, material-drawer material-list-item .title {
71 color: #d2cecb!important;
72}
73
74material-drawer ec-forum-drawer-item material-checkbox material-icon {
75 filter: brightness(1.5);
76}
77
78/* Selector */
avm99963a51c7612020-11-25 23:58:56 +010079
80/*
81 * This applies not only to the selector but also to the ec-work-state-picker.
82 */
avm999630bc113a2020-09-07 13:02:11 +020083.popup-wrapper, material-list {
84 background-color: var(--TWPT-drawer-background)!important;
85}
86
87material-list [group]:not(.empty) + *:not(script):not(template):not(.empty) {
88 box-shadow: inset 0 8px 0 0 var(--TWPT-drawer-background)!important;
89 border-top-color: #1f1f1f!important;
90}
91
92material-list material-select-item:hover,
93 material-list material-select-item:focus,
94 material-list material-select-dropdown-item:hover,
95 material-list material-select-dropdown-item:focus,
96 material-list material-select-dropdown-item.active,
97 material-list material-select-dropdown-item:not(.multiselect).selected {
98 background-color: rgba(255, 255, 255, .04)!important;
99}
100
101material-list .menu-item-label, material-list .label, material-list .text-segment {
102 color: rgba(255, 255, 255, .87)!important;
103}
104
105material-list [group] > [label] {
106 color: #8a8a8a!important;
107}
108
109/* Main */
110.main {
111 color: var(--TWPT-primary-text)!important;
112}
113
avm9996325a0d602020-11-25 19:24:16 +0100114/* Border color for the page title bar (most pages use .title-bar although
115 * some use .page-header).
116 */
117main .title-bar, main .page-header {
avm999630bc113a2020-09-07 13:02:11 +0200118 border-bottom-color: var(--TWPT-subtle-border)!important;
119}
120
121main .title-bar .title, main .page-header h1, main .header h1 {
122 color: var(--TWPT-primary-text)!important;
123}
124
125.card {
126 background-color: var(--TWPT-secondary-background)!important;
127 color: var(--TWPT-primary-text)!important;
128 border-color: var(--TWPT-card-border)!important;
129}
130
131.card .card-title, .card, .card-section-title {
132 color: var(--TWPT-primary-text)!important;
133}
134
135.card .card-section-hint {
136 color: var(--TWPT-secondary-text)!important;
137}
138
139/* Action bar */
140.material-content .action-bar material-button,
141 ec-bulk-actions material-button,
avm99963b2329632021-02-06 20:05:34 +0100142 ec-back-button material-button,
143 .sort-options material-button,
144 notification-bell material-icon {
avm999630bc113a2020-09-07 13:02:11 +0200145 color: rgba(255, 255, 255, .54)!important;
146}
147
148.material-content .action-bar material-button.starred {
149 color: #fbbc04!important;
150}
151
avm99963a51c7612020-11-25 23:58:56 +0100152/* ec-work-state-picker */
153ec-work-state-picker > button {
154 color: var(--TWPT-secondary-text)!important;
155 background-color: var(--TWPT-button-background)!important;
156 border-color: var(--TWPT-subtle-border)!important;
157}
158
159.material-popup-content .popup-content .title {
160 color: var(--TWPT-primary-text)!important;
161}
162
avm999630bc113a2020-09-07 13:02:11 +0200163/* Thread list */
164ec-thread-list ul.thread-group {
165 background-color: var(--TWPT-primary-background)!important;
166}
167
168ec-thread-list ec-bulk-actions, ec-thread-list ec-thread-summary material-expansionpanel {
169 border-bottom-color: var(--TWPT-subtle-border)!important;
170}
171
avm99963a2a06442020-11-25 21:11:10 +0100172ec-thread-summary material-expansionpanel.read:not(.checked) {
avm999630bc113a2020-09-07 13:02:11 +0200173 background-color: var(--TWPT-thread-read-background)!important;
174}
175
avm99963e65bec42020-11-25 18:26:29 +0100176ec-thread-summary material-expansionpanel.read .title span:not(.icon) {
avm9996395da0772020-09-09 01:07:36 +0200177 opacity: 0.8;
178}
179
avm99963e65bec42020-11-25 18:26:29 +0100180ec-thread-summary material-expansionpanel.read .title .icon {
181 opacity: 0.48!important;
182}
183
avm999630bc113a2020-09-07 13:02:11 +0200184ec-thread-summary material-expansionpanel.checked {
avm99963a2a06442020-11-25 21:11:10 +0100185 background-color: #2c4b77!important;
avm999630bc113a2020-09-07 13:02:11 +0200186}
187
188ec-thread-summary material-expansionpanel .title {
189 color: var(--TWPT-primary-text)!important;
190}
191
192ec-thread-summary material-expansionpanel ec-second-summary-line,
193 material-expansionpanel .header-content,
194 material-expansionpanel ec-thread-counts > span:not(.recommended-answers) {
195 color: #928e89!important;
196}
197
avm999631558e6c2020-12-08 13:42:40 +0100198ec-thread-summary material-expansionpanel ec-safe-html.body,
199 material-expansionpanel .issue-tracking-work-state {
avm999630bc113a2020-09-07 13:02:11 +0200200 color: var(--TWPT-primary-text)!important;
201}
202
avm99963b2329632021-02-06 20:05:34 +0100203/* Thread view (including review/live review components) */
avm999630bc113a2020-09-07 13:02:11 +0200204ec-question, .heading + .group, ec-message {
205 background-color: var(--TWPT-secondary-background)!important;
206}
207
avm99963b2329632021-02-06 20:05:34 +0100208ec-thread .no-review-needed {
209 background-color: #155829!important;
210 border-color: var(--TWPT-subtle-border)!important;
211}
212
213/* Review bar shown above the main message or replies */
214ec-review-bar {
avm999630bc113a2020-09-07 13:02:11 +0200215 background-color: var(--TWPT-active-background)!important;
216}
217
avm99963b2329632021-02-06 20:05:34 +0100218ec-review-bar material-chip {
219 background-color: var(--TWPT-button-background)!important;
220}
221
222ec-review-bar material-chip:not(.relevant-active):not(.active) {
223 color: var(--TWPT-primary-text)!important;
224 border-color: var(--TWPT-card-border)!important;
225}
226
227ec-review-bar material-chip:not(.relevant-active):not(.active) material-icon {
228 color: var(--TWPT-primary-text)!important;
229 fill: var(--TWPT-primary-text)!important;
230}
231
232ec-review-bar material-chip.relevant-active {
233 color: var(--TWPT-green-A400)!important;
234 border-color: var(--TWPT-green-A400)!important;
235}
236
237ec-review-bar material-chip.relevant-active material-icon {
238 color: var(--TWPT-green-A400)!important;
239 fill: var(--TWPT-green-A400)!important;
240}
241
242ec-review-bar material-chip.active {
243 color: var(--TWPT-red-A400)!important;
244 border-color: var(--TWPT-red-A400)!important;
245}
246
247ec-review-bar material-chip.active material-icon {
248 color: var(--TWPT-red-A400)!important;
249 fill: var(--TWPT-red-A400)!important;
250}
251
avm999630bc113a2020-09-07 13:02:11 +0200252ec-message-header .header, ec-question .state, ec-question ec-thread-counts > span, ec-message ec-thread-counts > span {
253 color: var(--TWPT-secondary-text)!important;
254}
255
avm9996395da0772020-09-09 01:07:36 +0200256ec-question .alert, ec-message .alert {
avm999630bc113a2020-09-07 13:02:11 +0200257 background-color: var(--TWPT-active-background)!important;
258}
259
avm9996395da0772020-09-09 01:07:36 +0200260ec-question .alert material-icon, ec-message .alert material-icon {
avm999630bc113a2020-09-07 13:02:11 +0200261 color: var(--TWPT-primary-text)!important;
262}
263
avm9996395da0772020-09-09 01:07:36 +0200264ec-question .alert ec-icon, ec-message .alert ec-icon {
avm999630bc113a2020-09-07 13:02:11 +0200265 color: var(--TWPT-primary-text)!important;
266 fill: var(--TWPT-primary-text)!important;
267}
268
269ec-question .title {
270 color: var(--TWPT-primary-text-alt)!important;
271}
272
avm99963b2329632021-02-06 20:05:34 +0100273ec-user-link .name-text {
274 color: var(--TWPT-link)!important;
275}
276
277ec-message-header ec-avatar svg, ec-message-header .role,
278 ec-message .footer .role {
avm999630bc113a2020-09-07 13:02:11 +0200279 filter: brightness(1.5);
280}
281
282ec-question .body, ec-message .body {
283 color: var(--TWPT-primary-text)!important;
284}
285
286ec-question .thread-insert {
287 background: none!important;
288}
289
290ec-question .details-heading {
291 color: var(--TWPT-primary-text-alt) !important;
292}
293
294ec-question .footer {
295 color: var(--TWPT-primary-text)!important;
296 background-color: var(--TWPT-active-background)!important;
297 border-top-color: var(--TWPT-card-border)!important;
298}
299
300.heading {
301 color: var(--TWPT-primary-text)!important;
302}
303
304.heading + .group,
305 .load-more-bar,
306 ec-message:not(:first-child),
307 .load-more-bar .load-more-button,
308 .load-more-bar .load-all-button {
309 border-color: var(--TWPT-card-border)!important;
310}
311
avm9996395da0772020-09-09 01:07:36 +0200312ec-message .type {
313 color: var(--TWPT-primary-text)!important;
314}
315
avm999630bc113a2020-09-07 13:02:11 +0200316ec-message .footer ec-relative-time,
317 ec-message .footer ec-safe-html {
318 color: var(--TWPT-secondary-text)!important;
319}
320
321ec-message .helpful-prompt {
322 color: var(--TWPT-primary-text)!important;
323}
324
325ec-question .me-too-button,
326 ec-question .subscribe-button,
327 ec-message .upvote-button,
328 ec-message .downvote-button {
329 color: var(--TWPT-secondary-text)!important;
avm99963a51c7612020-11-25 23:58:56 +0100330 background-color: var(--TWPT-button-background)!important;
avm999630bc113a2020-09-07 13:02:11 +0200331}
332
333ec-question .me-too-button.selected,
334 ec-question .subscribe-button.selected,
335 ec-message .upvote-button.selected,
336 ec-message .downvote-button.selected {
337 color: #4285f4!important;
338}
339
340.load-more-bar .load-more-button, .load-more-bar .load-all-button {
341 background-color: var(--TWPT-secondary-background)!important;
342}
343
344.locked-alert {
345 background-color: var(--TWPT-active-background)!important;
346 border: var(--TWPT-card-border)!important;
347}
348
349.locked-alert material-icon {
350 color: rgba(255, 255, 255, .38)!important;
351}
352
avm99963b2329632021-02-06 20:05:34 +0100353ec-thread button.reply.collapsed {
354 color: var(--TWPT-secondary-text)!important;
355}
356
avm999630bc113a2020-09-07 13:02:11 +0200357ec-thread .finished-question {
358 background-color: var(--TWPT-active-background)!important;
359 border: var(--TWPT-card-border)!important;
360}
361
362.material-content .action-bar material-button.has-activity {
363 color: #1a73e8!important;
364}
365
366.material-content .action-bar material-button.showing-sidebar {
367 background-color: var(--TWPT-active-background)!important;
368}
369
370ec-activity-panel .title-bar h3 {
371 color: #e8eaf2!important;
372}
373
374ec-activity-panel ec-activity {
375 color: var(--TWPT-secondary-text)!important;
376 border-color: var(--TWPT-card-border)!important;
377}
378
379ec-activity-panel ec-activity .message {
380 color: var(--TWPT-primary-text-alt)!important;
381}
382
383ec-activity-panel ec-activity .thread-title {
384 color: #c3bfbc!important;
385}
386
387/* Recommended answers - show in green where we've overwritten the colors */
388.recommended-answers {
389 color: #34a853!important;
390}
391
392/* New thread view */
393material-stepper .stepper-step-name,
394 material-stepper .purpose-title {
395 color: var(--TWPT-primary-text)!important;
396}
397
398ec-ask-flow .display-name-label,
399 material-stepper .additional-details-label {
400 color: var(--TWPT-secondary-text)!important;
401}
402
403/* Profile view */
404ec-user .main-card-content {
405 background-color: var(--TWPT-secondary-background)!important;
406 border: 1px solid var(--TWPT-card-border)!important;
407 border-top-right-radius: 8px!important;
408 border-bottom-right-radius: 8px!important;
409}
410
avm99963c4cb8f32020-09-07 23:52:28 +0200411ec-user ec-display-name-editor, ec-user .header .name {
avm999630bc113a2020-09-07 13:02:11 +0200412 color: var(--TWPT-primary-text)!important;
413}
414
avm9996395da0772020-09-09 01:07:36 +0200415ec-user .role {
416 filter: brightness(1.5);
417}
418
avm999630bc113a2020-09-07 13:02:11 +0200419ec-user bar-chart .axis text {
420 fill: rgba(255, 255, 255, .54)!important;
421}
422
423ec-user bar-chart .axis path,
424 ec-user bar-chart .axis .gridline,
425 ec-user bar-chart .axis line {
426 stroke: rgba(255, 255, 255, .12)!important;
427}
428
429ec-user bar-chart .axis line.axis-zero-tick,
430 ec-user bar-chart .axis.x .tick-mark {
431 stroke: rgba(255, 255, 255, .38)!important;
432}
433
434ec-user bar-chart .aplos-legend-entry {
435 color: var(--TWPT-secondary-text)!important;
436}
437
438.aplos-hovercard {
439 background: var(--TWPT-secondary-background)!important;
440}
441
442.aplos-hovercard .title {
443 color: var(--TWPT-primary-text)!important;
444}
445
446.aplos-hovercard .subtitle,
447 .aplos-donut-center .subtitle,
448 .aplos-hovercard .series,
449 .aplos-donut-center .series,
450 .aplos-hovercard .value,
451 .aplos-donut-center .value {
452 color: var(--TWPT-secondary-text)!important;
453}
454
455/* Duplicate thread feature */
456.search-results ec-thread-option material-expansionpanel .panel {
457 background-color: var(--TWPT-primary-background)!important;
458}
459
460.search-results ec-thread-option material-expansionpanel.selected .panel,
461 .search-results ec-thread-option material-expansionpanel .panel > .main-header > .header.closed:hover,
462 .search-results ec-thread-option material-expansionpanel .panel > .main-header > .header.closed:focus {
463 background-color: #17191c!important;
464}
465
466/* Disabled buttons */
467material-button[disabled] {
468 color: rgba(255, 255, 255, .26)!important;
469}
470
471/* Material icons */
472ec-filter-drawer-item material-icon,
473 ec-filter-drawer-item ec-icon,
474 material-drawer .drawer-section material-icon,
475 material-drawer .drawer-section ec-icon,
476 material-list material-icon,
477 ec-query-builder material-icon,
478 material-radio .icon-container:not(.checked) material-icon,
479 ec-thread-summary material-expansionpanel .title material-icon,
480 .search-results ec-thread-option material-icon,
481 .search-results ec-thread-option ec-icon,
482 ec-rich-text-editor material-icon,
483 ec-editor-command material-icon,
484 ec-canned-responses ec-canned-response-row material-icon {
485 color: rgba(255, 255, 255, .87)!important;
486}
487
488material-drawer ec-icon,
489 .search-results ec-thread-option ec-icon {
490 fill: rgba(255, 255, 255, .87)!important;
491}
492
493/* Dialogs */
494material-dialog, material-dialog .dialog-header {
495 background-color: var(--TWPT-primary-background)!important;
496}
497
498ec-movable-dialog[showminimize] material-dialog .dialog-header {
499 background-color: #d2e3fc!important;
500}
501
502material-dialog .title {
503 color: var(--TWPT-primary-text-alt)!important;
504}
505
506ec-movable-dialog[showminimize] material-dialog .dialog-header .title, ec-movable-dialog[showminimize] material-dialog header material-icon {
507 color: var(--TWPT-primary-background)!important;
508}
509
510ec-movable-dialog[showminimize] material-dialog .header-notice, material-dialog .legal-prompt {
511 background-color: #170f01!important;
512}
513
514material-dialog .section-title,
515 material-dialog .select-label,
516 material-dialog .input-label,
517 material-dialog .btn-no,
518 ec-display-name-editor,
519 .forum-selection-label {
520 color: var(--TWPT-secondary-text)!important;
521}
522
523ec-movable-dialog[showminimize] material-dialog footer > [footer] > .footer > [footer] > simple-html {
524 color: var(--TWPT-secondary-text)!important;
525 background-color: var(--TWPT-active-background)!important;
526 border-top-color: #25231f!important;
527}
528
529/* Keyboard shortcuts dialog */
530material-dialog .main.with-scroll-strokes table td {
531 color: var(--TWPT-primary-text)!important;
532}
533
534/* Rich text editor */
535ec-editor-command material-button,
536 ec-formatting-popup material-button {
537 box-shadow: none!important;
538}
539
540ec-editor-command material-button.is-active {
541 background: var(--TWPT-active-background)!important;
542}
543
544ec-rich-text-editor .placeholder {
545 color: rgba(255, 255, 255, .38)!important;
546}
547
548ec-rich-text-editor .input {
549 color: var(--TWPT-primary-text)!important;
550}
551
552ec-rich-text-editor .hint {
553 color: rgba(255, 255, 255, .54)!important;
554}
555
556material-select-searchbox + material-list material-list-item {
557 color: rgba(255, 255, 255, .87)!important;
558}
559
560ec-attachment .filename {
561 color: var(--TWPT-primary-text)!important;
562}
563
564/* Thread insert */
565ec-thread-insert .title {
566 color: var(--TWPT-primary-text)!important;
567}
568
569ec-thread-insert ec-thread-counts,
570 ec-thread-insert .details,
571 ec-thread-insert ec-relative-time {
572 color: rgba(255, 255, 255, .54)!important;
573}
574
575/* Text input */
576material-input input {
577 color: var(--TWPT-primary-text)!important;
578}
579
580material-input .label-text,
581 material-input .hint-text,
582 material-input .counter {
583 color: rgba(255, 255, 255, .54)!important;
584}
585
586material-input .underline .unfocused-underline {
587 background-color: rgba(255, 255, 255, .12)!important;
588}
589
590label .label {
591 color: var(--TWPT-primary-text)!important;
592}
593
594/* Input underline */
595material-input .underline .unfocused-underline,
596 material-dropdown-select dropdown-button [buttondecorator] {
597 border-bottom-color: rgba(255, 255, 255, .12)!important;
598}
599
600/* Checkbox input */
601material-checkbox, material-checkbox .content {
602 color: var(--TWPT-secondary-text)!important;
603}
604
605/* Material menu button and dropdown select */
606material-menu material-button, material-dropdown-select dropdown-button {
607 color: rgba(255, 255, 255, .54)!important;
608}
609
610material-dropdown-select dropdown-button .is-disabled .button-text {
611 color: rgba(255, 255, 255, .38)!important;
612}
613
614/* Announcements content */
615ec-announcements-content .header .title, ec-announcements-content .announcement-title {
616 color: var(--TWPT-primary-text-alt)!important;
617}
618
619ec-announcements-content .no-announcements-message {
620 color: #c3bfbc!important;
621}
622
avm99963b2329632021-02-06 20:05:34 +0100623/* Generic popup (for notification bell, account selector, etc.) */
624.popup-wrapper .header-text {
625 color: var(--TWPT-primary-text)!important;
626}
627
avm999630bc113a2020-09-07 13:02:11 +0200628/* Account selector */
629.popup-wrapper .profile .email {
630 color: rgba(255, 255, 255, .54)!important;
631}
632
633material-gaia-picker-footer {
634 color: rgba(255, 255, 255, .54)!important;
635 background-color: var(--TWPT-active-background)!important;
636}
637
638/* Canned responses */
639ec-canned-responses .filter-label,
avm9996325a0d602020-11-25 19:24:16 +0100640 ec-canned-responses ec-canned-response-row .name {
avm999630bc113a2020-09-07 13:02:11 +0200641 color: var(--TWPT-primary-text)!important;
642}
643
avm9996325a0d602020-11-25 19:24:16 +0100644ec-canned-responses .label-row,
645 ec-canned-responses ec-canned-response-row .snippet,
646 ec-canned-responses ec-canned-response-row .tag {
647 color: var(--TWPT-secondary-text)!important;
648}
649
avm999630bc113a2020-09-07 13:02:11 +0200650ec-canned-responses ec-canned-response-row .header.closed:hover,
651 ec-canned-responses ec-canned-response-row .header.closed:focus,
652 ec-canned-responses ec-canned-response-row .header.closed:hover .toolbar,
653 ec-canned-responses ec-canned-response-row .header.closed:focus .toolbar {
654 background-color: var(--TWPT-active-background)!important;
655}
656
avm9996325a0d602020-11-25 19:24:16 +0100657ec-canned-responses .filter-row,
658 ec-canned-responses .label-row,
659 ec-canned-responses ec-canned-response-row material-expansionpanel {
660 border-bottom-color: var(--TWPT-subtle-border)!important;
661}
662
avm999630bc113a2020-09-07 13:02:11 +0200663/* Reply button */
664material-fab.reply-button {
665 background-color: var(--TWPT-link)!important;
666 color: var(--TWPT-primary-background)!important;
667}
668
avm99963f5923962020-12-07 16:44:37 +0100669/* Custom injected components */
670.TWPT-log {
671 background-color: #424242!important;
672}
673
674.TWPT-log-entry.TWPT-log-entry--error {
675 color: #ff8A80!important;
676}