Export 0.1.61
[platform/framework/web/web-ui-fw.git] / src / themes / tizen / common / jquery.mobile.theme.less
1
2 @import "config.less";
3
4 /***************************************************************************
5                     Header / Footer
6                     NavigationBar
7 ***************************************************************************/
8
9 .ui-bar-s {
10         border: none;
11         background : rgba(248, 246, 239, 1); // #F8F6EF /* Header Background */
12         color: @color_bar_title_text;
13         font-family: Helvetica, Arial, sans-serif;
14         font-weight: bold;
15         font-size : 28 * @unit_base;
16
17         .ui-link-inherit {
18                 color: @color_bar_title_text;
19         }
20         
21         
22         > .ui-btn.ui-btn-back {
23                 background : transparent;
24
25                 position : absolute;
26                 right : 0px;
27
28                 .ui-icon-header-back-btn {
29                         top : 8 * @unit_base;
30                         left : auto;
31                         right : 13 * @unit_base;
32
33                         margin-top : 0px
34                 }
35         }
36 }
37
38 /* Header style */
39 .ui-header.ui-bar-s{
40         position : fixed;
41         top : 0px;
42
43         min-height : 55 * @unit_base;
44
45         .ui-title {
46                 display: inline-block;
47                 color : @color_bar_title_text;
48                 min-height : 28 * @unit_base;
49                 max-height : 34 * @unit_base; /* temporary UX strange */
50                 font-size  : 28 * @unit_base;
51                 text-overflow: ellipsis;
52                 overflow: hidden;
53                 white-space: nowrap;
54                 outline: 0 !important;
55
56                 text-align: left;
57                 margin: 16*@unit_base 8*@unit_base 5*@unit_base 8*@unit_base;
58
59         }
60
61         /* header button position : need to press area more... */
62         >.ui-btn {
63                 .ui-btn-inner.ui-btn-icon-only .ui-icon {
64                         left : 0px;
65                         top : 0px;
66                         margin-top : 0px;
67                 }
68         }
69
70         > .ui-btn.ui-btn-back {
71                 right : 13 * @unit_base;
72         }
73
74         img {
75                 display: inline-block;
76                 height: 16 * @unit_base;
77                 width: 16 * @unit_base;
78                 margin-left: 8 * @unit_base;
79         }
80
81         .ui-title-text-sub {
82                 position : absolute;
83                 top : 36 * @unit_base;
84                 left : 8 * @unit_base;  
85
86                 font-size : 12 * @unit_base;    
87
88                 img {
89                         height: 16 * @unit_base;
90                         width: 16 * @unit_base;
91                         margin-left: 8 * @unit_base;
92                 }
93         }
94
95         > .ui-btn{
96                 position : absolute;
97                 top : 19 * @unit_base;
98                 margin-top : 0px;
99
100                 height : 32 * @unit_base;
101                 width : 32 * @unit_base;
102
103                 background: transparent;
104                 color   : red;
105
106         }
107
108         > .ui-btn.ui-btn-right:nth-child(2) {
109                 right : 11 * @unit_base;
110         }
111
112         > .ui-btn.ui-btn-right:nth-child(3) {
113                 right : 58 * @unit_base;
114         }
115
116         > img + h1 + a.ui-btn.ui-btn-right:nth-child(3) {
117                 right : 11 * @unit_base;
118         }
119
120         > img + h1 + a.ui-btn.ui-btn-right:nth-child(4) {
121                 right : 58 * @unit_base;
122         }
123
124         > img + h1 + span.ui-title-text-sub + a.ui-btn.ui-btn-right:nth-child(4) {
125                 right : 11 * @unit_base;
126         }
127
128         > img + h1 + span.ui-title-text-sub + a.ui-btn.ui-btn-right:nth-child(5) {
129                 right : 58 * @unit_base;
130         }
131
132         > .ui-btn.ui-btn-down-s {
133                 background : @color_bar_btn_press;
134                 color : @color_bar_title_text;
135         }
136         
137         &.ui-title-multiline {
138                 .ui-title {
139                         min-height : 24 * @unit_base;
140                         max-height : 24 * @unit_base; /* temporary UX strange */
141                         font-size  : 22 * @unit_base;
142
143                         margin: 9*@unit_base 8*@unit_base 22*@unit_base 8*@unit_base;
144                 }
145         }
146         
147 }
148
149 .ui-footer.ui-bar-s {
150         height : 49 * @unit_base;
151         text-align : center;
152         
153         >.ui-btn.ui-btn-back,
154         >[data-icon="naviframe-more"] {
155                 background : transparent;
156
157                 .ui-btn-footer-right .ui-btn-icon-only .ui-icon {
158                         left : 8 * @unit_base;
159                 }
160         }
161
162         [data-icon="naviframe-more"] {
163                 position : absolute;
164                 left : 0 * @unit_base;
165                 top : 0 * @unit_base;
166
167                 box-shadow : none;
168                 border-width : 0px;
169
170                 .ui-icon-naviframe-more {
171                         left : 13 * @unit_base;
172                         top : 8 * @unit_base;
173                         
174                         margin-top : 0px;
175                 }
176                 .ui-btn-inner {
177                         border: none;
178                         background: transparent;
179                 }
180         }
181
182         [data-role="controlgroup"] {
183                 width : 245 * @unit_base; /* temp value */
184
185                 margin-left : auto;
186                 margin-right : auto;
187                 margin-top : 6 * @unit_base; /* temp value */
188                 margin-bottom : 6 * @unit_base; /* temp value */
189
190                 [data-role="button"] {
191                         background : transparent;
192                         
193                         width : 77 * @unit_base;
194
195                         border-style : solid;
196                         border-color : black;
197                         border-top-width : 0px;
198                         border-bottom-width : 0px;
199                         border-left-width : 1px;
200                         border-right-width : 1px;
201
202                         border-radius : 0px;
203                         box-shadow : none;
204                         .ui-btn-text {
205                                 font-size : 17 * @unit_base;
206                                 color : rgba(58, 58, 58, 1);
207                         }
208
209                         &.ui-corner-right {
210                                 border-right-width : 0px;
211                         }
212
213                         &.ui-corner-left {
214                                 border-left-width : 0px;
215                         }
216                 }
217                 }
218         
219         > [data-role="button"]:not([data-icon="naviframe-more"]) {
220                 top : 6 * @unit_base;
221         }
222 }
223
224 /***************************************************************************
225                     Content Top calculate
226 ***************************************************************************/
227 .ui-content {
228         position : relative;
229         top : 55  * @unit_base;
230 }
231
232 .ui-title-content-normal-height {
233         top : 55  * @unit_base;
234 }
235
236 .ui-title-content-multi-controlbar-height {
237         top : 75  * @unit_base;
238 }
239
240 .ui-title-content-search {
241         top : 111  * @unit_base;
242 }
243
244
245 /***************************************************************************
246                     Content Top calculate
247 ***************************************************************************/
248
249
250 .ui-body-s {
251         border: 1px solid #2a2a2a;
252         background:                     @color_bg;
253         color:                                  @color_text;
254         font-weight: normal;
255
256         font-family: Helvetica, Arial, sans-serif;
257
258         .ui-link-inherit { color:       #fff; }
259         .ui-link {
260                 /* ui-body-link */
261                 color: #2489CE;
262                 font-weight: bold;
263                 &:hover { color: #2489CE; }
264                 &:active { color: #2489CE; }
265                 &:visited {     color: #2489CE; }
266         }
267 }
268
269 .ui-br {
270 }
271 .ui-btn-box-s {
272         padding: 1px;
273 }
274 .ui-btn-box-s.ui-btn-up-s {
275         .LESSbutton_box_style;
276         .LESSborder-radius-all( 0.3rem );
277         .LESSbutton_text1_style;
278 }
279
280 .ui-ctxpopup .ui-btn-box-s{
281         &.ui-btn-up-s,
282         &.ui-btn-hover-s {
283                 background: transparent !important;
284                 border: none;
285                 box-shadow: none;
286                 padding: 0;
287                 color: white !important;
288         }
289         &.ui-btn-down-s {
290                 background: @color_ctxbutton_press !important;
291                 border: none;
292                 box-shadow: none;
293                 padding: 0;
294                 color: white !important;
295                 .LESSborder-radius-all( 0 );
296         }
297 }
298
299 .ui-ctxpopup .ui-btn-down-s {
300         background: @color_ctxbutton_press !important;
301 }
302
303 .ui-btn-box-s .ui-btn-inner {
304         border: 1px solid;
305         border-color: rgb(199, 197, 190);
306         .LESSborder-radius-all( 0.3rem );
307         .LESSbox-boxsizing( border-box );
308         .LESSbutton_inner_box_style;
309         height: 100%;
310 }
311
312 .ui-header .ui-btn-box-s,
313 .ui-footer .ui-btn-box-s,
314 .ui-btn-back.ui-btn-up-s,
315 .ui-btn-back.ui-btn-hover-s,
316 .ui-btn-back.ui-btn-down-s,
317 .ui-popup-container .ui-btn-box-s {
318         font-weight: normal;
319         .LESSborder-radius-all( 0.9 rem );
320 }
321 /*
322 .ui-btn-box-s.ui-btn-hover-s {
323         .LESSbutton_hover_style;
324         .LESSbutton_text1_style;
325 }
326
327 .ui-btn-box-s.ui-btn-hover-s.ui-btn-corner-circle{
328         .LESScirclebutton_hover_style;
329 }
330 */
331 .ui-btn-box-s.ui-btn-down-s .ui-btn-inner {
332         .LESSbutton_down_style;
333 }
334
335 .ui-btn-up-s,
336 .ui-btn-hover-s,
337 .ui-btn-down-s {
338         font-family: Helvetica, Arial, sans-serif;
339         text-decoration: none;
340 }
341 /*
342 .ui-btn-down-s.ui-btn-corner-circle{
343         .LESScirclebutton_press_style;
344 }
345
346 /* Structure */
347 /* links within "buttons" 
348 -----------------------------------------------------------------------------------------------------------*/
349
350 a.ui-link-inherit {
351         text-decoration: none !important;
352 }
353
354
355 /* Active class used as the "on" state across all themes
356 -----------------------------------------------------------------------------------------------------------*/
357
358 /* button default color for active state */
359 .ui-btn-active {
360         /* global-active */
361         color:                                  @color_button_text_normal;
362         cursor: pointer;
363         text-decoration: none;
364         background:                     @color_button_press;
365         outline: none;
366         //font-family: Helvetica, Arial, sans-serif;
367
368         a.ui-link-inherit {
369                 color:                                  @color_button_text_normal;
370         }
371 }
372
373 /* button inner top highlight
374 -----------------------------------------------------------------------------------------------------------*/
375
376 .ui-btn-inner {
377         //border : none;
378 }
379
380
381
382
383 /* corner rounding classes
384 -----------------------------------------------------------------------------------------------------------*/
385
386 .ui-corner-tl {
387         .LESSborder-radius-topleft(.3em);
388 }
389 .ui-corner-tr {
390         .LESSborder-radius-topright(.3em);
391 }
392 .ui-corner-bl {
393         .LESSborder-radius-bottomleft(.3em);
394 }
395 .ui-corner-br {
396         .LESSborder-radius-bottomright(.3em);
397 }
398 .ui-corner-top {
399         .LESSborder-radius-topleft(.3em);
400         .LESSborder-radius-topright(.3em);
401 }
402 .ui-corner-bottom {
403         .LESSborder-radius-bottomleft(.3em);
404         .LESSborder-radius-bottomright(.3em);
405 }
406 .ui-corner-right {
407         .LESSborder-radius-topright(.3em);
408         .LESSborder-radius-bottomright(.3em);
409 }
410 .ui-corner-left {
411         .LESSborder-radius-topleft(.3em);
412         .LESSborder-radius-bottomleft(.3em);
413 }
414 .ui-corner-all {
415         //.LESSborder-radius-all(.3em);
416 }
417 .ui-corner-none {
418         .LESSborder-radius-all(0); 
419 }
420
421 /*************************************************************************** 
422                     Icon (Naviframe)
423 ***************************************************************************/
424 .ui-header, .ui-footer {
425         .ui-btn .ui-btn-icon-only .ui-icon {
426                 width: 32 * @unit_base; 
427                 height: 32 * @unit_base;
428                 
429         }
430 }
431
432 .ui-btn-back .ui-btn-inner .ui-icon-header-back-btn {
433         width: 32 * @unit_base; 
434         height: 32 * @unit_base;
435
436         background-repeat: no-repeat;
437         background-size: 100% 100%;
438
439 }
440
441 .ui-btn-up-s {
442         .ui-icon-header-back-btn { background-image: url(images/00_icon_Back.png); }
443         .ui-icon-naviframe-more { background-image: url(images/00_icon_more.png); }
444         .ui-icon-naviframe-cancel { background-image: url(images/00_icon_cancel.png); }
445         .ui-icon-naviframe-edit { background-image: url(images/00_icon_edit.png); }
446         .ui-icon-naviframe-plus { background-image: url(images/00_icon_plus.png); }
447 }
448
449 .ui-btn-down-s, .ui-btn-hover-s {
450         .ui-icon-header-back-btn { background-image: url(images/00_icon_Back_press.png); }
451         .ui-icon-naviframe-more { background-image: url(images/00_icon_more_press.png); }
452         .ui-icon-naviframe-cancel { background-image: url(images/00_icon_cancel_press.png); }
453         .ui-icon-naviframe-edit { background-image: url(images/00_icon_edit_press.png); }
454         .ui-icon-naviframe-plus { background-image: url(images/00_icon_plus_press.png); }
455 }