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

Unified Diff: chrome/browser/resources/shared/css/checkbox.css

Issue 8510078: checkboxes css: remove :active funkiness (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: --- 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/shared/css/checkbox.css
diff --git a/chrome/browser/resources/shared/css/checkbox.css b/chrome/browser/resources/shared/css/checkbox.css
index c8cb63f690b2d8db44960d2c61246378015c709b..2ece95e986f04877f4f308bd5948966c3b1e1fc4 100644
--- a/chrome/browser/resources/shared/css/checkbox.css
+++ b/chrome/browser/resources/shared/css/checkbox.css
@@ -26,7 +26,7 @@ input[type='checkbox']:disabled {
opacity: .75;
}
-input[type='checkbox']:not(:disabled):not(.disabled):hover {
+input[type='checkbox']:not(:disabled):not(.disabled):not(:active):hover {
background: -webkit-linear-gradient(#fff, #e6e6e6);
text-shadow: 0 1px 0 rgba(255, 255, 255, 1);
}
@@ -35,8 +35,10 @@ input[type='checkbox']:active {
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .2);
background: -webkit-linear-gradient(#f0f0f0, #bebebe);
border: 1px solid #808080;
+/*
dpapad 2011/11/15 16:47:24 Remove commented out rules?
Evan Stade 2011/11/15 17:54:35 ah. Of course.
padding-bottom: 4px;
padding-top: 6px;
+*/
text-shadow: 0 1px 0 rgba(255, 255, 255, .25);
}
@@ -75,7 +77,7 @@ input[type='radio']:disabled {
opacity: .75;
}
-input[type='radio']:not(:disabled):not(.disabled):hover {
+input[type='radio']:not(:disabled):not(.disabled):not(:active):hover {
background: -webkit-linear-gradient(#fff, #e6e6e6);
text-shadow: 0 1px 0 rgba(255, 255, 255, 1);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698