OLD | NEW |
---|---|
1 .hbox { | 1 .hbox { |
2 display: -webkit-box; | 2 display: -webkit-box; |
3 -webkit-box-orient: horizontal; | 3 -webkit-box-orient: horizontal; |
4 } | 4 } |
5 | 5 |
6 .vbox { | 6 .vbox { |
7 display: -webkit-box; | 7 display: -webkit-box; |
8 -webkit-box-orient: vertical; | 8 -webkit-box-orient: vertical; |
9 } | 9 } |
10 | 10 |
11 .stretch { | 11 .stretch { |
12 -webkit-box-flex: 1; | 12 -webkit-box-flex: 1; |
13 } | 13 } |
14 | 14 |
15 .frozen, | 15 .frozen, |
16 .subpage-sheet-container.frozen { | 16 .subpage-sheet-container.frozen { |
17 position: fixed; | 17 position: fixed; |
18 } | 18 } |
19 | 19 |
20 #search-field { | 20 #search-field { |
21 font-size: inherit; | 21 font-size: inherit; |
22 margin: 0; | 22 margin: 0; |
23 } | 23 } |
24 | 24 |
25 /** | |
Rick Byers
2011/10/28 20:07:13
Remove second * - not jsdoc
bshe
2011/10/30 22:46:10
Done.
| |
26 * In TOUCH_UI builds, make the radio/checkbox input boxes in | |
27 * 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.
| |
28 */ | |
29 <if expr="pp_ifdef('touchui')"> | |
30 /* Fix the width issue of search box after increase font size. */ | |
31 #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
| |
32 width: 160px; | |
33 } | |
34 | |
35 /* Using padding to increase the touchable area for radio/checkbox input. */ | |
36 div.radio > label > span, | |
37 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.
| |
38 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
| |
39 left: -30px; | |
40 padding: 4px 0 4px 35px; | |
41 } | |
42 | |
43 div.radio > input, | |
44 div.checkbox > input { | |
45 -webkit-transform: scale(1.4); | |
46 } | |
47 | |
48 /** | |
Rick Byers
2011/10/28 20:07:13
Remove second *
bshe
2011/10/30 22:46:10
Done.
| |
49 * 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.
| |
50 * 16 px font-size proved to be more touch friendly. It increases the touchable | |
51 * area for buttons and input boxes. | |
52 */ | |
53 body{ | |
Rick Byers
2011/10/28 20:07:13
add space before {
bshe
2011/10/30 22:46:10
Done.
| |
54 font-size:16px; | |
Rick Byers
2011/10/28 20:07:13
add space after :
bshe
2011/10/30 22:46:10
Done.
| |
55 } | |
56 </if> | |
57 | |
58 | |
25 .overlay { | 59 .overlay { |
26 -webkit-box-align: center; | 60 -webkit-box-align: center; |
27 -webkit-box-orient: vertical; | 61 -webkit-box-orient: vertical; |
28 -webkit-box-pack: center; | 62 -webkit-box-pack: center; |
29 -webkit-transition: 0.25s opacity; | 63 -webkit-transition: 0.25s opacity; |
30 background: -webkit-radial-gradient(rgba(127, 127, 127, 0.5), | 64 background: -webkit-radial-gradient(rgba(127, 127, 127, 0.5), |
31 rgba(127, 127, 127, 0.5) 35%, | 65 rgba(127, 127, 127, 0.5) 35%, |
32 rgba(0, 0, 0, 0.7)); | 66 rgba(0, 0, 0, 0.7)); |
33 bottom: 0; | 67 bottom: 0; |
34 display: -webkit-box; | 68 display: -webkit-box; |
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
601 display: table-cell; | 635 display: table-cell; |
602 vertical-align: baseline; | 636 vertical-align: baseline; |
603 border-bottom: 1px solid #eeeeee; | 637 border-bottom: 1px solid #eeeeee; |
604 } | 638 } |
605 | 639 |
606 /* do not display a border after the last section in the table */ | 640 /* do not display a border after the last section in the table */ |
607 .displaytable:not([searching='true']) > section:last-child > * { | 641 .displaytable:not([searching='true']) > section:last-child > * { |
608 border-bottom: none; | 642 border-bottom: none; |
609 } | 643 } |
610 | 644 |
OLD | NEW |