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-family: inherit; | |
Evan Stade
2012/02/29 22:42:50
I believe it should be font: inherit. Using font:
csilv
2012/02/29 22:49:19
Done.
| |
85 font-size: inherit; | |
82 margin: 0; | 86 margin: 0; |
83 padding: 0 4px; | 87 padding: 0 4px; |
84 } | 88 } |
85 | 89 |
86 .link-button:hover { | 90 .link-button:hover { |
87 text-decoration: underline; | 91 text-decoration: underline; |
88 } | 92 } |
89 | 93 |
90 .link-button:active { | 94 .link-button:active { |
91 color: rgb(5, 37, 119); | 95 color: rgb(5, 37, 119); |
92 text-decoration: underline; | 96 text-decoration: underline; |
93 } | 97 } |
OLD | NEW |