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