Index: chrome/browser/resources/options/options_page.css |
diff --git a/chrome/browser/resources/options/options_page.css b/chrome/browser/resources/options/options_page.css |
index d6dc054df8e359977e906c771b318a18d48612d0..6ca53f07d9b15f3566ab1b590bddafd6aeb1a4cb 100644 |
--- a/chrome/browser/resources/options/options_page.css |
+++ b/chrome/browser/resources/options/options_page.css |
@@ -9,7 +9,7 @@ |
} |
.stretch { |
- -webkit-box-flex: 1; |
+ -webkit-box-flex: 1; |
} |
.frozen, |
@@ -22,6 +22,40 @@ |
margin: 0; |
} |
+/** |
Rick Byers
2011/10/28 20:07:13
Remove second * - not jsdoc
bshe
2011/10/30 22:46:10
Done.
|
+ * In TOUCH_UI builds, make the radio/checkbox input boxes in |
+ * options/preference pages easier to touch. |
Rick Byers
2011/10/28 20:07:13
Move this comment down since it applies just to th
bshe
2011/10/30 22:46:10
Done.
|
+ */ |
+<if expr="pp_ifdef('touchui')"> |
+/* Fix the width issue of search box after increase font size. */ |
+#search-field { |
Rick Byers
2011/10/28 20:07:13
This seems wrong - you shouldn't have to hard-code
bshe
2011/10/30 22:46:10
I totally agree not to hard-code a specific width.
Rick Byers
2011/10/31 15:18:18
Cool, thanks. Stretching the text is sub-optimal
bshe
2011/10/31 21:41:18
The height works for chrome os. Didn't test it on
|
+ width: 160px; |
+} |
+ |
+/* Using padding to increase the touchable area for radio/checkbox input. */ |
+div.radio > label > span, |
+div.checkbox > label > span { |
Rick Byers
2011/10/28 20:07:13
This seems like a hack. If the webkit transform b
bshe
2011/10/30 22:46:10
Done.
|
+ position: relative; |
Rick Byers
2011/10/28 20:07:13
sort properties alphabetically
bshe
2011/10/30 22:46:10
No need to use padding hack. Only one property lef
|
+ left: -30px; |
+ padding: 4px 0 4px 35px; |
+} |
+ |
+div.radio > input, |
+div.checkbox > input { |
+ -webkit-transform: scale(1.4); |
+} |
+ |
+/** |
Rick Byers
2011/10/28 20:07:13
Remove second *
bshe
2011/10/30 22:46:10
Done.
|
+ * Overwrite the font-size rule in shared_options.css file. |
Rick Byers
2011/10/28 20:07:13
replace 'Overwrite' with 'Override'.
bshe
2011/10/31 21:41:18
Done.
|
+ * 16 px font-size proved to be more touch friendly. It increases the touchable |
+ * area for buttons and input boxes. |
+ */ |
+body{ |
Rick Byers
2011/10/28 20:07:13
add space before {
bshe
2011/10/30 22:46:10
Done.
|
+ font-size:16px; |
Rick Byers
2011/10/28 20:07:13
add space after :
bshe
2011/10/30 22:46:10
Done.
|
+} |
+</if> |
+ |
+ |
.overlay { |
-webkit-box-align: center; |
-webkit-box-orient: vertical; |