OLD | NEW |
| (Empty) |
1 /* | |
2 * Copyright (c) 2014 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 { display: block; } | |
8 | |
9 h1, h2 { | |
10 padding: 0; | |
11 margin: 0.5em 16px; | |
12 color: #222222; | |
13 } | |
14 | |
15 h1 { | |
16 font-size: 1.5em; | |
17 } | |
18 | |
19 h2 { | |
20 font-size: 1.3em; | |
21 } | |
22 | |
23 dialog { | |
24 max-width: 800px; | |
25 width: 100%; | |
26 padding: 0; | |
27 border: 1px solid #dcdcdc; | |
28 box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.2); | |
29 color: #222; | |
30 } | |
31 | |
32 dialog h1 { | |
33 -webkit-user-select: none; | |
34 cursor: default; | |
35 } | |
36 | |
37 label { | |
38 -webkit-user-select: none; | |
39 } | |
40 | |
41 h1.app-header { | |
42 margin: 0; | |
43 padding: 0.5em 16px; | |
44 font-size: 1.5em; | |
45 color: #DD4B39; | |
46 } | |
47 | |
48 fieldset { | |
49 border: none; | |
50 margin: 0; | |
51 padding: 0; | |
52 } | |
53 | |
54 a:link, | |
55 a:visited { | |
56 color: #1155CC; | |
57 text-decoration: none; | |
58 cursor: pointer; | |
59 } | |
60 | |
61 a:hover { | |
62 text-decoration: underline; | |
63 } | |
64 | |
65 select, | |
66 input { | |
67 margin: 0; | |
68 } | |
69 | |
70 input[type=text] { | |
71 padding: 0.5em; | |
72 } | |
73 | |
74 textarea, | |
75 input[type=text] { | |
76 display: block; | |
77 background-color: white; | |
78 border-radius: 1px; | |
79 border: 1px solid rgba(0, 0, 0, 0.15); | |
80 border-top: 1px solid rgba(0, 0, 0, 0.25); | |
81 box-sizing: border-box; | |
82 font-family: Menlo, Monaco, monospace; | |
83 font-size: 1em; | |
84 margin: 0; | |
85 width: 100%; | |
86 } | |
87 | |
88 textarea:hover, | |
89 input[type=text]:hover { | |
90 border: 1px solid #b9b9b9; | |
91 border-top-color: #a0a0a0; | |
92 } | |
93 | |
94 textarea:focus, | |
95 input[type=text]:focus { | |
96 border: 1px solid #4d90fe; | |
97 outline: none; | |
98 } | |
99 | |
100 input.invalid, | |
101 textarea.invalid { | |
102 border: 1px solid #DD4B39; | |
103 } | |
104 | |
105 cr-toolbar > [is=cr-button] { | |
106 margin-right: 16px; | |
107 } | |
OLD | NEW |