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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/shared/css/button.css
diff --git a/chrome/browser/resources/shared/css/button.css b/chrome/browser/resources/shared/css/button.css
index 7940eeb8e0f052f2156b3cf8ffa0d7118625e2b9..1d7d5db89ca95b98c56877e6c66b715cf69e50ca 100644
--- a/chrome/browser/resources/shared/css/button.css
+++ b/chrome/browser/resources/shared/css/button.css
@@ -63,14 +63,20 @@ html[os='mac'] input[type='submit']:not(.custom-appearance):focus {
outline-offset: -2px;
}
-.link-button {
- margin: 0;
-}
-
+/* TODO(jhawkins): Refactor button styling and remove !important here. This is
+ * currently necessary because individual page button element selectors have
+ * higher specificity.
+ */
.link-button,
-.link-button:hover,
-.link-button:focus {
+.link-button:focus,
+.link-button:hover {
+ -webkit-box-shadow: none !important;
+ background: transparent none !important;
+ border: none !important;
color: rgb(63, 110, 194);
+ cursor: pointer;
+ margin: 0;
+ text-decoration: underline;
}
.link-button:active {

Powered by Google App Engine
This is Rietveld 408576698