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