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); |
Adrià Vilanova Martínez | 0d15aeb | 2021-07-26 15:18:43 +0200 | [diff] [blame] | 16 | --TWPT-blue-100: #BBDEFB; |
avm99963 | fb7107c | 2021-04-14 19:39:05 +0200 | [diff] [blame] | 17 | --TWPT-blue-A100: #82B1FF; |
Adrià Vilanova Martínez | c5d40aa | 2021-06-11 14:18:23 +0200 | [diff] [blame] | 18 | --TWPT-bad-text: #f6aea9; |
| 19 | --TWPT-good-text: #34a853; |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 20 | } |
| 21 | |
| 22 | body { |
| 23 | color: var(--TWPT-primary-text); |
| 24 | background-color: var(--TWPT-primary-background)!important; |
| 25 | } |
| 26 | |
| 27 | p { |
| 28 | color: var(--TWPT-primary-text); |
| 29 | } |
| 30 | |
| 31 | body.ec a { |
| 32 | color: var(--TWPT-link); |
| 33 | } |
| 34 | |
| 35 | /* Header */ |
| 36 | .material-content > header { |
| 37 | background-color: var(--TWPT-primary-background)!important; |
| 38 | } |
| 39 | |
avm99963 | 15b23d7 | 2021-04-26 18:07:15 +0200 | [diff] [blame] | 40 | .material-content > header .app-title-button, |
| 41 | .material-content > header .app-title-text { |
| 42 | color: var(--TWPT-secondary-text)!important; |
avm99963 | ea9b23f | 2021-04-22 14:06:03 +0200 | [diff] [blame] | 43 | } |
| 44 | |
avm99963 | 48c87d1 | 2021-04-09 13:00:21 +0200 | [diff] [blame] | 45 | .material-content > header material-button, |
avm99963 | 15b23d7 | 2021-04-26 18:07:15 +0200 | [diff] [blame] | 46 | .material-content > header material-button material-icon, |
avm99963 | 48c87d1 | 2021-04-09 13:00:21 +0200 | [diff] [blame] | 47 | .material-content > header notification-bell material-icon { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 48 | color: rgba(255, 255, 255, .87)!important; |
| 49 | } |
| 50 | |
| 51 | .search-box { |
| 52 | background-color: #313235!important; |
| 53 | } |
| 54 | |
| 55 | .search-box .clear-icon { |
| 56 | opacity: 0.8; |
| 57 | color: rgba(255, 255, 255, .87)!important; |
| 58 | } |
| 59 | |
| 60 | .material-content > header .bell.mixin { |
| 61 | fill: rgba(255, 255, 255, .87)!important; |
| 62 | } |
| 63 | |
| 64 | /* Drawer */ |
| 65 | material-drawer, material-drawer .panel, material-list-item { |
| 66 | background-color: var(--TWPT-drawer-background)!important; |
| 67 | } |
| 68 | |
avm99963 | 24ef652 | 2020-11-25 19:45:43 +0100 | [diff] [blame] | 69 | material-list-item:hover, material-list-item:focus, material-list-item.item--active { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 70 | background-color: var(--TWPT-active-background)!important; |
| 71 | } |
| 72 | |
| 73 | material-drawer .panel { |
| 74 | border-bottom-color: #25231f!important; |
| 75 | } |
| 76 | |
| 77 | material-drawer .drawer-section-title, material-drawer .header > material-icon { |
| 78 | color: var(--TWPT-secondary-text)!important; |
| 79 | } |
| 80 | |
avm99963 | 15b23d7 | 2021-04-26 18:07:15 +0200 | [diff] [blame] | 81 | material-drawer material-list-item, |
| 82 | material-drawer material-list-item .title { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 83 | color: #d2cecb!important; |
| 84 | } |
| 85 | |
| 86 | material-drawer ec-forum-drawer-item material-checkbox material-icon { |
| 87 | filter: brightness(1.5); |
| 88 | } |
| 89 | |
avm99963 | 15b23d7 | 2021-04-26 18:07:15 +0200 | [diff] [blame] | 90 | /* Header menus */ |
| 91 | .popup material-list-item { |
| 92 | color: #d2cecb!important; |
| 93 | } |
| 94 | |
avm99963 | 223416c | 2021-04-21 22:13:14 +0200 | [diff] [blame] | 95 | /* Filters (ec-query-builder) */ |
| 96 | material-condition-builder .compound-condition-operator { |
| 97 | color: var(--TWPT-secondary-text)!important; |
| 98 | } |
| 99 | |
| 100 | material-condition-builder .compound-condition-operator::before, |
| 101 | material-condition-builder .compound-condition-operator::after { |
| 102 | border-left-color: rgba(255, 255, 255, .20)!important; |
| 103 | } |
| 104 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 105 | /* Selector */ |
avm99963 | a51c761 | 2020-11-25 23:58:56 +0100 | [diff] [blame] | 106 | |
| 107 | /* |
| 108 | * This applies not only to the selector but also to the ec-work-state-picker. |
| 109 | */ |
avm99963 | a091be1 | 2021-02-18 17:03:28 +0100 | [diff] [blame] | 110 | .popup-wrapper, material-list, .popup .item-group-list { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 111 | background-color: var(--TWPT-drawer-background)!important; |
| 112 | } |
| 113 | |
avm99963 | a091be1 | 2021-02-18 17:03:28 +0100 | [diff] [blame] | 114 | material-list [group]:not(.empty) + *:not(script):not(template):not(.empty), |
| 115 | .popup .item-group-list [group]:not(.empty) + *:not(script):not(template):not(.empty) { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 116 | box-shadow: inset 0 8px 0 0 var(--TWPT-drawer-background)!important; |
| 117 | border-top-color: #1f1f1f!important; |
| 118 | } |
| 119 | |
| 120 | material-list material-select-item:hover, |
| 121 | material-list material-select-item:focus, |
| 122 | material-list material-select-dropdown-item:hover, |
| 123 | material-list material-select-dropdown-item:focus, |
| 124 | material-list material-select-dropdown-item.active, |
avm99963 | a091be1 | 2021-02-18 17:03:28 +0100 | [diff] [blame] | 125 | material-list material-select-dropdown-item:not(.multiselect).selected, |
| 126 | .popup .item-group-list material-select-item:hover, |
| 127 | .popup .item-group-list material-select-item:focus, |
avm99963 | 744d0cf | 2021-03-23 22:05:57 +0100 | [diff] [blame] | 128 | .popup .item-group-list material-select-item.active, |
avm99963 | a091be1 | 2021-02-18 17:03:28 +0100 | [diff] [blame] | 129 | .popup .item-group-list material-select-dropdown-item:hover, |
| 130 | .popup .item-group-list material-select-dropdown-item:focus, |
| 131 | .popup .item-group-list material-select-dropdown-item.active, |
| 132 | .popup .item-group-list material-select-dropdown-item:not(.multiselect).selected { |
avm99963 | 744d0cf | 2021-03-23 22:05:57 +0100 | [diff] [blame] | 133 | background-color: var(--TWPT-highlighted-item-background)!important; |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 134 | } |
| 135 | |
avm99963 | a091be1 | 2021-02-18 17:03:28 +0100 | [diff] [blame] | 136 | material-list .menu-item-label, |
| 137 | material-list .label, |
| 138 | material-list .text-segment, |
| 139 | .popup .item-group-list .menu-item-label, |
| 140 | .popup .item-group-list .label, |
| 141 | .popup .item-group-list .text-segment { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 142 | color: rgba(255, 255, 255, .87)!important; |
| 143 | } |
| 144 | |
avm99963 | a091be1 | 2021-02-18 17:03:28 +0100 | [diff] [blame] | 145 | .popup .item-group-list material-icon { |
| 146 | color: rgba(255, 255, 255, .7)!important; |
| 147 | } |
| 148 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 149 | material-list [group] > [label] { |
| 150 | color: #8a8a8a!important; |
| 151 | } |
| 152 | |
avm99963 | 48c87d1 | 2021-04-09 13:00:21 +0200 | [diff] [blame] | 153 | /* This is shown in the new thread view */ |
| 154 | ec-forum-language-picker .labeled-select .select-label { |
| 155 | color: var(--TWPT-secondary-text)!important; |
| 156 | } |
| 157 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 158 | /* Main */ |
| 159 | .main { |
| 160 | color: var(--TWPT-primary-text)!important; |
| 161 | } |
| 162 | |
avm99963 | 25a0d60 | 2020-11-25 19:24:16 +0100 | [diff] [blame] | 163 | /* Border color for the page title bar (most pages use .title-bar although |
| 164 | * some use .page-header). |
| 165 | */ |
| 166 | main .title-bar, main .page-header { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 167 | border-bottom-color: var(--TWPT-subtle-border)!important; |
| 168 | } |
| 169 | |
| 170 | main .title-bar .title, main .page-header h1, main .header h1 { |
| 171 | color: var(--TWPT-primary-text)!important; |
| 172 | } |
| 173 | |
| 174 | .card { |
| 175 | background-color: var(--TWPT-secondary-background)!important; |
| 176 | color: var(--TWPT-primary-text)!important; |
| 177 | border-color: var(--TWPT-card-border)!important; |
| 178 | } |
| 179 | |
| 180 | .card .card-title, .card, .card-section-title { |
| 181 | color: var(--TWPT-primary-text)!important; |
| 182 | } |
| 183 | |
avm99963 | 223416c | 2021-04-21 22:13:14 +0200 | [diff] [blame] | 184 | .card .card-section-hint, .card .card-section-checkbox-hint { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 185 | color: var(--TWPT-secondary-text)!important; |
| 186 | } |
| 187 | |
| 188 | /* Action bar */ |
| 189 | .material-content .action-bar material-button, |
| 190 | ec-bulk-actions material-button, |
avm99963 | b232963 | 2021-02-06 20:05:34 +0100 | [diff] [blame] | 191 | ec-back-button material-button, |
avm99963 | 48c87d1 | 2021-04-09 13:00:21 +0200 | [diff] [blame] | 192 | .sort-options material-button { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 193 | color: rgba(255, 255, 255, .54)!important; |
| 194 | } |
| 195 | |
avm99963 | ea9b23f | 2021-04-22 14:06:03 +0200 | [diff] [blame] | 196 | .material-content .action-bar .review-button.reviewing { |
| 197 | color: #1a73e8!important; |
| 198 | background: #dae7ff!important; |
| 199 | } |
| 200 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 201 | .material-content .action-bar material-button.starred { |
| 202 | color: #fbbc04!important; |
| 203 | } |
| 204 | |
Adrià Vilanova Martínez | 2c8913b | 2021-07-22 23:33:37 +0200 | [diff] [blame] | 205 | /* ec-work-state-picker and ec-symptom-picker */ |
| 206 | ec-work-state-picker > button, |
| 207 | ec-symptom-picker > button { |
avm99963 | a51c761 | 2020-11-25 23:58:56 +0100 | [diff] [blame] | 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 | 0d15aeb | 2021-07-26 15:18:43 +0200 | [diff] [blame] | 262 | /* |
| 263 | * The following section changes the styles of the checkboxes in thread lists, |
| 264 | * based in the styles defined in the "Checkbox input" section. |
| 265 | **/ |
Adrià Vilanova Martínez | fb2169a | 2021-07-09 00:26:37 +0200 | [diff] [blame] | 266 | ec-thread-summary material-expansionpanel .action material-button, |
| 267 | ec-thread-list material-checkbox material-icon, |
| 268 | ec-thread-summary material-expansionpanel .star-button:not(.starred) { |
| 269 | color: #696867!important; /* Custom value to match previous behavior */ |
| 270 | opacity: 1!important; |
| 271 | } |
| 272 | |
| 273 | ec-thread-list material-checkbox material-icon.filled { |
| 274 | color: #62a5ff!important; /* Custom value to contrast well with the background */ |
| 275 | } |
| 276 | |
Adrià Vilanova Martínez | 0d15aeb | 2021-07-26 15:18:43 +0200 | [diff] [blame] | 277 | /* .gm-icons is added by the SMEI_GOOGLE_MATERIAL_ICONS experiment. */ |
Adrià Vilanova Martínez | fb2169a | 2021-07-09 00:26:37 +0200 | [diff] [blame] | 278 | ec-thread-list material-checkbox:focus:not(.disabled).gm-icons .icon, |
| 279 | .gm-icons ec-thread-list material-checkbox:focus:not(.disabled) .icon, |
| 280 | ec-thread-list material-checkbox:hover:not(.disabled).gm-icons .icon, |
| 281 | .gm-icons ec-thread-list material-checkbox:hover:not(.disabled) .icon { |
| 282 | color: #807d7c!important; /* custom value */ |
| 283 | } |
| 284 | |
| 285 | ec-thread-list material-checkbox:focus:not(.disabled).gm-icons .icon.filled, |
| 286 | .gm-icons ec-thread-list material-checkbox:focus:not(.disabled) .icon.filled, |
| 287 | ec-thread-list material-checkbox:hover:not(.disabled).gm-icons .icon.filled, |
| 288 | .gm-icons ec-thread-list material-checkbox:hover:not(.disabled) .icon.filled { |
| 289 | color: #92c1ff!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 | |
avm99963 | 48c87d1 | 2021-04-09 13:00:21 +0200 | [diff] [blame] | 590 | /* Note: see thread view section. There is a rule for the thread creation |
| 591 | * footer. |
| 592 | **/ |
| 593 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 594 | /* Profile view */ |
avm99963 | 48c87d1 | 2021-04-09 13:00:21 +0200 | [diff] [blame] | 595 | ec-user .main-card { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 596 | background-color: var(--TWPT-secondary-background)!important; |
avm99963 | 48c87d1 | 2021-04-09 13:00:21 +0200 | [diff] [blame] | 597 | } |
| 598 | |
| 599 | ec-user .abuse-alert-container { |
| 600 | background-color: var(--TWPT-active-background)!important; |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 601 | border-top-right-radius: 8px!important; |
avm99963 | 48c87d1 | 2021-04-09 13:00:21 +0200 | [diff] [blame] | 602 | } |
| 603 | |
| 604 | ec-user .abuse-alert-container .abuse-alert { |
| 605 | color: var(--TWPT-primary-text)!important; |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 606 | } |
| 607 | |
avm99963 | c4cb8f3 | 2020-09-07 23:52:28 +0200 | [diff] [blame] | 608 | ec-user ec-display-name-editor, ec-user .header .name { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 609 | color: var(--TWPT-primary-text)!important; |
| 610 | } |
| 611 | |
avm99963 | 95da077 | 2020-09-09 01:07:36 +0200 | [diff] [blame] | 612 | ec-user .role { |
| 613 | filter: brightness(1.5); |
| 614 | } |
| 615 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 616 | ec-user bar-chart .axis text { |
| 617 | fill: rgba(255, 255, 255, .54)!important; |
| 618 | } |
| 619 | |
| 620 | ec-user bar-chart .axis path, |
| 621 | ec-user bar-chart .axis .gridline, |
| 622 | ec-user bar-chart .axis line { |
| 623 | stroke: rgba(255, 255, 255, .12)!important; |
| 624 | } |
| 625 | |
| 626 | ec-user bar-chart .axis line.axis-zero-tick, |
| 627 | ec-user bar-chart .axis.x .tick-mark { |
| 628 | stroke: rgba(255, 255, 255, .38)!important; |
| 629 | } |
| 630 | |
| 631 | ec-user bar-chart .aplos-legend-entry { |
| 632 | color: var(--TWPT-secondary-text)!important; |
| 633 | } |
| 634 | |
| 635 | .aplos-hovercard { |
| 636 | background: var(--TWPT-secondary-background)!important; |
| 637 | } |
| 638 | |
| 639 | .aplos-hovercard .title { |
| 640 | color: var(--TWPT-primary-text)!important; |
| 641 | } |
| 642 | |
| 643 | .aplos-hovercard .subtitle, |
| 644 | .aplos-donut-center .subtitle, |
| 645 | .aplos-hovercard .series, |
| 646 | .aplos-donut-center .series, |
| 647 | .aplos-hovercard .value, |
| 648 | .aplos-donut-center .value { |
| 649 | color: var(--TWPT-secondary-text)!important; |
| 650 | } |
| 651 | |
| 652 | /* Duplicate thread feature */ |
| 653 | .search-results ec-thread-option material-expansionpanel .panel { |
| 654 | background-color: var(--TWPT-primary-background)!important; |
| 655 | } |
| 656 | |
| 657 | .search-results ec-thread-option material-expansionpanel.selected .panel, |
| 658 | .search-results ec-thread-option material-expansionpanel .panel > .main-header > .header.closed:hover, |
| 659 | .search-results ec-thread-option material-expansionpanel .panel > .main-header > .header.closed:focus { |
| 660 | background-color: #17191c!important; |
| 661 | } |
| 662 | |
| 663 | /* Disabled buttons */ |
| 664 | material-button[disabled] { |
| 665 | color: rgba(255, 255, 255, .26)!important; |
| 666 | } |
| 667 | |
| 668 | /* Material icons */ |
| 669 | ec-filter-drawer-item material-icon, |
| 670 | ec-filter-drawer-item ec-icon, |
| 671 | material-drawer .drawer-section material-icon, |
| 672 | material-drawer .drawer-section ec-icon, |
| 673 | material-list material-icon, |
| 674 | ec-query-builder material-icon, |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 675 | ec-thread-summary material-expansionpanel .title material-icon, |
| 676 | .search-results ec-thread-option material-icon, |
| 677 | .search-results ec-thread-option ec-icon, |
| 678 | ec-rich-text-editor material-icon, |
| 679 | ec-editor-command material-icon, |
avm99963 | 223416c | 2021-04-21 22:13:14 +0200 | [diff] [blame] | 680 | ec-canned-responses ec-canned-response-row material-icon, |
| 681 | ec-ask-flow > .header material-button { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 682 | color: rgba(255, 255, 255, .87)!important; |
| 683 | } |
| 684 | |
| 685 | material-drawer ec-icon, |
avm99963 | 223416c | 2021-04-21 22:13:14 +0200 | [diff] [blame] | 686 | .search-results ec-thread-option ec-icon, |
avm99963 | 15b23d7 | 2021-04-26 18:07:15 +0200 | [diff] [blame] | 687 | ec-thread-summary material-expansionpanel .title ec-icon, |
| 688 | ec-announcements-menu-item ec-icon { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 689 | fill: rgba(255, 255, 255, .87)!important; |
| 690 | } |
| 691 | |
| 692 | /* Dialogs */ |
| 693 | material-dialog, material-dialog .dialog-header { |
| 694 | background-color: var(--TWPT-primary-background)!important; |
| 695 | } |
| 696 | |
| 697 | ec-movable-dialog[showminimize] material-dialog .dialog-header { |
| 698 | background-color: #d2e3fc!important; |
| 699 | } |
| 700 | |
| 701 | material-dialog .title { |
| 702 | color: var(--TWPT-primary-text-alt)!important; |
| 703 | } |
| 704 | |
| 705 | ec-movable-dialog[showminimize] material-dialog .dialog-header .title, ec-movable-dialog[showminimize] material-dialog header material-icon { |
| 706 | color: var(--TWPT-primary-background)!important; |
| 707 | } |
| 708 | |
| 709 | ec-movable-dialog[showminimize] material-dialog .header-notice, material-dialog .legal-prompt { |
| 710 | background-color: #170f01!important; |
| 711 | } |
| 712 | |
avm99963 | 223416c | 2021-04-21 22:13:14 +0200 | [diff] [blame] | 713 | ec-movable-dialog[showminimize] material-dialog .main .header-notice material-icon[icon="info_outline"] { |
| 714 | color: var(--TWPT-blue-A100)!important; |
| 715 | } |
| 716 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 717 | material-dialog .section-title, |
| 718 | material-dialog .select-label, |
| 719 | material-dialog .input-label, |
| 720 | material-dialog .btn-no, |
| 721 | ec-display-name-editor, |
| 722 | .forum-selection-label { |
| 723 | color: var(--TWPT-secondary-text)!important; |
| 724 | } |
| 725 | |
avm99963 | 0181891 | 2021-05-24 11:53:18 +0200 | [diff] [blame] | 726 | material-dialog main > .user { |
| 727 | border-bottom-color: var(--TWPT-card-border)!important; |
| 728 | } |
| 729 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 730 | ec-movable-dialog[showminimize] material-dialog footer > [footer] > .footer > [footer] > simple-html { |
| 731 | color: var(--TWPT-secondary-text)!important; |
| 732 | background-color: var(--TWPT-active-background)!important; |
| 733 | border-top-color: #25231f!important; |
| 734 | } |
| 735 | |
avm99963 | 0181891 | 2021-05-24 11:53:18 +0200 | [diff] [blame] | 736 | ec-movable-dialog[showminimize] material-dialog footer > [footer] > .footer > [footer] > simple-html a { |
| 737 | color: var(--TWPT-link)!important; |
| 738 | } |
| 739 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 740 | /* Keyboard shortcuts dialog */ |
| 741 | material-dialog .main.with-scroll-strokes table td { |
| 742 | color: var(--TWPT-primary-text)!important; |
| 743 | } |
| 744 | |
| 745 | /* Rich text editor */ |
| 746 | ec-editor-command material-button, |
| 747 | ec-formatting-popup material-button { |
| 748 | box-shadow: none!important; |
| 749 | } |
| 750 | |
| 751 | ec-editor-command material-button.is-active { |
| 752 | background: var(--TWPT-active-background)!important; |
| 753 | } |
| 754 | |
| 755 | ec-rich-text-editor .placeholder { |
| 756 | color: rgba(255, 255, 255, .38)!important; |
| 757 | } |
| 758 | |
avm99963 | 0181891 | 2021-05-24 11:53:18 +0200 | [diff] [blame] | 759 | ec-rich-text-editor .input-wrapper, |
| 760 | ec-rich-text-editor .spacer { |
| 761 | border-color: var(--TWPT-card-border)!important; |
| 762 | } |
| 763 | |
| 764 | ec-rich-text-editor .input-wrapper.input-wrapper--focused { |
| 765 | border-color: var(--TWPT-blue-A100)!important; |
| 766 | } |
| 767 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 768 | ec-rich-text-editor .input { |
| 769 | color: var(--TWPT-primary-text)!important; |
| 770 | } |
| 771 | |
| 772 | ec-rich-text-editor .hint { |
| 773 | color: rgba(255, 255, 255, .54)!important; |
| 774 | } |
| 775 | |
| 776 | material-select-searchbox + material-list material-list-item { |
| 777 | color: rgba(255, 255, 255, .87)!important; |
| 778 | } |
| 779 | |
| 780 | ec-attachment .filename { |
| 781 | color: var(--TWPT-primary-text)!important; |
| 782 | } |
| 783 | |
| 784 | /* Thread insert */ |
| 785 | ec-thread-insert .title { |
| 786 | color: var(--TWPT-primary-text)!important; |
| 787 | } |
| 788 | |
| 789 | ec-thread-insert ec-thread-counts, |
| 790 | ec-thread-insert .details, |
| 791 | ec-thread-insert ec-relative-time { |
| 792 | color: rgba(255, 255, 255, .54)!important; |
| 793 | } |
| 794 | |
| 795 | /* Text input */ |
| 796 | material-input input { |
| 797 | color: var(--TWPT-primary-text)!important; |
| 798 | } |
| 799 | |
| 800 | material-input .label-text, |
| 801 | material-input .hint-text, |
| 802 | material-input .counter { |
| 803 | color: rgba(255, 255, 255, .54)!important; |
| 804 | } |
| 805 | |
| 806 | material-input .underline .unfocused-underline { |
avm99963 | 223416c | 2021-04-21 22:13:14 +0200 | [diff] [blame] | 807 | background-color: var(--TWPT-input-underline)!important; |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 808 | } |
| 809 | |
avm99963 | 0181891 | 2021-05-24 11:53:18 +0200 | [diff] [blame] | 810 | material-input .underline .focused-underline { |
| 811 | background-color: var(--TWPT-blue-A100)!important; |
| 812 | } |
| 813 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 814 | label .label { |
| 815 | color: var(--TWPT-primary-text)!important; |
| 816 | } |
| 817 | |
| 818 | /* Input underline */ |
| 819 | material-input .underline .unfocused-underline, |
| 820 | material-dropdown-select dropdown-button [buttondecorator] { |
avm99963 | 0181891 | 2021-05-24 11:53:18 +0200 | [diff] [blame] | 821 | border-color: var(--TWPT-input-underline)!important; |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 822 | } |
| 823 | |
| 824 | /* Checkbox input */ |
Adrià Vilanova Martínez | 1d44d3d | 2021-07-26 15:34:19 +0200 | [diff] [blame] | 825 | material-checkbox material-icon, |
| 826 | material-checkbox .content { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 827 | color: var(--TWPT-secondary-text)!important; |
| 828 | } |
| 829 | |
Adrià Vilanova Martínez | 0d15aeb | 2021-07-26 15:18:43 +0200 | [diff] [blame] | 830 | /* .gm-icons is added by the SMEI_GOOGLE_MATERIAL_ICONS experiment. */ |
| 831 | material-checkbox material-icon.filled { |
| 832 | color: var(--TWPT-blue-A100)!important; |
| 833 | } |
| 834 | |
| 835 | material-checkbox:focus:not(.disabled).gm-icons .icon, |
| 836 | .gm-icons material-checkbox:focus:not(.disabled) .icon, |
| 837 | material-checkbox:hover:not(.disabled).gm-icons .icon, |
| 838 | .gm-icons material-checkbox:hover:not(.disabled) .icon { |
| 839 | color: #cfd2d8!important; /* custom value */ |
| 840 | } |
| 841 | |
| 842 | material-checkbox:focus:not(.disabled).gm-icons .icon.filled, |
| 843 | .gm-icons material-checkbox:focus:not(.disabled) .icon.filled, |
| 844 | material-checkbox:hover:not(.disabled).gm-icons .icon.filled, |
| 845 | .gm-icons material-checkbox:hover:not(.disabled) .icon.filled { |
| 846 | color: var(--TWPT-blue-100)!important; |
| 847 | } |
| 848 | |
| 849 | .gm-icons material-checkbox .icon-container::before{ |
| 850 | background-color: #dfdedb!important; /* custom value */ |
| 851 | } |
| 852 | |
| 853 | /* Radio input */ |
| 854 | material-radio .icon-container:not(.checked) material-icon { |
| 855 | color: var(--TWPT-secondary-text)!important; |
| 856 | } |
| 857 | |
| 858 | material-radio .icon-container.checked material-icon { |
| 859 | color: var(--TWPT-blue-A100)!important; |
| 860 | } |
| 861 | |
| 862 | /* Material switch */ |
| 863 | .mdc-switch:not(.mdc-switch--checked) .mdc-switch__track { |
| 864 | background-color: #7d7d7d!important; /* custom value */ |
| 865 | } |
| 866 | |
| 867 | .mdc-switch:not(.mdc-switch--checked) .mdc-switch__thumb { |
| 868 | border-color: #fff!important; /* custom value */ |
| 869 | } |
| 870 | |
| 871 | .mdc-switch.mdc-switch--checked .mdc-switch__track { |
| 872 | background-color: var(--TWPT-blue-A100)!important; |
| 873 | } |
| 874 | |
| 875 | .mdc-switch.mdc-switch--checked .mdc-switch__thumb { |
| 876 | border-color: var(--TWPT-blue-A100)!important; |
| 877 | } |
| 878 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 879 | /* Material menu button and dropdown select */ |
| 880 | material-menu material-button, material-dropdown-select dropdown-button { |
avm99963 | 223416c | 2021-04-21 22:13:14 +0200 | [diff] [blame] | 881 | color: var(--TWPT-primary-text)!important; |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 882 | } |
| 883 | |
avm99963 | 48c87d1 | 2021-04-09 13:00:21 +0200 | [diff] [blame] | 884 | material-dropdown-select dropdown-button .button.is-disabled .button-text, |
| 885 | material-dropdown-select dropdown-button .button.is-disabled material-icon { |
| 886 | color: rgba(255, 255, 255, .32)!important; |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 887 | } |
| 888 | |
| 889 | /* Announcements content */ |
avm99963 | 223416c | 2021-04-21 22:13:14 +0200 | [diff] [blame] | 890 | ec-announcements-content .header, |
| 891 | ec-announcements-content .no-announcements, |
| 892 | ec-announcements-content .announcement { |
| 893 | border-bottom-color: var(--TWPT-card-border)!important; |
| 894 | } |
| 895 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 896 | ec-announcements-content .header .title, ec-announcements-content .announcement-title { |
| 897 | color: var(--TWPT-primary-text-alt)!important; |
| 898 | } |
| 899 | |
avm99963 | 15b23d7 | 2021-04-26 18:07:15 +0200 | [diff] [blame] | 900 | ec-announcements-content .announcement-date { |
| 901 | color: var(--TWPT-secondary-text)!important; |
| 902 | } |
| 903 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 904 | ec-announcements-content .no-announcements-message { |
| 905 | color: #c3bfbc!important; |
| 906 | } |
| 907 | |
avm99963 | 15b23d7 | 2021-04-26 18:07:15 +0200 | [diff] [blame] | 908 | ec-announcements-content .view-all-link, |
| 909 | ec-announcements-content .read-more-button { |
avm99963 | 223416c | 2021-04-21 22:13:14 +0200 | [diff] [blame] | 910 | color: var(--TWPT-link)!important; |
| 911 | } |
| 912 | |
avm99963 | 15b23d7 | 2021-04-26 18:07:15 +0200 | [diff] [blame] | 913 | ec-announcements-content ::-webkit-scrollbar-thumb { |
| 914 | background-color: rgba(255, 255, 255, .26)!important; |
| 915 | } |
| 916 | |
| 917 | ec-announcements-content ::-webkit-scrollbar-thumb:hover { |
| 918 | background-color: #4285f4!important; |
| 919 | } |
| 920 | |
avm99963 | b232963 | 2021-02-06 20:05:34 +0100 | [diff] [blame] | 921 | /* Generic popup (for notification bell, account selector, etc.) */ |
| 922 | .popup-wrapper .header-text { |
| 923 | color: var(--TWPT-primary-text)!important; |
| 924 | } |
| 925 | |
avm99963 | 48c87d1 | 2021-04-09 13:00:21 +0200 | [diff] [blame] | 926 | /* Notifications bell popup/panel */ |
| 927 | .notification-panel .header material-button { |
| 928 | color: var(--TWPT-secondary-text)!important; |
| 929 | } |
| 930 | |
| 931 | .notification-panel .cards-container .promo-message { |
| 932 | color: var(--TWPT-secondary-text)!important; |
| 933 | } |
| 934 | |
| 935 | .notification-panel .cards-container .promo-message .header-text { |
| 936 | color: var(--TWPT-primary-text)!important; |
| 937 | } |
| 938 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 939 | /* Account selector */ |
| 940 | .popup-wrapper .profile .email { |
| 941 | color: rgba(255, 255, 255, .54)!important; |
| 942 | } |
| 943 | |
| 944 | material-gaia-picker-footer { |
| 945 | color: rgba(255, 255, 255, .54)!important; |
| 946 | background-color: var(--TWPT-active-background)!important; |
| 947 | } |
| 948 | |
avm99963 | 48c87d1 | 2021-04-09 13:00:21 +0200 | [diff] [blame] | 949 | material-gaia-picker-footer material-button { |
| 950 | color: var(--TWPT-secondary-text)!important; |
| 951 | } |
| 952 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 953 | /* Canned responses */ |
| 954 | ec-canned-responses .filter-label, |
avm99963 | 25a0d60 | 2020-11-25 19:24:16 +0100 | [diff] [blame] | 955 | ec-canned-responses ec-canned-response-row .name { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 956 | color: var(--TWPT-primary-text)!important; |
| 957 | } |
| 958 | |
avm99963 | 25a0d60 | 2020-11-25 19:24:16 +0100 | [diff] [blame] | 959 | ec-canned-responses .label-row, |
| 960 | ec-canned-responses ec-canned-response-row .snippet, |
| 961 | ec-canned-responses ec-canned-response-row .tag { |
| 962 | color: var(--TWPT-secondary-text)!important; |
| 963 | } |
| 964 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 965 | ec-canned-responses ec-canned-response-row .header.closed:hover, |
| 966 | ec-canned-responses ec-canned-response-row .header.closed:focus, |
| 967 | ec-canned-responses ec-canned-response-row .header.closed:hover .toolbar, |
| 968 | ec-canned-responses ec-canned-response-row .header.closed:focus .toolbar { |
| 969 | background-color: var(--TWPT-active-background)!important; |
| 970 | } |
| 971 | |
avm99963 | 25a0d60 | 2020-11-25 19:24:16 +0100 | [diff] [blame] | 972 | ec-canned-responses .filter-row, |
| 973 | ec-canned-responses .label-row, |
| 974 | ec-canned-responses ec-canned-response-row material-expansionpanel { |
| 975 | border-bottom-color: var(--TWPT-subtle-border)!important; |
| 976 | } |
| 977 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 978 | /* Reply button */ |
Adrià Vilanova Martínez | 1d44d3d | 2021-07-26 15:34:19 +0200 | [diff] [blame] | 979 | material-fab.reply-button, |
| 980 | material-fab.reply-fab { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 981 | background-color: var(--TWPT-link)!important; |
| 982 | color: var(--TWPT-primary-background)!important; |
| 983 | } |
| 984 | |
avm99963 | 223416c | 2021-04-21 22:13:14 +0200 | [diff] [blame] | 985 | /* Settings view */ |
| 986 | ec-settings .forum-language-container { |
| 987 | border-bottom-color: var(--TWPT-subtle-border)!important; |
| 988 | } |
| 989 | |
| 990 | ec-settings .forum-language-container material-button { |
| 991 | color: var(--TWPT-secondary-text)!important; |
| 992 | } |
| 993 | |
Adrià Vilanova Martínez | 3356df7 | 2021-07-09 19:27:04 +0200 | [diff] [blame] | 994 | /* Loading spinner */ |
| 995 | material-spinner { |
| 996 | border-color: var(--TWPT-blue-A100)!important; |
| 997 | } |
| 998 | |
avm99963 | f592396 | 2020-12-07 16:44:37 +0100 | [diff] [blame] | 999 | /* Custom injected components */ |
| 1000 | .TWPT-log { |
| 1001 | background-color: #424242!important; |
| 1002 | } |
| 1003 | |
| 1004 | .TWPT-log-entry.TWPT-log-entry--error { |
| 1005 | color: #ff8A80!important; |
| 1006 | } |