blob: f26c1ed64f309c72ddcc75c297cdda93085e90ca [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);
Adrià Vilanova Martínez0d15aeb2021-07-26 15:18:43 +020016 --TWPT-blue-100: #BBDEFB;
avm99963fb7107c2021-04-14 19:39:05 +020017 --TWPT-blue-A100: #82B1FF;
Adrià Vilanova Martínezc5d40aa2021-06-11 14:18:23 +020018 --TWPT-bad-text: #f6aea9;
19 --TWPT-good-text: #34a853;
Adrià Vilanova Martínezd20e57e2021-10-13 23:12:13 +020020 --TWPT-interop-primary-text: var(--TWPT-primary-text);
21 --TWPT-interop-secondary-text: #c4c7c5;
22 --TWPT-interop-subtle-border: #474747;
avm999630bc113a2020-09-07 13:02:11 +020023}
24
25body {
26 color: var(--TWPT-primary-text);
27 background-color: var(--TWPT-primary-background)!important;
28}
29
30p {
31 color: var(--TWPT-primary-text);
32}
33
34body.ec a {
35 color: var(--TWPT-link);
36}
37
38/* Header */
39.material-content > header {
40 background-color: var(--TWPT-primary-background)!important;
41}
42
avm9996315b23d72021-04-26 18:07:15 +020043.material-content > header .app-title-button,
44 .material-content > header .app-title-text {
45 color: var(--TWPT-secondary-text)!important;
avm99963ea9b23f2021-04-22 14:06:03 +020046}
47
avm9996348c87d12021-04-09 13:00:21 +020048.material-content > header material-button,
avm9996315b23d72021-04-26 18:07:15 +020049 .material-content > header material-button material-icon,
avm9996348c87d12021-04-09 13:00:21 +020050 .material-content > header notification-bell material-icon {
avm999630bc113a2020-09-07 13:02:11 +020051 color: rgba(255, 255, 255, .87)!important;
52}
53
54.search-box {
55 background-color: #313235!important;
56}
57
58.search-box .clear-icon {
59 opacity: 0.8;
60 color: rgba(255, 255, 255, .87)!important;
61}
62
63.material-content > header .bell.mixin {
64 fill: rgba(255, 255, 255, .87)!important;
65}
66
Adrià Vilanova Martínez47d33bc2021-08-14 18:50:50 +020067/* Notification bell */
68notification-bell:focus {
69 background-color: rgba(255, 255, 255, .10)!important;
70}
71
avm999630bc113a2020-09-07 13:02:11 +020072/* Drawer */
73material-drawer, material-drawer .panel, material-list-item {
74 background-color: var(--TWPT-drawer-background)!important;
75}
76
avm9996324ef6522020-11-25 19:45:43 +010077material-list-item:hover, material-list-item:focus, material-list-item.item--active {
avm999630bc113a2020-09-07 13:02:11 +020078 background-color: var(--TWPT-active-background)!important;
79}
80
81material-drawer .panel {
82 border-bottom-color: #25231f!important;
83}
84
85material-drawer .drawer-section-title, material-drawer .header > material-icon {
86 color: var(--TWPT-secondary-text)!important;
87}
88
avm9996315b23d72021-04-26 18:07:15 +020089material-drawer material-list-item,
90 material-drawer material-list-item .title {
avm999630bc113a2020-09-07 13:02:11 +020091 color: #d2cecb!important;
92}
93
94material-drawer ec-forum-drawer-item material-checkbox material-icon {
95 filter: brightness(1.5);
96}
97
avm9996315b23d72021-04-26 18:07:15 +020098/* Header menus */
99.popup material-list-item {
100 color: #d2cecb!important;
101}
102
avm99963223416c2021-04-21 22:13:14 +0200103/* Filters (ec-query-builder) */
104material-condition-builder .compound-condition-operator {
105 color: var(--TWPT-secondary-text)!important;
106}
107
108material-condition-builder .compound-condition-operator::before,
109 material-condition-builder .compound-condition-operator::after {
110 border-left-color: rgba(255, 255, 255, .20)!important;
111}
112
avm999630bc113a2020-09-07 13:02:11 +0200113/* Selector */
avm99963a51c7612020-11-25 23:58:56 +0100114
115/*
116 * This applies not only to the selector but also to the ec-work-state-picker.
117 */
avm99963a091be12021-02-18 17:03:28 +0100118.popup-wrapper, material-list, .popup .item-group-list {
avm999630bc113a2020-09-07 13:02:11 +0200119 background-color: var(--TWPT-drawer-background)!important;
120}
121
avm99963a091be12021-02-18 17:03:28 +0100122material-list [group]:not(.empty) + *:not(script):not(template):not(.empty),
123 .popup .item-group-list [group]:not(.empty) + *:not(script):not(template):not(.empty) {
avm999630bc113a2020-09-07 13:02:11 +0200124 box-shadow: inset 0 8px 0 0 var(--TWPT-drawer-background)!important;
125 border-top-color: #1f1f1f!important;
126}
127
128material-list material-select-item:hover,
129 material-list material-select-item:focus,
130 material-list material-select-dropdown-item:hover,
131 material-list material-select-dropdown-item:focus,
132 material-list material-select-dropdown-item.active,
avm99963a091be12021-02-18 17:03:28 +0100133 material-list material-select-dropdown-item:not(.multiselect).selected,
avm999634298b432021-08-16 16:38:00 +0200134 material-select-searchbox:focus-within + material-list .single-select-item:first-of-type,
avm99963a091be12021-02-18 17:03:28 +0100135 .popup .item-group-list material-select-item:hover,
136 .popup .item-group-list material-select-item:focus,
avm99963744d0cf2021-03-23 22:05:57 +0100137 .popup .item-group-list material-select-item.active,
avm99963a091be12021-02-18 17:03:28 +0100138 .popup .item-group-list material-select-dropdown-item:hover,
139 .popup .item-group-list material-select-dropdown-item:focus,
140 .popup .item-group-list material-select-dropdown-item.active,
141 .popup .item-group-list material-select-dropdown-item:not(.multiselect).selected {
avm99963744d0cf2021-03-23 22:05:57 +0100142 background-color: var(--TWPT-highlighted-item-background)!important;
avm999630bc113a2020-09-07 13:02:11 +0200143}
144
avm999634298b432021-08-16 16:38:00 +0200145material-list .single-select-item,
146 material-list .menu-item-label,
avm99963a091be12021-02-18 17:03:28 +0100147 material-list .label,
148 material-list .text-segment,
avm9996355acfae2021-08-19 18:06:56 +0200149 menu-item-groups .single-select-item,
150 menu-item-groups .menu-item-label,
151 menu-item-groups .label,
152 menu-item-groups .text-segment {
avm999630bc113a2020-09-07 13:02:11 +0200153 color: rgba(255, 255, 255, .87)!important;
154}
155
avm99963a091be12021-02-18 17:03:28 +0100156.popup .item-group-list material-icon {
157 color: rgba(255, 255, 255, .7)!important;
158}
159
avm999630bc113a2020-09-07 13:02:11 +0200160material-list [group] > [label] {
161 color: #8a8a8a!important;
162}
163
avm9996348c87d12021-04-09 13:00:21 +0200164/* This is shown in the new thread view */
165ec-forum-language-picker .labeled-select .select-label {
166 color: var(--TWPT-secondary-text)!important;
167}
168
avm999630bc113a2020-09-07 13:02:11 +0200169/* Main */
170.main {
171 color: var(--TWPT-primary-text)!important;
172}
173
avm9996325a0d602020-11-25 19:24:16 +0100174/* Border color for the page title bar (most pages use .title-bar although
175 * some use .page-header).
176 */
177main .title-bar, main .page-header {
avm999630bc113a2020-09-07 13:02:11 +0200178 border-bottom-color: var(--TWPT-subtle-border)!important;
179}
180
181main .title-bar .title, main .page-header h1, main .header h1 {
182 color: var(--TWPT-primary-text)!important;
183}
184
185.card {
186 background-color: var(--TWPT-secondary-background)!important;
187 color: var(--TWPT-primary-text)!important;
188 border-color: var(--TWPT-card-border)!important;
189}
190
191.card .card-title, .card, .card-section-title {
192 color: var(--TWPT-primary-text)!important;
193}
194
avm99963223416c2021-04-21 22:13:14 +0200195.card .card-section-hint, .card .card-section-checkbox-hint {
avm999630bc113a2020-09-07 13:02:11 +0200196 color: var(--TWPT-secondary-text)!important;
197}
198
199/* Action bar */
200.material-content .action-bar material-button,
201 ec-bulk-actions material-button,
avm99963b2329632021-02-06 20:05:34 +0100202 ec-back-button material-button,
avm9996348c87d12021-04-09 13:00:21 +0200203 .sort-options material-button {
avm999630bc113a2020-09-07 13:02:11 +0200204 color: rgba(255, 255, 255, .54)!important;
205}
206
avm99963ea9b23f2021-04-22 14:06:03 +0200207.material-content .action-bar .review-button.reviewing {
208 color: #1a73e8!important;
209 background: #dae7ff!important;
210}
211
avm999630bc113a2020-09-07 13:02:11 +0200212.material-content .action-bar material-button.starred {
213 color: #fbbc04!important;
214}
215
Adrià Vilanova Martínez2c8913b2021-07-22 23:33:37 +0200216/* ec-work-state-picker and ec-symptom-picker */
217ec-work-state-picker > button,
218 ec-symptom-picker > button {
avm99963a51c7612020-11-25 23:58:56 +0100219 color: var(--TWPT-secondary-text)!important;
220 background-color: var(--TWPT-button-background)!important;
221 border-color: var(--TWPT-subtle-border)!important;
222}
223
224.material-popup-content .popup-content .title {
225 color: var(--TWPT-primary-text)!important;
226}
227
avm999630bc113a2020-09-07 13:02:11 +0200228/* Thread list */
229ec-thread-list ul.thread-group {
230 background-color: var(--TWPT-primary-background)!important;
231}
232
233ec-thread-list ec-bulk-actions, ec-thread-list ec-thread-summary material-expansionpanel {
234 border-bottom-color: var(--TWPT-subtle-border)!important;
235}
236
avm99963a2a06442020-11-25 21:11:10 +0100237ec-thread-summary material-expansionpanel.read:not(.checked) {
avm999630bc113a2020-09-07 13:02:11 +0200238 background-color: var(--TWPT-thread-read-background)!important;
239}
240
avm99963e65bec42020-11-25 18:26:29 +0100241ec-thread-summary material-expansionpanel.read .title span:not(.icon) {
avm9996395da0772020-09-09 01:07:36 +0200242 opacity: 0.8;
243}
244
avm99963e65bec42020-11-25 18:26:29 +0100245ec-thread-summary material-expansionpanel.read .title .icon {
246 opacity: 0.48!important;
247}
248
avm999630bc113a2020-09-07 13:02:11 +0200249ec-thread-summary material-expansionpanel.checked {
avm99963a2a06442020-11-25 21:11:10 +0100250 background-color: #2c4b77!important;
avm999630bc113a2020-09-07 13:02:11 +0200251}
252
253ec-thread-summary material-expansionpanel .title {
254 color: var(--TWPT-primary-text)!important;
255}
256
257ec-thread-summary material-expansionpanel ec-second-summary-line,
258 material-expansionpanel .header-content,
avm9996348c87d12021-04-09 13:00:21 +0200259 material-expansionpanel ec-thread-counts > span:not(.recommended-answers),
260 material-expansionpanel .duplicate-label {
avm999630bc113a2020-09-07 13:02:11 +0200261 color: #928e89!important;
262}
263
avm9996348c87d12021-04-09 13:00:21 +0200264material-expansionpanel .removed-label {
Adrià Vilanova Martínezc5d40aa2021-06-11 14:18:23 +0200265 color: var(--TWPT-bad-text)!important;
avm9996348c87d12021-04-09 13:00:21 +0200266}
267
avm999631558e6c2020-12-08 13:42:40 +0100268ec-thread-summary material-expansionpanel ec-safe-html.body,
269 material-expansionpanel .issue-tracking-work-state {
avm999630bc113a2020-09-07 13:02:11 +0200270 color: var(--TWPT-primary-text)!important;
271}
272
Adrià Vilanova Martínez0d15aeb2021-07-26 15:18:43 +0200273/*
274 * The following section changes the styles of the checkboxes in thread lists,
275 * based in the styles defined in the "Checkbox input" section.
276 **/
Adrià Vilanova Martínezfb2169a2021-07-09 00:26:37 +0200277ec-thread-summary material-expansionpanel .action material-button,
278 ec-thread-list material-checkbox material-icon,
279 ec-thread-summary material-expansionpanel .star-button:not(.starred) {
280 color: #696867!important; /* Custom value to match previous behavior */
281 opacity: 1!important;
282}
283
284ec-thread-list material-checkbox material-icon.filled {
285 color: #62a5ff!important; /* Custom value to contrast well with the background */
286}
287
Adrià Vilanova Martínez0d15aeb2021-07-26 15:18:43 +0200288/* .gm-icons is added by the SMEI_GOOGLE_MATERIAL_ICONS experiment. */
Adrià Vilanova Martínezfb2169a2021-07-09 00:26:37 +0200289ec-thread-list material-checkbox:focus:not(.disabled).gm-icons .icon,
290 .gm-icons ec-thread-list material-checkbox:focus:not(.disabled) .icon,
291 ec-thread-list material-checkbox:hover:not(.disabled).gm-icons .icon,
292 .gm-icons ec-thread-list material-checkbox:hover:not(.disabled) .icon {
293 color: #807d7c!important; /* custom value */
294}
295
296ec-thread-list material-checkbox:focus:not(.disabled).gm-icons .icon.filled,
297 .gm-icons ec-thread-list material-checkbox:focus:not(.disabled) .icon.filled,
298 ec-thread-list material-checkbox:hover:not(.disabled).gm-icons .icon.filled,
299 .gm-icons ec-thread-list material-checkbox:hover:not(.disabled) .icon.filled {
300 color: #92c1ff!important; /* custom value */
301}
302
avm99963b2329632021-02-06 20:05:34 +0100303/* Thread view (including review/live review components) */
avm999630bc113a2020-09-07 13:02:11 +0200304ec-question, .heading + .group, ec-message {
305 background-color: var(--TWPT-secondary-background)!important;
306}
307
avm99963b2329632021-02-06 20:05:34 +0100308ec-thread .no-review-needed {
309 background-color: #155829!important;
310 border-color: var(--TWPT-subtle-border)!important;
311}
312
313/* Review bar shown above the main message or replies */
314ec-review-bar {
avm999630bc113a2020-09-07 13:02:11 +0200315 background-color: var(--TWPT-active-background)!important;
316}
317
avm99963b2329632021-02-06 20:05:34 +0100318ec-review-bar material-chip {
319 background-color: var(--TWPT-button-background)!important;
320}
321
322ec-review-bar material-chip:not(.relevant-active):not(.active) {
avm99963b2329632021-02-06 20:05:34 +0100323 border-color: var(--TWPT-card-border)!important;
324}
325
326ec-review-bar material-chip:not(.relevant-active):not(.active) material-icon {
327 color: var(--TWPT-primary-text)!important;
328 fill: var(--TWPT-primary-text)!important;
329}
330
Adrià Vilanova Martínezc5d40aa2021-06-11 14:18:23 +0200331ec-review-bar material-chip:not(.relevant-active):not(.active) .content {
332 color: var(--TWPT-primary-text)!important;
333}
334
avm99963b2329632021-02-06 20:05:34 +0100335ec-review-bar material-chip.relevant-active {
Adrià Vilanova Martínezc5d40aa2021-06-11 14:18:23 +0200336 border-color: var(--TWPT-good-text)!important;
avm99963b2329632021-02-06 20:05:34 +0100337}
338
339ec-review-bar material-chip.relevant-active material-icon {
Adrià Vilanova Martínezc5d40aa2021-06-11 14:18:23 +0200340 color: var(--TWPT-good-text)!important;
341 fill: var(--TWPT-good-text)!important;
342}
343
344ec-review-bar material-chip.relevant-active .content {
345 color: var(--TWPT-good-text)!important;
avm99963b2329632021-02-06 20:05:34 +0100346}
347
348ec-review-bar material-chip.active {
Adrià Vilanova Martínezc5d40aa2021-06-11 14:18:23 +0200349 border-color: var(--TWPT-bad-text)!important;
avm99963b2329632021-02-06 20:05:34 +0100350}
351
352ec-review-bar material-chip.active material-icon {
Adrià Vilanova Martínezc5d40aa2021-06-11 14:18:23 +0200353 color: var(--TWPT-bad-text)!important;
354 fill: var(--TWPT-bad-text)!important;
355}
356
357ec-review-bar material-chip.active .content {
358 color: var(--TWPT-bad-text)!important;
avm99963b2329632021-02-06 20:05:34 +0100359}
360
avm999630bc113a2020-09-07 13:02:11 +0200361ec-message-header .header, ec-question .state, ec-question ec-thread-counts > span, ec-message ec-thread-counts > span {
362 color: var(--TWPT-secondary-text)!important;
363}
364
avm9996395da0772020-09-09 01:07:36 +0200365ec-question .alert, ec-message .alert {
avm999630bc113a2020-09-07 13:02:11 +0200366 background-color: var(--TWPT-active-background)!important;
367}
368
avm9996395da0772020-09-09 01:07:36 +0200369ec-question .alert material-icon, ec-message .alert material-icon {
avm999630bc113a2020-09-07 13:02:11 +0200370 color: var(--TWPT-primary-text)!important;
371}
372
avm9996395da0772020-09-09 01:07:36 +0200373ec-question .alert ec-icon, ec-message .alert ec-icon {
avm999630bc113a2020-09-07 13:02:11 +0200374 color: var(--TWPT-primary-text)!important;
375 fill: var(--TWPT-primary-text)!important;
376}
377
378ec-question .title {
379 color: var(--TWPT-primary-text-alt)!important;
380}
381
avm99963b2329632021-02-06 20:05:34 +0100382ec-user-link .name-text {
383 color: var(--TWPT-link)!important;
384}
385
386ec-message-header ec-avatar svg, ec-message-header .role,
387 ec-message .footer .role {
avm999630bc113a2020-09-07 13:02:11 +0200388 filter: brightness(1.5);
389}
390
391ec-question .body, ec-message .body {
392 color: var(--TWPT-primary-text)!important;
393}
394
395ec-question .thread-insert {
396 background: none!important;
397}
398
399ec-question .details-heading {
400 color: var(--TWPT-primary-text-alt) !important;
401}
402
Adrià Vilanova Martínez0ab61ea2021-06-03 20:25:18 +0200403ec-question .state-chips material-chip {
404 background-color: var(--TWPT-button-background)!important;
405 box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2),
406 0 1px 1px 0 rgba(0, 0, 0, 0.14),
407 0 1px 3px 0 rgba(0, 0, 0, 0.12);
408}
409
410ec-question .state-chips material-chip .content {
411 color: var(--TWPT-primary-text)!important;
412}
413
avm9996348c87d12021-04-09 13:00:21 +0200414ec-question .footer,
415 ec-ask-flow .content-disclaimer {
avm999630bc113a2020-09-07 13:02:11 +0200416 color: var(--TWPT-primary-text)!important;
417 background-color: var(--TWPT-active-background)!important;
418 border-top-color: var(--TWPT-card-border)!important;
419}
420
421.heading {
422 color: var(--TWPT-primary-text)!important;
423}
424
425.heading + .group,
426 .load-more-bar,
427 ec-message:not(:first-child),
428 .load-more-bar .load-more-button,
429 .load-more-bar .load-all-button {
430 border-color: var(--TWPT-card-border)!important;
431}
432
avm9996395da0772020-09-09 01:07:36 +0200433ec-message .type {
434 color: var(--TWPT-primary-text)!important;
435}
436
avm999630bc113a2020-09-07 13:02:11 +0200437ec-message .footer ec-relative-time,
438 ec-message .footer ec-safe-html {
439 color: var(--TWPT-secondary-text)!important;
440}
441
442ec-message .helpful-prompt {
443 color: var(--TWPT-primary-text)!important;
444}
445
446ec-question .me-too-button,
447 ec-question .subscribe-button,
448 ec-message .upvote-button,
449 ec-message .downvote-button {
450 color: var(--TWPT-secondary-text)!important;
avm99963a51c7612020-11-25 23:58:56 +0100451 background-color: var(--TWPT-button-background)!important;
avm999630bc113a2020-09-07 13:02:11 +0200452}
453
avm99963223416c2021-04-21 22:13:14 +0200454ec-message .alert {
455 color: var(--TWPT-secondary-text)!important;
456}
457
avm999630bc113a2020-09-07 13:02:11 +0200458ec-question .me-too-button.selected,
459 ec-question .subscribe-button.selected,
460 ec-message .upvote-button.selected,
461 ec-message .downvote-button.selected {
462 color: #4285f4!important;
463}
464
465.load-more-bar .load-more-button, .load-more-bar .load-all-button {
466 background-color: var(--TWPT-secondary-background)!important;
467}
468
469.locked-alert {
470 background-color: var(--TWPT-active-background)!important;
471 border: var(--TWPT-card-border)!important;
472}
473
474.locked-alert material-icon {
475 color: rgba(255, 255, 255, .38)!important;
476}
477
avm99963b2329632021-02-06 20:05:34 +0100478ec-thread button.reply.collapsed {
479 color: var(--TWPT-secondary-text)!important;
480}
481
avm999630bc113a2020-09-07 13:02:11 +0200482ec-thread .finished-question {
483 background-color: var(--TWPT-active-background)!important;
484 border: var(--TWPT-card-border)!important;
485}
486
avm99963ea9b23f2021-04-22 14:06:03 +0200487ec-thread .finished-question .next-question {
488 color: var(--TWPT-link)!important;
489 border-color: var(--TWPT-link)!important;
490}
491
avm999630bc113a2020-09-07 13:02:11 +0200492.material-content .action-bar material-button.has-activity {
493 color: #1a73e8!important;
494}
495
496.material-content .action-bar material-button.showing-sidebar {
497 background-color: var(--TWPT-active-background)!important;
498}
499
500ec-activity-panel .title-bar h3 {
501 color: #e8eaf2!important;
502}
503
504ec-activity-panel ec-activity {
505 color: var(--TWPT-secondary-text)!important;
506 border-color: var(--TWPT-card-border)!important;
507}
508
509ec-activity-panel ec-activity .message {
510 color: var(--TWPT-primary-text-alt)!important;
511}
512
513ec-activity-panel ec-activity .thread-title {
514 color: #c3bfbc!important;
515}
516
517/* Recommended answers - show in green where we've overwritten the colors */
518.recommended-answers {
519 color: #34a853!important;
520}
521
avm99963fb7107c2021-04-14 19:39:05 +0200522/* Suggested answers - show brighter blue */
523.suggested-icon {
524 color: var(--TWPT-blue-A100)!important;
525}
526
527/* Help button (shown in the suggested answers header) */
528.explanation-icon material-icon {
529 color: rgba(255, 255, 255, .54)!important;
530}
531
532/* Help button tooltip */
533.popup .paper-container {
534 background: var(--TWPT-drawer-background)!important;
535}
536
537.explanation-icon material-icon:hover {
538 color: var(--TWPT-blue-A100)!important;
539}
540
avm99963223416c2021-04-21 22:13:14 +0200541/* New thread and edit message views */
542material-stepper {
543 border-top-color: var(--TWPT-card-border)!important;
544}
545
avm999630bc113a2020-09-07 13:02:11 +0200546material-stepper .stepper-step-name,
547 material-stepper .purpose-title {
548 color: var(--TWPT-primary-text)!important;
549}
550
551ec-ask-flow .display-name-label,
avm99963223416c2021-04-21 22:13:14 +0200552 material-stepper .additional-details-label,
553 material-stepper .detail-label {
avm999630bc113a2020-09-07 13:02:11 +0200554 color: var(--TWPT-secondary-text)!important;
555}
556
avm99963223416c2021-04-21 22:13:14 +0200557material-stepper .stepper-step[selectable=true]:focus {
558 background-color: rgba(60, 64, 67, .24)!important;
559}
560
avm9996301818912021-05-24 11:53:18 +0200561/* Compose thread view */
562ec-thread-composer .main-content .title-label,
563 ec-thread-composer .main-content .post-label {
564 color: var(--TWPT-primary-text-alt)!important;
565}
566
567ec-thread-composer .main-content .title-input,
568 ec-thread-composer .main-content ec-rich-text-editor {
569 border-color: var(--TWPT-card-border)!important;
570}
571
572ec-thread-composer .main-content .title-alert {
Adrià Vilanova Martínezc5d40aa2021-06-11 14:18:23 +0200573 color: var(--TWPT-bad-text)!important;
avm9996301818912021-05-24 11:53:18 +0200574}
575
576ec-thread-composer material-drawer {
577 background-color: inherit!important;
578}
579
580ec-thread-composer material-drawer .right-panel {
581 border-left-color: var(--TWPT-card-border)!important;
582}
583
584ec-thread-composer material-drawer .panel-section-title {
585 color: var(--TWPT-primary-text)!important;
586}
587
588ec-thread-composer material-drawer .panel-section-divider {
589 border-color: var(--TWPT-card-border)!important;
590}
591
592ec-thread-composer material-drawer material-radio .radio-label {
593 color: var(--TWPT-primary-text-alt)!important;
594}
595
596ec-thread-composer material-drawer material-radio .radio-description,
597 ec-thread-composer material-drawer .settings-section .panel-section-item .select-label {
598 color: var(--TWPT-secondary-text)!important;
599}
600
avm9996348c87d12021-04-09 13:00:21 +0200601/* Note: see thread view section. There is a rule for the thread creation
602 * footer.
603 **/
604
Adrià Vilanova Martínez531cd072021-12-05 20:15:43 +0100605/* Chart in the profile view */
Adrià Vilanova Martínezd20e57e2021-10-13 23:12:13 +0200606ec-user bar-chart .axis text,
607 ec-unified-user sc-tailwind-shared-activity-chart .axis text {
avm999630bc113a2020-09-07 13:02:11 +0200608 fill: rgba(255, 255, 255, .54)!important;
609}
610
611ec-user bar-chart .axis path,
612 ec-user bar-chart .axis .gridline,
Adrià Vilanova Martínezd20e57e2021-10-13 23:12:13 +0200613 ec-user bar-chart .axis line,
614 ec-unified-user sc-tailwind-shared-activity-chart .axis path,
615 ec-unified-user sc-tailwind-shared-activity-chart .axis .gridline,
616 ec-unified-user sc-tailwind-shared-activity-chart .axis line {
avm999630bc113a2020-09-07 13:02:11 +0200617 stroke: rgba(255, 255, 255, .12)!important;
618}
619
620ec-user bar-chart .axis line.axis-zero-tick,
Adrià Vilanova Martínezd20e57e2021-10-13 23:12:13 +0200621 ec-user bar-chart .axis.x .tick-mark,
622 ec-unified-user sc-tailwind-shared-activity-chart .axis line.axis-zero-tick,
623 ec-unified-user sc-tailwind-shared-activity-chart .axis.x .tick-mark {
avm999630bc113a2020-09-07 13:02:11 +0200624 stroke: rgba(255, 255, 255, .38)!important;
625}
626
Adrià Vilanova Martínezd20e57e2021-10-13 23:12:13 +0200627ec-user bar-chart .aplos-legend-entry,
628 ec-unified-user sc-tailwind-shared-activity-chart .aplos-legend-entry {
avm999630bc113a2020-09-07 13:02:11 +0200629 color: var(--TWPT-secondary-text)!important;
630}
631
632.aplos-hovercard {
Adrià Vilanova Martínezd20e57e2021-10-13 23:12:13 +0200633 color: var(--TWPT-interop-secondary-text)!important;
avm999630bc113a2020-09-07 13:02:11 +0200634 background: var(--TWPT-secondary-background)!important;
Adrià Vilanova Martínezd20e57e2021-10-13 23:12:13 +0200635 border: none!important;
avm999630bc113a2020-09-07 13:02:11 +0200636}
637
638.aplos-hovercard .title {
639 color: var(--TWPT-primary-text)!important;
640}
641
642.aplos-hovercard .subtitle,
643 .aplos-donut-center .subtitle,
644 .aplos-hovercard .series,
645 .aplos-donut-center .series,
646 .aplos-hovercard .value,
647 .aplos-donut-center .value {
648 color: var(--TWPT-secondary-text)!important;
649}
650
Adrià Vilanova Martínezd20e57e2021-10-13 23:12:13 +0200651/*
652 * IMPORTANT NOTICE:
653 * Note: the following styles (for interop components) have been written by
654 * Googlers and thus are not included as part of the MIT license. This also
655 * applies to the styles of the unified profiles.
656 **/
657
658/* Common styles for interop components */
659.scSharedCalloutroot {
660 color: var(--TWPT-interop-primary-text)!important;
661}
662
663.scSharedCallouterror {
664 background-color: #523a3b!important;
665 border-color: #f9dedc!important;
666}
667
668.scSharedCallouterror sc-shared-material-icon {
669 color: #f9dedc!important;
670}
671
672.scSharedCallouterror>.scSharedCalloutsecondary-button button {
673 color: #ec928e!important;
674}
675
676.scSharedCalloutcaution {
677 background-color: #554c33!important;
678 border-color: #ffdf99!important;
679}
680
681.scSharedCalloutcaution sc-shared-material-icon {
682 color: #ffdf99!important;
683}
684
685.scSharedCalloutcaution>.scSharedCalloutsecondary-button button {
686 color: #f09d00!important;
687}
688
689.scSharedCalloutinformational {
690 background-color: #394457!important;
691 border-color: #d3e3fd!important;
692}
693
694.scSharedCalloutinformational sc-shared-material-icon {
695 color: #d3e3fd!important;
696}
697
698.scSharedCalloutinformational>.scSharedCalloutsecondary-button button {
699 color: #7cacf8!important;
700}
701
702.scSharedCalloutsuccess {
703 background-color: #37493f!important;
704 border-color: #c4eed0!important;
705}
706
707.scSharedCalloutsuccess sc-shared-material-icon {
708 color: #c4eed0!important;
709}
710
711.scSharedCalloutsuccess>.scSharedCalloutsecondary-button button {
712 color: #37be5f!important;
713}
714
715.scSharedMaterialbuttonroot:disabled {
716 color: rgba(227, 227, 227, 0.369)!important;
717}
718
719.scSharedMaterialbuttontext {
720 color: #7cacf8!important;
721}
722
723.scSharedMaterialbuttoncolor-label {
724 color: var(--TWPT-interop-secondary-text)!important;
725}
726
727.scSharedMaterialbuttoncolor-hint {
728 color: var(--TWPT-interop-secondary-text)!important;
729}
730
731.scSharedMaterialbuttonnavigational {
732 color: var(--TWPT-interop-primary-text)!important;
733}
734
735.scSharedMaterialbuttonnavigational-alt {
736 color: var(--TWPT-interop-secondary-text)!important;
737}
738
739.scSharedMaterialbuttonhairline {
740 border-color: var(--TWPT-interop-subtle-border)!important;
741 color: #7cacf8!important;
742}
743
744.scSharedMaterialbuttonhairline:disabled {
745 border-color: rgba(227, 227, 227, 0.369)!important;
746}
747
748.scSharedMaterialbuttonhairline:hover,
749 .scSharedMaterialbuttonhairline:focus {
750 border-color: rgba(124, 172, 248, 0.239)!important;
751}
752
753.scSharedMaterialbuttonhairline:active {
754 box-shadow: 0 1px 2px 0 rgba(124, 172, 248, 0.302), 0 1px 3px 1px rgba(124, 172, 248, 0.149)!important;
755}
756
757.scSharedMaterialbuttontonal {
758 color: #7cacf8!important;
759 background: #394457!important;
760}
761
762.scSharedMaterialbuttontonal:hover {
763 box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.302), 0 1px 3px 1px rgba(0, 0, 0, 0.149)!important;
764}
765
766.scSharedMaterialbuttontonal:active {
767 box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.302), 0 2px 6px 2px rgba(0, 0, 0, 0.149)!important;
768}
769
770.scSharedMaterialbuttontonal:disabled {
771 background: rgba(227, 227, 227, 0.122)!important;
772}
773
774.scSharedMaterialbuttonfilled {
775 background: #7cacf8!important;
776 color: #1f1f1f!important;
777}
778
779.scSharedMaterialbuttonfilled:disabled {
780 background: rgba(227, 227, 227, 0.122)!important;
781}
782
783.scSharedMaterialbuttonfilled:hover,
784 .scSharedMaterialbuttonfilled:focus {
785 box-shadow: 0 1px 2px 0 rgba(124, 172, 248, 0.302), 0 1px 3px 1px rgba(124, 172, 248, 0.149)!important;
786}
787
788.scSharedMaterialbuttonfilled:active {
789 box-shadow: 0 1px 3px 0 rgba(124, 172, 248, 0.302), 0 4px 8px 3px rgba(124, 172, 248, 0.149)!important;
790}
791
792.scSharedMaterialbuttonprotected {
793 box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.302), 0 1px 3px 1px rgba(0, 0, 0, 0.149)!important;
794 background: #1f1f1f!important;
795 color: #7cacf8!important;
796}
797
798.scSharedMaterialbuttonprotected:disabled {
799 background: rgba(227, 227, 227, 0.122)!important;
800}
801
802.scSharedMaterialbuttonprotected:hover {
803 box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.302), 0 1px 3px 1px rgba(0, 0, 0, 0.149)!important;
804}
805
806.scSharedMaterialbuttonprotected:focus {
807 box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.302), 0 2px 6px 2px rgba(0, 0, 0, 0.149)!important;
808}
809
810.scSharedMaterialbuttonprotected:active {
811 box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.302), 0 4px 8px 3px rgba(0, 0, 0, 0.149)!important;
812}
813
814.scSharedExpandabletextexpander {
815 color: #7cacf8!important;
816}
817
818.scSharedMaterialborderfilled {
819 background: #313235!important;
820 border-bottom: 1px solid var(--TWPT-interop-secondary-text)!important;
821}
822
823.scSharedMaterialborderfilled-error {
824 border-bottom-color: #ec928e!important;
825}
826
827.scSharedMaterialborderfilled-bottom {
828 background-color: #7cacf8!important;
829}
830
831.scSharedMaterialborderfilled-label {
832 color: var(--TWPT-interop-secondary-text)!important;
833}
834
835.scSharedMaterialborderfilled-label-focused {
836 color: #7cacf8!important;
837}
838
839.scSharedMaterialborderlabel {
840 color: var(--TWPT-interop-secondary-text)!important;
841}
842
843.scSharedMaterialborderleft {
844 border-bottom-color: var(--TWPT-interop-secondary-text)!important;
845 border-left-color: var(--TWPT-interop-secondary-text)!important;
846 border-top-color: var(--TWPT-interop-secondary-text)!important;
847}
848
849.scSharedMaterialborderleft-error {
850 border-bottom-color: #ec928e!important;
851 border-left-color: #ec928e!important;
852 border-top-color: #ec928e!important;
853}
854
855.scSharedMaterialbordermid {
856 border-bottom-color: var(--TWPT-interop-secondary-text)!important;
857 border-top-color: var(--TWPT-interop-secondary-text)!important;
858}
859
860.scSharedMaterialbordermid-error {
861 border-bottom-color: #ec928e!important;
862 border-top-color: #ec928e!important;
863}
864
865.scSharedMaterialborderright {
866 border-bottom-color: var(--TWPT-interop-secondary-text)!important;
867 border-right-color: var(--TWPT-interop-secondary-text)!important;
868 border-top-color: var(--TWPT-interop-secondary-text)!important;
869}
870
871.scSharedMaterialborderright-error {
872 border-bottom-color: #ec928e!important;
873 border-right-color: #ec928e!important;
874 border-top-color: #ec928e!important;
875}
876
877.scSharedMaterialborderfocused {
878 border-color: #7cacf8!important;
879}
880
881.scSharedMaterialborderdisabled {
882 border-color: var(--TWPT-interop-subtle-border)!important;
883}
884
885.scSharedMaterialborderlabel-focused {
886 color: #7cacf8!important;
887}
888
889.scSharedMaterialborderlabel-disabled {
890 color: rgba(255, 255, 255, 0.239)!important;
891}
892
893.scSharedMaterialborderlabel-error {
894 color: #ec928e!important;
895}
896
897.scSharedMaterialcheckboxcheckbox {
898 color: #7cacf8!important;
899}
900
901.scSharedMaterialcheckboxbox {
902 border-color: var(--TWPT-interop-secondary-text)!important;
903}
904
905.scSharedMaterialcheckboxcheckmark-path {
906 stroke: #1f1f1f!important;
907}
908
909.scSharedMaterialcheckboxmixedmark {
910 border-color: #1f1f1f!important;
911}
912
913.scSharedMaterial_dialogDialogcontentloading-overlay {
914 background: rgba(227, 227, 227, 0.122)!important;
915}
916
917.scSharedMaterialpopupbackground {
918 box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.302), 0 1px 3px 1px rgba(0, 0, 0, 0.149)!important;
919 background: #2a2b2f!important;
920 border: 1px solid var(--TWPT-interop-subtle-border)!important;
921}
922
923.scSharedMaterialmenuroot {
924 box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.302), 0 1px 3px 1px rgba(0, 0, 0, 0.149)!important;
925 background: #2a2b2f!important;
926}
927
928.scSharedMaterialmenuitem {
929 color: var(--TWPT-interop-primary-text)!important;
930}
931
932.scSharedMaterialmenuitem-separator {
933 border-top-color: var(--TWPT-interop-subtle-border)!important;
934}
935
936.scSharedMaterialmenuhighlight:focus,
937 .scSharedMaterialmenuhighlight:hover {
938 background-color: #394457!important;
939}
940
941.scSharedMaterialmenuhighlight:focus {
942 outline: auto #7cacf8 1px!important;
943}
944
945.scSharedMaterialsnackbarsnackbar {
946 background: var(--TWPT-interop-primary-text)!important;
947 color: #1f1f1f!important;
948}
949
950.scSharedMaterialsnackbaraction button {
951 color: #0b57d0!important;
952}
953
954.scSharedMaterialtabbartab {
955 color: var(--TWPT-interop-primary-text)!important;
956}
957
958.scSharedMaterialtabbartab:hover,
959 .scSharedMaterialtabbartab:focus {
960 background-color: #313235!important;
961}
962
963.scSharedMaterialtabbarselected {
964 border-bottom-color: #7cacf8!important;
965 color: #7cacf8!important;
966}
967
968.scSharedMaterialtextfieldlabel {
969 color: var(--TWPT-interop-primary-text)!important;
970}
971
972.scSharedMaterialtextfieldnative-control {
973 caret-color: #7cacf8!important;
974 color: var(--TWPT-interop-primary-text)!important;
975}
976
977.scSharedMaterialtextfieldinvalid .scSharedMaterialtextfieldnative-control {
978 caret-color: #ec928e!important;
979}
980
981.scSharedMaterialtextfieldnative-control:disabled {
982 color: var(--TWPT-interop-secondary-text)!important;
983}
984
985.scSharedMaterialtextfieldfocused .scSharedMaterialtextfieldlabel {
986 color: #7cacf8!important;
987}
988
989.scSharedMaterialtextfieldinvalid .scSharedMaterialtextfieldlabel {
990 color: #ec928e!important;
991}
992
993.scSharedMaterialtextfielddisabled .scSharedMaterialtextfieldlabel {
994 color: var(--TWPT-interop-secondary-text)!important;
995}
996
997.scSharedMaterialtextfieldhelper-text {
998 color: var(--TWPT-interop-secondary-text)!important;
999}
1000
1001.scSharedMaterialtextfieldhelper-text-invalid {
1002 color: #ec928e!important;
1003}
1004
1005.scSharedMaterialtextfieldhelper-text-disabled {
1006 color: var(--TWPT-interop-secondary-text)!important;
1007}
1008
1009.scTailwindSharedActivitychartroot {
1010 border: 1px solid var(--TWPT-interop-subtle-border)!important;
1011}
1012
1013.scTailwindSharedAvataravatar-loading {
1014 background: #1f1f1f!important;
1015}
1016
1017.scTailwindSharedReportabusedialogcontent .abuse-link {
1018 color: #7cacf8!important;
1019}
1020
1021/* Unified profile view */
1022.scTailwindUser_profileAchievementsempty a,
1023 .scTailwindUser_profileAchievementsempty a:visited,
1024 sc-tailwind-user_profile-user-profile .link-icon {
1025 color: #7cacf8!important;
1026}
1027
1028.scTailwindUser_profileBiosectionsection-heading {
1029 color: var(--TWPT-interop-secondary-text)!important;
1030}
1031
1032.scTailwindUser_profileBiosectionbio {
1033 color: var(--TWPT-interop-primary-text)!important;
1034}
1035
1036.scTailwindUser_profileBiosectionlinks,
1037 .scTailwindUser_profileBiosectionlink {
1038 color: #7cacf8!important;
1039}
1040
1041.scTailwindUser_profileBiosectioninput-label {
1042 color: var(--TWPT-interop-secondary-text)!important;
1043}
1044
1045.scTailwindUser_profileEmaildisplayemail-display {
1046 color: var(--TWPT-interop-secondary-text)!important;
1047}
1048
1049.scTailwindUser_profileEmaildisplayshow-email {
1050 color: #7cacf8!important;
1051}
1052
1053.scTailwindUser_profileMessagecardthread-link {
1054 color: var(--TWPT-interop-secondary-text)!important;
1055}
1056
1057.scTailwindUser_profileMessagecardlabel {
1058 color: var(--TWPT-interop-secondary-text)!important;
1059}
1060
1061.scTailwindUser_profileMessagecardcontent {
1062 border-left: 2px solid var(--TWPT-interop-subtle-border)!important;
1063 color: var(--TWPT-interop-primary-text)!important;
1064}
1065
1066.scTailwindUser_profileMessagecardcount {
1067 color: var(--TWPT-interop-secondary-text)!important;
1068}
1069
1070.scTailwindUser_profileMessagecardrecommended-answer {
1071 color: #6dd58c!important;
1072}
1073
1074.scTailwindUser_profileMessagecardrecommended-answer .icon {
1075 background-color: #6dd58c!important;
1076 color: #1f1f1f!important;
1077}
1078
1079sc-tailwind-user_profile-user-profile .notificationIcon {
1080 color: var(--TWPT-interop-secondary-text)!important;
1081}
1082
1083sc-tailwind-user_profile-user-profile .deleteIcon,
1084 sc-tailwind-user_profile-user-profile .reportAbuseIcon,
1085 sc-tailwind-user_profile-user-profile .reactivateIcon {
1086 color: var(--TWPT-interop-secondary-text)!important;
1087}
1088
1089.scTailwindUser_profilePosthistorysection+.scTailwindUser_profilePosthistorysection {
1090 border-top-color: var(--TWPT-interop-subtle-border)!important;
1091}
1092
1093.scTailwindUser_profilePosthistorycontent,
1094 .scTailwindUser_profilePosthistoryheader,
1095 .scTailwindUser_profilePosthistoryerror {
1096 border-color: var(--TWPT-interop-subtle-border)!important;
1097}
1098
1099.scTailwindUser_profileThreadcardtitle {
1100 color: var(--TWPT-interop-primary-text)!important;
1101}
1102
1103.scTailwindUser_profileThreadcardlabel {
1104 color: var(--TWPT-interop-secondary-text)!important;
1105}
1106
1107.scTailwindUser_profileThreadcardcontent {
1108 color: var(--TWPT-interop-primary-text)!important;
1109}
1110
1111.scTailwindUser_profileThreadcardcount {
1112 color: var(--TWPT-interop-secondary-text)!important;
1113}
1114
1115.scTailwindUser_profileThreadcardreply .icon {
1116 color: var(--TWPT-interop-secondary-text)!important;
1117}
1118
1119.scTailwindUser_profileThreadcardrecommended-answer {
1120 color: #6dd58c!important;
1121}
1122
1123.scTailwindUser_profileThreadcardrecommended-answer .icon {
1124 background-color: #6dd58c!important;
1125 color: #1f1f1f!important;
1126}
1127
1128.scTailwindUser_profileUsercardroot {
1129 border: 1px solid var(--TWPT-interop-subtle-border)!important;
1130}
1131
1132.scTailwindUser_profileUsercardinput-label {
1133 color: var(--TWPT-interop-secondary-text)!important;
1134}
1135
1136.scTailwindUser_profileUsercardheadline {
1137 color: var(--TWPT-interop-primary-text)!important;
1138}
1139
1140.scTailwindUser_profileUsercarddetails {
1141 color: var(--TWPT-interop-secondary-text)!important;
1142}
1143
1144.scTailwindUser_profileUsercardlinks,
1145 .scTailwindUser_profileUsercardlink {
1146 color: #7cacf8!important;
1147}
1148
1149.scTailwindUser_profileUsercardhorizontal-separator {
1150 background-color: var(--TWPT-interop-subtle-border)!important;
1151 color: var(--TWPT-interop-subtle-border)!important;
1152}
1153
1154.scTailwindUser_profileUsercardsection-heading {
1155 color: var(--TWPT-interop-secondary-text)!important;
1156}
1157
avm999630bc113a2020-09-07 13:02:11 +02001158/* Duplicate thread feature */
1159.search-results ec-thread-option material-expansionpanel .panel {
1160 background-color: var(--TWPT-primary-background)!important;
1161}
1162
1163.search-results ec-thread-option material-expansionpanel.selected .panel,
1164 .search-results ec-thread-option material-expansionpanel .panel > .main-header > .header.closed:hover,
1165 .search-results ec-thread-option material-expansionpanel .panel > .main-header > .header.closed:focus {
1166 background-color: #17191c!important;
1167}
1168
1169/* Disabled buttons */
1170material-button[disabled] {
1171 color: rgba(255, 255, 255, .26)!important;
1172}
1173
1174/* Material icons */
1175ec-filter-drawer-item material-icon,
1176 ec-filter-drawer-item ec-icon,
1177 material-drawer .drawer-section material-icon,
1178 material-drawer .drawer-section ec-icon,
1179 material-list material-icon,
1180 ec-query-builder material-icon,
avm999630bc113a2020-09-07 13:02:11 +02001181 ec-thread-summary material-expansionpanel .title material-icon,
1182 .search-results ec-thread-option material-icon,
1183 .search-results ec-thread-option ec-icon,
1184 ec-rich-text-editor material-icon,
1185 ec-editor-command material-icon,
avm99963223416c2021-04-21 22:13:14 +02001186 ec-canned-responses ec-canned-response-row material-icon,
1187 ec-ask-flow > .header material-button {
avm999630bc113a2020-09-07 13:02:11 +02001188 color: rgba(255, 255, 255, .87)!important;
1189}
1190
1191material-drawer ec-icon,
avm99963223416c2021-04-21 22:13:14 +02001192 .search-results ec-thread-option ec-icon,
avm9996315b23d72021-04-26 18:07:15 +02001193 ec-thread-summary material-expansionpanel .title ec-icon,
1194 ec-announcements-menu-item ec-icon {
avm999630bc113a2020-09-07 13:02:11 +02001195 fill: rgba(255, 255, 255, .87)!important;
1196}
1197
1198/* Dialogs */
1199material-dialog, material-dialog .dialog-header {
1200 background-color: var(--TWPT-primary-background)!important;
1201}
1202
1203ec-movable-dialog[showminimize] material-dialog .dialog-header {
1204 background-color: #d2e3fc!important;
1205}
1206
1207material-dialog .title {
1208 color: var(--TWPT-primary-text-alt)!important;
1209}
1210
1211ec-movable-dialog[showminimize] material-dialog .dialog-header .title, ec-movable-dialog[showminimize] material-dialog header material-icon {
1212 color: var(--TWPT-primary-background)!important;
1213}
1214
1215ec-movable-dialog[showminimize] material-dialog .header-notice, material-dialog .legal-prompt {
1216 background-color: #170f01!important;
1217}
1218
avm99963223416c2021-04-21 22:13:14 +02001219ec-movable-dialog[showminimize] material-dialog .main .header-notice material-icon[icon="info_outline"] {
1220 color: var(--TWPT-blue-A100)!important;
1221}
1222
avm999630bc113a2020-09-07 13:02:11 +02001223material-dialog .section-title,
1224 material-dialog .select-label,
1225 material-dialog .input-label,
1226 material-dialog .btn-no,
1227 ec-display-name-editor,
1228 .forum-selection-label {
1229 color: var(--TWPT-secondary-text)!important;
1230}
1231
avm9996301818912021-05-24 11:53:18 +02001232material-dialog main > .user {
1233 border-bottom-color: var(--TWPT-card-border)!important;
1234}
1235
avm999630bc113a2020-09-07 13:02:11 +02001236ec-movable-dialog[showminimize] material-dialog footer > [footer] > .footer > [footer] > simple-html {
1237 color: var(--TWPT-secondary-text)!important;
1238 background-color: var(--TWPT-active-background)!important;
1239 border-top-color: #25231f!important;
1240}
1241
avm9996301818912021-05-24 11:53:18 +02001242ec-movable-dialog[showminimize] material-dialog footer > [footer] > .footer > [footer] > simple-html a {
1243 color: var(--TWPT-link)!important;
1244}
1245
avm999630bc113a2020-09-07 13:02:11 +02001246/* Keyboard shortcuts dialog */
Adrià Vilanova Martínezd28af562021-09-19 22:27:55 +02001247material-dialog .main.with-scroll-strokes table th {
avm999630bc113a2020-09-07 13:02:11 +02001248 color: var(--TWPT-primary-text)!important;
1249}
1250
Adrià Vilanova Martínezd28af562021-09-19 22:27:55 +02001251material-dialog .main.with-scroll-strokes table td {
1252 color: var(--TWPT-primary-text-alt)!important;
1253}
1254
1255material-dialog .main.with-scroll-strokes table tr,
1256 material-dialog .main.with-scroll-strokes .shortcut {
1257 border-color: var(--TWPT-card-border)!important;
1258}
1259
1260material-dialog .main.with-scroll-strokes.bottom-scroll-stroke {
1261 border-bottom-color: var(--TWPT-card-border)!important;
1262}
1263
1264material-dialog .main.with-scroll-strokes.top-scroll-stroke {
1265 border-top-color: var(--TWPT-card-border)!important;
1266}
1267
avm999630bc113a2020-09-07 13:02:11 +02001268/* Rich text editor */
1269ec-editor-command material-button,
1270 ec-formatting-popup material-button {
1271 box-shadow: none!important;
1272}
1273
1274ec-editor-command material-button.is-active {
1275 background: var(--TWPT-active-background)!important;
1276}
1277
1278ec-rich-text-editor .placeholder {
1279 color: rgba(255, 255, 255, .38)!important;
1280}
1281
avm9996301818912021-05-24 11:53:18 +02001282ec-rich-text-editor .input-wrapper,
1283 ec-rich-text-editor .spacer {
1284 border-color: var(--TWPT-card-border)!important;
1285}
1286
1287ec-rich-text-editor .input-wrapper.input-wrapper--focused {
1288 border-color: var(--TWPT-blue-A100)!important;
1289}
1290
avm999630bc113a2020-09-07 13:02:11 +02001291ec-rich-text-editor .input {
1292 color: var(--TWPT-primary-text)!important;
1293}
1294
1295ec-rich-text-editor .hint {
1296 color: rgba(255, 255, 255, .54)!important;
1297}
1298
1299material-select-searchbox + material-list material-list-item {
1300 color: rgba(255, 255, 255, .87)!important;
1301}
1302
1303ec-attachment .filename {
1304 color: var(--TWPT-primary-text)!important;
1305}
1306
1307/* Thread insert */
1308ec-thread-insert .title {
1309 color: var(--TWPT-primary-text)!important;
1310}
1311
1312ec-thread-insert ec-thread-counts,
1313 ec-thread-insert .details,
1314 ec-thread-insert ec-relative-time {
1315 color: rgba(255, 255, 255, .54)!important;
1316}
1317
1318/* Text input */
1319material-input input {
1320 color: var(--TWPT-primary-text)!important;
1321}
1322
1323material-input .label-text,
1324 material-input .hint-text,
1325 material-input .counter {
1326 color: rgba(255, 255, 255, .54)!important;
1327}
1328
1329material-input .underline .unfocused-underline {
avm99963223416c2021-04-21 22:13:14 +02001330 background-color: var(--TWPT-input-underline)!important;
avm999630bc113a2020-09-07 13:02:11 +02001331}
1332
avm9996301818912021-05-24 11:53:18 +02001333material-input .underline .focused-underline {
1334 background-color: var(--TWPT-blue-A100)!important;
1335}
1336
avm999630bc113a2020-09-07 13:02:11 +02001337label .label {
1338 color: var(--TWPT-primary-text)!important;
1339}
1340
1341/* Input underline */
1342material-input .underline .unfocused-underline,
1343 material-dropdown-select dropdown-button [buttondecorator] {
avm9996301818912021-05-24 11:53:18 +02001344 border-color: var(--TWPT-input-underline)!important;
avm999630bc113a2020-09-07 13:02:11 +02001345}
1346
Adrià Vilanova Martínez9605cb82021-09-07 13:04:10 +02001347/* Checkbox input (except for forum checkboxes in the drawer) */
Adrià Vilanova Martínezdd8075f2021-09-08 21:57:32 +02001348material-checkbox material-icon:not(ec-forum-drawer-item material-icon, ec-thread-list material-icon),
1349 material-checkbox .content:not(ec-forum-drawer-item material-icon, ec-thread-list material-icon) {
avm999630bc113a2020-09-07 13:02:11 +02001350 color: var(--TWPT-secondary-text)!important;
1351}
1352
Adrià Vilanova Martínez0d15aeb2021-07-26 15:18:43 +02001353/* .gm-icons is added by the SMEI_GOOGLE_MATERIAL_ICONS experiment. */
Adrià Vilanova Martínezdd8075f2021-09-08 21:57:32 +02001354material-checkbox material-icon.filled:not(ec-forum-drawer-item material-icon, ec-thread-list material-icon) {
Adrià Vilanova Martínez0d15aeb2021-07-26 15:18:43 +02001355 color: var(--TWPT-blue-A100)!important;
1356}
1357
1358material-checkbox:focus:not(.disabled).gm-icons .icon,
1359 .gm-icons material-checkbox:focus:not(.disabled) .icon,
1360 material-checkbox:hover:not(.disabled).gm-icons .icon,
1361 .gm-icons material-checkbox:hover:not(.disabled) .icon {
1362 color: #cfd2d8!important; /* custom value */
1363}
1364
1365material-checkbox:focus:not(.disabled).gm-icons .icon.filled,
1366 .gm-icons material-checkbox:focus:not(.disabled) .icon.filled,
1367 material-checkbox:hover:not(.disabled).gm-icons .icon.filled,
1368 .gm-icons material-checkbox:hover:not(.disabled) .icon.filled {
1369 color: var(--TWPT-blue-100)!important;
1370}
1371
1372.gm-icons material-checkbox .icon-container::before{
1373 background-color: #dfdedb!important; /* custom value */
1374}
1375
1376/* Radio input */
1377material-radio .icon-container:not(.checked) material-icon {
1378 color: var(--TWPT-secondary-text)!important;
1379}
1380
1381material-radio .icon-container.checked material-icon {
1382 color: var(--TWPT-blue-A100)!important;
1383}
1384
1385/* Material switch */
1386.mdc-switch:not(.mdc-switch--checked) .mdc-switch__track {
1387 background-color: #7d7d7d!important; /* custom value */
1388}
1389
1390.mdc-switch:not(.mdc-switch--checked) .mdc-switch__thumb {
1391 border-color: #fff!important; /* custom value */
1392}
1393
1394.mdc-switch.mdc-switch--checked .mdc-switch__track {
1395 background-color: var(--TWPT-blue-A100)!important;
1396}
1397
1398.mdc-switch.mdc-switch--checked .mdc-switch__thumb {
1399 border-color: var(--TWPT-blue-A100)!important;
1400}
1401
avm999630bc113a2020-09-07 13:02:11 +02001402/* Material menu button and dropdown select */
1403material-menu material-button, material-dropdown-select dropdown-button {
avm99963223416c2021-04-21 22:13:14 +02001404 color: var(--TWPT-primary-text)!important;
avm999630bc113a2020-09-07 13:02:11 +02001405}
1406
avm9996348c87d12021-04-09 13:00:21 +02001407material-dropdown-select dropdown-button .button.is-disabled .button-text,
1408 material-dropdown-select dropdown-button .button.is-disabled material-icon {
1409 color: rgba(255, 255, 255, .32)!important;
avm999630bc113a2020-09-07 13:02:11 +02001410}
1411
1412/* Announcements content */
avm99963223416c2021-04-21 22:13:14 +02001413ec-announcements-content .header,
1414 ec-announcements-content .no-announcements,
1415 ec-announcements-content .announcement {
1416 border-bottom-color: var(--TWPT-card-border)!important;
1417}
1418
avm999630bc113a2020-09-07 13:02:11 +02001419ec-announcements-content .header .title, ec-announcements-content .announcement-title {
1420 color: var(--TWPT-primary-text-alt)!important;
1421}
1422
avm9996315b23d72021-04-26 18:07:15 +02001423ec-announcements-content .announcement-date {
1424 color: var(--TWPT-secondary-text)!important;
1425}
1426
avm999630bc113a2020-09-07 13:02:11 +02001427ec-announcements-content .no-announcements-message {
1428 color: #c3bfbc!important;
1429}
1430
avm9996315b23d72021-04-26 18:07:15 +02001431ec-announcements-content .view-all-link,
1432 ec-announcements-content .read-more-button {
avm99963223416c2021-04-21 22:13:14 +02001433 color: var(--TWPT-link)!important;
1434}
1435
avm9996315b23d72021-04-26 18:07:15 +02001436ec-announcements-content ::-webkit-scrollbar-thumb {
1437 background-color: rgba(255, 255, 255, .26)!important;
1438}
1439
1440ec-announcements-content ::-webkit-scrollbar-thumb:hover {
1441 background-color: #4285f4!important;
1442}
1443
avm99963b2329632021-02-06 20:05:34 +01001444/* Generic popup (for notification bell, account selector, etc.) */
1445.popup-wrapper .header-text {
1446 color: var(--TWPT-primary-text)!important;
1447}
1448
avm9996348c87d12021-04-09 13:00:21 +02001449/* Notifications bell popup/panel */
Adrià Vilanova Martínez47d33bc2021-08-14 18:50:50 +02001450.notification-panel .header {
1451 border-bottom-color: var(--TWPT-card-border)!important;
1452}
1453
avm9996348c87d12021-04-09 13:00:21 +02001454.notification-panel .header material-button {
1455 color: var(--TWPT-secondary-text)!important;
1456}
1457
1458.notification-panel .cards-container .promo-message {
1459 color: var(--TWPT-secondary-text)!important;
1460}
1461
1462.notification-panel .cards-container .promo-message .header-text {
1463 color: var(--TWPT-primary-text)!important;
1464}
1465
Adrià Vilanova Martínez47d33bc2021-08-14 18:50:50 +02001466.notification-panel .cards-container ec-notification-card-content {
1467 border-bottom-color: var(--TWPT-card-border)!important;
1468}
1469
1470.notification-panel .cards-container ec-notification-card-content .text {
1471 color: var(--TWPT-primary-text)!important;
1472}
1473
1474.notification-panel .cards-container ec-notification-card-content .time,
1475 .notification-panel .cards-container ec-notification-card-content .close material-button {
1476 color: var(--TWPT-secondary-text)!important;
1477}
1478
avm999630bc113a2020-09-07 13:02:11 +02001479/* Account selector */
1480.popup-wrapper .profile .email {
1481 color: rgba(255, 255, 255, .54)!important;
1482}
1483
1484material-gaia-picker-footer {
1485 color: rgba(255, 255, 255, .54)!important;
1486 background-color: var(--TWPT-active-background)!important;
1487}
1488
avm9996348c87d12021-04-09 13:00:21 +02001489material-gaia-picker-footer material-button {
1490 color: var(--TWPT-secondary-text)!important;
1491}
1492
avm999630bc113a2020-09-07 13:02:11 +02001493/* Canned responses */
1494ec-canned-responses .filter-label,
avm9996325a0d602020-11-25 19:24:16 +01001495 ec-canned-responses ec-canned-response-row .name {
avm999630bc113a2020-09-07 13:02:11 +02001496 color: var(--TWPT-primary-text)!important;
1497}
1498
avm9996325a0d602020-11-25 19:24:16 +01001499ec-canned-responses .label-row,
1500 ec-canned-responses ec-canned-response-row .snippet,
1501 ec-canned-responses ec-canned-response-row .tag {
1502 color: var(--TWPT-secondary-text)!important;
1503}
1504
avm999630bc113a2020-09-07 13:02:11 +02001505ec-canned-responses ec-canned-response-row .header.closed:hover,
1506 ec-canned-responses ec-canned-response-row .header.closed:focus,
1507 ec-canned-responses ec-canned-response-row .header.closed:hover .toolbar,
1508 ec-canned-responses ec-canned-response-row .header.closed:focus .toolbar {
1509 background-color: var(--TWPT-active-background)!important;
1510}
1511
avm9996325a0d602020-11-25 19:24:16 +01001512ec-canned-responses .filter-row,
1513 ec-canned-responses .label-row,
1514 ec-canned-responses ec-canned-response-row material-expansionpanel {
1515 border-bottom-color: var(--TWPT-subtle-border)!important;
1516}
1517
avm999630bc113a2020-09-07 13:02:11 +02001518/* Reply button */
Adrià Vilanova Martínez1d44d3d2021-07-26 15:34:19 +02001519material-fab.reply-button,
1520 material-fab.reply-fab {
avm999630bc113a2020-09-07 13:02:11 +02001521 background-color: var(--TWPT-link)!important;
1522 color: var(--TWPT-primary-background)!important;
1523}
1524
avm99963223416c2021-04-21 22:13:14 +02001525/* Settings view */
1526ec-settings .forum-language-container {
1527 border-bottom-color: var(--TWPT-subtle-border)!important;
1528}
1529
1530ec-settings .forum-language-container material-button {
1531 color: var(--TWPT-secondary-text)!important;
1532}
1533
Adrià Vilanova Martínez3356df72021-07-09 19:27:04 +02001534/* Loading spinner */
1535material-spinner {
1536 border-color: var(--TWPT-blue-A100)!important;
1537}
1538
avm99963f5923962020-12-07 16:44:37 +01001539/* Custom injected components */
1540.TWPT-log {
1541 background-color: #424242!important;
1542}
1543
1544.TWPT-log-entry.TWPT-log-entry--error {
1545 color: #ff8A80!important;
1546}