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