modify wrong changelog date
[platform/framework/web/web-ui-fw.git] / src / themes / tizen / common / jquery.mobile.core.less
1 /*
2 * jQuery Mobile Framework
3 * Copyright (c) jQuery Project
4 * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
5 */
6
7 /*** less definitions ***/
8 @import "config.less";
9 /************************/
10
11
12 /* some unsets - more probably needed */
13 .ui-mobile, .ui-mobile body { height: 100%; font-size: @font_size_default; }
14 @media all and (max-width:359px) {
15         .ui-mobile, .ui-mobile body { font-size: floor(@font_size_default*320/360); }
16 }
17
18 .ui-mobile fieldset, .ui-page { padding: 0; margin: 0; }
19 .ui-mobile a img, .ui-mobile fieldset { border: 0; }
20
21 /* responsive page widths */
22 .ui-mobile-viewport {  margin: 0; overflow-x: hidden; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
23
24 /* "page" containers - full-screen views, one should always be in view post-pageload */
25 .ui-mobile [data-role=page], .ui-mobile [data-role=dialog], .ui-page { top: 0; left: 0; width: 100%; position: absolute; display: none; border: 0; }
26 .ui-mobile .ui-page-active { display: block; overflow: visible; }
27
28 /* on ios4, setting focus on the page element causes flashing during transitions when there is an outline, so we turn off outlines */
29 .ui-page { outline: none; }
30
31 .ui-mobile, .ui-mobile .ui-page {
32         background:     @color_bg;
33         color                   :       @color_text;
34 }
35
36 /* native overflow scrolling */
37 .ui-page.ui-mobile-touch-overflow,
38 .ui-mobile-touch-overflow.ui-native-fixed .ui-content {
39         overflow: auto;
40         height: 100%;
41         -webkit-overflow-scrolling: touch;
42         -moz-overflow-scrolling: touch;
43         -o-overflow-scrolling: touch;
44         -ms-overflow-scrolling: touch;
45         overflow-scrolling: touch;
46 }
47 .ui-page.ui-mobile-touch-overflow,
48 .ui-page.ui-mobile-touch-overflow * {
49         /* some level of transform keeps elements from blinking out of visibility on iOS */
50         .LESStransform(rotateY(0));
51 }
52 .ui-page.ui-mobile-pre-transition {
53         display: block;
54 }
55
56 /* loading screen */
57 .ui-loading .ui-mobile-viewport { overflow: hidden !important; }
58 .ui-loading .ui-loader { display: block; }
59 .ui-loading .ui-page { overflow: hidden;  }
60 .ui-loader { display: none; position: absolute; opacity: .85; z-index: @z_base_loader; left: 50%; width: 200px; margin-left: -130px; margin-top: -35px; padding: 10px 30px; }
61 .ui-loader h1 { font-size: 32 * @unit_base; text-align: center; }
62 .ui-loader .ui-icon { position: static; display: block; opacity: .9; margin: 0 auto; width: 35px; height: 35px; background-color: transparent; }
63
64 .ui-blocker { width:100%; height:100%; z-index:@z_base_maximum; }
65
66 /*fouc*/
67 .ui-mobile-rendering > * { visibility: hidden; }
68
69 /*headers, content panels*/
70 .ui-bar, .ui-body { position: relative; padding: .4em 15px;  overflow: hidden; display: block;  clear:both;  }
71 .ui-bar { font-size: 16px; margin: 0; }
72 .ui-bar h1, .ui-bar h2, .ui-bar h3, .ui-bar h4, .ui-bar h5, .ui-bar h6 { margin: 0; padding: 0; font-size: 16px; display: inline-block; }
73
74 .ui-header, .ui-footer { display: block; }
75 .ui-page .ui-header, .ui-page .ui-footer { 
76         position : fixed; /*position: relative;*/ 
77         z-index : @z_base_header_footer;
78 }
79 /* Title button packing order */
80 .ui-header .ui-btn-left {
81         top: .4em;
82         float: left;
83 }
84 .ui-header .ui-btn-right {
85         float: right;
86         top: .4em;
87 }
88 .ui-header .ui-title, .ui-footer .ui-title { min-height: 1.1em; text-align: center; font-size: 16px; display: block; margin: .6em 90px .8em;  padding: 0;  text-overflow: ellipsis; overflow: hidden; white-space: nowrap; outline: 0 !important; }
89
90 /*content area*/
91 .ui-content { border-width: 0; overflow: visible; overflow-x: hidden; padding: 15px; }
92 .ui-page-fullscreen .ui-content { padding:0; }
93
94 /* native fixed headers and footers */
95 .ui-mobile-touch-overflow.ui-page.ui-native-fixed,
96 .ui-mobile-touch-overflow.ui-page.ui-native-fullscreen {
97         overflow: visible;
98 }
99 .ui-mobile-touch-overflow.ui-native-fixed .ui-header,
100 .ui-mobile-touch-overflow.ui-native-fixed .ui-footer {
101         position: fixed;
102         left: 0;
103         right: 0;
104         top: 0;
105         z-index: 200;
106 }
107 .ui-mobile-touch-overflow.ui-page.ui-native-fixed .ui-footer {
108         top: auto;
109         bottom: 0;
110 }
111 .ui-mobile-touch-overflow.ui-native-fixed .ui-content {
112         padding-top: 2.5em;
113         padding-bottom: 3em;
114         top: 0;
115         bottom: 0;
116         height: auto;
117         position: absolute;
118 }
119 .ui-mobile-touch-overflow.ui-native-fullscreen .ui-content {
120         padding-top: 0;
121         padding-bottom: 0;
122 }
123 .ui-mobile-touch-overflow.ui-native-fullscreen .ui-header,
124 .ui-mobile-touch-overflow.ui-native-fullscreen .ui-footer {
125         opacity: .9;
126 }
127 .ui-native-bars-hidden {
128         display: none;
129 }
130
131 /* icons sizing */
132 .ui-icon { width: 18px; height: 18px; }
133
134 /* fullscreen class on ui-content div */
135 .ui-fullscreen {  }
136 .ui-fullscreen img { max-width: 100%; }
137
138 /* non-js content hiding */
139 .ui-nojs { position: absolute; left: -9999px; }
140