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); |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 outline-color: rgb(64, 128, 250); | 72 outline-color: rgb(64, 128, 250); |
73 } | 73 } |
74 | 74 |
75 .link-button, | 75 .link-button, |
76 .link-button:focus { | 76 .link-button:focus { |
77 -webkit-box-shadow: none; | 77 -webkit-box-shadow: none; |
78 background: transparent none; | 78 background: transparent none; |
79 border: none; | 79 border: none; |
80 color: rgb(17, 85, 204); | 80 color: rgb(17, 85, 204); |
81 cursor: pointer; | 81 cursor: pointer; |
| 82 /* Input elements have -webkit-small-control which can override the body font. |
| 83 * Resolve this by using 'inherit'. */ |
| 84 font: inherit; |
82 margin: 0; | 85 margin: 0; |
83 padding: 0 4px; | 86 padding: 0 4px; |
84 } | 87 } |
85 | 88 |
86 .link-button:hover { | 89 .link-button:hover { |
87 text-decoration: underline; | 90 text-decoration: underline; |
88 } | 91 } |
89 | 92 |
90 .link-button:active { | 93 .link-button:active { |
91 color: rgb(5, 37, 119); | 94 color: rgb(5, 37, 119); |
92 text-decoration: underline; | 95 text-decoration: underline; |
93 } | 96 } |
OLD | NEW |