| 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 margin-bottom: -1px; | 177 margin-bottom: -1px; |
| 178 padding-bottom: 1px; | 178 padding-bottom: 1px; |
| 179 opacity: 1.0 !important; | 179 opacity: 1.0 !important; |
| 180 } | 180 } |
| 181 | 181 |
| 182 .editing, | 182 .editing, |
| 183 .editing * { | 183 .editing * { |
| 184 color: #222 !important; | 184 color: #222 !important; |
| 185 text-decoration: none !important; | 185 text-decoration: none !important; |
| 186 } | 186 } |
| 187 |
| 188 .chrome-select { |
| 189 -webkit-appearance: none; |
| 190 -webkit-user-select: none; |
| 191 border: 1px solid rgba(0, 0, 0, 0.25); |
| 192 border-radius: 2px; |
| 193 box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), |
| 194 inset 0 1px 2px rgba(255, 255, 255, 0.75); |
| 195 color: #444; |
| 196 font: inherit; |
| 197 margin: 0 1px 0 0; |
| 198 outline: none; |
| 199 text-shadow: 0 1px 0 rgb(240, 240, 240); |
| 200 padding-right: 20px; |
| 201 padding-left: 6px; |
| 202 background-image: -webkit-image-set(url(Images/chromeSelect.png) 1x, url(Ima
ges/chromeSelect_2x.png) 2x), linear-gradient(#ededed, #ededed 38%, #dedede); |
| 203 background-position: right center; |
| 204 background-repeat: no-repeat; |
| 205 min-height: 24px; |
| 206 } |
| 207 |
| 208 .chrome-select:enabled:hover { |
| 209 background-image: -webkit-image-set(url(Images/chromeSelect.png) 1x, url(Ima
ges/chromeSelect_2x.png) 2x), linear-gradient(#f0f0f0, #f0f0f0 38%, #e0e0e0); |
| 210 border-color: rgba(0, 0, 0, 0.3); |
| 211 box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12), |
| 212 inset 0 1px 2px rgba(255, 255, 255, 0.95); |
| 213 color: black; |
| 214 } |
| 215 |
| 216 .chrome-select:enabled:active { |
| 217 background-image: -webkit-image-set(url(Images/chromeSelect.png) 1x, url(Ima
ges/chromeSelect_2x.png) 2x), linear-gradient(#e7e7e7, #e7e7e7 38%, #d7d7d7); |
| 218 box-shadow: none; |
| 219 text-shadow: none; |
| 220 } |
| 221 |
| 222 .chrome-select:enabled:focus { |
| 223 /* OVERRIDE */ |
| 224 -webkit-transition: border-color 200ms; |
| 225 /* We use border color because it follows the border radius (unlike outline)
. |
| 226 * This is particularly noticeable on mac. */ |
| 227 border-color: rgb(77, 144, 254); |
| 228 outline: none; |
| 229 } |
| 230 |
| 231 body.inactive select.chrome-select, |
| 232 .chrome-select:disabled { |
| 233 background-image: -webkit-image-set(url(Images/chromeDisabledSelect.png) 1x,
url(Images/chromeDisabledSelect_2x.png) 2x), linear-gradient(#f1f1f1, #f1f1f1 3
8%, #e6e6e6); |
| 234 border-color: rgba(80, 80, 80, 0.2); |
| 235 box-shadow: 0 1px 0 rgba(80, 80, 80, 0.08), |
| 236 inset 0 1px 2px rgba(255, 255, 255, 0.75); |
| 237 color: #aaa; |
| 238 } |
| OLD | NEW |