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; |
Adrià Vilanova Martínez | d20e57e | 2021-10-13 23:12:13 +0200 | [diff] [blame] | 20 | --TWPT-interop-primary-text: var(--TWPT-primary-text); |
| 21 | --TWPT-interop-secondary-text: #c4c7c5; |
| 22 | --TWPT-interop-subtle-border: #474747; |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 23 | } |
| 24 | |
| 25 | body { |
| 26 | color: var(--TWPT-primary-text); |
| 27 | background-color: var(--TWPT-primary-background)!important; |
| 28 | } |
| 29 | |
| 30 | p { |
| 31 | color: var(--TWPT-primary-text); |
| 32 | } |
| 33 | |
| 34 | body.ec a { |
| 35 | color: var(--TWPT-link); |
| 36 | } |
| 37 | |
| 38 | /* Header */ |
| 39 | .material-content > header { |
| 40 | background-color: var(--TWPT-primary-background)!important; |
| 41 | } |
| 42 | |
avm99963 | 15b23d7 | 2021-04-26 18:07:15 +0200 | [diff] [blame] | 43 | .material-content > header .app-title-button, |
| 44 | .material-content > header .app-title-text { |
| 45 | color: var(--TWPT-secondary-text)!important; |
avm99963 | ea9b23f | 2021-04-22 14:06:03 +0200 | [diff] [blame] | 46 | } |
| 47 | |
avm99963 | 48c87d1 | 2021-04-09 13:00:21 +0200 | [diff] [blame] | 48 | .material-content > header material-button, |
avm99963 | 15b23d7 | 2021-04-26 18:07:15 +0200 | [diff] [blame] | 49 | .material-content > header material-button material-icon, |
avm99963 | 48c87d1 | 2021-04-09 13:00:21 +0200 | [diff] [blame] | 50 | .material-content > header notification-bell material-icon { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 51 | color: rgba(255, 255, 255, .87)!important; |
| 52 | } |
| 53 | |
| 54 | .search-box { |
| 55 | background-color: #313235!important; |
| 56 | } |
| 57 | |
| 58 | .search-box .clear-icon { |
| 59 | opacity: 0.8; |
| 60 | color: rgba(255, 255, 255, .87)!important; |
| 61 | } |
| 62 | |
| 63 | .material-content > header .bell.mixin { |
| 64 | fill: rgba(255, 255, 255, .87)!important; |
| 65 | } |
| 66 | |
Adrià Vilanova Martínez | 47d33bc | 2021-08-14 18:50:50 +0200 | [diff] [blame] | 67 | /* Notification bell */ |
| 68 | notification-bell:focus { |
| 69 | background-color: rgba(255, 255, 255, .10)!important; |
| 70 | } |
| 71 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 72 | /* Drawer */ |
| 73 | material-drawer, material-drawer .panel, material-list-item { |
| 74 | background-color: var(--TWPT-drawer-background)!important; |
| 75 | } |
| 76 | |
avm99963 | 24ef652 | 2020-11-25 19:45:43 +0100 | [diff] [blame] | 77 | material-list-item:hover, material-list-item:focus, material-list-item.item--active { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 78 | background-color: var(--TWPT-active-background)!important; |
| 79 | } |
| 80 | |
| 81 | material-drawer .panel { |
| 82 | border-bottom-color: #25231f!important; |
| 83 | } |
| 84 | |
| 85 | material-drawer .drawer-section-title, material-drawer .header > material-icon { |
| 86 | color: var(--TWPT-secondary-text)!important; |
| 87 | } |
| 88 | |
avm99963 | 15b23d7 | 2021-04-26 18:07:15 +0200 | [diff] [blame] | 89 | material-drawer material-list-item, |
| 90 | material-drawer material-list-item .title { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 91 | color: #d2cecb!important; |
| 92 | } |
| 93 | |
| 94 | material-drawer ec-forum-drawer-item material-checkbox material-icon { |
| 95 | filter: brightness(1.5); |
| 96 | } |
| 97 | |
avm99963 | 15b23d7 | 2021-04-26 18:07:15 +0200 | [diff] [blame] | 98 | /* Header menus */ |
| 99 | .popup material-list-item { |
| 100 | color: #d2cecb!important; |
| 101 | } |
| 102 | |
avm99963 | 223416c | 2021-04-21 22:13:14 +0200 | [diff] [blame] | 103 | /* Filters (ec-query-builder) */ |
| 104 | material-condition-builder .compound-condition-operator { |
| 105 | color: var(--TWPT-secondary-text)!important; |
| 106 | } |
| 107 | |
| 108 | material-condition-builder .compound-condition-operator::before, |
| 109 | material-condition-builder .compound-condition-operator::after { |
| 110 | border-left-color: rgba(255, 255, 255, .20)!important; |
| 111 | } |
| 112 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 113 | /* Selector */ |
avm99963 | a51c761 | 2020-11-25 23:58:56 +0100 | [diff] [blame] | 114 | |
| 115 | /* |
| 116 | * This applies not only to the selector but also to the ec-work-state-picker. |
| 117 | */ |
avm99963 | a091be1 | 2021-02-18 17:03:28 +0100 | [diff] [blame] | 118 | .popup-wrapper, material-list, .popup .item-group-list { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 119 | background-color: var(--TWPT-drawer-background)!important; |
| 120 | } |
| 121 | |
avm99963 | a091be1 | 2021-02-18 17:03:28 +0100 | [diff] [blame] | 122 | material-list [group]:not(.empty) + *:not(script):not(template):not(.empty), |
| 123 | .popup .item-group-list [group]:not(.empty) + *:not(script):not(template):not(.empty) { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 124 | box-shadow: inset 0 8px 0 0 var(--TWPT-drawer-background)!important; |
| 125 | border-top-color: #1f1f1f!important; |
| 126 | } |
| 127 | |
| 128 | material-list material-select-item:hover, |
| 129 | material-list material-select-item:focus, |
| 130 | material-list material-select-dropdown-item:hover, |
| 131 | material-list material-select-dropdown-item:focus, |
| 132 | material-list material-select-dropdown-item.active, |
avm99963 | a091be1 | 2021-02-18 17:03:28 +0100 | [diff] [blame] | 133 | material-list material-select-dropdown-item:not(.multiselect).selected, |
avm99963 | 4298b43 | 2021-08-16 16:38:00 +0200 | [diff] [blame] | 134 | material-select-searchbox:focus-within + material-list .single-select-item:first-of-type, |
avm99963 | a091be1 | 2021-02-18 17:03:28 +0100 | [diff] [blame] | 135 | .popup .item-group-list material-select-item:hover, |
| 136 | .popup .item-group-list material-select-item:focus, |
avm99963 | 744d0cf | 2021-03-23 22:05:57 +0100 | [diff] [blame] | 137 | .popup .item-group-list material-select-item.active, |
avm99963 | a091be1 | 2021-02-18 17:03:28 +0100 | [diff] [blame] | 138 | .popup .item-group-list material-select-dropdown-item:hover, |
| 139 | .popup .item-group-list material-select-dropdown-item:focus, |
| 140 | .popup .item-group-list material-select-dropdown-item.active, |
| 141 | .popup .item-group-list material-select-dropdown-item:not(.multiselect).selected { |
avm99963 | 744d0cf | 2021-03-23 22:05:57 +0100 | [diff] [blame] | 142 | background-color: var(--TWPT-highlighted-item-background)!important; |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 143 | } |
| 144 | |
avm99963 | 4298b43 | 2021-08-16 16:38:00 +0200 | [diff] [blame] | 145 | material-list .single-select-item, |
| 146 | material-list .menu-item-label, |
avm99963 | a091be1 | 2021-02-18 17:03:28 +0100 | [diff] [blame] | 147 | material-list .label, |
| 148 | material-list .text-segment, |
avm99963 | 55acfae | 2021-08-19 18:06:56 +0200 | [diff] [blame] | 149 | menu-item-groups .single-select-item, |
| 150 | menu-item-groups .menu-item-label, |
| 151 | menu-item-groups .label, |
| 152 | menu-item-groups .text-segment { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 153 | color: rgba(255, 255, 255, .87)!important; |
| 154 | } |
| 155 | |
avm99963 | a091be1 | 2021-02-18 17:03:28 +0100 | [diff] [blame] | 156 | .popup .item-group-list material-icon { |
| 157 | color: rgba(255, 255, 255, .7)!important; |
| 158 | } |
| 159 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 160 | material-list [group] > [label] { |
| 161 | color: #8a8a8a!important; |
| 162 | } |
| 163 | |
avm99963 | 48c87d1 | 2021-04-09 13:00:21 +0200 | [diff] [blame] | 164 | /* This is shown in the new thread view */ |
| 165 | ec-forum-language-picker .labeled-select .select-label { |
| 166 | color: var(--TWPT-secondary-text)!important; |
| 167 | } |
| 168 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 169 | /* Main */ |
| 170 | .main { |
| 171 | color: var(--TWPT-primary-text)!important; |
| 172 | } |
| 173 | |
avm99963 | 25a0d60 | 2020-11-25 19:24:16 +0100 | [diff] [blame] | 174 | /* Border color for the page title bar (most pages use .title-bar although |
| 175 | * some use .page-header). |
| 176 | */ |
| 177 | main .title-bar, main .page-header { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 178 | border-bottom-color: var(--TWPT-subtle-border)!important; |
| 179 | } |
| 180 | |
| 181 | main .title-bar .title, main .page-header h1, main .header h1 { |
| 182 | color: var(--TWPT-primary-text)!important; |
| 183 | } |
| 184 | |
| 185 | .card { |
| 186 | background-color: var(--TWPT-secondary-background)!important; |
| 187 | color: var(--TWPT-primary-text)!important; |
| 188 | border-color: var(--TWPT-card-border)!important; |
| 189 | } |
| 190 | |
| 191 | .card .card-title, .card, .card-section-title { |
| 192 | color: var(--TWPT-primary-text)!important; |
| 193 | } |
| 194 | |
avm99963 | 223416c | 2021-04-21 22:13:14 +0200 | [diff] [blame] | 195 | .card .card-section-hint, .card .card-section-checkbox-hint { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 196 | color: var(--TWPT-secondary-text)!important; |
| 197 | } |
| 198 | |
| 199 | /* Action bar */ |
| 200 | .material-content .action-bar material-button, |
| 201 | ec-bulk-actions material-button, |
avm99963 | b232963 | 2021-02-06 20:05:34 +0100 | [diff] [blame] | 202 | ec-back-button material-button, |
avm99963 | 48c87d1 | 2021-04-09 13:00:21 +0200 | [diff] [blame] | 203 | .sort-options material-button { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 204 | color: rgba(255, 255, 255, .54)!important; |
| 205 | } |
| 206 | |
avm99963 | ea9b23f | 2021-04-22 14:06:03 +0200 | [diff] [blame] | 207 | .material-content .action-bar .review-button.reviewing { |
| 208 | color: #1a73e8!important; |
| 209 | background: #dae7ff!important; |
| 210 | } |
| 211 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 212 | .material-content .action-bar material-button.starred { |
| 213 | color: #fbbc04!important; |
| 214 | } |
| 215 | |
Adrià Vilanova Martínez | 2c8913b | 2021-07-22 23:33:37 +0200 | [diff] [blame] | 216 | /* ec-work-state-picker and ec-symptom-picker */ |
| 217 | ec-work-state-picker > button, |
| 218 | ec-symptom-picker > button { |
avm99963 | a51c761 | 2020-11-25 23:58:56 +0100 | [diff] [blame] | 219 | color: var(--TWPT-secondary-text)!important; |
| 220 | background-color: var(--TWPT-button-background)!important; |
| 221 | border-color: var(--TWPT-subtle-border)!important; |
| 222 | } |
| 223 | |
| 224 | .material-popup-content .popup-content .title { |
| 225 | color: var(--TWPT-primary-text)!important; |
| 226 | } |
| 227 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 228 | /* Thread list */ |
| 229 | ec-thread-list ul.thread-group { |
| 230 | background-color: var(--TWPT-primary-background)!important; |
| 231 | } |
| 232 | |
| 233 | ec-thread-list ec-bulk-actions, ec-thread-list ec-thread-summary material-expansionpanel { |
| 234 | border-bottom-color: var(--TWPT-subtle-border)!important; |
| 235 | } |
| 236 | |
avm99963 | a2a0644 | 2020-11-25 21:11:10 +0100 | [diff] [blame] | 237 | ec-thread-summary material-expansionpanel.read:not(.checked) { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 238 | background-color: var(--TWPT-thread-read-background)!important; |
| 239 | } |
| 240 | |
avm99963 | e65bec4 | 2020-11-25 18:26:29 +0100 | [diff] [blame] | 241 | ec-thread-summary material-expansionpanel.read .title span:not(.icon) { |
avm99963 | 95da077 | 2020-09-09 01:07:36 +0200 | [diff] [blame] | 242 | opacity: 0.8; |
| 243 | } |
| 244 | |
avm99963 | e65bec4 | 2020-11-25 18:26:29 +0100 | [diff] [blame] | 245 | ec-thread-summary material-expansionpanel.read .title .icon { |
| 246 | opacity: 0.48!important; |
| 247 | } |
| 248 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 249 | ec-thread-summary material-expansionpanel.checked { |
avm99963 | a2a0644 | 2020-11-25 21:11:10 +0100 | [diff] [blame] | 250 | background-color: #2c4b77!important; |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 251 | } |
| 252 | |
| 253 | ec-thread-summary material-expansionpanel .title { |
| 254 | color: var(--TWPT-primary-text)!important; |
| 255 | } |
| 256 | |
| 257 | ec-thread-summary material-expansionpanel ec-second-summary-line, |
| 258 | material-expansionpanel .header-content, |
avm99963 | 48c87d1 | 2021-04-09 13:00:21 +0200 | [diff] [blame] | 259 | material-expansionpanel ec-thread-counts > span:not(.recommended-answers), |
| 260 | material-expansionpanel .duplicate-label { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 261 | color: #928e89!important; |
| 262 | } |
| 263 | |
avm99963 | 48c87d1 | 2021-04-09 13:00:21 +0200 | [diff] [blame] | 264 | material-expansionpanel .removed-label { |
Adrià Vilanova Martínez | c5d40aa | 2021-06-11 14:18:23 +0200 | [diff] [blame] | 265 | color: var(--TWPT-bad-text)!important; |
avm99963 | 48c87d1 | 2021-04-09 13:00:21 +0200 | [diff] [blame] | 266 | } |
| 267 | |
avm99963 | 1558e6c | 2020-12-08 13:42:40 +0100 | [diff] [blame] | 268 | ec-thread-summary material-expansionpanel ec-safe-html.body, |
| 269 | material-expansionpanel .issue-tracking-work-state { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 270 | color: var(--TWPT-primary-text)!important; |
| 271 | } |
| 272 | |
Adrià Vilanova Martínez | 0d15aeb | 2021-07-26 15:18:43 +0200 | [diff] [blame] | 273 | /* |
| 274 | * The following section changes the styles of the checkboxes in thread lists, |
| 275 | * based in the styles defined in the "Checkbox input" section. |
| 276 | **/ |
Adrià Vilanova Martínez | fb2169a | 2021-07-09 00:26:37 +0200 | [diff] [blame] | 277 | ec-thread-summary material-expansionpanel .action material-button, |
| 278 | ec-thread-list material-checkbox material-icon, |
| 279 | ec-thread-summary material-expansionpanel .star-button:not(.starred) { |
| 280 | color: #696867!important; /* Custom value to match previous behavior */ |
| 281 | opacity: 1!important; |
| 282 | } |
| 283 | |
| 284 | ec-thread-list material-checkbox material-icon.filled { |
| 285 | color: #62a5ff!important; /* Custom value to contrast well with the background */ |
| 286 | } |
| 287 | |
Adrià Vilanova Martínez | 0d15aeb | 2021-07-26 15:18:43 +0200 | [diff] [blame] | 288 | /* .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] | 289 | ec-thread-list material-checkbox:focus:not(.disabled).gm-icons .icon, |
| 290 | .gm-icons ec-thread-list material-checkbox:focus:not(.disabled) .icon, |
| 291 | ec-thread-list material-checkbox:hover:not(.disabled).gm-icons .icon, |
| 292 | .gm-icons ec-thread-list material-checkbox:hover:not(.disabled) .icon { |
| 293 | color: #807d7c!important; /* custom value */ |
| 294 | } |
| 295 | |
| 296 | ec-thread-list material-checkbox:focus:not(.disabled).gm-icons .icon.filled, |
| 297 | .gm-icons ec-thread-list material-checkbox:focus:not(.disabled) .icon.filled, |
| 298 | ec-thread-list material-checkbox:hover:not(.disabled).gm-icons .icon.filled, |
| 299 | .gm-icons ec-thread-list material-checkbox:hover:not(.disabled) .icon.filled { |
| 300 | color: #92c1ff!important; /* custom value */ |
| 301 | } |
| 302 | |
avm99963 | b232963 | 2021-02-06 20:05:34 +0100 | [diff] [blame] | 303 | /* Thread view (including review/live review components) */ |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 304 | ec-question, .heading + .group, ec-message { |
| 305 | background-color: var(--TWPT-secondary-background)!important; |
| 306 | } |
| 307 | |
avm99963 | b232963 | 2021-02-06 20:05:34 +0100 | [diff] [blame] | 308 | ec-thread .no-review-needed { |
| 309 | background-color: #155829!important; |
| 310 | border-color: var(--TWPT-subtle-border)!important; |
| 311 | } |
| 312 | |
| 313 | /* Review bar shown above the main message or replies */ |
| 314 | ec-review-bar { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 315 | background-color: var(--TWPT-active-background)!important; |
| 316 | } |
| 317 | |
avm99963 | b232963 | 2021-02-06 20:05:34 +0100 | [diff] [blame] | 318 | ec-review-bar material-chip { |
| 319 | background-color: var(--TWPT-button-background)!important; |
| 320 | } |
| 321 | |
| 322 | ec-review-bar material-chip:not(.relevant-active):not(.active) { |
avm99963 | b232963 | 2021-02-06 20:05:34 +0100 | [diff] [blame] | 323 | border-color: var(--TWPT-card-border)!important; |
| 324 | } |
| 325 | |
| 326 | ec-review-bar material-chip:not(.relevant-active):not(.active) material-icon { |
| 327 | color: var(--TWPT-primary-text)!important; |
| 328 | fill: var(--TWPT-primary-text)!important; |
| 329 | } |
| 330 | |
Adrià Vilanova Martínez | c5d40aa | 2021-06-11 14:18:23 +0200 | [diff] [blame] | 331 | ec-review-bar material-chip:not(.relevant-active):not(.active) .content { |
| 332 | color: var(--TWPT-primary-text)!important; |
| 333 | } |
| 334 | |
avm99963 | b232963 | 2021-02-06 20:05:34 +0100 | [diff] [blame] | 335 | ec-review-bar material-chip.relevant-active { |
Adrià Vilanova Martínez | c5d40aa | 2021-06-11 14:18:23 +0200 | [diff] [blame] | 336 | border-color: var(--TWPT-good-text)!important; |
avm99963 | b232963 | 2021-02-06 20:05:34 +0100 | [diff] [blame] | 337 | } |
| 338 | |
| 339 | ec-review-bar material-chip.relevant-active material-icon { |
Adrià Vilanova Martínez | c5d40aa | 2021-06-11 14:18:23 +0200 | [diff] [blame] | 340 | color: var(--TWPT-good-text)!important; |
| 341 | fill: var(--TWPT-good-text)!important; |
| 342 | } |
| 343 | |
| 344 | ec-review-bar material-chip.relevant-active .content { |
| 345 | color: var(--TWPT-good-text)!important; |
avm99963 | b232963 | 2021-02-06 20:05:34 +0100 | [diff] [blame] | 346 | } |
| 347 | |
| 348 | ec-review-bar material-chip.active { |
Adrià Vilanova Martínez | c5d40aa | 2021-06-11 14:18:23 +0200 | [diff] [blame] | 349 | border-color: var(--TWPT-bad-text)!important; |
avm99963 | b232963 | 2021-02-06 20:05:34 +0100 | [diff] [blame] | 350 | } |
| 351 | |
| 352 | ec-review-bar material-chip.active material-icon { |
Adrià Vilanova Martínez | c5d40aa | 2021-06-11 14:18:23 +0200 | [diff] [blame] | 353 | color: var(--TWPT-bad-text)!important; |
| 354 | fill: var(--TWPT-bad-text)!important; |
| 355 | } |
| 356 | |
| 357 | ec-review-bar material-chip.active .content { |
| 358 | color: var(--TWPT-bad-text)!important; |
avm99963 | b232963 | 2021-02-06 20:05:34 +0100 | [diff] [blame] | 359 | } |
| 360 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 361 | ec-message-header .header, ec-question .state, ec-question ec-thread-counts > span, ec-message ec-thread-counts > span { |
| 362 | color: var(--TWPT-secondary-text)!important; |
| 363 | } |
| 364 | |
avm99963 | 95da077 | 2020-09-09 01:07:36 +0200 | [diff] [blame] | 365 | ec-question .alert, ec-message .alert { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 366 | background-color: var(--TWPT-active-background)!important; |
| 367 | } |
| 368 | |
avm99963 | 95da077 | 2020-09-09 01:07:36 +0200 | [diff] [blame] | 369 | ec-question .alert material-icon, ec-message .alert material-icon { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 370 | color: var(--TWPT-primary-text)!important; |
| 371 | } |
| 372 | |
avm99963 | 95da077 | 2020-09-09 01:07:36 +0200 | [diff] [blame] | 373 | ec-question .alert ec-icon, ec-message .alert ec-icon { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 374 | color: var(--TWPT-primary-text)!important; |
| 375 | fill: var(--TWPT-primary-text)!important; |
| 376 | } |
| 377 | |
| 378 | ec-question .title { |
| 379 | color: var(--TWPT-primary-text-alt)!important; |
| 380 | } |
| 381 | |
avm99963 | b232963 | 2021-02-06 20:05:34 +0100 | [diff] [blame] | 382 | ec-user-link .name-text { |
| 383 | color: var(--TWPT-link)!important; |
| 384 | } |
| 385 | |
| 386 | ec-message-header ec-avatar svg, ec-message-header .role, |
| 387 | ec-message .footer .role { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 388 | filter: brightness(1.5); |
| 389 | } |
| 390 | |
| 391 | ec-question .body, ec-message .body { |
| 392 | color: var(--TWPT-primary-text)!important; |
| 393 | } |
| 394 | |
| 395 | ec-question .thread-insert { |
| 396 | background: none!important; |
| 397 | } |
| 398 | |
| 399 | ec-question .details-heading { |
| 400 | color: var(--TWPT-primary-text-alt) !important; |
| 401 | } |
| 402 | |
Adrià Vilanova Martínez | 0ab61ea | 2021-06-03 20:25:18 +0200 | [diff] [blame] | 403 | ec-question .state-chips material-chip { |
| 404 | background-color: var(--TWPT-button-background)!important; |
| 405 | box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), |
| 406 | 0 1px 1px 0 rgba(0, 0, 0, 0.14), |
| 407 | 0 1px 3px 0 rgba(0, 0, 0, 0.12); |
| 408 | } |
| 409 | |
| 410 | ec-question .state-chips material-chip .content { |
| 411 | color: var(--TWPT-primary-text)!important; |
| 412 | } |
| 413 | |
avm99963 | 48c87d1 | 2021-04-09 13:00:21 +0200 | [diff] [blame] | 414 | ec-question .footer, |
| 415 | ec-ask-flow .content-disclaimer { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 416 | color: var(--TWPT-primary-text)!important; |
| 417 | background-color: var(--TWPT-active-background)!important; |
| 418 | border-top-color: var(--TWPT-card-border)!important; |
| 419 | } |
| 420 | |
| 421 | .heading { |
| 422 | color: var(--TWPT-primary-text)!important; |
| 423 | } |
| 424 | |
| 425 | .heading + .group, |
| 426 | .load-more-bar, |
| 427 | ec-message:not(:first-child), |
| 428 | .load-more-bar .load-more-button, |
| 429 | .load-more-bar .load-all-button { |
| 430 | border-color: var(--TWPT-card-border)!important; |
| 431 | } |
| 432 | |
avm99963 | 95da077 | 2020-09-09 01:07:36 +0200 | [diff] [blame] | 433 | ec-message .type { |
| 434 | color: var(--TWPT-primary-text)!important; |
| 435 | } |
| 436 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 437 | ec-message .footer ec-relative-time, |
| 438 | ec-message .footer ec-safe-html { |
| 439 | color: var(--TWPT-secondary-text)!important; |
| 440 | } |
| 441 | |
| 442 | ec-message .helpful-prompt { |
| 443 | color: var(--TWPT-primary-text)!important; |
| 444 | } |
| 445 | |
| 446 | ec-question .me-too-button, |
| 447 | ec-question .subscribe-button, |
| 448 | ec-message .upvote-button, |
| 449 | ec-message .downvote-button { |
| 450 | color: var(--TWPT-secondary-text)!important; |
avm99963 | a51c761 | 2020-11-25 23:58:56 +0100 | [diff] [blame] | 451 | background-color: var(--TWPT-button-background)!important; |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 452 | } |
| 453 | |
avm99963 | 223416c | 2021-04-21 22:13:14 +0200 | [diff] [blame] | 454 | ec-message .alert { |
| 455 | color: var(--TWPT-secondary-text)!important; |
| 456 | } |
| 457 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 458 | ec-question .me-too-button.selected, |
| 459 | ec-question .subscribe-button.selected, |
| 460 | ec-message .upvote-button.selected, |
| 461 | ec-message .downvote-button.selected { |
| 462 | color: #4285f4!important; |
| 463 | } |
| 464 | |
| 465 | .load-more-bar .load-more-button, .load-more-bar .load-all-button { |
| 466 | background-color: var(--TWPT-secondary-background)!important; |
| 467 | } |
| 468 | |
| 469 | .locked-alert { |
| 470 | background-color: var(--TWPT-active-background)!important; |
| 471 | border: var(--TWPT-card-border)!important; |
| 472 | } |
| 473 | |
| 474 | .locked-alert material-icon { |
| 475 | color: rgba(255, 255, 255, .38)!important; |
| 476 | } |
| 477 | |
avm99963 | b232963 | 2021-02-06 20:05:34 +0100 | [diff] [blame] | 478 | ec-thread button.reply.collapsed { |
| 479 | color: var(--TWPT-secondary-text)!important; |
| 480 | } |
| 481 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 482 | ec-thread .finished-question { |
| 483 | background-color: var(--TWPT-active-background)!important; |
| 484 | border: var(--TWPT-card-border)!important; |
| 485 | } |
| 486 | |
avm99963 | ea9b23f | 2021-04-22 14:06:03 +0200 | [diff] [blame] | 487 | ec-thread .finished-question .next-question { |
| 488 | color: var(--TWPT-link)!important; |
| 489 | border-color: var(--TWPT-link)!important; |
| 490 | } |
| 491 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 492 | .material-content .action-bar material-button.has-activity { |
| 493 | color: #1a73e8!important; |
| 494 | } |
| 495 | |
| 496 | .material-content .action-bar material-button.showing-sidebar { |
| 497 | background-color: var(--TWPT-active-background)!important; |
| 498 | } |
| 499 | |
| 500 | ec-activity-panel .title-bar h3 { |
| 501 | color: #e8eaf2!important; |
| 502 | } |
| 503 | |
| 504 | ec-activity-panel ec-activity { |
| 505 | color: var(--TWPT-secondary-text)!important; |
| 506 | border-color: var(--TWPT-card-border)!important; |
| 507 | } |
| 508 | |
| 509 | ec-activity-panel ec-activity .message { |
| 510 | color: var(--TWPT-primary-text-alt)!important; |
| 511 | } |
| 512 | |
| 513 | ec-activity-panel ec-activity .thread-title { |
| 514 | color: #c3bfbc!important; |
| 515 | } |
| 516 | |
| 517 | /* Recommended answers - show in green where we've overwritten the colors */ |
| 518 | .recommended-answers { |
| 519 | color: #34a853!important; |
| 520 | } |
| 521 | |
avm99963 | fb7107c | 2021-04-14 19:39:05 +0200 | [diff] [blame] | 522 | /* Suggested answers - show brighter blue */ |
| 523 | .suggested-icon { |
| 524 | color: var(--TWPT-blue-A100)!important; |
| 525 | } |
| 526 | |
| 527 | /* Help button (shown in the suggested answers header) */ |
| 528 | .explanation-icon material-icon { |
| 529 | color: rgba(255, 255, 255, .54)!important; |
| 530 | } |
| 531 | |
| 532 | /* Help button tooltip */ |
| 533 | .popup .paper-container { |
| 534 | background: var(--TWPT-drawer-background)!important; |
| 535 | } |
| 536 | |
| 537 | .explanation-icon material-icon:hover { |
| 538 | color: var(--TWPT-blue-A100)!important; |
| 539 | } |
| 540 | |
avm99963 | 223416c | 2021-04-21 22:13:14 +0200 | [diff] [blame] | 541 | /* New thread and edit message views */ |
| 542 | material-stepper { |
| 543 | border-top-color: var(--TWPT-card-border)!important; |
| 544 | } |
| 545 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 546 | material-stepper .stepper-step-name, |
| 547 | material-stepper .purpose-title { |
| 548 | color: var(--TWPT-primary-text)!important; |
| 549 | } |
| 550 | |
| 551 | ec-ask-flow .display-name-label, |
avm99963 | 223416c | 2021-04-21 22:13:14 +0200 | [diff] [blame] | 552 | material-stepper .additional-details-label, |
| 553 | material-stepper .detail-label { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 554 | color: var(--TWPT-secondary-text)!important; |
| 555 | } |
| 556 | |
avm99963 | 223416c | 2021-04-21 22:13:14 +0200 | [diff] [blame] | 557 | material-stepper .stepper-step[selectable=true]:focus { |
| 558 | background-color: rgba(60, 64, 67, .24)!important; |
| 559 | } |
| 560 | |
avm99963 | 0181891 | 2021-05-24 11:53:18 +0200 | [diff] [blame] | 561 | /* Compose thread view */ |
| 562 | ec-thread-composer .main-content .title-label, |
| 563 | ec-thread-composer .main-content .post-label { |
| 564 | color: var(--TWPT-primary-text-alt)!important; |
| 565 | } |
| 566 | |
| 567 | ec-thread-composer .main-content .title-input, |
| 568 | ec-thread-composer .main-content ec-rich-text-editor { |
| 569 | border-color: var(--TWPT-card-border)!important; |
| 570 | } |
| 571 | |
| 572 | ec-thread-composer .main-content .title-alert { |
Adrià Vilanova Martínez | c5d40aa | 2021-06-11 14:18:23 +0200 | [diff] [blame] | 573 | color: var(--TWPT-bad-text)!important; |
avm99963 | 0181891 | 2021-05-24 11:53:18 +0200 | [diff] [blame] | 574 | } |
| 575 | |
| 576 | ec-thread-composer material-drawer { |
| 577 | background-color: inherit!important; |
| 578 | } |
| 579 | |
| 580 | ec-thread-composer material-drawer .right-panel { |
| 581 | border-left-color: var(--TWPT-card-border)!important; |
| 582 | } |
| 583 | |
| 584 | ec-thread-composer material-drawer .panel-section-title { |
| 585 | color: var(--TWPT-primary-text)!important; |
| 586 | } |
| 587 | |
| 588 | ec-thread-composer material-drawer .panel-section-divider { |
| 589 | border-color: var(--TWPT-card-border)!important; |
| 590 | } |
| 591 | |
| 592 | ec-thread-composer material-drawer material-radio .radio-label { |
| 593 | color: var(--TWPT-primary-text-alt)!important; |
| 594 | } |
| 595 | |
| 596 | ec-thread-composer material-drawer material-radio .radio-description, |
| 597 | ec-thread-composer material-drawer .settings-section .panel-section-item .select-label { |
| 598 | color: var(--TWPT-secondary-text)!important; |
| 599 | } |
| 600 | |
avm99963 | 48c87d1 | 2021-04-09 13:00:21 +0200 | [diff] [blame] | 601 | /* Note: see thread view section. There is a rule for the thread creation |
| 602 | * footer. |
| 603 | **/ |
| 604 | |
Adrià Vilanova Martínez | 531cd07 | 2021-12-05 20:15:43 +0100 | [diff] [blame] | 605 | /* Chart in the profile view */ |
Adrià Vilanova Martínez | d20e57e | 2021-10-13 23:12:13 +0200 | [diff] [blame] | 606 | ec-user bar-chart .axis text, |
| 607 | ec-unified-user sc-tailwind-shared-activity-chart .axis text { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 608 | fill: rgba(255, 255, 255, .54)!important; |
| 609 | } |
| 610 | |
| 611 | ec-user bar-chart .axis path, |
| 612 | ec-user bar-chart .axis .gridline, |
Adrià Vilanova Martínez | d20e57e | 2021-10-13 23:12:13 +0200 | [diff] [blame] | 613 | ec-user bar-chart .axis line, |
| 614 | ec-unified-user sc-tailwind-shared-activity-chart .axis path, |
| 615 | ec-unified-user sc-tailwind-shared-activity-chart .axis .gridline, |
| 616 | ec-unified-user sc-tailwind-shared-activity-chart .axis line { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 617 | stroke: rgba(255, 255, 255, .12)!important; |
| 618 | } |
| 619 | |
| 620 | ec-user bar-chart .axis line.axis-zero-tick, |
Adrià Vilanova Martínez | d20e57e | 2021-10-13 23:12:13 +0200 | [diff] [blame] | 621 | ec-user bar-chart .axis.x .tick-mark, |
| 622 | ec-unified-user sc-tailwind-shared-activity-chart .axis line.axis-zero-tick, |
| 623 | ec-unified-user sc-tailwind-shared-activity-chart .axis.x .tick-mark { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 624 | stroke: rgba(255, 255, 255, .38)!important; |
| 625 | } |
| 626 | |
Adrià Vilanova Martínez | d20e57e | 2021-10-13 23:12:13 +0200 | [diff] [blame] | 627 | ec-user bar-chart .aplos-legend-entry, |
| 628 | ec-unified-user sc-tailwind-shared-activity-chart .aplos-legend-entry { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 629 | color: var(--TWPT-secondary-text)!important; |
| 630 | } |
| 631 | |
| 632 | .aplos-hovercard { |
Adrià Vilanova Martínez | d20e57e | 2021-10-13 23:12:13 +0200 | [diff] [blame] | 633 | color: var(--TWPT-interop-secondary-text)!important; |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 634 | background: var(--TWPT-secondary-background)!important; |
Adrià Vilanova Martínez | d20e57e | 2021-10-13 23:12:13 +0200 | [diff] [blame] | 635 | border: none!important; |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 636 | } |
| 637 | |
| 638 | .aplos-hovercard .title { |
| 639 | color: var(--TWPT-primary-text)!important; |
| 640 | } |
| 641 | |
| 642 | .aplos-hovercard .subtitle, |
| 643 | .aplos-donut-center .subtitle, |
| 644 | .aplos-hovercard .series, |
| 645 | .aplos-donut-center .series, |
| 646 | .aplos-hovercard .value, |
| 647 | .aplos-donut-center .value { |
| 648 | color: var(--TWPT-secondary-text)!important; |
| 649 | } |
| 650 | |
Adrià Vilanova Martínez | d20e57e | 2021-10-13 23:12:13 +0200 | [diff] [blame] | 651 | /* |
| 652 | * IMPORTANT NOTICE: |
| 653 | * Note: the following styles (for interop components) have been written by |
| 654 | * Googlers and thus are not included as part of the MIT license. This also |
| 655 | * applies to the styles of the unified profiles. |
| 656 | **/ |
| 657 | |
| 658 | /* Common styles for interop components */ |
| 659 | .scSharedCalloutroot { |
| 660 | color: var(--TWPT-interop-primary-text)!important; |
| 661 | } |
| 662 | |
| 663 | .scSharedCallouterror { |
| 664 | background-color: #523a3b!important; |
| 665 | border-color: #f9dedc!important; |
| 666 | } |
| 667 | |
| 668 | .scSharedCallouterror sc-shared-material-icon { |
| 669 | color: #f9dedc!important; |
| 670 | } |
| 671 | |
| 672 | .scSharedCallouterror>.scSharedCalloutsecondary-button button { |
| 673 | color: #ec928e!important; |
| 674 | } |
| 675 | |
| 676 | .scSharedCalloutcaution { |
| 677 | background-color: #554c33!important; |
| 678 | border-color: #ffdf99!important; |
| 679 | } |
| 680 | |
| 681 | .scSharedCalloutcaution sc-shared-material-icon { |
| 682 | color: #ffdf99!important; |
| 683 | } |
| 684 | |
| 685 | .scSharedCalloutcaution>.scSharedCalloutsecondary-button button { |
| 686 | color: #f09d00!important; |
| 687 | } |
| 688 | |
| 689 | .scSharedCalloutinformational { |
| 690 | background-color: #394457!important; |
| 691 | border-color: #d3e3fd!important; |
| 692 | } |
| 693 | |
| 694 | .scSharedCalloutinformational sc-shared-material-icon { |
| 695 | color: #d3e3fd!important; |
| 696 | } |
| 697 | |
| 698 | .scSharedCalloutinformational>.scSharedCalloutsecondary-button button { |
| 699 | color: #7cacf8!important; |
| 700 | } |
| 701 | |
| 702 | .scSharedCalloutsuccess { |
| 703 | background-color: #37493f!important; |
| 704 | border-color: #c4eed0!important; |
| 705 | } |
| 706 | |
| 707 | .scSharedCalloutsuccess sc-shared-material-icon { |
| 708 | color: #c4eed0!important; |
| 709 | } |
| 710 | |
| 711 | .scSharedCalloutsuccess>.scSharedCalloutsecondary-button button { |
| 712 | color: #37be5f!important; |
| 713 | } |
| 714 | |
| 715 | .scSharedMaterialbuttonroot:disabled { |
| 716 | color: rgba(227, 227, 227, 0.369)!important; |
| 717 | } |
| 718 | |
| 719 | .scSharedMaterialbuttontext { |
| 720 | color: #7cacf8!important; |
| 721 | } |
| 722 | |
| 723 | .scSharedMaterialbuttoncolor-label { |
| 724 | color: var(--TWPT-interop-secondary-text)!important; |
| 725 | } |
| 726 | |
| 727 | .scSharedMaterialbuttoncolor-hint { |
| 728 | color: var(--TWPT-interop-secondary-text)!important; |
| 729 | } |
| 730 | |
| 731 | .scSharedMaterialbuttonnavigational { |
| 732 | color: var(--TWPT-interop-primary-text)!important; |
| 733 | } |
| 734 | |
| 735 | .scSharedMaterialbuttonnavigational-alt { |
| 736 | color: var(--TWPT-interop-secondary-text)!important; |
| 737 | } |
| 738 | |
| 739 | .scSharedMaterialbuttonhairline { |
| 740 | border-color: var(--TWPT-interop-subtle-border)!important; |
| 741 | color: #7cacf8!important; |
| 742 | } |
| 743 | |
| 744 | .scSharedMaterialbuttonhairline:disabled { |
| 745 | border-color: rgba(227, 227, 227, 0.369)!important; |
| 746 | } |
| 747 | |
| 748 | .scSharedMaterialbuttonhairline:hover, |
| 749 | .scSharedMaterialbuttonhairline:focus { |
| 750 | border-color: rgba(124, 172, 248, 0.239)!important; |
| 751 | } |
| 752 | |
| 753 | .scSharedMaterialbuttonhairline:active { |
| 754 | box-shadow: 0 1px 2px 0 rgba(124, 172, 248, 0.302), 0 1px 3px 1px rgba(124, 172, 248, 0.149)!important; |
| 755 | } |
| 756 | |
| 757 | .scSharedMaterialbuttontonal { |
| 758 | color: #7cacf8!important; |
| 759 | background: #394457!important; |
| 760 | } |
| 761 | |
| 762 | .scSharedMaterialbuttontonal:hover { |
| 763 | box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.302), 0 1px 3px 1px rgba(0, 0, 0, 0.149)!important; |
| 764 | } |
| 765 | |
| 766 | .scSharedMaterialbuttontonal:active { |
| 767 | box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.302), 0 2px 6px 2px rgba(0, 0, 0, 0.149)!important; |
| 768 | } |
| 769 | |
| 770 | .scSharedMaterialbuttontonal:disabled { |
| 771 | background: rgba(227, 227, 227, 0.122)!important; |
| 772 | } |
| 773 | |
| 774 | .scSharedMaterialbuttonfilled { |
| 775 | background: #7cacf8!important; |
| 776 | color: #1f1f1f!important; |
| 777 | } |
| 778 | |
| 779 | .scSharedMaterialbuttonfilled:disabled { |
| 780 | background: rgba(227, 227, 227, 0.122)!important; |
| 781 | } |
| 782 | |
| 783 | .scSharedMaterialbuttonfilled:hover, |
| 784 | .scSharedMaterialbuttonfilled:focus { |
| 785 | box-shadow: 0 1px 2px 0 rgba(124, 172, 248, 0.302), 0 1px 3px 1px rgba(124, 172, 248, 0.149)!important; |
| 786 | } |
| 787 | |
| 788 | .scSharedMaterialbuttonfilled:active { |
| 789 | box-shadow: 0 1px 3px 0 rgba(124, 172, 248, 0.302), 0 4px 8px 3px rgba(124, 172, 248, 0.149)!important; |
| 790 | } |
| 791 | |
| 792 | .scSharedMaterialbuttonprotected { |
| 793 | box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.302), 0 1px 3px 1px rgba(0, 0, 0, 0.149)!important; |
| 794 | background: #1f1f1f!important; |
| 795 | color: #7cacf8!important; |
| 796 | } |
| 797 | |
| 798 | .scSharedMaterialbuttonprotected:disabled { |
| 799 | background: rgba(227, 227, 227, 0.122)!important; |
| 800 | } |
| 801 | |
| 802 | .scSharedMaterialbuttonprotected:hover { |
| 803 | box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.302), 0 1px 3px 1px rgba(0, 0, 0, 0.149)!important; |
| 804 | } |
| 805 | |
| 806 | .scSharedMaterialbuttonprotected:focus { |
| 807 | box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.302), 0 2px 6px 2px rgba(0, 0, 0, 0.149)!important; |
| 808 | } |
| 809 | |
| 810 | .scSharedMaterialbuttonprotected:active { |
| 811 | box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.302), 0 4px 8px 3px rgba(0, 0, 0, 0.149)!important; |
| 812 | } |
| 813 | |
| 814 | .scSharedExpandabletextexpander { |
| 815 | color: #7cacf8!important; |
| 816 | } |
| 817 | |
| 818 | .scSharedMaterialborderfilled { |
| 819 | background: #313235!important; |
| 820 | border-bottom: 1px solid var(--TWPT-interop-secondary-text)!important; |
| 821 | } |
| 822 | |
| 823 | .scSharedMaterialborderfilled-error { |
| 824 | border-bottom-color: #ec928e!important; |
| 825 | } |
| 826 | |
| 827 | .scSharedMaterialborderfilled-bottom { |
| 828 | background-color: #7cacf8!important; |
| 829 | } |
| 830 | |
| 831 | .scSharedMaterialborderfilled-label { |
| 832 | color: var(--TWPT-interop-secondary-text)!important; |
| 833 | } |
| 834 | |
| 835 | .scSharedMaterialborderfilled-label-focused { |
| 836 | color: #7cacf8!important; |
| 837 | } |
| 838 | |
| 839 | .scSharedMaterialborderlabel { |
| 840 | color: var(--TWPT-interop-secondary-text)!important; |
| 841 | } |
| 842 | |
| 843 | .scSharedMaterialborderleft { |
| 844 | border-bottom-color: var(--TWPT-interop-secondary-text)!important; |
| 845 | border-left-color: var(--TWPT-interop-secondary-text)!important; |
| 846 | border-top-color: var(--TWPT-interop-secondary-text)!important; |
| 847 | } |
| 848 | |
| 849 | .scSharedMaterialborderleft-error { |
| 850 | border-bottom-color: #ec928e!important; |
| 851 | border-left-color: #ec928e!important; |
| 852 | border-top-color: #ec928e!important; |
| 853 | } |
| 854 | |
| 855 | .scSharedMaterialbordermid { |
| 856 | border-bottom-color: var(--TWPT-interop-secondary-text)!important; |
| 857 | border-top-color: var(--TWPT-interop-secondary-text)!important; |
| 858 | } |
| 859 | |
| 860 | .scSharedMaterialbordermid-error { |
| 861 | border-bottom-color: #ec928e!important; |
| 862 | border-top-color: #ec928e!important; |
| 863 | } |
| 864 | |
| 865 | .scSharedMaterialborderright { |
| 866 | border-bottom-color: var(--TWPT-interop-secondary-text)!important; |
| 867 | border-right-color: var(--TWPT-interop-secondary-text)!important; |
| 868 | border-top-color: var(--TWPT-interop-secondary-text)!important; |
| 869 | } |
| 870 | |
| 871 | .scSharedMaterialborderright-error { |
| 872 | border-bottom-color: #ec928e!important; |
| 873 | border-right-color: #ec928e!important; |
| 874 | border-top-color: #ec928e!important; |
| 875 | } |
| 876 | |
| 877 | .scSharedMaterialborderfocused { |
| 878 | border-color: #7cacf8!important; |
| 879 | } |
| 880 | |
| 881 | .scSharedMaterialborderdisabled { |
| 882 | border-color: var(--TWPT-interop-subtle-border)!important; |
| 883 | } |
| 884 | |
| 885 | .scSharedMaterialborderlabel-focused { |
| 886 | color: #7cacf8!important; |
| 887 | } |
| 888 | |
| 889 | .scSharedMaterialborderlabel-disabled { |
| 890 | color: rgba(255, 255, 255, 0.239)!important; |
| 891 | } |
| 892 | |
| 893 | .scSharedMaterialborderlabel-error { |
| 894 | color: #ec928e!important; |
| 895 | } |
| 896 | |
| 897 | .scSharedMaterialcheckboxcheckbox { |
| 898 | color: #7cacf8!important; |
| 899 | } |
| 900 | |
| 901 | .scSharedMaterialcheckboxbox { |
| 902 | border-color: var(--TWPT-interop-secondary-text)!important; |
| 903 | } |
| 904 | |
| 905 | .scSharedMaterialcheckboxcheckmark-path { |
| 906 | stroke: #1f1f1f!important; |
| 907 | } |
| 908 | |
| 909 | .scSharedMaterialcheckboxmixedmark { |
| 910 | border-color: #1f1f1f!important; |
| 911 | } |
| 912 | |
| 913 | .scSharedMaterial_dialogDialogcontentloading-overlay { |
| 914 | background: rgba(227, 227, 227, 0.122)!important; |
| 915 | } |
| 916 | |
| 917 | .scSharedMaterialpopupbackground { |
| 918 | box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.302), 0 1px 3px 1px rgba(0, 0, 0, 0.149)!important; |
| 919 | background: #2a2b2f!important; |
| 920 | border: 1px solid var(--TWPT-interop-subtle-border)!important; |
| 921 | } |
| 922 | |
| 923 | .scSharedMaterialmenuroot { |
| 924 | box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.302), 0 1px 3px 1px rgba(0, 0, 0, 0.149)!important; |
| 925 | background: #2a2b2f!important; |
| 926 | } |
| 927 | |
| 928 | .scSharedMaterialmenuitem { |
| 929 | color: var(--TWPT-interop-primary-text)!important; |
| 930 | } |
| 931 | |
| 932 | .scSharedMaterialmenuitem-separator { |
| 933 | border-top-color: var(--TWPT-interop-subtle-border)!important; |
| 934 | } |
| 935 | |
| 936 | .scSharedMaterialmenuhighlight:focus, |
| 937 | .scSharedMaterialmenuhighlight:hover { |
| 938 | background-color: #394457!important; |
| 939 | } |
| 940 | |
| 941 | .scSharedMaterialmenuhighlight:focus { |
| 942 | outline: auto #7cacf8 1px!important; |
| 943 | } |
| 944 | |
| 945 | .scSharedMaterialsnackbarsnackbar { |
| 946 | background: var(--TWPT-interop-primary-text)!important; |
| 947 | color: #1f1f1f!important; |
| 948 | } |
| 949 | |
| 950 | .scSharedMaterialsnackbaraction button { |
| 951 | color: #0b57d0!important; |
| 952 | } |
| 953 | |
| 954 | .scSharedMaterialtabbartab { |
| 955 | color: var(--TWPT-interop-primary-text)!important; |
| 956 | } |
| 957 | |
| 958 | .scSharedMaterialtabbartab:hover, |
| 959 | .scSharedMaterialtabbartab:focus { |
| 960 | background-color: #313235!important; |
| 961 | } |
| 962 | |
| 963 | .scSharedMaterialtabbarselected { |
| 964 | border-bottom-color: #7cacf8!important; |
| 965 | color: #7cacf8!important; |
| 966 | } |
| 967 | |
| 968 | .scSharedMaterialtextfieldlabel { |
| 969 | color: var(--TWPT-interop-primary-text)!important; |
| 970 | } |
| 971 | |
| 972 | .scSharedMaterialtextfieldnative-control { |
| 973 | caret-color: #7cacf8!important; |
| 974 | color: var(--TWPT-interop-primary-text)!important; |
| 975 | } |
| 976 | |
| 977 | .scSharedMaterialtextfieldinvalid .scSharedMaterialtextfieldnative-control { |
| 978 | caret-color: #ec928e!important; |
| 979 | } |
| 980 | |
| 981 | .scSharedMaterialtextfieldnative-control:disabled { |
| 982 | color: var(--TWPT-interop-secondary-text)!important; |
| 983 | } |
| 984 | |
| 985 | .scSharedMaterialtextfieldfocused .scSharedMaterialtextfieldlabel { |
| 986 | color: #7cacf8!important; |
| 987 | } |
| 988 | |
| 989 | .scSharedMaterialtextfieldinvalid .scSharedMaterialtextfieldlabel { |
| 990 | color: #ec928e!important; |
| 991 | } |
| 992 | |
| 993 | .scSharedMaterialtextfielddisabled .scSharedMaterialtextfieldlabel { |
| 994 | color: var(--TWPT-interop-secondary-text)!important; |
| 995 | } |
| 996 | |
| 997 | .scSharedMaterialtextfieldhelper-text { |
| 998 | color: var(--TWPT-interop-secondary-text)!important; |
| 999 | } |
| 1000 | |
| 1001 | .scSharedMaterialtextfieldhelper-text-invalid { |
| 1002 | color: #ec928e!important; |
| 1003 | } |
| 1004 | |
| 1005 | .scSharedMaterialtextfieldhelper-text-disabled { |
| 1006 | color: var(--TWPT-interop-secondary-text)!important; |
| 1007 | } |
| 1008 | |
| 1009 | .scTailwindSharedActivitychartroot { |
| 1010 | border: 1px solid var(--TWPT-interop-subtle-border)!important; |
| 1011 | } |
| 1012 | |
| 1013 | .scTailwindSharedAvataravatar-loading { |
| 1014 | background: #1f1f1f!important; |
| 1015 | } |
| 1016 | |
| 1017 | .scTailwindSharedReportabusedialogcontent .abuse-link { |
| 1018 | color: #7cacf8!important; |
| 1019 | } |
| 1020 | |
| 1021 | /* Unified profile view */ |
| 1022 | .scTailwindUser_profileAchievementsempty a, |
| 1023 | .scTailwindUser_profileAchievementsempty a:visited, |
| 1024 | sc-tailwind-user_profile-user-profile .link-icon { |
| 1025 | color: #7cacf8!important; |
| 1026 | } |
| 1027 | |
| 1028 | .scTailwindUser_profileBiosectionsection-heading { |
| 1029 | color: var(--TWPT-interop-secondary-text)!important; |
| 1030 | } |
| 1031 | |
| 1032 | .scTailwindUser_profileBiosectionbio { |
| 1033 | color: var(--TWPT-interop-primary-text)!important; |
| 1034 | } |
| 1035 | |
| 1036 | .scTailwindUser_profileBiosectionlinks, |
| 1037 | .scTailwindUser_profileBiosectionlink { |
| 1038 | color: #7cacf8!important; |
| 1039 | } |
| 1040 | |
| 1041 | .scTailwindUser_profileBiosectioninput-label { |
| 1042 | color: var(--TWPT-interop-secondary-text)!important; |
| 1043 | } |
| 1044 | |
| 1045 | .scTailwindUser_profileEmaildisplayemail-display { |
| 1046 | color: var(--TWPT-interop-secondary-text)!important; |
| 1047 | } |
| 1048 | |
| 1049 | .scTailwindUser_profileEmaildisplayshow-email { |
| 1050 | color: #7cacf8!important; |
| 1051 | } |
| 1052 | |
| 1053 | .scTailwindUser_profileMessagecardthread-link { |
| 1054 | color: var(--TWPT-interop-secondary-text)!important; |
| 1055 | } |
| 1056 | |
| 1057 | .scTailwindUser_profileMessagecardlabel { |
| 1058 | color: var(--TWPT-interop-secondary-text)!important; |
| 1059 | } |
| 1060 | |
| 1061 | .scTailwindUser_profileMessagecardcontent { |
| 1062 | border-left: 2px solid var(--TWPT-interop-subtle-border)!important; |
| 1063 | color: var(--TWPT-interop-primary-text)!important; |
| 1064 | } |
| 1065 | |
| 1066 | .scTailwindUser_profileMessagecardcount { |
| 1067 | color: var(--TWPT-interop-secondary-text)!important; |
| 1068 | } |
| 1069 | |
| 1070 | .scTailwindUser_profileMessagecardrecommended-answer { |
| 1071 | color: #6dd58c!important; |
| 1072 | } |
| 1073 | |
| 1074 | .scTailwindUser_profileMessagecardrecommended-answer .icon { |
| 1075 | background-color: #6dd58c!important; |
| 1076 | color: #1f1f1f!important; |
| 1077 | } |
| 1078 | |
| 1079 | sc-tailwind-user_profile-user-profile .notificationIcon { |
| 1080 | color: var(--TWPT-interop-secondary-text)!important; |
| 1081 | } |
| 1082 | |
| 1083 | sc-tailwind-user_profile-user-profile .deleteIcon, |
| 1084 | sc-tailwind-user_profile-user-profile .reportAbuseIcon, |
| 1085 | sc-tailwind-user_profile-user-profile .reactivateIcon { |
| 1086 | color: var(--TWPT-interop-secondary-text)!important; |
| 1087 | } |
| 1088 | |
| 1089 | .scTailwindUser_profilePosthistorysection+.scTailwindUser_profilePosthistorysection { |
| 1090 | border-top-color: var(--TWPT-interop-subtle-border)!important; |
| 1091 | } |
| 1092 | |
| 1093 | .scTailwindUser_profilePosthistorycontent, |
| 1094 | .scTailwindUser_profilePosthistoryheader, |
| 1095 | .scTailwindUser_profilePosthistoryerror { |
| 1096 | border-color: var(--TWPT-interop-subtle-border)!important; |
| 1097 | } |
| 1098 | |
| 1099 | .scTailwindUser_profileThreadcardtitle { |
| 1100 | color: var(--TWPT-interop-primary-text)!important; |
| 1101 | } |
| 1102 | |
| 1103 | .scTailwindUser_profileThreadcardlabel { |
| 1104 | color: var(--TWPT-interop-secondary-text)!important; |
| 1105 | } |
| 1106 | |
| 1107 | .scTailwindUser_profileThreadcardcontent { |
| 1108 | color: var(--TWPT-interop-primary-text)!important; |
| 1109 | } |
| 1110 | |
| 1111 | .scTailwindUser_profileThreadcardcount { |
| 1112 | color: var(--TWPT-interop-secondary-text)!important; |
| 1113 | } |
| 1114 | |
| 1115 | .scTailwindUser_profileThreadcardreply .icon { |
| 1116 | color: var(--TWPT-interop-secondary-text)!important; |
| 1117 | } |
| 1118 | |
| 1119 | .scTailwindUser_profileThreadcardrecommended-answer { |
| 1120 | color: #6dd58c!important; |
| 1121 | } |
| 1122 | |
| 1123 | .scTailwindUser_profileThreadcardrecommended-answer .icon { |
| 1124 | background-color: #6dd58c!important; |
| 1125 | color: #1f1f1f!important; |
| 1126 | } |
| 1127 | |
| 1128 | .scTailwindUser_profileUsercardroot { |
| 1129 | border: 1px solid var(--TWPT-interop-subtle-border)!important; |
| 1130 | } |
| 1131 | |
| 1132 | .scTailwindUser_profileUsercardinput-label { |
| 1133 | color: var(--TWPT-interop-secondary-text)!important; |
| 1134 | } |
| 1135 | |
| 1136 | .scTailwindUser_profileUsercardheadline { |
| 1137 | color: var(--TWPT-interop-primary-text)!important; |
| 1138 | } |
| 1139 | |
| 1140 | .scTailwindUser_profileUsercarddetails { |
| 1141 | color: var(--TWPT-interop-secondary-text)!important; |
| 1142 | } |
| 1143 | |
| 1144 | .scTailwindUser_profileUsercardlinks, |
| 1145 | .scTailwindUser_profileUsercardlink { |
| 1146 | color: #7cacf8!important; |
| 1147 | } |
| 1148 | |
| 1149 | .scTailwindUser_profileUsercardhorizontal-separator { |
| 1150 | background-color: var(--TWPT-interop-subtle-border)!important; |
| 1151 | color: var(--TWPT-interop-subtle-border)!important; |
| 1152 | } |
| 1153 | |
| 1154 | .scTailwindUser_profileUsercardsection-heading { |
| 1155 | color: var(--TWPT-interop-secondary-text)!important; |
| 1156 | } |
| 1157 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 1158 | /* Duplicate thread feature */ |
| 1159 | .search-results ec-thread-option material-expansionpanel .panel { |
| 1160 | background-color: var(--TWPT-primary-background)!important; |
| 1161 | } |
| 1162 | |
| 1163 | .search-results ec-thread-option material-expansionpanel.selected .panel, |
| 1164 | .search-results ec-thread-option material-expansionpanel .panel > .main-header > .header.closed:hover, |
| 1165 | .search-results ec-thread-option material-expansionpanel .panel > .main-header > .header.closed:focus { |
| 1166 | background-color: #17191c!important; |
| 1167 | } |
| 1168 | |
| 1169 | /* Disabled buttons */ |
| 1170 | material-button[disabled] { |
| 1171 | color: rgba(255, 255, 255, .26)!important; |
| 1172 | } |
| 1173 | |
| 1174 | /* Material icons */ |
| 1175 | ec-filter-drawer-item material-icon, |
| 1176 | ec-filter-drawer-item ec-icon, |
| 1177 | material-drawer .drawer-section material-icon, |
| 1178 | material-drawer .drawer-section ec-icon, |
| 1179 | material-list material-icon, |
| 1180 | ec-query-builder material-icon, |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 1181 | ec-thread-summary material-expansionpanel .title material-icon, |
| 1182 | .search-results ec-thread-option material-icon, |
| 1183 | .search-results ec-thread-option ec-icon, |
| 1184 | ec-rich-text-editor material-icon, |
| 1185 | ec-editor-command material-icon, |
avm99963 | 223416c | 2021-04-21 22:13:14 +0200 | [diff] [blame] | 1186 | ec-canned-responses ec-canned-response-row material-icon, |
| 1187 | ec-ask-flow > .header material-button { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 1188 | color: rgba(255, 255, 255, .87)!important; |
| 1189 | } |
| 1190 | |
| 1191 | material-drawer ec-icon, |
avm99963 | 223416c | 2021-04-21 22:13:14 +0200 | [diff] [blame] | 1192 | .search-results ec-thread-option ec-icon, |
avm99963 | 15b23d7 | 2021-04-26 18:07:15 +0200 | [diff] [blame] | 1193 | ec-thread-summary material-expansionpanel .title ec-icon, |
| 1194 | ec-announcements-menu-item ec-icon { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 1195 | fill: rgba(255, 255, 255, .87)!important; |
| 1196 | } |
| 1197 | |
| 1198 | /* Dialogs */ |
| 1199 | material-dialog, material-dialog .dialog-header { |
| 1200 | background-color: var(--TWPT-primary-background)!important; |
| 1201 | } |
| 1202 | |
| 1203 | ec-movable-dialog[showminimize] material-dialog .dialog-header { |
| 1204 | background-color: #d2e3fc!important; |
| 1205 | } |
| 1206 | |
| 1207 | material-dialog .title { |
| 1208 | color: var(--TWPT-primary-text-alt)!important; |
| 1209 | } |
| 1210 | |
| 1211 | ec-movable-dialog[showminimize] material-dialog .dialog-header .title, ec-movable-dialog[showminimize] material-dialog header material-icon { |
| 1212 | color: var(--TWPT-primary-background)!important; |
| 1213 | } |
| 1214 | |
| 1215 | ec-movable-dialog[showminimize] material-dialog .header-notice, material-dialog .legal-prompt { |
| 1216 | background-color: #170f01!important; |
| 1217 | } |
| 1218 | |
avm99963 | 223416c | 2021-04-21 22:13:14 +0200 | [diff] [blame] | 1219 | ec-movable-dialog[showminimize] material-dialog .main .header-notice material-icon[icon="info_outline"] { |
| 1220 | color: var(--TWPT-blue-A100)!important; |
| 1221 | } |
| 1222 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 1223 | material-dialog .section-title, |
| 1224 | material-dialog .select-label, |
| 1225 | material-dialog .input-label, |
| 1226 | material-dialog .btn-no, |
| 1227 | ec-display-name-editor, |
| 1228 | .forum-selection-label { |
| 1229 | color: var(--TWPT-secondary-text)!important; |
| 1230 | } |
| 1231 | |
avm99963 | 0181891 | 2021-05-24 11:53:18 +0200 | [diff] [blame] | 1232 | material-dialog main > .user { |
| 1233 | border-bottom-color: var(--TWPT-card-border)!important; |
| 1234 | } |
| 1235 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 1236 | ec-movable-dialog[showminimize] material-dialog footer > [footer] > .footer > [footer] > simple-html { |
| 1237 | color: var(--TWPT-secondary-text)!important; |
| 1238 | background-color: var(--TWPT-active-background)!important; |
| 1239 | border-top-color: #25231f!important; |
| 1240 | } |
| 1241 | |
avm99963 | 0181891 | 2021-05-24 11:53:18 +0200 | [diff] [blame] | 1242 | ec-movable-dialog[showminimize] material-dialog footer > [footer] > .footer > [footer] > simple-html a { |
| 1243 | color: var(--TWPT-link)!important; |
| 1244 | } |
| 1245 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 1246 | /* Keyboard shortcuts dialog */ |
Adrià Vilanova Martínez | d28af56 | 2021-09-19 22:27:55 +0200 | [diff] [blame] | 1247 | material-dialog .main.with-scroll-strokes table th { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 1248 | color: var(--TWPT-primary-text)!important; |
| 1249 | } |
| 1250 | |
Adrià Vilanova Martínez | d28af56 | 2021-09-19 22:27:55 +0200 | [diff] [blame] | 1251 | material-dialog .main.with-scroll-strokes table td { |
| 1252 | color: var(--TWPT-primary-text-alt)!important; |
| 1253 | } |
| 1254 | |
| 1255 | material-dialog .main.with-scroll-strokes table tr, |
| 1256 | material-dialog .main.with-scroll-strokes .shortcut { |
| 1257 | border-color: var(--TWPT-card-border)!important; |
| 1258 | } |
| 1259 | |
| 1260 | material-dialog .main.with-scroll-strokes.bottom-scroll-stroke { |
| 1261 | border-bottom-color: var(--TWPT-card-border)!important; |
| 1262 | } |
| 1263 | |
| 1264 | material-dialog .main.with-scroll-strokes.top-scroll-stroke { |
| 1265 | border-top-color: var(--TWPT-card-border)!important; |
| 1266 | } |
| 1267 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 1268 | /* Rich text editor */ |
| 1269 | ec-editor-command material-button, |
| 1270 | ec-formatting-popup material-button { |
| 1271 | box-shadow: none!important; |
| 1272 | } |
| 1273 | |
| 1274 | ec-editor-command material-button.is-active { |
| 1275 | background: var(--TWPT-active-background)!important; |
| 1276 | } |
| 1277 | |
| 1278 | ec-rich-text-editor .placeholder { |
| 1279 | color: rgba(255, 255, 255, .38)!important; |
| 1280 | } |
| 1281 | |
avm99963 | 0181891 | 2021-05-24 11:53:18 +0200 | [diff] [blame] | 1282 | ec-rich-text-editor .input-wrapper, |
| 1283 | ec-rich-text-editor .spacer { |
| 1284 | border-color: var(--TWPT-card-border)!important; |
| 1285 | } |
| 1286 | |
| 1287 | ec-rich-text-editor .input-wrapper.input-wrapper--focused { |
| 1288 | border-color: var(--TWPT-blue-A100)!important; |
| 1289 | } |
| 1290 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 1291 | ec-rich-text-editor .input { |
| 1292 | color: var(--TWPT-primary-text)!important; |
| 1293 | } |
| 1294 | |
| 1295 | ec-rich-text-editor .hint { |
| 1296 | color: rgba(255, 255, 255, .54)!important; |
| 1297 | } |
| 1298 | |
| 1299 | material-select-searchbox + material-list material-list-item { |
| 1300 | color: rgba(255, 255, 255, .87)!important; |
| 1301 | } |
| 1302 | |
| 1303 | ec-attachment .filename { |
| 1304 | color: var(--TWPT-primary-text)!important; |
| 1305 | } |
| 1306 | |
| 1307 | /* Thread insert */ |
| 1308 | ec-thread-insert .title { |
| 1309 | color: var(--TWPT-primary-text)!important; |
| 1310 | } |
| 1311 | |
| 1312 | ec-thread-insert ec-thread-counts, |
| 1313 | ec-thread-insert .details, |
| 1314 | ec-thread-insert ec-relative-time { |
| 1315 | color: rgba(255, 255, 255, .54)!important; |
| 1316 | } |
| 1317 | |
| 1318 | /* Text input */ |
| 1319 | material-input input { |
| 1320 | color: var(--TWPT-primary-text)!important; |
| 1321 | } |
| 1322 | |
| 1323 | material-input .label-text, |
| 1324 | material-input .hint-text, |
| 1325 | material-input .counter { |
| 1326 | color: rgba(255, 255, 255, .54)!important; |
| 1327 | } |
| 1328 | |
| 1329 | material-input .underline .unfocused-underline { |
avm99963 | 223416c | 2021-04-21 22:13:14 +0200 | [diff] [blame] | 1330 | background-color: var(--TWPT-input-underline)!important; |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 1331 | } |
| 1332 | |
avm99963 | 0181891 | 2021-05-24 11:53:18 +0200 | [diff] [blame] | 1333 | material-input .underline .focused-underline { |
| 1334 | background-color: var(--TWPT-blue-A100)!important; |
| 1335 | } |
| 1336 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 1337 | label .label { |
| 1338 | color: var(--TWPT-primary-text)!important; |
| 1339 | } |
| 1340 | |
| 1341 | /* Input underline */ |
| 1342 | material-input .underline .unfocused-underline, |
| 1343 | material-dropdown-select dropdown-button [buttondecorator] { |
avm99963 | 0181891 | 2021-05-24 11:53:18 +0200 | [diff] [blame] | 1344 | border-color: var(--TWPT-input-underline)!important; |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 1345 | } |
| 1346 | |
Adrià Vilanova Martínez | 9605cb8 | 2021-09-07 13:04:10 +0200 | [diff] [blame] | 1347 | /* Checkbox input (except for forum checkboxes in the drawer) */ |
Adrià Vilanova Martínez | dd8075f | 2021-09-08 21:57:32 +0200 | [diff] [blame] | 1348 | material-checkbox material-icon:not(ec-forum-drawer-item material-icon, ec-thread-list material-icon), |
| 1349 | material-checkbox .content:not(ec-forum-drawer-item material-icon, ec-thread-list material-icon) { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 1350 | color: var(--TWPT-secondary-text)!important; |
| 1351 | } |
| 1352 | |
Adrià Vilanova Martínez | 0d15aeb | 2021-07-26 15:18:43 +0200 | [diff] [blame] | 1353 | /* .gm-icons is added by the SMEI_GOOGLE_MATERIAL_ICONS experiment. */ |
Adrià Vilanova Martínez | dd8075f | 2021-09-08 21:57:32 +0200 | [diff] [blame] | 1354 | material-checkbox material-icon.filled:not(ec-forum-drawer-item material-icon, ec-thread-list material-icon) { |
Adrià Vilanova Martínez | 0d15aeb | 2021-07-26 15:18:43 +0200 | [diff] [blame] | 1355 | color: var(--TWPT-blue-A100)!important; |
| 1356 | } |
| 1357 | |
| 1358 | material-checkbox:focus:not(.disabled).gm-icons .icon, |
| 1359 | .gm-icons material-checkbox:focus:not(.disabled) .icon, |
| 1360 | material-checkbox:hover:not(.disabled).gm-icons .icon, |
| 1361 | .gm-icons material-checkbox:hover:not(.disabled) .icon { |
| 1362 | color: #cfd2d8!important; /* custom value */ |
| 1363 | } |
| 1364 | |
| 1365 | material-checkbox:focus:not(.disabled).gm-icons .icon.filled, |
| 1366 | .gm-icons material-checkbox:focus:not(.disabled) .icon.filled, |
| 1367 | material-checkbox:hover:not(.disabled).gm-icons .icon.filled, |
| 1368 | .gm-icons material-checkbox:hover:not(.disabled) .icon.filled { |
| 1369 | color: var(--TWPT-blue-100)!important; |
| 1370 | } |
| 1371 | |
| 1372 | .gm-icons material-checkbox .icon-container::before{ |
| 1373 | background-color: #dfdedb!important; /* custom value */ |
| 1374 | } |
| 1375 | |
| 1376 | /* Radio input */ |
| 1377 | material-radio .icon-container:not(.checked) material-icon { |
| 1378 | color: var(--TWPT-secondary-text)!important; |
| 1379 | } |
| 1380 | |
| 1381 | material-radio .icon-container.checked material-icon { |
| 1382 | color: var(--TWPT-blue-A100)!important; |
| 1383 | } |
| 1384 | |
| 1385 | /* Material switch */ |
| 1386 | .mdc-switch:not(.mdc-switch--checked) .mdc-switch__track { |
| 1387 | background-color: #7d7d7d!important; /* custom value */ |
| 1388 | } |
| 1389 | |
| 1390 | .mdc-switch:not(.mdc-switch--checked) .mdc-switch__thumb { |
| 1391 | border-color: #fff!important; /* custom value */ |
| 1392 | } |
| 1393 | |
| 1394 | .mdc-switch.mdc-switch--checked .mdc-switch__track { |
| 1395 | background-color: var(--TWPT-blue-A100)!important; |
| 1396 | } |
| 1397 | |
| 1398 | .mdc-switch.mdc-switch--checked .mdc-switch__thumb { |
| 1399 | border-color: var(--TWPT-blue-A100)!important; |
| 1400 | } |
| 1401 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 1402 | /* Material menu button and dropdown select */ |
| 1403 | material-menu material-button, material-dropdown-select dropdown-button { |
avm99963 | 223416c | 2021-04-21 22:13:14 +0200 | [diff] [blame] | 1404 | color: var(--TWPT-primary-text)!important; |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 1405 | } |
| 1406 | |
avm99963 | 48c87d1 | 2021-04-09 13:00:21 +0200 | [diff] [blame] | 1407 | material-dropdown-select dropdown-button .button.is-disabled .button-text, |
| 1408 | material-dropdown-select dropdown-button .button.is-disabled material-icon { |
| 1409 | color: rgba(255, 255, 255, .32)!important; |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 1410 | } |
| 1411 | |
| 1412 | /* Announcements content */ |
avm99963 | 223416c | 2021-04-21 22:13:14 +0200 | [diff] [blame] | 1413 | ec-announcements-content .header, |
| 1414 | ec-announcements-content .no-announcements, |
| 1415 | ec-announcements-content .announcement { |
| 1416 | border-bottom-color: var(--TWPT-card-border)!important; |
| 1417 | } |
| 1418 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 1419 | ec-announcements-content .header .title, ec-announcements-content .announcement-title { |
| 1420 | color: var(--TWPT-primary-text-alt)!important; |
| 1421 | } |
| 1422 | |
avm99963 | 15b23d7 | 2021-04-26 18:07:15 +0200 | [diff] [blame] | 1423 | ec-announcements-content .announcement-date { |
| 1424 | color: var(--TWPT-secondary-text)!important; |
| 1425 | } |
| 1426 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 1427 | ec-announcements-content .no-announcements-message { |
| 1428 | color: #c3bfbc!important; |
| 1429 | } |
| 1430 | |
avm99963 | 15b23d7 | 2021-04-26 18:07:15 +0200 | [diff] [blame] | 1431 | ec-announcements-content .view-all-link, |
| 1432 | ec-announcements-content .read-more-button { |
avm99963 | 223416c | 2021-04-21 22:13:14 +0200 | [diff] [blame] | 1433 | color: var(--TWPT-link)!important; |
| 1434 | } |
| 1435 | |
avm99963 | 15b23d7 | 2021-04-26 18:07:15 +0200 | [diff] [blame] | 1436 | ec-announcements-content ::-webkit-scrollbar-thumb { |
| 1437 | background-color: rgba(255, 255, 255, .26)!important; |
| 1438 | } |
| 1439 | |
| 1440 | ec-announcements-content ::-webkit-scrollbar-thumb:hover { |
| 1441 | background-color: #4285f4!important; |
| 1442 | } |
| 1443 | |
avm99963 | b232963 | 2021-02-06 20:05:34 +0100 | [diff] [blame] | 1444 | /* Generic popup (for notification bell, account selector, etc.) */ |
| 1445 | .popup-wrapper .header-text { |
| 1446 | color: var(--TWPT-primary-text)!important; |
| 1447 | } |
| 1448 | |
avm99963 | 48c87d1 | 2021-04-09 13:00:21 +0200 | [diff] [blame] | 1449 | /* Notifications bell popup/panel */ |
Adrià Vilanova Martínez | 47d33bc | 2021-08-14 18:50:50 +0200 | [diff] [blame] | 1450 | .notification-panel .header { |
| 1451 | border-bottom-color: var(--TWPT-card-border)!important; |
| 1452 | } |
| 1453 | |
avm99963 | 48c87d1 | 2021-04-09 13:00:21 +0200 | [diff] [blame] | 1454 | .notification-panel .header material-button { |
| 1455 | color: var(--TWPT-secondary-text)!important; |
| 1456 | } |
| 1457 | |
| 1458 | .notification-panel .cards-container .promo-message { |
| 1459 | color: var(--TWPT-secondary-text)!important; |
| 1460 | } |
| 1461 | |
| 1462 | .notification-panel .cards-container .promo-message .header-text { |
| 1463 | color: var(--TWPT-primary-text)!important; |
| 1464 | } |
| 1465 | |
Adrià Vilanova Martínez | 47d33bc | 2021-08-14 18:50:50 +0200 | [diff] [blame] | 1466 | .notification-panel .cards-container ec-notification-card-content { |
| 1467 | border-bottom-color: var(--TWPT-card-border)!important; |
| 1468 | } |
| 1469 | |
| 1470 | .notification-panel .cards-container ec-notification-card-content .text { |
| 1471 | color: var(--TWPT-primary-text)!important; |
| 1472 | } |
| 1473 | |
| 1474 | .notification-panel .cards-container ec-notification-card-content .time, |
| 1475 | .notification-panel .cards-container ec-notification-card-content .close material-button { |
| 1476 | color: var(--TWPT-secondary-text)!important; |
| 1477 | } |
| 1478 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 1479 | /* Account selector */ |
| 1480 | .popup-wrapper .profile .email { |
| 1481 | color: rgba(255, 255, 255, .54)!important; |
| 1482 | } |
| 1483 | |
| 1484 | material-gaia-picker-footer { |
| 1485 | color: rgba(255, 255, 255, .54)!important; |
| 1486 | background-color: var(--TWPT-active-background)!important; |
| 1487 | } |
| 1488 | |
avm99963 | 48c87d1 | 2021-04-09 13:00:21 +0200 | [diff] [blame] | 1489 | material-gaia-picker-footer material-button { |
| 1490 | color: var(--TWPT-secondary-text)!important; |
| 1491 | } |
| 1492 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 1493 | /* Canned responses */ |
| 1494 | ec-canned-responses .filter-label, |
avm99963 | 25a0d60 | 2020-11-25 19:24:16 +0100 | [diff] [blame] | 1495 | ec-canned-responses ec-canned-response-row .name { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 1496 | color: var(--TWPT-primary-text)!important; |
| 1497 | } |
| 1498 | |
avm99963 | 25a0d60 | 2020-11-25 19:24:16 +0100 | [diff] [blame] | 1499 | ec-canned-responses .label-row, |
| 1500 | ec-canned-responses ec-canned-response-row .snippet, |
| 1501 | ec-canned-responses ec-canned-response-row .tag { |
| 1502 | color: var(--TWPT-secondary-text)!important; |
| 1503 | } |
| 1504 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 1505 | ec-canned-responses ec-canned-response-row .header.closed:hover, |
| 1506 | ec-canned-responses ec-canned-response-row .header.closed:focus, |
| 1507 | ec-canned-responses ec-canned-response-row .header.closed:hover .toolbar, |
| 1508 | ec-canned-responses ec-canned-response-row .header.closed:focus .toolbar { |
| 1509 | background-color: var(--TWPT-active-background)!important; |
| 1510 | } |
| 1511 | |
avm99963 | 25a0d60 | 2020-11-25 19:24:16 +0100 | [diff] [blame] | 1512 | ec-canned-responses .filter-row, |
| 1513 | ec-canned-responses .label-row, |
| 1514 | ec-canned-responses ec-canned-response-row material-expansionpanel { |
| 1515 | border-bottom-color: var(--TWPT-subtle-border)!important; |
| 1516 | } |
| 1517 | |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 1518 | /* Reply button */ |
Adrià Vilanova Martínez | 1d44d3d | 2021-07-26 15:34:19 +0200 | [diff] [blame] | 1519 | material-fab.reply-button, |
| 1520 | material-fab.reply-fab { |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 1521 | background-color: var(--TWPT-link)!important; |
| 1522 | color: var(--TWPT-primary-background)!important; |
| 1523 | } |
| 1524 | |
avm99963 | 223416c | 2021-04-21 22:13:14 +0200 | [diff] [blame] | 1525 | /* Settings view */ |
| 1526 | ec-settings .forum-language-container { |
| 1527 | border-bottom-color: var(--TWPT-subtle-border)!important; |
| 1528 | } |
| 1529 | |
| 1530 | ec-settings .forum-language-container material-button { |
| 1531 | color: var(--TWPT-secondary-text)!important; |
| 1532 | } |
| 1533 | |
Adrià Vilanova Martínez | 3356df7 | 2021-07-09 19:27:04 +0200 | [diff] [blame] | 1534 | /* Loading spinner */ |
| 1535 | material-spinner { |
| 1536 | border-color: var(--TWPT-blue-A100)!important; |
| 1537 | } |
| 1538 | |
avm99963 | f592396 | 2020-12-07 16:44:37 +0100 | [diff] [blame] | 1539 | /* Custom injected components */ |
| 1540 | .TWPT-log { |
| 1541 | background-color: #424242!important; |
| 1542 | } |
| 1543 | |
| 1544 | .TWPT-log-entry.TWPT-log-entry--error { |
| 1545 | color: #ff8A80!important; |
| 1546 | } |