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