]> git.wh0rd.org Git - tt-rss.git/blob - lib/iui/iui.css
Got mobile view working on Opera Mobile, Safari and Android
[tt-rss.git] / lib / iui / iui.css
1 /* iui.css (c) 2007-9 by iUI Project Members, see LICENSE.txt for license */
2 body {
3     margin: 0;
4     font-family: Helvetica;
5     background: #FFFFFF;
6     color: #000000;
7     overflow-x: hidden;
8     -webkit-user-select: none;
9     -webkit-text-size-adjust: none;
10 }
11
12 body > *:not(.toolbar) {
13     display: none;
14     position: absolute;
15     margin: 0;
16     padding: 0;
17     left: 0;
18     top: 45px;
19     width: 100%;
20     min-height: 372px;
21     -webkit-transition-duration: 300ms;
22     -webkit-transition-property: -webkit-transform;
23     -webkit-transform: translateX(0%);
24 }
25
26 body[orient="landscape"] > *:not(.toolbar) {
27     min-height: 268px;
28 }
29
30 body > *[selected="true"] {
31     display: block;
32 }
33
34 a[selected], a:active {
35     background-color: #194fdb !important;
36     background-image: url(listArrowSel.png), url(selection.png) !important;
37     background-repeat: no-repeat, repeat-x;
38     background-position: right center, left top;
39     color: #FFFFFF !important;
40 }
41
42 a[selected="progress"] {
43     background-image: url(loading.gif), url(selection.png) !important;
44 }
45
46 /************************************************************************************************/
47
48 body > .toolbar {
49     box-sizing: border-box;
50     -moz-box-sizing: border-box;
51     -webkit-box-sizing: border-box;
52     border-bottom: 1px solid #2d3642;
53     border-top: 1px solid #6d84a2;
54     padding: 10px;
55     height: 45px;
56     background: url(toolbar.png) #6d84a2 repeat-x;
57 }
58
59 .toolbar > h1 {
60     position: absolute;
61     overflow: hidden;
62     left: 50%;
63     margin: 1px 0 0 -75px;
64     height: 45px;
65     font-size: 20px;
66     width: 150px;
67     font-weight: bold;
68     text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0;
69     text-align: center;
70     text-overflow: ellipsis;
71     white-space: nowrap;
72     color: #FFFFFF;
73 }
74
75 body[orient="landscape"] > .toolbar > h1 {
76     margin-left: -125px;
77     width: 250px;
78 }
79
80 .button {
81     position: absolute;
82     overflow: hidden;
83     top: 8px;
84     right: 6px;
85     margin: 0;
86     border-width: 0 5px;
87     padding: 0 3px;
88     width: auto;
89     height: 30px;
90     line-height: 30px;
91     font-family: inherit;
92     font-size: 12px;
93     font-weight: bold;
94     color: #FFFFFF;
95     text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0;
96     text-overflow: ellipsis;
97     text-decoration: none;
98     white-space: nowrap;
99     background: none;
100     -webkit-border-image: url(toolButton.png) 0 5 0 5;
101 }
102
103 .blueButton {
104     -webkit-border-image: url(blueButton.png) 0 5 0 5;
105     border-width: 0 5px;
106 }
107
108 .leftButton {
109     left: 6px;
110     right: auto;
111 }
112
113 #backButton {
114     display: none;
115     left: 6px;
116     right: auto;
117     padding: 0;
118     max-width: 55px;
119     border-width: 0 8px 0 14px;
120     -webkit-border-image: url(backButton.png) 0 8 0 14;
121 }
122
123 .whiteButton,
124 .redButton,
125 .grayButton {
126     display: block;
127     border-width: 0 12px;
128     padding: 10px;
129     text-align: center;
130     font-size: 20px;
131     font-weight: bold;
132     text-decoration: inherit;
133     color: inherit;
134 }
135
136 .whiteButton {
137     -webkit-border-image: url(whiteButton.png) 0 12 0 12;
138     text-shadow: rgba(255, 255, 255, 0.7) 0 1px 0;
139 }
140
141 .redButton {
142     -webkit-border-image: url(redButton.png) 0 12 0 12;
143     color:#fff;
144     text-shadow: #7a0001 0 -1px 0;
145 }
146
147 .grayButton {
148     -webkit-border-image: url(grayButton.png) 0 12 0 12;
149     color: #FFFFFF;
150 }
151
152 /************************************************************************************************/
153
154 body > ul > li {
155     position: relative;
156     margin: 0;
157     border-bottom: 1px solid #E0E0E0;
158     padding: 8px 0 8px 10px;
159     font-size: 20px;
160     font-weight: bold;
161     list-style: none;
162 }
163
164 body > ul > li.group {
165     position: relative;
166     top: -1px;
167     margin-bottom: -2px;
168     border-top: 1px solid #7d7d7d;
169     border-bottom: 1px solid #999999;
170     padding: 1px 10px;
171     background: url(listGroup.png) repeat-x;
172     font-size: 17px;
173     font-weight: bold;
174     text-shadow: rgba(0, 0, 0, 0.4) 0 1px 0;
175     color: #FFFFFF;
176 }
177
178 body > ul > li.group:first-child {
179     top: 0;
180     border-top: none;
181 }
182
183 body > ul > li > a {
184     display: block;
185     margin: -8px 0 -8px -10px;
186     padding: 8px 32px 8px 10px;
187     text-decoration: none;
188     color: inherit;
189     background: url(listArrow.png) no-repeat right center;
190 }
191
192 a[target="_replace"] {
193     box-sizing: border-box;
194     -webkit-box-sizing: border-box;
195     padding-top: 25px;
196     padding-bottom: 25px;
197     font-size: 18px;
198     color: cornflowerblue;
199     background-color: #FFFFFF;
200     background-image: none;
201 }
202
203 /************************************************************************************************/
204     
205 body > .dialog {
206     top: 0;
207     width: 100%;
208     min-height: 417px;
209     z-index: 2;
210     background: rgba(0, 0, 0, 0.8);
211     padding: 0;
212     text-align: right;
213 }
214
215 .dialog > fieldset {
216     box-sizing: border-box;
217     -webkit-box-sizing: border-box;
218     width: 100%;
219     margin: 0;
220     border: none;
221     border-top: 1px solid #6d84a2;
222     padding: 10px 6px;
223     background: url(toolbar.png) #7388a5 repeat-x;
224 }
225
226 .dialog > fieldset > h1 {
227     margin: 0 10px 0 10px;
228     padding: 0;
229     font-size: 20px;
230     font-weight: bold;
231     color: #FFFFFF;
232     text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0;
233     text-align: center;
234 }
235
236 .dialog > fieldset > label {
237     position: absolute;
238     margin: 16px 0 0 6px;
239     font-size: 14px;
240     color: #999999;
241 }
242
243 /*input:not(input[type|=radio]):not(input[type|=checkbox]) {*/
244 input[type|=text], input[type|=password] {
245     box-sizing: border-box;
246     -webkit-box-sizing: border-box;
247     width: 100%;
248     margin: 8px 0 0 0;
249     padding: 6px 6px 6px 44px;
250     font-size: 16px;
251     font-weight: normal;
252 }
253
254 /************************************************************************************************/
255
256 body > .panel {
257     box-sizing: border-box;
258     -moz-box-sizing: border-box;
259     -webkit-box-sizing: border-box;
260     padding: 10px;
261     background: #c8c8c8 url(pinstripes.png);
262 }
263
264 .panel > fieldset {
265     position: relative;
266     margin: 0 0 20px 0;
267     padding: 0;
268     background: #FFFFFF;
269     -webkit-border-radius: 10px;
270     -moz-border-radius: 10px;
271     border: 1px solid #999999;
272     text-align: right;
273     font-size: 16px;
274 }
275
276 .row  {
277     position: relative;
278     min-height: 42px;
279     border-bottom: 1px solid #999999;
280     -webkit-border-radius: 0;
281     text-align: right;
282 }
283
284 fieldset > .row:last-child {
285     border-bottom: none !important;
286 }
287
288 /*.row > input:not(input[type|=radio]):not(input[type|=checkbox]) {*/
289 .row > input[type|=text], .row > input[type|=password] {
290     box-sizing: border-box;
291     -moz-box-sizing: border-box;
292     -webkit-box-sizing: border-box;
293     margin: 0;
294     border: none;
295     padding: 12px 10px 0 110px;
296 /*    height: 42px;*/
297     background: none;
298 }
299 .row > input[type|=radio], .row > input[type|=checkbox] {
300   margin: 7px 7px 0 0;
301   height: 25px;
302   width: 25px;
303 }
304
305 .row > label {
306     position: absolute;
307     margin: 0 0 0 14px;
308     line-height: 42px;
309     font-weight: bold;
310 }
311
312 .row > span {
313     position: absolute;
314     padding: 12px 10px 0 110px;
315     margin: 0;
316 }
317
318 .row > .toggle {
319     position: absolute;
320     top: 6px;
321     right: 6px;
322     width: 100px;
323     height: 28px;
324 }
325
326 .toggle {
327     border: 1px solid #888888;
328     -webkit-border-radius: 6px;
329     background: #FFFFFF url(toggle.png) repeat-x;
330     font-size: 19px;
331     font-weight: bold;
332     line-height: 30px;
333 }
334
335 .toggle[toggled="true"] {
336     border: 1px solid #143fae;
337     background: #194fdb url(toggleOn.png) repeat-x;
338 }
339
340 .toggleOn {
341     display: none;
342     position: absolute;
343     width: 60px;
344     text-align: center;
345     left: 0;
346     top: 0;
347     color: #FFFFFF;
348     text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0;
349 }
350
351 .toggleOff {
352     position: absolute;
353     width: 60px;
354     text-align: center;
355     right: 0;
356     top: 0;
357     color: #666666;
358 }
359
360 .toggle[toggled="true"] > .toggleOn {
361     display: block;
362 }
363
364 .toggle[toggled="true"] > .toggleOff {
365     display: none;
366 }
367
368 .thumb {
369     position: absolute;
370     top: -1px;
371     left: -1px;
372     width: 40px;
373     height: 28px;    
374     border: 1px solid #888888;
375     -webkit-border-radius: 6px;
376     background: #ffffff url(thumb.png) repeat-x;
377 }
378
379 .toggle[toggled="true"] > .thumb {
380     left: auto;
381     right: -1px;
382 }
383
384 .panel > h2 {
385     margin: 0 0 8px 14px;
386     font-size: inherit;
387     font-weight: bold;
388     color: #4d4d70;
389     text-shadow: rgba(255, 255, 255, 0.75) 2px 2px 0;
390 }
391
392 /************************************************************************************************/
393
394 #preloader {
395     display: none;
396     background-image: url(loading.gif), url(selection.png),
397         url(blueButton.png), url(listArrowSel.png), url(listGroup.png);
398 }