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