blob: 1614b43d9e1ee2dd8143b7db8065e1087cd1f292 [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
avm9996315b23d72021-04-26 18:07:15 +020039.material-content > header .app-title-button,
40 .material-content > header .app-title-text {
41 color: var(--TWPT-secondary-text)!important;
avm99963ea9b23f2021-04-22 14:06:03 +020042}
43
avm9996348c87d12021-04-09 13:00:21 +020044.material-content > header material-button,
avm9996315b23d72021-04-26 18:07:15 +020045 .material-content > header material-button material-icon,
avm9996348c87d12021-04-09 13:00:21 +020046 .material-content > header notification-bell material-icon {
avm999630bc113a2020-09-07 13:02:11 +020047 color: rgba(255, 255, 255, .87)!important;
48}
49
50.search-box {
51 background-color: #313235!important;
52}
53
54.search-box .clear-icon {
55 opacity: 0.8;
56 color: rgba(255, 255, 255, .87)!important;
57}
58
avm9996352b52c32021-05-02 14:34:02 +020059.material-content > header .right-control {
60 width: auto!important;
avm9996387ba0d22021-05-03 22:09:39 +020061 max-width: 252px!important;
avm9996352b52c32021-05-02 14:34:02 +020062}
63
avm999630bc113a2020-09-07 13:02:11 +020064.material-content > header .bell.mixin {
65 fill: rgba(255, 255, 255, .87)!important;
66}
67
68/* Drawer */
69material-drawer, material-drawer .panel, material-list-item {
70 background-color: var(--TWPT-drawer-background)!important;
71}
72
avm9996324ef6522020-11-25 19:45:43 +010073material-list-item:hover, material-list-item:focus, material-list-item.item--active {
avm999630bc113a2020-09-07 13:02:11 +020074 background-color: var(--TWPT-active-background)!important;
75}
76
77material-drawer .panel {
78 border-bottom-color: #25231f!important;
79}
80
81material-drawer .drawer-section-title, material-drawer .header > material-icon {
82 color: var(--TWPT-secondary-text)!important;
83}
84
avm9996315b23d72021-04-26 18:07:15 +020085material-drawer material-list-item,
86 material-drawer material-list-item .title {
avm999630bc113a2020-09-07 13:02:11 +020087 color: #d2cecb!important;
88}
89
90material-drawer ec-forum-drawer-item material-checkbox material-icon {
91 filter: brightness(1.5);
92}
93
avm9996315b23d72021-04-26 18:07:15 +020094/* Header menus */
95.popup material-list-item {
96 color: #d2cecb!important;
97}
98
avm99963223416c2021-04-21 22:13:14 +020099/* Filters (ec-query-builder) */
100material-condition-builder .compound-condition-operator {
101 color: var(--TWPT-secondary-text)!important;
102}
103
104material-condition-builder .compound-condition-operator::before,
105 material-condition-builder .compound-condition-operator::after {
106 border-left-color: rgba(255, 255, 255, .20)!important;
107}
108
avm999630bc113a2020-09-07 13:02:11 +0200109/* Selector */
avm99963a51c7612020-11-25 23:58:56 +0100110
111/*
112 * This applies not only to the selector but also to the ec-work-state-picker.
113 */
avm99963a091be12021-02-18 17:03:28 +0100114.popup-wrapper, material-list, .popup .item-group-list {
avm999630bc113a2020-09-07 13:02:11 +0200115 background-color: var(--TWPT-drawer-background)!important;
116}
117
avm99963a091be12021-02-18 17:03:28 +0100118material-list [group]:not(.empty) + *:not(script):not(template):not(.empty),
119 .popup .item-group-list [group]:not(.empty) + *:not(script):not(template):not(.empty) {
avm999630bc113a2020-09-07 13:02:11 +0200120 box-shadow: inset 0 8px 0 0 var(--TWPT-drawer-background)!important;
121 border-top-color: #1f1f1f!important;
122}
123
124material-list material-select-item:hover,
125 material-list material-select-item:focus,
126 material-list material-select-dropdown-item:hover,
127 material-list material-select-dropdown-item:focus,
128 material-list material-select-dropdown-item.active,
avm99963a091be12021-02-18 17:03:28 +0100129 material-list material-select-dropdown-item:not(.multiselect).selected,
130 .popup .item-group-list material-select-item:hover,
131 .popup .item-group-list material-select-item:focus,
avm99963744d0cf2021-03-23 22:05:57 +0100132 .popup .item-group-list material-select-item.active,
avm99963a091be12021-02-18 17:03:28 +0100133 .popup .item-group-list material-select-dropdown-item:hover,
134 .popup .item-group-list material-select-dropdown-item:focus,
135 .popup .item-group-list material-select-dropdown-item.active,
136 .popup .item-group-list material-select-dropdown-item:not(.multiselect).selected {
avm99963744d0cf2021-03-23 22:05:57 +0100137 background-color: var(--TWPT-highlighted-item-background)!important;
avm999630bc113a2020-09-07 13:02:11 +0200138}
139
avm99963a091be12021-02-18 17:03:28 +0100140material-list .menu-item-label,
141 material-list .label,
142 material-list .text-segment,
143 .popup .item-group-list .menu-item-label,
144 .popup .item-group-list .label,
145 .popup .item-group-list .text-segment {
avm999630bc113a2020-09-07 13:02:11 +0200146 color: rgba(255, 255, 255, .87)!important;
147}
148
avm99963a091be12021-02-18 17:03:28 +0100149.popup .item-group-list material-icon {
150 color: rgba(255, 255, 255, .7)!important;
151}
152
avm999630bc113a2020-09-07 13:02:11 +0200153material-list [group] > [label] {
154 color: #8a8a8a!important;
155}
156
avm9996348c87d12021-04-09 13:00:21 +0200157/* This is shown in the new thread view */
158ec-forum-language-picker .labeled-select .select-label {
159 color: var(--TWPT-secondary-text)!important;
160}
161
avm999630bc113a2020-09-07 13:02:11 +0200162/* Main */
163.main {
164 color: var(--TWPT-primary-text)!important;
165}
166
avm9996325a0d602020-11-25 19:24:16 +0100167/* Border color for the page title bar (most pages use .title-bar although
168 * some use .page-header).
169 */
170main .title-bar, main .page-header {
avm999630bc113a2020-09-07 13:02:11 +0200171 border-bottom-color: var(--TWPT-subtle-border)!important;
172}
173
174main .title-bar .title, main .page-header h1, main .header h1 {
175 color: var(--TWPT-primary-text)!important;
176}
177
178.card {
179 background-color: var(--TWPT-secondary-background)!important;
180 color: var(--TWPT-primary-text)!important;
181 border-color: var(--TWPT-card-border)!important;
182}
183
184.card .card-title, .card, .card-section-title {
185 color: var(--TWPT-primary-text)!important;
186}
187
avm99963223416c2021-04-21 22:13:14 +0200188.card .card-section-hint, .card .card-section-checkbox-hint {
avm999630bc113a2020-09-07 13:02:11 +0200189 color: var(--TWPT-secondary-text)!important;
190}
191
192/* Action bar */
193.material-content .action-bar material-button,
194 ec-bulk-actions material-button,
avm99963b2329632021-02-06 20:05:34 +0100195 ec-back-button material-button,
avm9996348c87d12021-04-09 13:00:21 +0200196 .sort-options material-button {
avm999630bc113a2020-09-07 13:02:11 +0200197 color: rgba(255, 255, 255, .54)!important;
198}
199
avm99963ea9b23f2021-04-22 14:06:03 +0200200.material-content .action-bar .review-button.reviewing {
201 color: #1a73e8!important;
202 background: #dae7ff!important;
203}
204
avm999630bc113a2020-09-07 13:02:11 +0200205.material-content .action-bar material-button.starred {
206 color: #fbbc04!important;
207}
208
avm99963a51c7612020-11-25 23:58:56 +0100209/* ec-work-state-picker */
210ec-work-state-picker > button {
211 color: var(--TWPT-secondary-text)!important;
212 background-color: var(--TWPT-button-background)!important;
213 border-color: var(--TWPT-subtle-border)!important;
214}
215
216.material-popup-content .popup-content .title {
217 color: var(--TWPT-primary-text)!important;
218}
219
avm999630bc113a2020-09-07 13:02:11 +0200220/* Thread list */
221ec-thread-list ul.thread-group {
222 background-color: var(--TWPT-primary-background)!important;
223}
224
225ec-thread-list ec-bulk-actions, ec-thread-list ec-thread-summary material-expansionpanel {
226 border-bottom-color: var(--TWPT-subtle-border)!important;
227}
228
avm99963a2a06442020-11-25 21:11:10 +0100229ec-thread-summary material-expansionpanel.read:not(.checked) {
avm999630bc113a2020-09-07 13:02:11 +0200230 background-color: var(--TWPT-thread-read-background)!important;
231}
232
avm99963e65bec42020-11-25 18:26:29 +0100233ec-thread-summary material-expansionpanel.read .title span:not(.icon) {
avm9996395da0772020-09-09 01:07:36 +0200234 opacity: 0.8;
235}
236
avm99963e65bec42020-11-25 18:26:29 +0100237ec-thread-summary material-expansionpanel.read .title .icon {
238 opacity: 0.48!important;
239}
240
avm999630bc113a2020-09-07 13:02:11 +0200241ec-thread-summary material-expansionpanel.checked {
avm99963a2a06442020-11-25 21:11:10 +0100242 background-color: #2c4b77!important;
avm999630bc113a2020-09-07 13:02:11 +0200243}
244
245ec-thread-summary material-expansionpanel .title {
246 color: var(--TWPT-primary-text)!important;
247}
248
249ec-thread-summary material-expansionpanel ec-second-summary-line,
250 material-expansionpanel .header-content,
avm9996348c87d12021-04-09 13:00:21 +0200251 material-expansionpanel ec-thread-counts > span:not(.recommended-answers),
252 material-expansionpanel .duplicate-label {
avm999630bc113a2020-09-07 13:02:11 +0200253 color: #928e89!important;
254}
255
avm9996348c87d12021-04-09 13:00:21 +0200256material-expansionpanel .removed-label {
257 /*
258 * The following color should be --TWPT-red-A400, but it unfortunately doesn't
259 * contrast well with the dark background, so this is the AA correction of
260 * that color.
261 **/
262 color: #ff6868!important;
263}
264
avm999631558e6c2020-12-08 13:42:40 +0100265ec-thread-summary material-expansionpanel ec-safe-html.body,
266 material-expansionpanel .issue-tracking-work-state {
avm999630bc113a2020-09-07 13:02:11 +0200267 color: var(--TWPT-primary-text)!important;
268}
269
avm99963b2329632021-02-06 20:05:34 +0100270/* Thread view (including review/live review components) */
avm999630bc113a2020-09-07 13:02:11 +0200271ec-question, .heading + .group, ec-message {
272 background-color: var(--TWPT-secondary-background)!important;
273}
274
avm99963b2329632021-02-06 20:05:34 +0100275ec-thread .no-review-needed {
276 background-color: #155829!important;
277 border-color: var(--TWPT-subtle-border)!important;
278}
279
280/* Review bar shown above the main message or replies */
281ec-review-bar {
avm999630bc113a2020-09-07 13:02:11 +0200282 background-color: var(--TWPT-active-background)!important;
283}
284
avm99963b2329632021-02-06 20:05:34 +0100285ec-review-bar material-chip {
286 background-color: var(--TWPT-button-background)!important;
287}
288
289ec-review-bar material-chip:not(.relevant-active):not(.active) {
290 color: var(--TWPT-primary-text)!important;
291 border-color: var(--TWPT-card-border)!important;
292}
293
294ec-review-bar material-chip:not(.relevant-active):not(.active) material-icon {
295 color: var(--TWPT-primary-text)!important;
296 fill: var(--TWPT-primary-text)!important;
297}
298
299ec-review-bar material-chip.relevant-active {
300 color: var(--TWPT-green-A400)!important;
301 border-color: var(--TWPT-green-A400)!important;
302}
303
304ec-review-bar material-chip.relevant-active material-icon {
305 color: var(--TWPT-green-A400)!important;
306 fill: var(--TWPT-green-A400)!important;
307}
308
309ec-review-bar material-chip.active {
310 color: var(--TWPT-red-A400)!important;
311 border-color: var(--TWPT-red-A400)!important;
312}
313
314ec-review-bar material-chip.active material-icon {
315 color: var(--TWPT-red-A400)!important;
316 fill: var(--TWPT-red-A400)!important;
317}
318
avm999630bc113a2020-09-07 13:02:11 +0200319ec-message-header .header, ec-question .state, ec-question ec-thread-counts > span, ec-message ec-thread-counts > span {
320 color: var(--TWPT-secondary-text)!important;
321}
322
avm9996395da0772020-09-09 01:07:36 +0200323ec-question .alert, ec-message .alert {
avm999630bc113a2020-09-07 13:02:11 +0200324 background-color: var(--TWPT-active-background)!important;
325}
326
avm9996395da0772020-09-09 01:07:36 +0200327ec-question .alert material-icon, ec-message .alert material-icon {
avm999630bc113a2020-09-07 13:02:11 +0200328 color: var(--TWPT-primary-text)!important;
329}
330
avm9996395da0772020-09-09 01:07:36 +0200331ec-question .alert ec-icon, ec-message .alert ec-icon {
avm999630bc113a2020-09-07 13:02:11 +0200332 color: var(--TWPT-primary-text)!important;
333 fill: var(--TWPT-primary-text)!important;
334}
335
336ec-question .title {
337 color: var(--TWPT-primary-text-alt)!important;
338}
339
avm99963b2329632021-02-06 20:05:34 +0100340ec-user-link .name-text {
341 color: var(--TWPT-link)!important;
342}
343
344ec-message-header ec-avatar svg, ec-message-header .role,
345 ec-message .footer .role {
avm999630bc113a2020-09-07 13:02:11 +0200346 filter: brightness(1.5);
347}
348
349ec-question .body, ec-message .body {
350 color: var(--TWPT-primary-text)!important;
351}
352
353ec-question .thread-insert {
354 background: none!important;
355}
356
357ec-question .details-heading {
358 color: var(--TWPT-primary-text-alt) !important;
359}
360
avm9996348c87d12021-04-09 13:00:21 +0200361ec-question .footer,
362 ec-ask-flow .content-disclaimer {
avm999630bc113a2020-09-07 13:02:11 +0200363 color: var(--TWPT-primary-text)!important;
364 background-color: var(--TWPT-active-background)!important;
365 border-top-color: var(--TWPT-card-border)!important;
366}
367
368.heading {
369 color: var(--TWPT-primary-text)!important;
370}
371
372.heading + .group,
373 .load-more-bar,
374 ec-message:not(:first-child),
375 .load-more-bar .load-more-button,
376 .load-more-bar .load-all-button {
377 border-color: var(--TWPT-card-border)!important;
378}
379
avm9996395da0772020-09-09 01:07:36 +0200380ec-message .type {
381 color: var(--TWPT-primary-text)!important;
382}
383
avm999630bc113a2020-09-07 13:02:11 +0200384ec-message .footer ec-relative-time,
385 ec-message .footer ec-safe-html {
386 color: var(--TWPT-secondary-text)!important;
387}
388
389ec-message .helpful-prompt {
390 color: var(--TWPT-primary-text)!important;
391}
392
393ec-question .me-too-button,
394 ec-question .subscribe-button,
395 ec-message .upvote-button,
396 ec-message .downvote-button {
397 color: var(--TWPT-secondary-text)!important;
avm99963a51c7612020-11-25 23:58:56 +0100398 background-color: var(--TWPT-button-background)!important;
avm999630bc113a2020-09-07 13:02:11 +0200399}
400
avm99963223416c2021-04-21 22:13:14 +0200401ec-message .alert {
402 color: var(--TWPT-secondary-text)!important;
403}
404
avm999630bc113a2020-09-07 13:02:11 +0200405ec-question .me-too-button.selected,
406 ec-question .subscribe-button.selected,
407 ec-message .upvote-button.selected,
408 ec-message .downvote-button.selected {
409 color: #4285f4!important;
410}
411
412.load-more-bar .load-more-button, .load-more-bar .load-all-button {
413 background-color: var(--TWPT-secondary-background)!important;
414}
415
416.locked-alert {
417 background-color: var(--TWPT-active-background)!important;
418 border: var(--TWPT-card-border)!important;
419}
420
421.locked-alert material-icon {
422 color: rgba(255, 255, 255, .38)!important;
423}
424
avm99963b2329632021-02-06 20:05:34 +0100425ec-thread button.reply.collapsed {
426 color: var(--TWPT-secondary-text)!important;
427}
428
avm999630bc113a2020-09-07 13:02:11 +0200429ec-thread .finished-question {
430 background-color: var(--TWPT-active-background)!important;
431 border: var(--TWPT-card-border)!important;
432}
433
avm99963ea9b23f2021-04-22 14:06:03 +0200434ec-thread .finished-question .next-question {
435 color: var(--TWPT-link)!important;
436 border-color: var(--TWPT-link)!important;
437}
438
avm999630bc113a2020-09-07 13:02:11 +0200439.material-content .action-bar material-button.has-activity {
440 color: #1a73e8!important;
441}
442
443.material-content .action-bar material-button.showing-sidebar {
444 background-color: var(--TWPT-active-background)!important;
445}
446
447ec-activity-panel .title-bar h3 {
448 color: #e8eaf2!important;
449}
450
451ec-activity-panel ec-activity {
452 color: var(--TWPT-secondary-text)!important;
453 border-color: var(--TWPT-card-border)!important;
454}
455
456ec-activity-panel ec-activity .message {
457 color: var(--TWPT-primary-text-alt)!important;
458}
459
460ec-activity-panel ec-activity .thread-title {
461 color: #c3bfbc!important;
462}
463
464/* Recommended answers - show in green where we've overwritten the colors */
465.recommended-answers {
466 color: #34a853!important;
467}
468
avm99963fb7107c2021-04-14 19:39:05 +0200469/* Suggested answers - show brighter blue */
470.suggested-icon {
471 color: var(--TWPT-blue-A100)!important;
472}
473
474/* Help button (shown in the suggested answers header) */
475.explanation-icon material-icon {
476 color: rgba(255, 255, 255, .54)!important;
477}
478
479/* Help button tooltip */
480.popup .paper-container {
481 background: var(--TWPT-drawer-background)!important;
482}
483
484.explanation-icon material-icon:hover {
485 color: var(--TWPT-blue-A100)!important;
486}
487
avm99963223416c2021-04-21 22:13:14 +0200488/* New thread and edit message views */
489material-stepper {
490 border-top-color: var(--TWPT-card-border)!important;
491}
492
avm999630bc113a2020-09-07 13:02:11 +0200493material-stepper .stepper-step-name,
494 material-stepper .purpose-title {
495 color: var(--TWPT-primary-text)!important;
496}
497
498ec-ask-flow .display-name-label,
avm99963223416c2021-04-21 22:13:14 +0200499 material-stepper .additional-details-label,
500 material-stepper .detail-label {
avm999630bc113a2020-09-07 13:02:11 +0200501 color: var(--TWPT-secondary-text)!important;
502}
503
avm99963223416c2021-04-21 22:13:14 +0200504material-stepper .stepper-step[selectable=true]:focus {
505 background-color: rgba(60, 64, 67, .24)!important;
506}
507
avm9996348c87d12021-04-09 13:00:21 +0200508/* Note: see thread view section. There is a rule for the thread creation
509 * footer.
510 **/
511
avm999630bc113a2020-09-07 13:02:11 +0200512/* Profile view */
avm9996348c87d12021-04-09 13:00:21 +0200513ec-user .main-card {
avm999630bc113a2020-09-07 13:02:11 +0200514 background-color: var(--TWPT-secondary-background)!important;
avm9996348c87d12021-04-09 13:00:21 +0200515}
516
517ec-user .abuse-alert-container {
518 background-color: var(--TWPT-active-background)!important;
avm999630bc113a2020-09-07 13:02:11 +0200519 border-top-right-radius: 8px!important;
avm9996348c87d12021-04-09 13:00:21 +0200520}
521
522ec-user .abuse-alert-container .abuse-alert {
523 color: var(--TWPT-primary-text)!important;
avm999630bc113a2020-09-07 13:02:11 +0200524}
525
avm99963c4cb8f32020-09-07 23:52:28 +0200526ec-user ec-display-name-editor, ec-user .header .name {
avm999630bc113a2020-09-07 13:02:11 +0200527 color: var(--TWPT-primary-text)!important;
528}
529
avm9996395da0772020-09-09 01:07:36 +0200530ec-user .role {
531 filter: brightness(1.5);
532}
533
avm999630bc113a2020-09-07 13:02:11 +0200534ec-user bar-chart .axis text {
535 fill: rgba(255, 255, 255, .54)!important;
536}
537
538ec-user bar-chart .axis path,
539 ec-user bar-chart .axis .gridline,
540 ec-user bar-chart .axis line {
541 stroke: rgba(255, 255, 255, .12)!important;
542}
543
544ec-user bar-chart .axis line.axis-zero-tick,
545 ec-user bar-chart .axis.x .tick-mark {
546 stroke: rgba(255, 255, 255, .38)!important;
547}
548
549ec-user bar-chart .aplos-legend-entry {
550 color: var(--TWPT-secondary-text)!important;
551}
552
553.aplos-hovercard {
554 background: var(--TWPT-secondary-background)!important;
555}
556
557.aplos-hovercard .title {
558 color: var(--TWPT-primary-text)!important;
559}
560
561.aplos-hovercard .subtitle,
562 .aplos-donut-center .subtitle,
563 .aplos-hovercard .series,
564 .aplos-donut-center .series,
565 .aplos-hovercard .value,
566 .aplos-donut-center .value {
567 color: var(--TWPT-secondary-text)!important;
568}
569
570/* Duplicate thread feature */
571.search-results ec-thread-option material-expansionpanel .panel {
572 background-color: var(--TWPT-primary-background)!important;
573}
574
575.search-results ec-thread-option material-expansionpanel.selected .panel,
576 .search-results ec-thread-option material-expansionpanel .panel > .main-header > .header.closed:hover,
577 .search-results ec-thread-option material-expansionpanel .panel > .main-header > .header.closed:focus {
578 background-color: #17191c!important;
579}
580
581/* Disabled buttons */
582material-button[disabled] {
583 color: rgba(255, 255, 255, .26)!important;
584}
585
586/* Material icons */
587ec-filter-drawer-item material-icon,
588 ec-filter-drawer-item ec-icon,
589 material-drawer .drawer-section material-icon,
590 material-drawer .drawer-section ec-icon,
591 material-list material-icon,
592 ec-query-builder material-icon,
593 material-radio .icon-container:not(.checked) material-icon,
594 ec-thread-summary material-expansionpanel .title material-icon,
595 .search-results ec-thread-option material-icon,
596 .search-results ec-thread-option ec-icon,
597 ec-rich-text-editor material-icon,
598 ec-editor-command material-icon,
avm99963223416c2021-04-21 22:13:14 +0200599 ec-canned-responses ec-canned-response-row material-icon,
600 ec-ask-flow > .header material-button {
avm999630bc113a2020-09-07 13:02:11 +0200601 color: rgba(255, 255, 255, .87)!important;
602}
603
604material-drawer ec-icon,
avm99963223416c2021-04-21 22:13:14 +0200605 .search-results ec-thread-option ec-icon,
avm9996315b23d72021-04-26 18:07:15 +0200606 ec-thread-summary material-expansionpanel .title ec-icon,
607 ec-announcements-menu-item ec-icon {
avm999630bc113a2020-09-07 13:02:11 +0200608 fill: rgba(255, 255, 255, .87)!important;
609}
610
611/* Dialogs */
612material-dialog, material-dialog .dialog-header {
613 background-color: var(--TWPT-primary-background)!important;
614}
615
616ec-movable-dialog[showminimize] material-dialog .dialog-header {
617 background-color: #d2e3fc!important;
618}
619
620material-dialog .title {
621 color: var(--TWPT-primary-text-alt)!important;
622}
623
624ec-movable-dialog[showminimize] material-dialog .dialog-header .title, ec-movable-dialog[showminimize] material-dialog header material-icon {
625 color: var(--TWPT-primary-background)!important;
626}
627
628ec-movable-dialog[showminimize] material-dialog .header-notice, material-dialog .legal-prompt {
629 background-color: #170f01!important;
630}
631
avm99963223416c2021-04-21 22:13:14 +0200632ec-movable-dialog[showminimize] material-dialog .main .header-notice material-icon[icon="info_outline"] {
633 color: var(--TWPT-blue-A100)!important;
634}
635
avm999630bc113a2020-09-07 13:02:11 +0200636material-dialog .section-title,
637 material-dialog .select-label,
638 material-dialog .input-label,
639 material-dialog .btn-no,
640 ec-display-name-editor,
641 .forum-selection-label {
642 color: var(--TWPT-secondary-text)!important;
643}
644
645ec-movable-dialog[showminimize] material-dialog footer > [footer] > .footer > [footer] > simple-html {
646 color: var(--TWPT-secondary-text)!important;
647 background-color: var(--TWPT-active-background)!important;
648 border-top-color: #25231f!important;
649}
650
651/* Keyboard shortcuts dialog */
652material-dialog .main.with-scroll-strokes table td {
653 color: var(--TWPT-primary-text)!important;
654}
655
656/* Rich text editor */
657ec-editor-command material-button,
658 ec-formatting-popup material-button {
659 box-shadow: none!important;
660}
661
662ec-editor-command material-button.is-active {
663 background: var(--TWPT-active-background)!important;
664}
665
666ec-rich-text-editor .placeholder {
667 color: rgba(255, 255, 255, .38)!important;
668}
669
670ec-rich-text-editor .input {
671 color: var(--TWPT-primary-text)!important;
672}
673
674ec-rich-text-editor .hint {
675 color: rgba(255, 255, 255, .54)!important;
676}
677
678material-select-searchbox + material-list material-list-item {
679 color: rgba(255, 255, 255, .87)!important;
680}
681
682ec-attachment .filename {
683 color: var(--TWPT-primary-text)!important;
684}
685
686/* Thread insert */
687ec-thread-insert .title {
688 color: var(--TWPT-primary-text)!important;
689}
690
691ec-thread-insert ec-thread-counts,
692 ec-thread-insert .details,
693 ec-thread-insert ec-relative-time {
694 color: rgba(255, 255, 255, .54)!important;
695}
696
697/* Text input */
698material-input input {
699 color: var(--TWPT-primary-text)!important;
700}
701
702material-input .label-text,
703 material-input .hint-text,
704 material-input .counter {
705 color: rgba(255, 255, 255, .54)!important;
706}
707
708material-input .underline .unfocused-underline {
avm99963223416c2021-04-21 22:13:14 +0200709 background-color: var(--TWPT-input-underline)!important;
avm999630bc113a2020-09-07 13:02:11 +0200710}
711
712label .label {
713 color: var(--TWPT-primary-text)!important;
714}
715
716/* Input underline */
717material-input .underline .unfocused-underline,
718 material-dropdown-select dropdown-button [buttondecorator] {
avm99963223416c2021-04-21 22:13:14 +0200719 border-bottom-color: var(--TWPT-input-underline)!important;
avm999630bc113a2020-09-07 13:02:11 +0200720}
721
722/* Checkbox input */
723material-checkbox, material-checkbox .content {
724 color: var(--TWPT-secondary-text)!important;
725}
726
727/* Material menu button and dropdown select */
728material-menu material-button, material-dropdown-select dropdown-button {
avm99963223416c2021-04-21 22:13:14 +0200729 color: var(--TWPT-primary-text)!important;
avm999630bc113a2020-09-07 13:02:11 +0200730}
731
avm9996348c87d12021-04-09 13:00:21 +0200732material-dropdown-select dropdown-button .button.is-disabled .button-text,
733 material-dropdown-select dropdown-button .button.is-disabled material-icon {
734 color: rgba(255, 255, 255, .32)!important;
avm999630bc113a2020-09-07 13:02:11 +0200735}
736
737/* Announcements content */
avm99963223416c2021-04-21 22:13:14 +0200738ec-announcements-content .header,
739 ec-announcements-content .no-announcements,
740 ec-announcements-content .announcement {
741 border-bottom-color: var(--TWPT-card-border)!important;
742}
743
avm999630bc113a2020-09-07 13:02:11 +0200744ec-announcements-content .header .title, ec-announcements-content .announcement-title {
745 color: var(--TWPT-primary-text-alt)!important;
746}
747
avm9996315b23d72021-04-26 18:07:15 +0200748ec-announcements-content .announcement-date {
749 color: var(--TWPT-secondary-text)!important;
750}
751
avm999630bc113a2020-09-07 13:02:11 +0200752ec-announcements-content .no-announcements-message {
753 color: #c3bfbc!important;
754}
755
avm9996315b23d72021-04-26 18:07:15 +0200756ec-announcements-content .view-all-link,
757 ec-announcements-content .read-more-button {
avm99963223416c2021-04-21 22:13:14 +0200758 color: var(--TWPT-link)!important;
759}
760
avm9996315b23d72021-04-26 18:07:15 +0200761ec-announcements-content ::-webkit-scrollbar-thumb {
762 background-color: rgba(255, 255, 255, .26)!important;
763}
764
765ec-announcements-content ::-webkit-scrollbar-thumb:hover {
766 background-color: #4285f4!important;
767}
768
avm99963b2329632021-02-06 20:05:34 +0100769/* Generic popup (for notification bell, account selector, etc.) */
770.popup-wrapper .header-text {
771 color: var(--TWPT-primary-text)!important;
772}
773
avm9996348c87d12021-04-09 13:00:21 +0200774/* Notifications bell popup/panel */
775.notification-panel .header material-button {
776 color: var(--TWPT-secondary-text)!important;
777}
778
779.notification-panel .cards-container .promo-message {
780 color: var(--TWPT-secondary-text)!important;
781}
782
783.notification-panel .cards-container .promo-message .header-text {
784 color: var(--TWPT-primary-text)!important;
785}
786
avm999630bc113a2020-09-07 13:02:11 +0200787/* Account selector */
788.popup-wrapper .profile .email {
789 color: rgba(255, 255, 255, .54)!important;
790}
791
792material-gaia-picker-footer {
793 color: rgba(255, 255, 255, .54)!important;
794 background-color: var(--TWPT-active-background)!important;
795}
796
avm9996348c87d12021-04-09 13:00:21 +0200797material-gaia-picker-footer material-button {
798 color: var(--TWPT-secondary-text)!important;
799}
800
avm999630bc113a2020-09-07 13:02:11 +0200801/* Canned responses */
802ec-canned-responses .filter-label,
avm9996325a0d602020-11-25 19:24:16 +0100803 ec-canned-responses ec-canned-response-row .name {
avm999630bc113a2020-09-07 13:02:11 +0200804 color: var(--TWPT-primary-text)!important;
805}
806
avm9996325a0d602020-11-25 19:24:16 +0100807ec-canned-responses .label-row,
808 ec-canned-responses ec-canned-response-row .snippet,
809 ec-canned-responses ec-canned-response-row .tag {
810 color: var(--TWPT-secondary-text)!important;
811}
812
avm999630bc113a2020-09-07 13:02:11 +0200813ec-canned-responses ec-canned-response-row .header.closed:hover,
814 ec-canned-responses ec-canned-response-row .header.closed:focus,
815 ec-canned-responses ec-canned-response-row .header.closed:hover .toolbar,
816 ec-canned-responses ec-canned-response-row .header.closed:focus .toolbar {
817 background-color: var(--TWPT-active-background)!important;
818}
819
avm9996325a0d602020-11-25 19:24:16 +0100820ec-canned-responses .filter-row,
821 ec-canned-responses .label-row,
822 ec-canned-responses ec-canned-response-row material-expansionpanel {
823 border-bottom-color: var(--TWPT-subtle-border)!important;
824}
825
avm999630bc113a2020-09-07 13:02:11 +0200826/* Reply button */
827material-fab.reply-button {
828 background-color: var(--TWPT-link)!important;
829 color: var(--TWPT-primary-background)!important;
830}
831
avm99963223416c2021-04-21 22:13:14 +0200832/* Settings view */
833ec-settings .forum-language-container {
834 border-bottom-color: var(--TWPT-subtle-border)!important;
835}
836
837ec-settings .forum-language-container material-button {
838 color: var(--TWPT-secondary-text)!important;
839}
840
841ec-settings material-checkbox, ec-settings material-checkbox .content {
842 color: var(--TWPT-primary-text)!important;
843}
844
avm99963f5923962020-12-07 16:44:37 +0100845/* Custom injected components */
846.TWPT-log {
847 background-color: #424242!important;
848}
849
850.TWPT-log-entry.TWPT-log-entry--error {
851 color: #ff8A80!important;
852}