Commit e3e3fc28 authored by kevers@chromium.org's avatar kevers@chromium.org

Align heights of text input fields and buttons when touch-optimization enabled.

BUG=128752
TEST=Manual.

Review URL: https://chromiumcodereview.appspot.com/10413009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138359 0039d316-1c4b-4281-b951-d872f2087c98
parent e026ba95
......@@ -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;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment