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

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

Issue 10837190: Standardize size of WebUI controls for touch and non-touch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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/widgets.css
diff --git a/chrome/browser/resources/shared/css/widgets.css b/chrome/browser/resources/shared/css/widgets.css
index 5214921cce397ec4fe84552d7610da1e4eb865cf..907d27047c265e817d186dc6c1cd8024e463f61f 100644
--- a/chrome/browser/resources/shared/css/widgets.css
+++ b/chrome/browser/resources/shared/css/widgets.css
@@ -65,6 +65,14 @@ select {
background-repeat: no-repeat;
}
+:-webkit-any(button,
+ input[type='button'],
+ input[type='submit'],
+ select):not(.custom-appearance):not(.link-button) {
+ margin-bottom: 6px;
+ margin-top: 6px;
Evan Stade 2012/08/10 02:44:16 how much verification did you do that this doesn't
kevers 2012/08/10 13:56:03 This rule has been in effect for a while now with
Evan Stade 2012/08/10 21:21:08 sorry, I wasn't clear enough. I didn't mean that t
kevers 2012/08/13 17:18:46 Removed rule in favor of standardizing the formatt
+}
+
html[dir='rtl'] select {
background-position: center left;
}
@@ -291,14 +299,11 @@ input:disabled:-webkit-any([type='password'],
* </div>
*/
-.checkbox,
-.radio {
- margin: 0.65em 0;
-}
-
:-webkit-any(.checkbox, .radio) label {
/* Don't expand horizontally: <http://crbug.com/112091>. */
display: -webkit-inline-box;
+ padding-bottom: 7px;
+ padding-top: 7px;
}
:-webkit-any(.checkbox, .radio) label input ~ span {

Powered by Google App Engine
This is Rietveld 408576698