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 /* |
| 27 * Add padding to increase the touchable area of search box. Use original font |
| 28 * size to avoid the width of search box exceeding the width of navbar. |
| 29 */ |
| 30 #search-field { |
| 31 font-size: 13px; |
| 32 padding: 5px; |
| 33 } |
| 34 #search-field::-webkit-search-cancel-button { |
| 35 -webkit-transform: scale(1.5); |
| 36 } |
| 37 |
| 38 /* |
| 39 * In TOUCH_UI builds, make the radio/checkbox input boxes in |
| 40 * options/preference pages easier to touch. |
| 41 */ |
| 42 div.radio > label > span, |
| 43 div.checkbox > label > span { |
| 44 -webkit-padding-start: 5px; |
| 45 } |
| 46 |
| 47 label > input[type=checkbox], |
| 48 label > input[type=radio] { |
| 49 -webkit-transform: scale(1.4); |
| 50 } |
| 51 |
| 52 /* |
| 53 * Override the font-size rule in shared_options.css file. |
| 54 * 16 px font-size proved to be more touch friendly. It increases the touchable |
| 55 * area for buttons and input boxes. |
| 56 */ |
| 57 body { |
| 58 font-size: 16px; |
| 59 } |
| 60 </if> |
| 61 |
| 62 |
25 .overlay { | 63 .overlay { |
26 -webkit-box-align: center; | 64 -webkit-box-align: center; |
27 -webkit-box-orient: vertical; | 65 -webkit-box-orient: vertical; |
28 -webkit-box-pack: center; | 66 -webkit-box-pack: center; |
29 -webkit-transition: 0.25s opacity; | 67 -webkit-transition: 0.25s opacity; |
30 background: -webkit-radial-gradient(rgba(127, 127, 127, 0.5), | 68 background: -webkit-radial-gradient(rgba(127, 127, 127, 0.5), |
31 rgba(127, 127, 127, 0.5) 35%, | 69 rgba(127, 127, 127, 0.5) 35%, |
32 rgba(0, 0, 0, 0.7)); | 70 rgba(0, 0, 0, 0.7)); |
33 bottom: 0; | 71 bottom: 0; |
34 display: -webkit-box; | 72 display: -webkit-box; |
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
601 display: table-cell; | 639 display: table-cell; |
602 vertical-align: baseline; | 640 vertical-align: baseline; |
603 border-bottom: 1px solid #eeeeee; | 641 border-bottom: 1px solid #eeeeee; |
604 } | 642 } |
605 | 643 |
606 /* do not display a border after the last section in the table */ | 644 /* do not display a border after the last section in the table */ |
607 .displaytable:not([searching='true']) > section:last-child > * { | 645 .displaytable:not([searching='true']) > section:last-child > * { |
608 border-bottom: none; | 646 border-bottom: none; |
609 } | 647 } |
610 | 648 |
OLD | NEW |