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