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