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