Permalink
Showing
with
16 additions
and
8 deletions.
-
+16
−8
css/structure/jquery.mobile.core.css
|
|
@@ -50,23 +50,31 @@ div.ui-mobile-viewport { |
|
|
border: 0;
|
|
|
}
|
|
|
|
|
|
-/* Need to make sure things with visibility:visible inside a pag stay hidden */
|
|
|
-.ui-page:not(.ui-page-active) *{
|
|
|
- visibility: hidden !important;
|
|
|
-}
|
|
|
-.ui-page:not(.ui-page-active) {
|
|
|
- overflow: hidden;
|
|
|
- max-height: 100%;
|
|
|
-}
|
|
|
/* On ios4, setting focus on the page element causes flashing during transitions when there is an outline, so we turn off outlines */
|
|
|
+
|
|
|
.ui-page {
|
|
|
outline: none;
|
|
|
}
|
|
|
+
|
|
|
+.ui-page:not(.ui-page-active),
|
|
|
+[data-role=page]:not(.ui-page-active) {
|
|
|
+ bottom: 0;
|
|
|
+ max-height: 100%;
|
|
|
+ overflow: hidden;
|
|
|
+}
|
|
|
+
|
|
|
+/* Use !important to override "visibility: visible" for any element inside a non-active page */
|
|
|
+
|
|
|
+.ui-page:not(.ui-page-active) * {
|
|
|
+ visibility: hidden !important;
|
|
|
+}
|
|
|
+
|
|
|
.ui-mobile .ui-page-active {
|
|
|
visibility: visible;
|
|
|
overflow: visible;
|
|
|
overflow-x: hidden;
|
|
|
}
|
|
|
+
|
|
|
@media screen and (orientation: portrait) {
|
|
|
.ui-mobile .ui-page {
|
|
|
min-height: 420px;
|
|
|
|
9a2daa0how many