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