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

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: 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
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 2602c1ccf937c5576b7b84b55aa1dfb13ab91d11..460a64d11dc42d87d021efa880d2305514804fc7 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");
Dan Beam 2012/03/06 04:47:07 wait, _why_ are we importing this?
Evan Stade 2012/03/06 05:18:15 so that people who import chrome_shared2.css will
Dan Beam 2012/03/06 05:50:10 I thought there would be more than this, but I ass
Patrick Dubroy 2012/03/06 18:45:19 On 2012/03/06 05:50:10, Dan Beam wrote:
Evan Stade 2012/03/06 22:54:51 yea, we should fix double includes and don't do th
/* 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.
@@ -114,6 +78,8 @@ html[touch-optimized] input[type='search']::-webkit-search-cancel-button {
-webkit-transform: scale(1.5);
}
+/* Header *********************************************************************/
Dan Beam 2012/03/06 04:47:07 Headers?
Evan Stade 2012/03/06 05:18:15 what is the verb in this question
Dan Beam 2012/03/06 05:50:10 s/Header/Headers/ IMO or Header styles as Header m
Evan Stade 2012/03/06 22:54:51 well, I removed this whole section in a previous p
+
header > .search-field-container,
header > button {
position: absolute;

Powered by Google App Engine
This is Rietveld 408576698