Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(693)

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/emulation/deviceModeToolbar.css

Issue 2875193002: DevTools: update text inputs to new style (Closed)
Patch Set: ac Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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: 41px;
9 border: none; 9 max-height: 18px;
10 padding: 2px 0;
11 width: 34px !important;
12 margin: 0 2px; 10 margin: 0 2px;
13 text-align: center; 11 text-align: center;
14 box-shadow: 0px 0px 1px 0px hsla(0, 0%, 0%, 0.13);
15 border-radius: 1px;
16 height: 18px;
17 color: hsl(210, 16%, 22%);
18 } 12 }
19 13
20 .device-mode-size-input:focus::-webkit-input-placeholder { 14 .device-mode-size-input:focus::-webkit-input-placeholder {
21 color: transparent; 15 color: transparent;
22 } 16 }
23 17
24 .device-mode-size-input:disabled { 18 .device-mode-size-input:disabled {
25 background: transparent; 19 background: transparent;
26 box-shadow: none;
27 -webkit-user-select: none; 20 -webkit-user-select: none;
28 opacity: 0.6; 21 opacity: 0.6;
29 } 22 }
30 23
31 .device-mode-x { 24 .device-mode-x {
32 margin: 0 1px; 25 margin: 0 1px;
33 font-size: 16px; 26 font-size: 16px;
34 } 27 }
35 28
36 .device-mode-empty-toolbar-element { 29 .device-mode-empty-toolbar-element {
37 width: 0; 30 width: 0;
38 } 31 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698