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

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

Issue 2875193002: DevTools: update text inputs to new style (Closed)
Patch Set: a Created 3 years, 7 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 (c) 2015 The Chromium Authors. All rights reserved. 2 * Copyright (c) 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 .sensors-view { 7 .sensors-view {
8 padding: 12px; 8 padding: 12px;
9 display: block; 9 display: block;
10 } 10 }
11 11
12 .sensors-view label { 12 .sensors-view label {
13 margin-bottom: 10px; 13 margin-bottom: 10px;
14 } 14 }
15 15
16 .sensors-view input { 16 .sensors-view input {
17 text-align: right; 17 text-align: right;
18 width: 80px; 18 width: 80px;
19 } 19 }
20 20
21 .sensors-view input:not(.error-input):enabled:focus,
22 .sensors-view select:enabled:focus {
23 border-color: rgb(77, 144, 254);
24 outline: none;
25 }
26
27 .sensors-view input, 21 .sensors-view input,
28 .sensors-view select { 22 .sensors-view select {
29 border: 1px solid #bfbfbf; 23 border: 1px solid #bfbfbf;
30 border-radius: 2px; 24 border-radius: 2px;
31 box-sizing: border-box;
32 color: #444; 25 color: #444;
33 font: inherit; 26 font: inherit;
34 border-width: 1px;
35 text-align: left; 27 text-align: left;
36 } 28 }
37 29
38 .sensors-view input { 30 .sensors-view input {
39 min-height: 2em; 31 min-height: 2em;
40 padding: 3px; 32 padding: 3px;
41 width: 100%; 33 width: 100%;
42 max-width: 100px; 34 max-width: 100px;
43 margin: -5px 10px 0px 0px; 35 margin: -5px 10px 0px 0px;
44 text-align: end; 36 text-align: end;
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 313
322 .touch-label select { 314 .touch-label select {
323 margin-left: 10px; 315 margin-left: 10px;
324 } 316 }
325 317
326 .panel-section-separator { 318 .panel-section-separator {
327 height: 2px; 319 height: 2px;
328 margin-bottom: 12px; 320 margin-bottom: 12px;
329 background: #f1f1f1; 321 background: #f1f1f1;
330 } 322 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698