Chromium Code Reviews| 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 .device-mode-size-input { | 7 .device-mode-size-input { |
| 8 background: hsl(0, 0%, 100%); | 8 width: 40px !important; |
| 9 border: none; | |
| 10 padding: 2px 0; | |
| 11 width: 34px !important; | |
| 12 margin: 0 2px; | 9 margin: 0 2px; |
| 13 text-align: center; | 10 text-align: center; |
| 14 box-shadow: 0px 0px 1px 0px hsla(0, 0%, 0%, 0.13); | 11 box-shadow: 0px 0px 1px 0px hsla(0, 0%, 0%, 0.13); |
| 15 border-radius: 1px; | |
| 16 height: 18px; | 12 height: 18px; |
| 17 color: hsl(210, 16%, 22%); | 13 color: hsl(210, 16%, 22%); |
| 18 } | 14 } |
| 19 | 15 |
| 20 .device-mode-size-input:focus::-webkit-input-placeholder { | 16 .device-mode-size-input:focus::-webkit-input-placeholder { |
| 21 color: transparent; | 17 color: transparent; |
| 22 } | 18 } |
| 23 | 19 |
| 24 .device-mode-size-input:disabled { | 20 .device-mode-size-input:disabled { |
| 25 background: transparent; | 21 background: transparent; |
| 26 box-shadow: none; | |
| 27 -webkit-user-select: none; | 22 -webkit-user-select: none; |
| 23 opacity: 0.6; | |
| 24 border: none; | |
|
einbinder
2017/05/18 22:11:37
nit: leave border: none where it was for blaming.
luoe
2017/05/23 23:40:21
This border: none isn't a move from Line 9, but an
einbinder
2017/05/24 19:58:32
Oh I misread the box-shadow none. My bad.
| |
| 28 } | 25 } |
| 29 | 26 |
| 30 .device-mode-x { | 27 .device-mode-x { |
| 31 margin: 0 1px; | 28 margin: 0 1px; |
| 32 font-size: 16px; | 29 font-size: 16px; |
| 33 } | 30 } |
| 34 | 31 |
| 35 .device-mode-empty-toolbar-element { | 32 .device-mode-empty-toolbar-element { |
| 36 width: 0; | 33 width: 0; |
| 37 } | 34 } |
| OLD | NEW |