/assets/stylesheets/globals/vendor/jquery.mobile.custom.structure.scss
Sass | 344 lines | 274 code | 24 blank | 46 comment | 0 complexity | 0a80c4a4ae906eb18f7675fafa7a4bc5 MD5 | raw file
- /*
- * jQuery Mobile v1.3.1
- * http://jquerymobile.com
- *
- * Copyright 2010, 2013 jQuery Foundation, Inc. and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- */
- /* some unsets - more probably needed */
- .ui-mobile, .ui-mobile body { height: 99.9%; }
- .ui-mobile fieldset, .ui-page { padding: 0; margin: 0; }
- .ui-mobile a img, .ui-mobile fieldset { border-width: 0; }
- /* responsive page widths */
- .ui-mobile-viewport { margin: 0; overflow-x: visible; -webkit-text-size-adjust: 100%; -ms-text-size-adjust:none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
- /* Issue #2066 */
- body.ui-mobile-viewport,
- div.ui-mobile-viewport { overflow-x: hidden; }
- /* "page" containers - full-screen views, one should always be in view post-pageload */
- .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; }
- .ui-mobile .ui-page-active { display: block; overflow: visible; }
- /* 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; }
- /*orientations from js are available */
- @media screen and (orientation: portrait){
- .ui-mobile .ui-page { min-height: 420px; }
- }
- @media screen and (orientation: landscape){
- .ui-mobile .ui-page { min-height: 300px; }
- }
- /* loading screen */
- .ui-loading .ui-loader { display: block; }
- .ui-loader { display: none; z-index: 9999999; position: fixed; top: 50%; left: 50%; border:0; }
- .ui-loader-default { background: none; opacity: .18; width: 46px; height: 46px; margin-left: -23px; margin-top: -23px; }
- .ui-loader-verbose { width: 200px; opacity: .88; box-shadow: 0 1px 1px -1px #fff; height: auto; margin-left: -110px; margin-top: -43px; padding: 10px; }
- .ui-loader-default h1 { font-size: 0; width: 0; height: 0; overflow: hidden; }
- .ui-loader-verbose h1 { font-size: 16px; margin: 0; text-align: center; }
- .ui-loader .ui-icon { background-color: #000; display: block; margin: 0; width: 44px; height: 44px; padding: 1px; -webkit-border-radius: 36px; border-radius: 36px; }
- .ui-loader-verbose .ui-icon { margin: 0 auto 10px; opacity: .75; }
- .ui-loader-textonly { padding: 15px; margin-left: -115px; }
- .ui-loader-textonly .ui-icon { display: none; }
- .ui-loader-fakefix { position: absolute; }
- /*fouc*/
- .ui-mobile-rendering > * { visibility: hidden; }
- /*headers, content panels*/
- .ui-bar, .ui-body { position: relative; padding: .4em 15px; overflow: hidden; display: block; clear:both; }
- .ui-bar { font-size: 16px; margin: 0; }
- .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; }
- .ui-header, .ui-footer { position: relative; zoom: 1; }
- .ui-mobile .ui-header, .ui-mobile .ui-footer { border-left-width: 0; border-right-width: 0; }
- .ui-header .ui-btn-left,
- .ui-header .ui-btn-right,
- .ui-footer .ui-btn-left,
- .ui-footer .ui-btn-right,
- .ui-header-fixed.ui-fixed-hidden .ui-btn-left,
- .ui-header-fixed.ui-fixed-hidden .ui-btn-right { position: absolute; top: 3px; }
- .ui-header-fixed .ui-btn-left,
- .ui-header-fixed .ui-btn-right { top: 4px;}
- .ui-header .ui-btn-left,
- .ui-footer .ui-btn-left { left: 5px; }
- .ui-header .ui-btn-right,
- .ui-footer .ui-btn-right { right: 5px; }
- .ui-footer > .ui-btn-icon-notext,
- .ui-header > .ui-btn-icon-notext,
- .ui-header-fixed.ui-fixed-hidden > .ui-btn-icon-notext { top: 6px; }
- .ui-header-fixed > .ui-btn-icon-notext { top: 7px;}
- .ui-header .ui-title, .ui-footer .ui-title { min-height: 1.1em; text-align: center; font-size: 16px; display: block; margin: .6em 30% .8em; padding: 0; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; outline: 0 !important; }
- .ui-footer .ui-title { margin: .6em 15px .8em; }
- /* content area*/
- .ui-content { border-width: 0; overflow: visible; overflow-x: hidden; padding: 15px; }
- /* corner styling for dialogs and popups */
- .ui-corner-all > .ui-header:first-child,
- .ui-corner-all > .ui-content:first-child,
- .ui-corner-all > .ui-footer:first-child {
- -webkit-border-top-left-radius: inherit;
- border-top-left-radius: inherit;
- -webkit-border-top-right-radius: inherit;
- border-top-right-radius: inherit;
- }
- .ui-corner-all > .ui-header:last-child,
- .ui-corner-all > .ui-content:last-child,
- .ui-corner-all > .ui-footer:last-child {
- -webkit-border-bottom-left-radius: inherit;
- border-bottom-left-radius: inherit;
- -webkit-border-bottom-right-radius: inherit;
- border-bottom-right-radius: inherit;
- }
- /* icons sizing */
- .ui-icon { width: 18px; height: 18px; }
- /* non-js content hiding */
- .ui-nojs { position: absolute; left: -9999px; }
- /* accessible content hiding */
- .ui-hide-label label.ui-input-text, .ui-hide-label label.ui-select, .ui-hide-label label.ui-slider, .ui-hide-label label.ui-submit, .ui-hide-label .ui-controlgroup-label,
- .ui-hidden-accessible { position: absolute !important; left: -9999px; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
- /* panel */
- .ui-panel {
- width: 17em;
- min-height: 100%;
- max-height: none;
- border-width: 0;
- position: absolute;
- top: 0;
- display: block;
- }
- .ui-panel-closed {
- width: 0;
- max-height: 100%;
- overflow: hidden;
- visibility: hidden;
- }
- .ui-panel-fixed {
- position: fixed;
- bottom: -1px; /* fixes gap on Chrome for Android */
- padding-bottom: 1px;
- }
- .ui-panel-display-overlay {
- z-index: 1001; /* fixed toolbars have z-index 1000 */
- }
- .ui-panel-display-reveal {
- z-index: 0;
- }
- .ui-panel-display-push {
- z-index: 999;
- }
- .ui-panel-inner {
- padding: 15px;
- }
- /* content-wrap */
- .ui-panel-content-wrap {
- position: relative;
- left: 0;
- min-height: inherit;
- border: none;
- z-index: 999;
- }
- .ui-panel-content-wrap-display-overlay,
- .ui-panel-animate.ui-panel-content-wrap > .ui-header, /* ios4 fix */
- .ui-panel-content-wrap-closed {
- position: static;
- }
- /* dismiss */
- .ui-panel-dismiss {
- position: absolute;
- top: 0;
- left:0;
- height: 100%;
- width: 100%;
- z-index: 1002;
- display: none;
- }
- .ui-panel-dismiss-open {
- display: block;
- }
- /* animate class is added to panel, wrapper and fixed toolbars */
- .ui-panel-animate {
- -webkit-transition: -webkit-transform 350ms ease;
- -moz-transition: -moz-transform 350ms ease;
- transition: transform 350ms ease;
- }
- /* hardware acceleration for smoother transitions on WebKit browsers */
- .ui-panel-animate.ui-panel:not(.ui-panel-display-reveal),
- .ui-panel-animate.ui-panel:not(.ui-panel-display-reveal) > div,
- .ui-panel-animate.ui-panel-closed.ui-panel-display-reveal > div,
- .ui-panel-animate.ui-panel-content-wrap,
- .ui-panel-animate.ui-panel-content-fixed-toolbar {
- -webkit-backface-visibility: hidden;
- -webkit-transform: translate3d(0,0,0);
- }
- /* positioning: panel */
- /* panel left */
- .ui-panel-position-left {
- left: -17em;
- }
- /* animated: panel left (for overlay and push) */
- .ui-panel-animate.ui-panel-position-left.ui-panel-display-overlay,
- .ui-panel-animate.ui-panel-position-left.ui-panel-display-push {
- left: 0;
- -webkit-transform: translate3d(-17em,0,0);
- -moz-transform: translate3d(-17em,0,0);
- transform: translate3d(-17em,0,0);
- }
- /* panel left open */
- .ui-panel-position-left.ui-panel-display-reveal, /* negate "panel left" for reveal */
- .ui-panel-position-left.ui-panel-open {
- left: 0;
- }
- /* animated: panel left open (for overlay and push) */
- .ui-panel-animate.ui-panel-position-left.ui-panel-open.ui-panel-display-overlay,
- .ui-panel-animate.ui-panel-position-left.ui-panel-open.ui-panel-display-push {
- -webkit-transform: translate3d(0,0,0);
- transform: translate3d(0,0,0);
- -moz-transform: none;
- }
- /* panel right */
- .ui-panel-position-right {
- right: -17em;
- }
- /* animated: panel right (for overlay and push) */
- .ui-panel-animate.ui-panel-position-right.ui-panel-display-overlay,
- .ui-panel-animate.ui-panel-position-right.ui-panel-display-push {
- right: 0;
- -webkit-transform: translate3d(17em,0,0);
- -moz-transform: translate3d(17em,0,0);
- transform: translate3d(17em,0,0);
- }
- /* panel right open */
- .ui-panel-position-right.ui-panel-display-reveal, /* negate "panel right" for reveal */
- .ui-panel-position-right.ui-panel-open {
- right: 0;
- }
- /* animated: panel right open (for overlay and push) */
- .ui-panel-animate.ui-panel-position-right.ui-panel-open.ui-panel-display-overlay,
- .ui-panel-animate.ui-panel-position-right.ui-panel-open.ui-panel-display-push {
- -webkit-transform: translate3d(0,0,0);
- transform: translate3d(0,0,0);
- -moz-transform: none;
- }
- /* positioning: content wrap, fixed toolbars and dismiss */
- /* panel left open */
- .ui-panel-content-fixed-toolbar-position-left.ui-panel-content-fixed-toolbar-open,
- .ui-panel-content-wrap-position-left.ui-panel-content-wrap-open,
- .ui-panel-dismiss-position-left.ui-panel-dismiss-open {
- left: 17em;
- right: -17em;
- }
- /* animated: panel left open (for reveal and push) */
- .ui-panel-animate.ui-panel-content-fixed-toolbar-position-left.ui-panel-content-fixed-toolbar-open.ui-panel-content-fixed-toolbar-display-reveal,
- .ui-panel-animate.ui-panel-content-fixed-toolbar-position-left.ui-panel-content-fixed-toolbar-open.ui-panel-content-fixed-toolbar-display-push,
- .ui-panel-animate.ui-panel-content-wrap-position-left.ui-panel-content-wrap-open.ui-panel-content-wrap-display-reveal,
- .ui-panel-animate.ui-panel-content-wrap-position-left.ui-panel-content-wrap-open.ui-panel-content-wrap-display-push {
- left: 0;
- right: 0;
- -webkit-transform: translate3d(17em,0,0);
- -moz-transform: translate3d(17em,0,0);
- transform: translate3d(17em,0,0);
- }
- /* panel right open */
- .ui-panel-content-fixed-toolbar-position-right.ui-panel-content-fixed-toolbar-open,
- .ui-panel-content-wrap-position-right.ui-panel-content-wrap-open,
- .ui-panel-dismiss-position-right.ui-panel-dismiss-open {
- left: -17em;
- right: 17em;
- }
- /* animated: panel right open (for reveal and push) */
- .ui-panel-animate.ui-panel-content-fixed-toolbar-position-right.ui-panel-content-fixed-toolbar-open.ui-panel-content-fixed-toolbar-display-reveal,
- .ui-panel-animate.ui-panel-content-fixed-toolbar-position-right.ui-panel-content-fixed-toolbar-open.ui-panel-content-fixed-toolbar-display-push,
- .ui-panel-animate.ui-panel-content-wrap-position-right.ui-panel-content-wrap-open.ui-panel-content-wrap-display-reveal,
- .ui-panel-animate.ui-panel-content-wrap-position-right.ui-panel-content-wrap-open.ui-panel-content-wrap-display-push {
- left: 0;
- right: 0;
- -webkit-transform: translate3d(-17em,0,0);
- -moz-transform: translate3d(-17em,0,0);
- transform: translate3d(-17em,0,0);
- }
- /* negate "panel left/right open" for overlay */
- .ui-panel-content-fixed-toolbar-open.ui-panel-content-fixed-toolbar-display-overlay,
- .ui-panel-content-wrap-open.ui-panel-content-wrap-display-overlay {
- left: 0;
- }
- /* always disable overflow-x to prevent zoom issue on Android */
- .ui-page-active.ui-page-panel {
- overflow-x: hidden;
- }
- /* shadows and borders */
- .ui-panel-display-reveal {
- -webkit-box-shadow: inset -5px 0 5px rgba(0,0,0,.15);
- -moz-box-shadow: inset -5px 0 5px rgba(0,0,0,.15);
- box-shadow: inset -5px 0 5px rgba(0,0,0,.15);
- }
- .ui-panel-position-right.ui-panel-display-reveal {
- -webkit-box-shadow: inset 5px 0 5px rgba(0,0,0,.15);
- -moz-box-shadow: inset 5px 0 5px rgba(0,0,0,.15);
- box-shadow: inset 5px 0 5px rgba(0,0,0,.15);
- }
- .ui-panel-display-overlay {
- -webkit-box-shadow: 5px 0 5px rgba(0,0,0,.15);
- -moz-box-shadow: 5px 0 5px rgba(0,0,0,.15);
- box-shadow: 5px 0 5px rgba(0,0,0,.15);
- }
- .ui-panel-position-right.ui-panel-display-overlay {
- -webkit-box-shadow: -5px 0 5px rgba(0,0,0,.15);
- -moz-box-shadow: -5px 0 5px rgba(0,0,0,.15);
- box-shadow: -5px 0 5px rgba(0,0,0,.15);
- }
- .ui-panel-display-push.ui-panel-open.ui-panel-position-left {
- border-right-width: 1px;
- margin-right: -1px;
- }
- .ui-panel-animate.ui-panel-content-fixed-toolbar-position-left.ui-panel-content-fixed-toolbar-open.ui-panel-content-fixed-toolbar-display-push {
- margin-left: 1px;
- }
- .ui-panel-display-push.ui-panel-open.ui-panel-position-right {
- border-left-width: 1px;
- margin-left: -1px;
- }
- .ui-panel-animate.ui-panel-content-fixed-toolbar-position-right.ui-panel-content-fixed-toolbar-open.ui-panel-content-fixed-toolbar-display-push {
- margin-right: 1px;
- }
- /* wrap on wide viewports once open */
- @media (min-width:55em){
- .ui-responsive-panel.ui-page-panel-open .ui-panel-content-fixed-toolbar-display-push.ui-panel-content-fixed-toolbar-position-left,
- .ui-responsive-panel.ui-page-panel-open .ui-panel-content-fixed-toolbar-display-reveal.ui-panel-content-fixed-toolbar-position-left,
- .ui-responsive-panel.ui-page-panel-open .ui-panel-content-wrap-display-push.ui-panel-content-wrap-position-left,
- .ui-responsive-panel.ui-page-panel-open .ui-panel-content-wrap-display-reveal.ui-panel-content-wrap-position-left {
- margin-right: 17em;
- }
- .ui-responsive-panel.ui-page-panel-open .ui-panel-content-fixed-toolbar-display-push.ui-panel-content-fixed-toolbar-position-right,
- .ui-responsive-panel.ui-page-panel-open .ui-panel-content-fixed-toolbar-display-reveal.ui-panel-content-fixed-toolbar-position-right,
- .ui-responsive-panel.ui-page-panel-open .ui-panel-content-wrap-display-push.ui-panel-content-wrap-position-right,
- .ui-responsive-panel.ui-page-panel-open .ui-panel-content-wrap-display-reveal.ui-panel-content-wrap-position-right {
- margin-left: 17em;
- }
- .ui-responsive-panel.ui-page-panel-open .ui-panel-content-fixed-toolbar-display-push,
- .ui-responsive-panel.ui-page-panel-open .ui-panel-content-fixed-toolbar-display-reveal {
- width: auto;
- }
- .ui-responsive-panel .ui-panel-dismiss-display-push {
- display: none;
- }
- }