]> git.wh0rd.org - tt-rss.git/blob - lib/iui/iui.css
1b2c58433b8b36151ad990e49c641bb044d3ed1f
[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 box-sizing: border-box;
245 -webkit-box-sizing: border-box;
246 width: 100%;
247 margin: 8px 0 0 0;
248 padding: 6px 6px 6px 44px;
249 font-size: 16px;
250 font-weight: normal;
251 }
252
253 /************************************************************************************************/
254
255 body > .panel {
256 box-sizing: border-box;
257 -moz-box-sizing: border-box;
258 -webkit-box-sizing: border-box;
259 padding: 10px;
260 background: #c8c8c8 url(pinstripes.png);
261 }
262
263 .panel > fieldset {
264 position: relative;
265 margin: 0 0 20px 0;
266 padding: 0;
267 background: #FFFFFF;
268 -webkit-border-radius: 10px;
269 -moz-border-radius: 10px;
270 border: 1px solid #999999;
271 text-align: right;
272 font-size: 16px;
273 }
274
275 .row {
276 position: relative;
277 min-height: 42px;
278 border-bottom: 1px solid #999999;
279 -webkit-border-radius: 0;
280 text-align: right;
281 }
282
283 fieldset > .row:last-child {
284 border-bottom: none !important;
285 }
286
287 .row > input:not(input[type|=radio]):not(input[type|=checkbox]) {
288 box-sizing: border-box;
289 -moz-box-sizing: border-box;
290 -webkit-box-sizing: border-box;
291 margin: 0;
292 border: none;
293 padding: 12px 10px 0 110px;
294 height: 42px;
295 background: none;
296 }
297 .row > input[type|=radio], .row > input[type|=checkbox] {
298 margin: 7px 7px 0 0;
299 height: 25px;
300 width: 25px;
301 }
302
303 .row > label {
304 position: absolute;
305 margin: 0 0 0 14px;
306 line-height: 42px;
307 font-weight: bold;
308 }
309
310 .row > span {
311 position: absolute;
312 padding: 12px 10px 0 110px;
313 margin: 0;
314 }
315
316 .row > .toggle {
317 position: absolute;
318 top: 6px;
319 right: 6px;
320 width: 100px;
321 height: 28px;
322 }
323
324 .toggle {
325 border: 1px solid #888888;
326 -webkit-border-radius: 6px;
327 background: #FFFFFF url(toggle.png) repeat-x;
328 font-size: 19px;
329 font-weight: bold;
330 line-height: 30px;
331 }
332
333 .toggle[toggled="true"] {
334 border: 1px solid #143fae;
335 background: #194fdb url(toggleOn.png) repeat-x;
336 }
337
338 .toggleOn {
339 display: none;
340 position: absolute;
341 width: 60px;
342 text-align: center;
343 left: 0;
344 top: 0;
345 color: #FFFFFF;
346 text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0;
347 }
348
349 .toggleOff {
350 position: absolute;
351 width: 60px;
352 text-align: center;
353 right: 0;
354 top: 0;
355 color: #666666;
356 }
357
358 .toggle[toggled="true"] > .toggleOn {
359 display: block;
360 }
361
362 .toggle[toggled="true"] > .toggleOff {
363 display: none;
364 }
365
366 .thumb {
367 position: absolute;
368 top: -1px;
369 left: -1px;
370 width: 40px;
371 height: 28px;
372 border: 1px solid #888888;
373 -webkit-border-radius: 6px;
374 background: #ffffff url(thumb.png) repeat-x;
375 }
376
377 .toggle[toggled="true"] > .thumb {
378 left: auto;
379 right: -1px;
380 }
381
382 .panel > h2 {
383 margin: 0 0 8px 14px;
384 font-size: inherit;
385 font-weight: bold;
386 color: #4d4d70;
387 text-shadow: rgba(255, 255, 255, 0.75) 2px 2px 0;
388 }
389
390 /************************************************************************************************/
391
392 #preloader {
393 display: none;
394 background-image: url(loading.gif), url(selection.png),
395 url(blueButton.png), url(listArrowSel.png), url(listGroup.png);
396 }