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

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: Fix position of favicon. Tighten up margins and padding. 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..be88f6a35ab79bfd4ba97e306a3b2d43d04206f5 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: 3px;
+ margin-top: 2px;
kevers 2012/08/10 16:10:08 Minimum margins for 28px vertical center to center
+}
+
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