OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
4 */ | 4 */ |
5 | 5 |
6 button:not(.custom-appearance):not(.link-button), | 6 button:not(.custom-appearance):not(.link-button), |
7 input[type='button']:not(.custom-appearance):not(.link-button), | 7 input[type='button']:not(.custom-appearance):not(.link-button), |
8 input[type='submit']:not(.custom-appearance):not(.link-button) { | 8 input[type='submit']:not(.custom-appearance):not(.link-button) { |
9 -webkit-border-radius: 3px; | 9 -webkit-border-radius: 3px; |
10 -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); | 10 -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); |
11 -webkit-user-select: none; | 11 -webkit-user-select: none; |
12 background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5); | 12 background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5); |
13 border: 1px solid #aaa; | 13 border: 1px solid #aaa; |
14 color: #444; | 14 color: #444; |
15 /* Input elements have -webkit-small-control which can override the body font. | 15 /* Input elements have -webkit-small-control which can override the body font. |
16 * Resolve this by using 'inherit'. */ | 16 * Resolve this by using 'inherit'. */ |
17 font-family: inherit; | 17 font-family: inherit; |
18 font-size: inherit; | 18 font-size: inherit; |
19 margin-bottom: 0; | 19 margin-bottom: 0; |
| 20 margin-top: 0; |
20 min-width: 4em; | 21 min-width: 4em; |
21 padding: 3px 12px; | 22 padding: 3px 12px; |
22 } | 23 } |
23 | 24 |
24 button:not(.custom-appearance):not(.link-button):hover, | 25 button:not(.custom-appearance):not(.link-button):hover, |
25 input[type='button']:not(.custom-appearance):not(.link-button):hover, | 26 input[type='button']:not(.custom-appearance):not(.link-button):hover, |
26 input[type='submit']:not(.custom-appearance):not(.link-button):hover { | 27 input[type='submit']:not(.custom-appearance):not(.link-button):hover { |
27 -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); | 28 -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); |
28 background: #ebebeb -webkit-linear-gradient(#fefefe, #f8f8f8 40%, #e9e9e9); | 29 background: #ebebeb -webkit-linear-gradient(#fefefe, #f8f8f8 40%, #e9e9e9); |
29 border-color: #999; | 30 border-color: #999; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 } | 85 } |
85 | 86 |
86 .link-button:hover { | 87 .link-button:hover { |
87 text-decoration: underline; | 88 text-decoration: underline; |
88 } | 89 } |
89 | 90 |
90 .link-button:active { | 91 .link-button:active { |
91 color: rgb(5, 37, 119); | 92 color: rgb(5, 37, 119); |
92 text-decoration: underline; | 93 text-decoration: underline; |
93 } | 94 } |
OLD | NEW |