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 <if expr="pp_ifdef('touchui')"> | |
26 /* Fix the width issue of search box after increase font size. */ | |
Rick Byers
2011/10/31 15:18:18
Update this comment
bshe
2011/10/31 21:41:18
Done.
| |
27 #search-field { | |
28 font-size: 13px; | |
29 -webkit-transform: scaleY(1.2); | |
30 } | |
31 | |
32 /* | |
33 * In TOUCH_UI builds, make the radio/checkbox input boxes in | |
34 * options/preference pages easier to touch. | |
35 */ | |
36 div.radio > label > span, | |
37 div.checkbox > label > span { | |
38 padding-left: 5px; | |
Rick Byers
2011/10/31 15:18:18
use -webkit-padding-start so this still works for
bshe
2011/10/31 21:41:18
Done.
| |
39 } | |
40 | |
41 div.radio > label > input, | |
42 div.checkbox > label > input { | |
43 -webkit-transform: scale(1.4); | |
44 } | |
45 | |
46 /* | |
47 * Overwrite the font-size rule in shared_options.css file. | |
48 * 16 px font-size proved to be more touch friendly. It increases the touchable | |
49 * area for buttons and input boxes. | |
50 */ | |
51 body { | |
52 font-size: 16px; | |
53 } | |
54 </if> | |
55 | |
56 | |
25 .overlay { | 57 .overlay { |
26 -webkit-box-align: center; | 58 -webkit-box-align: center; |
27 -webkit-box-orient: vertical; | 59 -webkit-box-orient: vertical; |
28 -webkit-box-pack: center; | 60 -webkit-box-pack: center; |
29 -webkit-transition: 0.25s opacity; | 61 -webkit-transition: 0.25s opacity; |
30 background: -webkit-radial-gradient(rgba(127, 127, 127, 0.5), | 62 background: -webkit-radial-gradient(rgba(127, 127, 127, 0.5), |
31 rgba(127, 127, 127, 0.5) 35%, | 63 rgba(127, 127, 127, 0.5) 35%, |
32 rgba(0, 0, 0, 0.7)); | 64 rgba(0, 0, 0, 0.7)); |
33 bottom: 0; | 65 bottom: 0; |
34 display: -webkit-box; | 66 display: -webkit-box; |
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
601 display: table-cell; | 633 display: table-cell; |
602 vertical-align: baseline; | 634 vertical-align: baseline; |
603 border-bottom: 1px solid #eeeeee; | 635 border-bottom: 1px solid #eeeeee; |
604 } | 636 } |
605 | 637 |
606 /* do not display a border after the last section in the table */ | 638 /* do not display a border after the last section in the table */ |
607 .displaytable:not([searching='true']) > section:last-child > * { | 639 .displaytable:not([searching='true']) > section:last-child > * { |
608 border-bottom: none; | 640 border-bottom: none; |
609 } | 641 } |
610 | 642 |
OLD | NEW |