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