blob: e3de23c8d8599dfa6a915b905f45010bba95fbea (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
|
/* ../source/dom/dom.css */
/* things we always want */
body {
font-family: 'Helvetica Neue', 'Nimbus Sans L', Arial, sans-serif;
}
/* allow hw-accelerated scrolling on platforms that support it */
body.webkitOverflowScrolling {
-webkit-overflow-scrolling: touch;
}
/* for apps */
.enyo-document-fit {
margin: 0;
height: 100%;
/* note: giving html overflow: auto is odd and was only ever done to avoid duplication
however, android 4.04 sometimes does not hide nodes when their display is set to none
if document is overflow auto.
*/
position: relative;
}
.enyo-body-fit {
margin: 0;
height: 100%;
/* helps prevent ios page scroll */
overflow: auto;
position: relative;
}
/* reset */
button {
font-size: inherit;
font-family: inherit;
}
/* user selection */
.enyo-unselectable {
cursor: default;
-webkit-user-select: none;
-moz-user-select: -moz-none;
user-select: none;
}
.enyo-unselectable::selection, .enyo-unselectable ::selection {
color: transparent;
}
.enyo-selectable {
cursor: auto;
-webkit-user-select: text;
-moz-user-select: text;
user-select: text;
}
.enyo-selectable::selection, .enyo-selectable ::selection {
background: #3297FD;
color: #FFF;
}
/* layout */
body .enyo-fit {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
}
.enyo-clip {
overflow: hidden;
}
.enyo-border-box {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
/* compositing */
.enyo-composite {
-webkit-transform: translateZ(0);
-moz-transform: translateZ(0);
-ms-transform: translateZ(0);
-o-transform: translateZ(0);
transform: translateZ(0);
}
/* ../source/touch/Thumb.css */
.enyo-thumb {
position: absolute;
-moz-box-sizing: border-box;
box-sizing: border-box;
border-radius: 4px;
background: #333;
border: 1px solid #666;
opacity: 0.75;
z-index: 1;
}
.enyo-vthumb {
top: 0;
right: 2px;
width: 4px;
}
.enyo-hthumb {
left: 0;
bottom: 2px;
height: 4px;
}
/* ../source/touch/Scroller.css */
.enyo-scroller {
position: relative;
}
.enyo-fit.enyo-scroller {
position: absolute;
}
.enyo-touch-scroller {
overflow: hidden;
}
.enyo-touch-strategy-container {
overflow: hidden;
}
.enyo-scrollee-fit {
height: 100%;
}
/* ../source/ui/ui.css */
.enyo-inline, .enyo-tool-decorator {
display: inline-block;
}
.enyo-children-inline > *, .enyo-tool-decorator > * {
display: inline-block;
}
.enyo-children-middle > *, .enyo-tool-decorator > * {
vertical-align: middle;
}
.enyo-positioned {
position: relative;
}
.enyo-fill {
position: relative;
width: 100%;
height: 100%;
}
.enyo-popup {
position: absolute;
z-index: 10;
}
|