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

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

Issue 1642233002: [DevTools] Cleanup various bindInput implementations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@device-mode-cleanup-misc
Patch Set: Created 4 years, 10 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 background: hsl(0, 0%, 100%);
9 border: none; 9 border: none;
10 padding: 2px 0; 10 padding: 2px 0;
11 width: 34px !important; 11 width: 34px !important;
12 margin: 0 2px; 12 margin: 0 2px;
13 text-align: center; 13 text-align: center;
14 box-shadow: 0px 0px 1px 0px hsla(0, 0%, 0%, 0.13); 14 box-shadow: 0px 0px 1px 0px hsla(0, 0%, 0%, 0.13);
15 border-radius: 1px; 15 border-radius: 1px;
16 height: 18px; 16 height: 18px;
17 } 17 }
18 18
19 .device-mode-size-input:focus::-webkit-input-placeholder { 19 .device-mode-size-input:focus::-webkit-input-placeholder {
20 color: transparent; 20 color: transparent;
21 } 21 }
22 22
23 .device-mode-size-input.error-input {
24 outline: auto 2px red !important;
25 }
26
27 .device-mode-size-input:disabled { 23 .device-mode-size-input:disabled {
28 background: transparent; 24 background: transparent;
29 box-shadow: none; 25 box-shadow: none;
30 -webkit-user-select: none; 26 -webkit-user-select: none;
31 } 27 }
32 28
33 .device-mode-x { 29 .device-mode-x {
34 margin: 0 1px; 30 margin: 0 1px;
35 font-size: 16px; 31 font-size: 16px;
36 } 32 }
37 33
38 .device-mode-empty-toolbar-element { 34 .device-mode-empty-toolbar-element {
39 width: 0; 35 width: 0;
40 } 36 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698