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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/ui/cssShadowEditor.css

Issue 2252913002: DevTools: Box-shadow editor initial implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@shadowIcon
Patch Set: Merge Created 4 years, 3 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
(Empty)
1 /*
2 * Copyright 2016 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
6
7 :host {
8 -webkit-user-select: none;
9 padding: 4px 12px 12px 12px;
10 }
11
12 .shadow-editor-field {
13 margin-top: 8px;
14 font-size: 12px;
15 }
16
17 .shadow-editor-label {
18 display: inline-block;
19 width: 52px;
20 height: 24px;
21 line-height: 24px;
22 margin-right: 8px;
23 text-align: right;
24 }
25
26 .shadow-editor-button-left, .shadow-editor-button-right {
27 width: 74px;
28 height: 24px;
29 padding: 3px 7px;
30 line-height: 16px;
31 border: 1px solid rgba(0, 0, 0, 0.14);
32 background-color: #ffffff;
33 text-align: center;
34 }
35
36 .shadow-editor-button-left {
37 border-radius: 2px 0 0 2px;
38 }
39
40 .shadow-editor-button-right {
41 border-radius: 0 2px 2px 0;
42 border-left-width: 0;
43 }
44
45 .shadow-editor-button-left:hover, .shadow-editor-button-right:hover {
46 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
47 }
48
49 .shadow-editor-button-left:focus, .shadow-editor-button-right:focus {
50 background-color: #eeeeee;
51 }
52
53 .shadow-editor-button-left.enabled, .shadow-editor-button-right.enabled {
54 background-color: #4285F4;
55 color: #ffffff;
56 }
57
58 .shadow-editor-button-left.enabled:focus, .shadow-editor-button-right.enabled:fo cus {
59 background-color: #3B78E7;
60 }
61
62 .shadow-editor-text-input {
63 -webkit-appearance: none;
64 box-sizing: border-box;
65 width: 52px;
66 height: 24px;
67 margin-right: 8px;
68 padding: 3px 7px;
69 line-height: 16px;
70 border: 1px solid rgba(0, 0, 0, 0.14);
71 border-radius: 2px;
72 border-color: rgba(0, 0, 0, 0.14);
73 background-color: #ffffff;
74 color: #333;
75 text-align: right;
76 }
77
78 .shadow-editor-text-input:focus {
79 border-color: #4285F4;
80 }
81
82 .shadow-editor-text-input.invalid {
83 border-color: #E67C73;
84 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698