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

Side by Side Diff: chrome/browser/resources/shared/css/button.css

Issue 9307039: [uber page] Fix font-family for button and select elements on uber pages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 10 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 | Annotate | Revision Log
OLDNEW
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), 6 button:not(.custom-appearance),
7 input[type='button']:not(.custom-appearance), 7 input[type='button']:not(.custom-appearance),
8 input[type='submit']:not(.custom-appearance) { 8 input[type='submit']:not(.custom-appearance) {
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 font-size: inherit; 15 /* Input elements have -webkit-small-control which can override the body font.
16 * Resolve this by using 'inherit'. */
17 font: inherit;
16 margin-bottom: 0; 18 margin-bottom: 0;
17 min-width: 4em; 19 min-width: 4em;
18 padding: 3px 12px; 20 padding: 3px 12px;
19 } 21 }
20 22
21 button:not(.custom-appearance):hover, 23 button:not(.custom-appearance):hover,
22 input[type='button']:not(.custom-appearance):hover, 24 input[type='button']:not(.custom-appearance):hover,
23 input[type='submit']:not(.custom-appearance):hover { 25 input[type='submit']:not(.custom-appearance):hover {
24 -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); 26 -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
25 background: #ebebeb -webkit-linear-gradient(#fefefe, #f8f8f8 40%, #e9e9e9); 27 background: #ebebeb -webkit-linear-gradient(#fefefe, #f8f8f8 40%, #e9e9e9);
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 * currently necessary because individual page button element selectors have 74 * currently necessary because individual page button element selectors have
73 * higher specificity. 75 * higher specificity.
74 */ 76 */
75 .link-button, 77 .link-button,
76 .link-button:focus { 78 .link-button:focus {
77 -webkit-box-shadow: none !important; 79 -webkit-box-shadow: none !important;
78 background: transparent none !important; 80 background: transparent none !important;
79 border: none !important; 81 border: none !important;
80 color: rgb(17, 85, 204) !important; 82 color: rgb(17, 85, 204) !important;
81 cursor: pointer; 83 cursor: pointer;
82 /* Input elements have -webkit-small-control which overrides the body font.
83 * Resolve this by using 'inherit'. */
84 font-family: inherit;
85 margin: 0; 84 margin: 0;
86 padding: 0 4px !important; 85 padding: 0 4px !important;
87 } 86 }
88 87
89 .link-button:hover { 88 .link-button:hover {
90 text-decoration: underline; 89 text-decoration: underline;
91 } 90 }
92 91
93 .link-button:active { 92 .link-button:active {
94 color: rgb(5, 37, 119) !important; 93 color: rgb(5, 37, 119) !important;
95 text-decoration: underline; 94 text-decoration: underline;
96 } 95 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/options2/options_page.css ('k') | chrome/browser/resources/shared/css/select.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698