OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 The Chromium Authors. All rights reserved. | 2 * Copyright 2015 The Chromium Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 * { | 7 * { |
8 /* This is required for correct sizing of flex items because we rely | 8 /* This is required for correct sizing of flex items because we rely |
9 * on an old version of the flexbox spec. | 9 * on an old version of the flexbox spec. |
10 * Longer-term we should remove this, see crbug.com/473625 */ | 10 * Longer-term we should remove this, see crbug.com/473625 */ |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 select { | 150 select { |
151 font-family: inherit; | 151 font-family: inherit; |
152 font-size: inherit; | 152 font-size: inherit; |
153 color: inherit; | 153 color: inherit; |
154 } | 154 } |
155 | 155 |
156 input { | 156 input { |
157 background-color: white; | 157 background-color: white; |
158 } | 158 } |
159 | 159 |
| 160 :host-context(.-theme-with-dark-background) input[type="checkbox"] { |
| 161 -webkit-filter: invert(80%); |
| 162 } |
| 163 |
160 input[type="search"]:focus, | 164 input[type="search"]:focus, |
161 input[type="text"]:focus { | 165 input[type="text"]:focus { |
162 outline: auto 5px -webkit-focus-ring-color; | 166 outline: auto 5px -webkit-focus-ring-color; |
163 } | 167 } |
164 | 168 |
165 | 169 |
166 .highlighted-search-result.current-search-result { | 170 .highlighted-search-result.current-search-result { |
167 border-radius: 1px; | 171 border-radius: 1px; |
168 padding: 1px; | 172 padding: 1px; |
169 margin: -1px; | 173 margin: -1px; |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 :host-context(:not(.platform-mac).-theme-with-dark-background) ::-webkit-scrollb
ar-track { | 261 :host-context(:not(.platform-mac).-theme-with-dark-background) ::-webkit-scrollb
ar-track { |
258 -webkit-box-shadow: inset 0 0 1px rgba(255,255,255,0.3); | 262 -webkit-box-shadow: inset 0 0 1px rgba(255,255,255,0.3); |
259 } | 263 } |
260 | 264 |
261 :not(.platform-mac).-theme-with-dark-background ::-webkit-scrollbar-thumb, | 265 :not(.platform-mac).-theme-with-dark-background ::-webkit-scrollbar-thumb, |
262 :host-context(:not(.platform-mac).-theme-with-dark-background) .-theme-with-dark
-background ::-webkit-scrollbar-thumb { | 266 :host-context(:not(.platform-mac).-theme-with-dark-background) .-theme-with-dark
-background ::-webkit-scrollbar-thumb { |
263 border-radius: 2px; | 267 border-radius: 2px; |
264 background-color: #333; | 268 background-color: #333; |
265 -webkit-box-shadow: inset 0 0 1px rgba(255,255,255,0.5); | 269 -webkit-box-shadow: inset 0 0 1px rgba(255,255,255,0.5); |
266 } | 270 } |
OLD | NEW |