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

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

Issue 10413009: Align heights of text input fields and buttons when touch-optimization enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 | « no previous file | 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/chrome_shared2_touch.css
diff --git a/chrome/browser/resources/shared/css/chrome_shared2_touch.css b/chrome/browser/resources/shared/css/chrome_shared2_touch.css
index 5712c04c405c83ae0a7545dde0b8b1b1da95f6e8..cd9207fa7da1451574f36ad74f0bc4ea6aea0684 100644
--- a/chrome/browser/resources/shared/css/chrome_shared2_touch.css
+++ b/chrome/browser/resources/shared/css/chrome_shared2_touch.css
@@ -8,9 +8,12 @@
<include src="chrome_shared2.css">
-/* TODO(kevers): Add [type='input'] and [type='password']. */
-input[type='search'] {
- padding-bottom: 6px;
+input[type='input'],
+input[type='password'],
+input[type='search'],
+input[type='text'],
+input[type='url'] {
+ padding-bottom: 7px;
padding-top: 6px;
}
@@ -38,8 +41,28 @@ input[type=submit]:not(.custom-appearance),
select {
margin-bottom: 6px;
margin-top: 6px;
+ padding-bottom: 7px;
+ padding-top: 6px;
}
html[touch-optimized] .tree-item > .tree-row {
padding: 4px 3px;
}
+
+list input[type='input'],
+list input[type='password'],
+list input[type='search'],
+list input[type='text'],
+list input[type='url'] {
+ margin: 0;
+ padding: 3px 3px 2px 3px;
+}
+
+list button:not(.custom-appearance):not(.link-button),
+list input[type=button]:not(.custom-appearance),
+list input[type=submit]:not(.custom-appearance),
+list select {
+ margin: 0;
+ padding-bottom: 0;
+ padding-top: 3px;
+}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698