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

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: Convert <span> to <p>. 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
« no previous file with comments | « chrome/browser/resources/shared/css/tree.css ('k') | 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/widgets.css
diff --git a/chrome/browser/resources/shared/css/widgets.css b/chrome/browser/resources/shared/css/widgets.css
index 5214921cce397ec4fe84552d7610da1e4eb865cf..1713df2753144393f2ebe57b18208203aa06246b 100644
--- a/chrome/browser/resources/shared/css/widgets.css
+++ b/chrome/browser/resources/shared/css/widgets.css
@@ -35,10 +35,6 @@ input[type='radio'] {
select {
min-height: 2em;
min-width: 4em;
-<if expr="pp_ifdef('chromeos')">
- /* Without this rule, chromeos button text is too high on the button. */
- padding-top: 3px;
-</if>
<if expr="is_win">
/* The following platform-specific rule is necessary to get adjacent
* buttons, text inputs, and so forth to align on their borders while also
@@ -107,10 +103,6 @@ textarea {
/* For better alignment between adjacent buttons and inputs. */
padding-bottom: 4px;
</if>
-<if expr="pp_ifdef('chromeos')">
- /* For better alignment between adjacent buttons and inputs. */
- padding-bottom: 2px;
-</if>
}
input[type='search'] {
@@ -291,14 +283,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 {
« no previous file with comments | « chrome/browser/resources/shared/css/tree.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698