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

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

Issue 9564036: [uber] disabled .link-button css (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/resources/shared/css/chrome_shared2.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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):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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 * This is particularly noticeable on mac. */ 66 * This is particularly noticeable on mac. */
67 border-color: rgb(64, 128, 250); 67 border-color: rgb(64, 128, 250);
68 outline: none; 68 outline: none;
69 } 69 }
70 70
71 /* Search boxes use an outline because it follows the contours of the box. */ 71 /* Search boxes use an outline because it follows the contours of the box. */
72 input[type='search']:not(.custom-appearance):not(.link-button):focus { 72 input[type='search']:not(.custom-appearance):not(.link-button):focus {
73 outline-color: rgb(64, 128, 250); 73 outline-color: rgb(64, 128, 250);
74 } 74 }
75 75
76 .link-button, 76 .link-button {
77 .link-button:focus {
78 -webkit-box-shadow: none; 77 -webkit-box-shadow: none;
79 background: transparent none; 78 background: transparent none;
80 border: none; 79 border: none;
81 color: rgb(17, 85, 204); 80 color: rgb(17, 85, 204);
82 cursor: pointer; 81 cursor: pointer;
83 /* Input elements have -webkit-small-control which can override the body font. 82 /* Input elements have -webkit-small-control which can override the body font.
84 * Resolve this by using 'inherit'. */ 83 * Resolve this by using 'inherit'. */
85 font: inherit; 84 font: inherit;
86 margin: 0; 85 margin: 0;
87 padding: 0 4px; 86 padding: 0 4px;
88 } 87 }
89 88
90 .link-button:hover { 89 .link-button:hover {
91 text-decoration: underline; 90 text-decoration: underline;
92 } 91 }
93 92
94 .link-button:active { 93 .link-button:active {
95 color: rgb(5, 37, 119); 94 color: rgb(5, 37, 119);
96 text-decoration: underline; 95 text-decoration: underline;
97 } 96 }
97
98 .link-button[disabled] {
99 color: #888;
100 cursor: default;
101 text-decoration: none;
102 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/shared/css/chrome_shared2.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698