Tizen 2.1 base
[platform/framework/web/web-ui-fw.git] / libs / js / jquery-mobile-1.0.1pre / css / structure / jquery.mobile.core.css
1 /* some unsets - more probably needed */
2 .ui-mobile, .ui-mobile body { height: 100%; }
3 .ui-mobile fieldset, .ui-page { padding: 0; margin: 0; }
4 .ui-mobile a img, .ui-mobile fieldset { border: 0; }
5
6 /* responsive page widths */
7 .ui-mobile-viewport {  margin: 0; overflow-x: visible; -webkit-text-size-adjust: none; -ms-text-size-adjust:none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
8 /* Issue #2066 */
9 body.ui-mobile-viewport,
10 div.ui-mobile-viewport { overflow-x: hidden; }
11
12 /* "page" containers - full-screen views, one should always be in view post-pageload */
13 .ui-mobile [data-role=page], .ui-mobile [data-role=dialog], .ui-page { top: 0; left: 0; width: 100%; min-height: 100%; position: absolute; display: none; border: 0; }
14 .ui-mobile .ui-page-active { display: block; overflow: visible; }
15
16 /* on ios4, setting focus on the page element causes flashing during transitions when there is an outline, so we turn off outlines */
17 .ui-page { outline: none; }
18
19 /*orientations from js are available */
20 @media screen and (orientation: portrait){
21 .ui-mobile, .ui-mobile .ui-page { min-height: 420px; }
22 }
23 @media screen and (orientation: landscape){
24 .ui-mobile, .ui-mobile .ui-page { min-height: 300px; }
25 }
26
27 /* native overflow scrolling */
28 .ui-page.ui-mobile-touch-overflow,
29 .ui-mobile-touch-overflow.ui-native-fixed .ui-content {
30         overflow: auto;
31         height: 100%;
32         -webkit-overflow-scrolling: touch;
33         -moz-overflow-scrolling: touch;
34         -o-overflow-scrolling: touch;
35         -ms-overflow-scrolling: touch;
36         overflow-scrolling: touch;
37 }
38 .ui-page.ui-mobile-touch-overflow,
39 .ui-page.ui-mobile-touch-overflow * {
40         /* some level of transform keeps elements from blinking out of visibility on iOS */
41         -webkit-transform: rotateY(0);
42 }
43 .ui-page.ui-mobile-pre-transition {
44         display: block;
45 }
46
47 /* loading screen */
48 .ui-loading .ui-mobile-viewport { overflow: hidden !important; }
49 .ui-loading .ui-loader { display: block; }
50 .ui-loading .ui-page { overflow: hidden;  }
51 .ui-loader { display: none; position: absolute; opacity: .85; z-index: 100; left: 50%; width: 200px; margin-left: -130px; margin-top: -35px; padding: 10px 30px; }
52 .ui-loader h1 { font-size: 15px; text-align: center; }
53 .ui-loader .ui-icon { position: static; display: block; opacity: .9; margin: 0 auto; width: 35px; height: 35px; background-color: transparent; }
54
55 /*fouc*/
56 .ui-mobile-rendering > * { visibility: hidden; }
57
58 /*headers, content panels*/
59 .ui-bar, .ui-body { position: relative; padding: .4em 15px;  overflow: hidden; display: block;  clear:both;  }
60 .ui-bar { font-size: 16px; margin: 0; }
61 .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; }
62
63 .ui-header, .ui-footer { display: block; }
64 .ui-page .ui-header, .ui-page .ui-footer { position: relative; }
65 .ui-header .ui-btn-left { position: absolute; left: 10px; top: .4em;  }
66 .ui-header .ui-btn-right { position: absolute; right: 10px; top: .4em; }
67 .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; }
68 .ui-footer .ui-title { margin: .6em 15px .8em;  }
69
70 /*content area*/
71 .ui-content { border-width: 0; overflow: visible; overflow-x: hidden; padding: 15px; }
72 .ui-page-fullscreen .ui-content { padding:0; }
73
74 /* native fixed headers and footers */
75 .ui-mobile-touch-overflow.ui-page.ui-native-fixed,
76 .ui-mobile-touch-overflow.ui-page.ui-native-fullscreen {
77         overflow: visible;
78 }
79 .ui-mobile-touch-overflow.ui-native-fixed .ui-header,
80 .ui-mobile-touch-overflow.ui-native-fixed .ui-footer {
81         position: fixed;
82         left: 0;
83         right: 0;
84         top: 0;
85         z-index: 200;
86 }
87 .ui-mobile-touch-overflow.ui-page.ui-native-fixed .ui-footer {
88         top: auto;
89         bottom: 0;
90 }
91 .ui-mobile-touch-overflow.ui-native-fixed .ui-content {
92         padding-top: 2.5em;
93         padding-bottom: 3em;
94         top: 0;
95         bottom: 0;
96         height: auto;
97         position: absolute;
98 }
99 .ui-mobile-touch-overflow.ui-native-fullscreen .ui-content {
100         padding-top: 0;
101         padding-bottom: 0;
102 }
103 .ui-mobile-touch-overflow.ui-native-fullscreen .ui-header,
104 .ui-mobile-touch-overflow.ui-native-fullscreen .ui-footer {
105         opacity: .9;
106 }
107 .ui-native-bars-hidden {
108         display: none;
109 }
110
111 /* icons sizing */
112 .ui-icon { width: 18px; height: 18px; }
113
114 /* fullscreen class on ui-content div */
115 .ui-fullscreen {  }
116 .ui-fullscreen img { max-width: 100%; }
117
118 /* non-js content hiding */
119 .ui-nojs { position: absolute; left: -9999px; }
120
121 /* accessible content hiding */
122 .ui-hide-label label,
123 .ui-hidden-accessible { position: absolute !important; left: -9999px; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }