blob: 24359ad964d04aab72381e03158e0c955b0ecd39 [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;
avm999630bc113a2020-09-07 13:02:11 +020014}
15
16body {
17 color: var(--TWPT-primary-text);
18 background-color: var(--TWPT-primary-background)!important;
19}
20
21p {
22 color: var(--TWPT-primary-text);
23}
24
25body.ec a {
26 color: var(--TWPT-link);
27}
28
29/* Header */
30.material-content > header {
31 background-color: var(--TWPT-primary-background)!important;
32}
33
34.material-content > header material-button {
35 color: rgba(255, 255, 255, .87)!important;
36}
37
38.search-box {
39 background-color: #313235!important;
40}
41
42.search-box .clear-icon {
43 opacity: 0.8;
44 color: rgba(255, 255, 255, .87)!important;
45}
46
47.material-content > header .bell.mixin {
48 fill: rgba(255, 255, 255, .87)!important;
49}
50
51/* Drawer */
52material-drawer, material-drawer .panel, material-list-item {
53 background-color: var(--TWPT-drawer-background)!important;
54}
55
avm9996324ef6522020-11-25 19:45:43 +010056material-list-item:hover, material-list-item:focus, material-list-item.item--active {
avm999630bc113a2020-09-07 13:02:11 +020057 background-color: var(--TWPT-active-background)!important;
58}
59
60material-drawer .panel {
61 border-bottom-color: #25231f!important;
62}
63
64material-drawer .drawer-section-title, material-drawer .header > material-icon {
65 color: var(--TWPT-secondary-text)!important;
66}
67
68material-drawer material-list-item, material-drawer material-list-item .title {
69 color: #d2cecb!important;
70}
71
72material-drawer ec-forum-drawer-item material-checkbox material-icon {
73 filter: brightness(1.5);
74}
75
76/* Selector */
avm99963a51c7612020-11-25 23:58:56 +010077
78/*
79 * This applies not only to the selector but also to the ec-work-state-picker.
80 */
avm999630bc113a2020-09-07 13:02:11 +020081.popup-wrapper, material-list {
82 background-color: var(--TWPT-drawer-background)!important;
83}
84
85material-list [group]:not(.empty) + *:not(script):not(template):not(.empty) {
86 box-shadow: inset 0 8px 0 0 var(--TWPT-drawer-background)!important;
87 border-top-color: #1f1f1f!important;
88}
89
90material-list material-select-item:hover,
91 material-list material-select-item:focus,
92 material-list material-select-dropdown-item:hover,
93 material-list material-select-dropdown-item:focus,
94 material-list material-select-dropdown-item.active,
95 material-list material-select-dropdown-item:not(.multiselect).selected {
96 background-color: rgba(255, 255, 255, .04)!important;
97}
98
99material-list .menu-item-label, material-list .label, material-list .text-segment {
100 color: rgba(255, 255, 255, .87)!important;
101}
102
103material-list [group] > [label] {
104 color: #8a8a8a!important;
105}
106
107/* Main */
108.main {
109 color: var(--TWPT-primary-text)!important;
110}
111
avm9996325a0d602020-11-25 19:24:16 +0100112/* Border color for the page title bar (most pages use .title-bar although
113 * some use .page-header).
114 */
115main .title-bar, main .page-header {
avm999630bc113a2020-09-07 13:02:11 +0200116 border-bottom-color: var(--TWPT-subtle-border)!important;
117}
118
119main .title-bar .title, main .page-header h1, main .header h1 {
120 color: var(--TWPT-primary-text)!important;
121}
122
123.card {
124 background-color: var(--TWPT-secondary-background)!important;
125 color: var(--TWPT-primary-text)!important;
126 border-color: var(--TWPT-card-border)!important;
127}
128
129.card .card-title, .card, .card-section-title {
130 color: var(--TWPT-primary-text)!important;
131}
132
133.card .card-section-hint {
134 color: var(--TWPT-secondary-text)!important;
135}
136
137/* Action bar */
138.material-content .action-bar material-button,
139 ec-bulk-actions material-button,
140 ec-back-button material-button {
141 color: rgba(255, 255, 255, .54)!important;
142}
143
144.material-content .action-bar material-button.starred {
145 color: #fbbc04!important;
146}
147
avm99963a51c7612020-11-25 23:58:56 +0100148/* ec-work-state-picker */
149ec-work-state-picker > button {
150 color: var(--TWPT-secondary-text)!important;
151 background-color: var(--TWPT-button-background)!important;
152 border-color: var(--TWPT-subtle-border)!important;
153}
154
155.material-popup-content .popup-content .title {
156 color: var(--TWPT-primary-text)!important;
157}
158
avm999630bc113a2020-09-07 13:02:11 +0200159/* Thread list */
160ec-thread-list ul.thread-group {
161 background-color: var(--TWPT-primary-background)!important;
162}
163
164ec-thread-list ec-bulk-actions, ec-thread-list ec-thread-summary material-expansionpanel {
165 border-bottom-color: var(--TWPT-subtle-border)!important;
166}
167
avm99963a2a06442020-11-25 21:11:10 +0100168ec-thread-summary material-expansionpanel.read:not(.checked) {
avm999630bc113a2020-09-07 13:02:11 +0200169 background-color: var(--TWPT-thread-read-background)!important;
170}
171
avm99963e65bec42020-11-25 18:26:29 +0100172ec-thread-summary material-expansionpanel.read .title span:not(.icon) {
avm9996395da0772020-09-09 01:07:36 +0200173 opacity: 0.8;
174}
175
avm99963e65bec42020-11-25 18:26:29 +0100176ec-thread-summary material-expansionpanel.read .title .icon {
177 opacity: 0.48!important;
178}
179
avm999630bc113a2020-09-07 13:02:11 +0200180ec-thread-summary material-expansionpanel.checked {
avm99963a2a06442020-11-25 21:11:10 +0100181 background-color: #2c4b77!important;
avm999630bc113a2020-09-07 13:02:11 +0200182}
183
184ec-thread-summary material-expansionpanel .title {
185 color: var(--TWPT-primary-text)!important;
186}
187
188ec-thread-summary material-expansionpanel ec-second-summary-line,
189 material-expansionpanel .header-content,
190 material-expansionpanel ec-thread-counts > span:not(.recommended-answers) {
191 color: #928e89!important;
192}
193
avm999631558e6c2020-12-08 13:42:40 +0100194ec-thread-summary material-expansionpanel ec-safe-html.body,
195 material-expansionpanel .issue-tracking-work-state {
avm999630bc113a2020-09-07 13:02:11 +0200196 color: var(--TWPT-primary-text)!important;
197}
198
199/* Thread view */
200ec-question, .heading + .group, ec-message {
201 background-color: var(--TWPT-secondary-background)!important;
202}
203
204ec-question ec-review-bar {
205 background-color: var(--TWPT-active-background)!important;
206}
207
208ec-message-header .header, ec-question .state, ec-question ec-thread-counts > span, ec-message ec-thread-counts > span {
209 color: var(--TWPT-secondary-text)!important;
210}
211
avm9996395da0772020-09-09 01:07:36 +0200212ec-question .alert, ec-message .alert {
avm999630bc113a2020-09-07 13:02:11 +0200213 background-color: var(--TWPT-active-background)!important;
214}
215
avm9996395da0772020-09-09 01:07:36 +0200216ec-question .alert material-icon, ec-message .alert material-icon {
avm999630bc113a2020-09-07 13:02:11 +0200217 color: var(--TWPT-primary-text)!important;
218}
219
avm9996395da0772020-09-09 01:07:36 +0200220ec-question .alert ec-icon, ec-message .alert ec-icon {
avm999630bc113a2020-09-07 13:02:11 +0200221 color: var(--TWPT-primary-text)!important;
222 fill: var(--TWPT-primary-text)!important;
223}
224
225ec-question .title {
226 color: var(--TWPT-primary-text-alt)!important;
227}
228
229ec-message-header ec-avatar svg, ec-message-header .role {
230 filter: brightness(1.5);
231}
232
233ec-question .body, ec-message .body {
234 color: var(--TWPT-primary-text)!important;
235}
236
237ec-question .thread-insert {
238 background: none!important;
239}
240
241ec-question .details-heading {
242 color: var(--TWPT-primary-text-alt) !important;
243}
244
245ec-question .footer {
246 color: var(--TWPT-primary-text)!important;
247 background-color: var(--TWPT-active-background)!important;
248 border-top-color: var(--TWPT-card-border)!important;
249}
250
251.heading {
252 color: var(--TWPT-primary-text)!important;
253}
254
255.heading + .group,
256 .load-more-bar,
257 ec-message:not(:first-child),
258 .load-more-bar .load-more-button,
259 .load-more-bar .load-all-button {
260 border-color: var(--TWPT-card-border)!important;
261}
262
avm9996395da0772020-09-09 01:07:36 +0200263ec-message .type {
264 color: var(--TWPT-primary-text)!important;
265}
266
avm999630bc113a2020-09-07 13:02:11 +0200267ec-message .footer ec-relative-time,
268 ec-message .footer ec-safe-html {
269 color: var(--TWPT-secondary-text)!important;
270}
271
272ec-message .helpful-prompt {
273 color: var(--TWPT-primary-text)!important;
274}
275
276ec-question .me-too-button,
277 ec-question .subscribe-button,
278 ec-message .upvote-button,
279 ec-message .downvote-button {
280 color: var(--TWPT-secondary-text)!important;
avm99963a51c7612020-11-25 23:58:56 +0100281 background-color: var(--TWPT-button-background)!important;
avm999630bc113a2020-09-07 13:02:11 +0200282}
283
284ec-question .me-too-button.selected,
285 ec-question .subscribe-button.selected,
286 ec-message .upvote-button.selected,
287 ec-message .downvote-button.selected {
288 color: #4285f4!important;
289}
290
291.load-more-bar .load-more-button, .load-more-bar .load-all-button {
292 background-color: var(--TWPT-secondary-background)!important;
293}
294
295.locked-alert {
296 background-color: var(--TWPT-active-background)!important;
297 border: var(--TWPT-card-border)!important;
298}
299
300.locked-alert material-icon {
301 color: rgba(255, 255, 255, .38)!important;
302}
303
304ec-thread .finished-question {
305 background-color: var(--TWPT-active-background)!important;
306 border: var(--TWPT-card-border)!important;
307}
308
309.material-content .action-bar material-button.has-activity {
310 color: #1a73e8!important;
311}
312
313.material-content .action-bar material-button.showing-sidebar {
314 background-color: var(--TWPT-active-background)!important;
315}
316
317ec-activity-panel .title-bar h3 {
318 color: #e8eaf2!important;
319}
320
321ec-activity-panel ec-activity {
322 color: var(--TWPT-secondary-text)!important;
323 border-color: var(--TWPT-card-border)!important;
324}
325
326ec-activity-panel ec-activity .message {
327 color: var(--TWPT-primary-text-alt)!important;
328}
329
330ec-activity-panel ec-activity .thread-title {
331 color: #c3bfbc!important;
332}
333
334/* Recommended answers - show in green where we've overwritten the colors */
335.recommended-answers {
336 color: #34a853!important;
337}
338
339/* New thread view */
340material-stepper .stepper-step-name,
341 material-stepper .purpose-title {
342 color: var(--TWPT-primary-text)!important;
343}
344
345ec-ask-flow .display-name-label,
346 material-stepper .additional-details-label {
347 color: var(--TWPT-secondary-text)!important;
348}
349
350/* Profile view */
351ec-user .main-card-content {
352 background-color: var(--TWPT-secondary-background)!important;
353 border: 1px solid var(--TWPT-card-border)!important;
354 border-top-right-radius: 8px!important;
355 border-bottom-right-radius: 8px!important;
356}
357
avm99963c4cb8f32020-09-07 23:52:28 +0200358ec-user ec-display-name-editor, ec-user .header .name {
avm999630bc113a2020-09-07 13:02:11 +0200359 color: var(--TWPT-primary-text)!important;
360}
361
avm9996395da0772020-09-09 01:07:36 +0200362ec-user .role {
363 filter: brightness(1.5);
364}
365
avm999630bc113a2020-09-07 13:02:11 +0200366ec-user bar-chart .axis text {
367 fill: rgba(255, 255, 255, .54)!important;
368}
369
370ec-user bar-chart .axis path,
371 ec-user bar-chart .axis .gridline,
372 ec-user bar-chart .axis line {
373 stroke: rgba(255, 255, 255, .12)!important;
374}
375
376ec-user bar-chart .axis line.axis-zero-tick,
377 ec-user bar-chart .axis.x .tick-mark {
378 stroke: rgba(255, 255, 255, .38)!important;
379}
380
381ec-user bar-chart .aplos-legend-entry {
382 color: var(--TWPT-secondary-text)!important;
383}
384
385.aplos-hovercard {
386 background: var(--TWPT-secondary-background)!important;
387}
388
389.aplos-hovercard .title {
390 color: var(--TWPT-primary-text)!important;
391}
392
393.aplos-hovercard .subtitle,
394 .aplos-donut-center .subtitle,
395 .aplos-hovercard .series,
396 .aplos-donut-center .series,
397 .aplos-hovercard .value,
398 .aplos-donut-center .value {
399 color: var(--TWPT-secondary-text)!important;
400}
401
402/* Duplicate thread feature */
403.search-results ec-thread-option material-expansionpanel .panel {
404 background-color: var(--TWPT-primary-background)!important;
405}
406
407.search-results ec-thread-option material-expansionpanel.selected .panel,
408 .search-results ec-thread-option material-expansionpanel .panel > .main-header > .header.closed:hover,
409 .search-results ec-thread-option material-expansionpanel .panel > .main-header > .header.closed:focus {
410 background-color: #17191c!important;
411}
412
413/* Disabled buttons */
414material-button[disabled] {
415 color: rgba(255, 255, 255, .26)!important;
416}
417
418/* Material icons */
419ec-filter-drawer-item material-icon,
420 ec-filter-drawer-item ec-icon,
421 material-drawer .drawer-section material-icon,
422 material-drawer .drawer-section ec-icon,
423 material-list material-icon,
424 ec-query-builder material-icon,
425 material-radio .icon-container:not(.checked) material-icon,
426 ec-thread-summary material-expansionpanel .title material-icon,
427 .search-results ec-thread-option material-icon,
428 .search-results ec-thread-option ec-icon,
429 ec-rich-text-editor material-icon,
430 ec-editor-command material-icon,
431 ec-canned-responses ec-canned-response-row material-icon {
432 color: rgba(255, 255, 255, .87)!important;
433}
434
435material-drawer ec-icon,
436 .search-results ec-thread-option ec-icon {
437 fill: rgba(255, 255, 255, .87)!important;
438}
439
440/* Dialogs */
441material-dialog, material-dialog .dialog-header {
442 background-color: var(--TWPT-primary-background)!important;
443}
444
445ec-movable-dialog[showminimize] material-dialog .dialog-header {
446 background-color: #d2e3fc!important;
447}
448
449material-dialog .title {
450 color: var(--TWPT-primary-text-alt)!important;
451}
452
453ec-movable-dialog[showminimize] material-dialog .dialog-header .title, ec-movable-dialog[showminimize] material-dialog header material-icon {
454 color: var(--TWPT-primary-background)!important;
455}
456
457ec-movable-dialog[showminimize] material-dialog .header-notice, material-dialog .legal-prompt {
458 background-color: #170f01!important;
459}
460
461material-dialog .section-title,
462 material-dialog .select-label,
463 material-dialog .input-label,
464 material-dialog .btn-no,
465 ec-display-name-editor,
466 .forum-selection-label {
467 color: var(--TWPT-secondary-text)!important;
468}
469
470ec-movable-dialog[showminimize] material-dialog footer > [footer] > .footer > [footer] > simple-html {
471 color: var(--TWPT-secondary-text)!important;
472 background-color: var(--TWPT-active-background)!important;
473 border-top-color: #25231f!important;
474}
475
476/* Keyboard shortcuts dialog */
477material-dialog .main.with-scroll-strokes table td {
478 color: var(--TWPT-primary-text)!important;
479}
480
481/* Rich text editor */
482ec-editor-command material-button,
483 ec-formatting-popup material-button {
484 box-shadow: none!important;
485}
486
487ec-editor-command material-button.is-active {
488 background: var(--TWPT-active-background)!important;
489}
490
491ec-rich-text-editor .placeholder {
492 color: rgba(255, 255, 255, .38)!important;
493}
494
495ec-rich-text-editor .input {
496 color: var(--TWPT-primary-text)!important;
497}
498
499ec-rich-text-editor .hint {
500 color: rgba(255, 255, 255, .54)!important;
501}
502
503material-select-searchbox + material-list material-list-item {
504 color: rgba(255, 255, 255, .87)!important;
505}
506
507ec-attachment .filename {
508 color: var(--TWPT-primary-text)!important;
509}
510
511/* Thread insert */
512ec-thread-insert .title {
513 color: var(--TWPT-primary-text)!important;
514}
515
516ec-thread-insert ec-thread-counts,
517 ec-thread-insert .details,
518 ec-thread-insert ec-relative-time {
519 color: rgba(255, 255, 255, .54)!important;
520}
521
522/* Text input */
523material-input input {
524 color: var(--TWPT-primary-text)!important;
525}
526
527material-input .label-text,
528 material-input .hint-text,
529 material-input .counter {
530 color: rgba(255, 255, 255, .54)!important;
531}
532
533material-input .underline .unfocused-underline {
534 background-color: rgba(255, 255, 255, .12)!important;
535}
536
537label .label {
538 color: var(--TWPT-primary-text)!important;
539}
540
541/* Input underline */
542material-input .underline .unfocused-underline,
543 material-dropdown-select dropdown-button [buttondecorator] {
544 border-bottom-color: rgba(255, 255, 255, .12)!important;
545}
546
547/* Checkbox input */
548material-checkbox, material-checkbox .content {
549 color: var(--TWPT-secondary-text)!important;
550}
551
552/* Material menu button and dropdown select */
553material-menu material-button, material-dropdown-select dropdown-button {
554 color: rgba(255, 255, 255, .54)!important;
555}
556
557material-dropdown-select dropdown-button .is-disabled .button-text {
558 color: rgba(255, 255, 255, .38)!important;
559}
560
561/* Announcements content */
562ec-announcements-content .header .title, ec-announcements-content .announcement-title {
563 color: var(--TWPT-primary-text-alt)!important;
564}
565
566ec-announcements-content .no-announcements-message {
567 color: #c3bfbc!important;
568}
569
570/* Account selector */
571.popup-wrapper .profile .email {
572 color: rgba(255, 255, 255, .54)!important;
573}
574
575material-gaia-picker-footer {
576 color: rgba(255, 255, 255, .54)!important;
577 background-color: var(--TWPT-active-background)!important;
578}
579
580/* Canned responses */
581ec-canned-responses .filter-label,
avm9996325a0d602020-11-25 19:24:16 +0100582 ec-canned-responses ec-canned-response-row .name {
avm999630bc113a2020-09-07 13:02:11 +0200583 color: var(--TWPT-primary-text)!important;
584}
585
avm9996325a0d602020-11-25 19:24:16 +0100586ec-canned-responses .label-row,
587 ec-canned-responses ec-canned-response-row .snippet,
588 ec-canned-responses ec-canned-response-row .tag {
589 color: var(--TWPT-secondary-text)!important;
590}
591
avm999630bc113a2020-09-07 13:02:11 +0200592ec-canned-responses ec-canned-response-row .header.closed:hover,
593 ec-canned-responses ec-canned-response-row .header.closed:focus,
594 ec-canned-responses ec-canned-response-row .header.closed:hover .toolbar,
595 ec-canned-responses ec-canned-response-row .header.closed:focus .toolbar {
596 background-color: var(--TWPT-active-background)!important;
597}
598
avm9996325a0d602020-11-25 19:24:16 +0100599ec-canned-responses .filter-row,
600 ec-canned-responses .label-row,
601 ec-canned-responses ec-canned-response-row material-expansionpanel {
602 border-bottom-color: var(--TWPT-subtle-border)!important;
603}
604
avm999630bc113a2020-09-07 13:02:11 +0200605/* Reply button */
606material-fab.reply-button {
607 background-color: var(--TWPT-link)!important;
608 color: var(--TWPT-primary-background)!important;
609}
610
avm99963f5923962020-12-07 16:44:37 +0100611/* Custom injected components */
612.TWPT-log {
613 background-color: #424242!important;
614}
615
616.TWPT-log-entry.TWPT-log-entry--error {
617 color: #ff8A80!important;
618}