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

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

Issue 9609023: css hack n' slash, continued: New styles for checkboxes and radios. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: csilv review 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/shared/css/checkbox.css ('k') | chrome/browser/resources/shared/css/widgets.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/shared/css/chrome_shared2.css
diff --git a/chrome/browser/resources/shared/css/chrome_shared2.css b/chrome/browser/resources/shared/css/chrome_shared2.css
index 4dd51b8e325ebb06983faef68a44898f5a7c6be1..0c8858e2060056a9e22a2475a7c508b54553f29e 100644
--- a/chrome/browser/resources/shared/css/chrome_shared2.css
+++ b/chrome/browser/resources/shared/css/chrome_shared2.css
@@ -6,8 +6,7 @@
* chrome:// pages. This contrasts chrome_shared.css, which it is meant to
* replace, but has CSS specific to options and options-like pages. */
-@import url("chrome://resources/css/button.css");
-@import url("chrome://resources/css/checkbox.css");
+@import url("chrome://resources/css/widgets.css");
/* Prevent CSS from overriding the hidden property. */
[hidden] {
@@ -66,41 +65,6 @@ a:active {
color: rgb(5, 37, 119);
}
-div.checkbox,
-div.radio {
- margin: 0.45em 0;
-}
-
-input[type=radio] ~ span,
-input[type=checkbox] ~ span {
- color: #444;
-}
-
-/* TEXT */
-/* TODO(estade): add more types here? */
-input[type='password'],
-input[type='search'],
-input[type='text'],
-input[type='url'],
-input:not([type]) {
- border: 1px solid #bfbfbf;
- border-radius: 2px;
- font: inherit;
- height: 2em;
- margin: 0;
- padding: 3px;
-}
-
-input[type='search'] {
- /* NOTE: Keep a relatively high min-width for this so we don't obscure the end
- * of the default text in relatively spacious languages (i.e. German). */
- min-width: 160px;
-}
-
-input[type='text']:disabled {
- color: #888;
-}
-
/*
* Add padding to increase the touchable area of search box. Use original font
* size to avoid the width of search box exceeding the width of navbar.
« no previous file with comments | « chrome/browser/resources/shared/css/checkbox.css ('k') | chrome/browser/resources/shared/css/widgets.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698