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