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

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

Issue 8511046: deprecate webui.css (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: undo mistake in downloads Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2011 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: 2px; 9 -webkit-border-radius: 2px;
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 html:not([os='mac']) input[type='submit']:not(.custom-appearance):focus, 56 html:not([os='mac']) input[type='submit']:not(.custom-appearance):focus,
57 html:not([os='mac']) select:not(.custom-appearance):focus { 57 html:not([os='mac']) select:not(.custom-appearance):focus {
58 outline-color: rgba(0, 128, 256, 0.5); 58 outline-color: rgba(0, 128, 256, 0.5);
59 } 59 }
60 60
61 html[os='mac'] button:not(.custom-appearance):focus, 61 html[os='mac'] button:not(.custom-appearance):focus,
62 html[os='mac'] input[type='submit']:not(.custom-appearance):focus { 62 html[os='mac'] input[type='submit']:not(.custom-appearance):focus {
63 outline-offset: -2px; 63 outline-offset: -2px;
64 } 64 }
65 65
66 .link-button { 66 /* TODO(jhawkins): Refactor button styling and remove !important here. This is
67 * currently necessary because individual page button element selectors have
68 * higher specificity.
69 */
70 .link-button,
71 .link-button:focus,
72 .link-button:hover {
73 -webkit-box-shadow: none !important;
74 background: transparent none !important;
75 border: none !important;
76 color: rgb(63, 110, 194);
77 cursor: pointer;
67 margin: 0; 78 margin: 0;
68 } 79 text-decoration: underline;
69
70 .link-button,
71 .link-button:hover,
72 .link-button:focus {
73 color: rgb(63, 110, 194);
74 } 80 }
75 81
76 .link-button:active { 82 .link-button:active {
77 color: rgb(37, 64, 113); 83 color: rgb(37, 64, 113);
78 } 84 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698