jellyfin-web/dashboard-ui/thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.theme.css

442 lines
8.8 KiB
CSS
Raw Normal View History

2015-06-19 22:31:44 -07:00
/*
* jQuery Mobile v1.4.5
* http://jquerymobile.com
*
* Copyright 2010, 2014 jQuery Foundation, Inc. and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
*/
/* Globals */
/* Font
-----------------------------------------------------------------------------------------------------------*/
button,
.ui-btn {
2016-02-07 21:42:56 -07:00
line-height: 1.3 /*{global-font-family}*/;
2015-06-19 22:31:44 -07:00
}
2016-02-07 21:42:56 -07:00
2015-09-03 10:35:08 -07:00
legend {
2016-02-07 21:42:56 -07:00
color: inherit;
2015-06-19 22:31:44 -07:00
}
/* Form labels (overrides font-weight bold in bars, and mini font-size) */
.ui-mobile label,
div.ui-controlgroup-label {
2016-02-07 21:42:56 -07:00
font-weight: normal;
font-size: 16px;
2015-06-19 22:31:44 -07:00
}
/* Buttons
-----------------------------------------------------------------------------------------------------------*/
.ui-btn,
2016-02-07 22:59:33 -07:00
label.ui-btn, ul[data-role="listview"] a + a {
2016-02-07 21:42:56 -07:00
font-weight: bold;
border-width: 1px;
border-style: solid;
2015-06-19 22:31:44 -07:00
}
2016-02-07 21:42:56 -07:00
2016-02-07 22:59:33 -07:00
.ui-btn, ul[data-role="listview"] a + a {
2016-02-07 21:42:56 -07:00
text-decoration: none !important;
2015-06-19 22:31:44 -07:00
}
2016-02-07 21:42:56 -07:00
2015-06-19 22:31:44 -07:00
.ui-btn-active {
2016-02-07 21:42:56 -07:00
cursor: pointer;
2015-06-19 22:31:44 -07:00
}
/* Corner rounding
-----------------------------------------------------------------------------------------------------------*/
/* Class ui-btn-corner-all deprecated in 1.4 */
.ui-corner-all {
2016-02-07 21:42:56 -07:00
-webkit-border-radius: .3125em /*{global-radii-blocks}*/;
border-radius: .3125em /*{global-radii-blocks}*/;
2015-06-19 22:31:44 -07:00
}
/* Buttons */
.ui-btn-corner-all,
.ui-btn.ui-corner-all,
/* Slider track */
.ui-slider-track.ui-corner-all,
/* Count bubble */
.ui-li-count {
2016-02-07 21:42:56 -07:00
-webkit-border-radius: .3125em /*{global-radii-buttons}*/;
border-radius: .3125em /*{global-radii-buttons}*/;
2015-06-19 22:31:44 -07:00
}
/* Icon-only buttons */
.ui-btn-icon-notext.ui-btn-corner-all,
.ui-btn-icon-notext.ui-corner-all {
2016-02-07 21:42:56 -07:00
-webkit-border-radius: 1em;
border-radius: 1em;
2015-06-19 22:31:44 -07:00
}
/* Radius clip workaround for cleaning up corner trapping */
.ui-btn-corner-all,
.ui-corner-all {
2016-02-07 21:42:56 -07:00
-webkit-background-clip: padding;
background-clip: padding-box;
2015-06-19 22:31:44 -07:00
}
/* Icons
-----------------------------------------------------------------------------------------------------------*/
.ui-btn-icon-left:after,
.ui-btn-icon-right:after,
.ui-btn-icon-top:after,
.ui-btn-icon-bottom:after,
2016-02-07 22:59:33 -07:00
.ui-btn-icon-notext:after,
ul[data-role="listview"] a + a:after {
2016-02-07 21:42:56 -07:00
background-color: #666 /*{global-icon-color}*/;
background-color: rgba(0,0,0,.3) /*{global-icon-disc}*/;
background-position: center center;
background-repeat: no-repeat;
-webkit-border-radius: 1em;
border-radius: 1em;
2015-06-19 22:31:44 -07:00
}
/* Alt icons */
.ui-alt-icon.ui-btn:after,
.ui-alt-icon .ui-btn:after,
html .ui-alt-icon.ui-checkbox-off:after,
html .ui-alt-icon.ui-radio-off:after,
html .ui-alt-icon .ui-checkbox-off:after,
html .ui-alt-icon .ui-radio-off:after {
2016-02-07 21:42:56 -07:00
background-color: #666 /*{global-icon-color}*/;
background-color: rgba(0,0,0,.15) /*{global-icon-disc}*/;
2015-06-19 22:31:44 -07:00
}
/* No disc */
.ui-nodisc-icon.ui-btn:after,
.ui-nodisc-icon .ui-btn:after {
2016-02-07 21:42:56 -07:00
background-color: transparent;
2015-06-19 22:31:44 -07:00
}
/* Checkbox and radio */
.ui-btn.ui-checkbox-off:after,
.ui-btn.ui-checkbox-on:after,
.ui-btn.ui-radio-off:after,
.ui-btn.ui-radio-on:after {
2016-02-07 21:42:56 -07:00
display: block;
width: 18px;
height: 18px;
margin: -9px 2px 0 2px;
2015-06-19 22:31:44 -07:00
}
2016-02-07 21:42:56 -07:00
2015-06-19 22:31:44 -07:00
.ui-checkbox-off:after,
.ui-btn.ui-radio-off:after {
2016-02-07 21:42:56 -07:00
filter: Alpha(Opacity=30);
opacity: .3;
2015-06-19 22:31:44 -07:00
}
2016-02-07 21:42:56 -07:00
2015-06-19 22:31:44 -07:00
.ui-btn.ui-checkbox-off:after,
.ui-btn.ui-checkbox-on:after {
2016-02-07 21:42:56 -07:00
-webkit-border-radius: .1875em;
border-radius: .1875em;
2015-06-19 22:31:44 -07:00
}
2016-02-07 21:42:56 -07:00
2015-06-19 22:31:44 -07:00
.ui-btn.ui-checkbox-off:after {
2016-02-07 21:42:56 -07:00
background-color: #666;
background-color: rgba(0,0,0,.3);
2015-06-19 22:31:44 -07:00
}
2016-02-07 21:42:56 -07:00
2015-06-19 22:31:44 -07:00
.ui-radio .ui-btn.ui-radio-on:after {
2016-02-07 21:42:56 -07:00
background-image: none;
background-color: #fff;
width: 8px;
height: 8px;
border-width: 5px;
border-style: solid;
2015-06-19 22:31:44 -07:00
}
2016-02-07 21:42:56 -07:00
2015-06-19 22:31:44 -07:00
.ui-alt-icon.ui-btn.ui-radio-on:after,
.ui-alt-icon .ui-btn.ui-radio-on:after {
2016-02-07 21:42:56 -07:00
background-color: #000;
2015-06-19 22:31:44 -07:00
}
2015-12-14 08:43:03 -07:00
/*
* jQuery Mobile v1.4.5
* http://jquerymobile.com
*
* Copyright 2010, 2014 jQuery Foundation, Inc. and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
*/
.ui-mobile fieldset,
.ui-page {
2016-02-07 21:42:56 -07:00
padding: 0;
margin: 0;
2015-12-14 08:43:03 -07:00
}
2016-02-07 21:42:56 -07:00
2015-12-14 08:43:03 -07:00
.ui-mobile a img,
.ui-mobile fieldset {
2016-02-07 21:42:56 -07:00
border-width: 0;
2015-12-14 08:43:03 -07:00
}
/* Fixes for fieldset issues on IE10 and FF (see #6077) */
.ui-mobile fieldset {
2016-02-07 21:42:56 -07:00
min-width: 0;
2015-12-14 08:43:03 -07:00
}
2016-02-07 21:42:56 -07:00
2015-12-14 08:43:03 -07:00
@-moz-document url-prefix() {
2016-02-07 21:42:56 -07:00
.ui-mobile fieldset {
display: table-column;
vertical-align: middle;
}
2015-12-14 08:43:03 -07:00
}
/* Viewport */
.ui-mobile-viewport {
2016-02-07 21:42:56 -07:00
margin: 0;
overflow-x: visible;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
2015-12-14 08:43:03 -07:00
}
/* Issue #2066 */
body.ui-mobile-viewport,
div.ui-mobile-viewport {
2016-02-07 21:42:56 -07:00
overflow-x: hidden;
2015-12-14 08:43:03 -07:00
}
2016-03-27 20:37:33 -07:00
2015-12-14 08:43:03 -07:00
/* "page" containers - full-screen views, one should always be in view post-pageload */
2016-03-27 20:37:33 -07:00
.ui-mobile [data-role=dialog] {
2016-02-07 21:42:56 -07:00
top: 0;
left: 0;
width: 100%;
min-height: 100%;
position: absolute;
border: 0;
2015-12-14 08:43:03 -07:00
}
/* On ios4, setting focus on the page element causes flashing during transitions when there is an outline, so we turn off outlines */
.ui-page {
2016-02-07 21:42:56 -07:00
outline: none;
2015-12-14 08:43:03 -07:00
}
2016-02-07 21:42:56 -07:00
2015-12-14 08:43:03 -07:00
.ui-mobile .ui-page-active {
2016-02-07 21:42:56 -07:00
display: block;
overflow: visible;
overflow-x: hidden;
2015-12-14 08:43:03 -07:00
}
2016-02-07 21:42:56 -07:00
2015-12-14 08:43:03 -07:00
@media screen and (orientation: portrait) {
2016-02-07 21:42:56 -07:00
.ui-mobile .ui-page {
min-height: 420px;
}
2015-12-14 08:43:03 -07:00
}
2016-02-07 21:42:56 -07:00
2015-12-14 08:43:03 -07:00
@media screen and (orientation: landscape) {
2016-02-07 21:42:56 -07:00
.ui-mobile .ui-page {
min-height: 300px;
}
2015-12-14 08:43:03 -07:00
}
/* Fouc */
.ui-mobile-rendering > * {
2016-02-07 21:42:56 -07:00
visibility: hidden;
2015-12-14 08:43:03 -07:00
}
/* Headers, content panels */
.ui-bar,
.ui-body {
2016-02-07 21:42:56 -07:00
position: relative;
padding: .4em 1em;
overflow: hidden;
display: block;
clear: both;
}
.ui-bar h1,
.ui-bar h2,
.ui-bar h3,
.ui-bar h4,
.ui-bar h5,
.ui-bar h6 {
margin: 0;
padding: 0;
font-size: 1em;
display: inline-block;
}
2015-12-14 08:43:03 -07:00
/* Buttons and icons */
2016-02-07 22:59:33 -07:00
.ui-btn, ul[data-role="listview"] a + a {
2016-02-07 21:42:56 -07:00
font-size: 16px;
margin: .5em 0;
padding: .7em 1em;
display: block;
position: relative;
text-align: center;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
2015-12-14 08:43:03 -07:00
}
2016-02-07 21:42:56 -07:00
2016-02-07 22:59:33 -07:00
.ui-btn-icon-notext, ul[data-role="listview"] a + a {
2016-02-07 21:42:56 -07:00
padding: 0;
width: 1.75em;
height: 1.75em;
text-indent: -9999px;
white-space: nowrap !important;
2015-12-14 08:43:03 -07:00
}
2016-02-07 21:42:56 -07:00
2015-12-14 08:43:03 -07:00
.ui-mini {
2016-02-07 21:42:56 -07:00
font-size: 12.5px;
2015-12-14 08:43:03 -07:00
}
2016-02-07 21:42:56 -07:00
.ui-mini .ui-btn {
font-size: inherit;
}
.ui-mini.ui-btn-icon-notext,
.ui-mini .ui-btn-icon-notext {
font-size: 16px;
padding: 0;
}
2015-12-14 08:43:03 -07:00
.ui-btn-inline {
2016-02-07 21:42:56 -07:00
display: inline-block;
vertical-align: middle;
margin-right: .625em;
2015-12-14 08:43:03 -07:00
}
2016-02-07 21:42:56 -07:00
2015-12-14 08:43:03 -07:00
.ui-btn-icon-left {
2016-02-07 21:42:56 -07:00
padding-left: 2.5em;
2015-12-14 08:43:03 -07:00
}
2016-02-07 21:42:56 -07:00
2015-12-14 08:43:03 -07:00
.ui-btn-icon-right {
2016-02-07 21:42:56 -07:00
padding-right: 2.5em;
2015-12-14 08:43:03 -07:00
}
2016-02-07 21:42:56 -07:00
2015-12-14 08:43:03 -07:00
.ui-btn-icon-top {
2016-02-07 21:42:56 -07:00
padding-top: 2.5em;
2015-12-14 08:43:03 -07:00
}
2016-02-07 21:42:56 -07:00
2015-12-14 08:43:03 -07:00
.ui-btn-icon-bottom {
2016-02-07 21:42:56 -07:00
padding-bottom: 2.5em;
2015-12-14 08:43:03 -07:00
}
2016-02-07 21:42:56 -07:00
.ui-btn-icon-left:after,
.ui-btn-icon-right:after,
.ui-btn-icon-top:after,
.ui-btn-icon-bottom:after,
2016-02-07 22:59:33 -07:00
.ui-btn-icon-notext:after,
ul[data-role="listview"] a + a:after {
2016-02-07 21:42:56 -07:00
content: "";
position: absolute;
display: block;
width: 22px;
height: 22px;
}
2015-12-14 08:43:03 -07:00
.ui-btn-icon-notext:after,
.ui-btn-icon-left:after,
2016-02-07 22:59:33 -07:00
.ui-btn-icon-right:after,
ul[data-role="listview"] a + a:after {
2016-02-07 21:42:56 -07:00
top: 50%;
margin-top: -11px;
2015-12-14 08:43:03 -07:00
}
2016-02-07 21:42:56 -07:00
2015-12-14 08:43:03 -07:00
.ui-btn-icon-left:after {
2016-02-07 21:42:56 -07:00
left: .5625em;
2015-12-14 08:43:03 -07:00
}
2016-02-07 21:42:56 -07:00
2015-12-14 08:43:03 -07:00
.ui-btn-icon-right:after {
2016-02-07 21:42:56 -07:00
right: .5625em;
2015-12-14 08:43:03 -07:00
}
2016-02-07 21:42:56 -07:00
2015-12-14 08:43:03 -07:00
.ui-mini.ui-btn-icon-left:after,
.ui-mini .ui-btn-icon-left:after {
2016-02-07 21:42:56 -07:00
left: .37em;
2015-12-14 08:43:03 -07:00
}
2016-02-07 21:42:56 -07:00
2015-12-14 08:43:03 -07:00
.ui-mini.ui-btn-icon-right:after,
.ui-mini .ui-btn-icon-right:after {
2016-02-07 21:42:56 -07:00
right: .37em;
2015-12-14 08:43:03 -07:00
}
2016-02-07 21:42:56 -07:00
2015-12-14 08:43:03 -07:00
.ui-btn-icon-notext:after,
.ui-btn-icon-top:after,
2016-02-07 22:59:33 -07:00
.ui-btn-icon-bottom:after,
ul[data-role="listview"] a + a:after {
2016-02-07 21:42:56 -07:00
left: 50%;
margin-left: -11px;
2015-12-14 08:43:03 -07:00
}
2016-02-07 21:42:56 -07:00
2015-12-14 08:43:03 -07:00
.ui-btn-icon-top:after {
2016-02-07 21:42:56 -07:00
top: .5625em;
2015-12-14 08:43:03 -07:00
}
2016-02-07 21:42:56 -07:00
2015-12-14 08:43:03 -07:00
.ui-btn-icon-bottom:after {
2016-02-07 21:42:56 -07:00
top: auto;
bottom: .5625em;
2015-12-14 08:43:03 -07:00
}
/* Buttons in header position classes */
.ui-btn-left > [class*="ui-"],
.ui-btn-right > [class*="ui-"] {
2016-02-07 21:42:56 -07:00
margin: 0;
2015-12-14 08:43:03 -07:00
}
2016-02-07 21:42:56 -07:00
2015-12-14 08:43:03 -07:00
.ui-btn-left,
.ui-btn-right {
2016-02-07 21:42:56 -07:00
position: absolute;
top: .24em;
2015-12-14 08:43:03 -07:00
}
2016-02-07 21:42:56 -07:00
2015-12-14 08:43:03 -07:00
.ui-btn-left {
2016-02-07 21:42:56 -07:00
left: .4em;
2015-12-14 08:43:03 -07:00
}
2016-02-07 21:42:56 -07:00
2015-12-14 08:43:03 -07:00
.ui-btn-right {
2016-02-07 21:42:56 -07:00
right: .4em;
2015-12-14 08:43:03 -07:00
}
2016-02-07 21:42:56 -07:00
2015-12-14 08:43:03 -07:00
.ui-btn-icon-notext.ui-btn-left {
2016-02-07 21:42:56 -07:00
top: .3125em;
left: .3125em;
2015-12-14 08:43:03 -07:00
}
2016-02-07 21:42:56 -07:00
2015-12-14 08:43:03 -07:00
.ui-btn-icon-notext.ui-btn-right {
2016-02-07 21:42:56 -07:00
top: .3125em;
right: .3125em;
2015-12-14 08:43:03 -07:00
}
/* Button elements */
button.ui-btn,
2016-02-07 21:42:56 -07:00
*[data-role="controlgroup"] button.ui-btn-icon-notext {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-appearance: none;
-moz-appearance: none;
width: 100%;
2015-12-14 08:43:03 -07:00
}
2016-02-07 21:42:56 -07:00
2015-12-14 08:43:03 -07:00
button.ui-btn-inline {
2016-02-07 21:42:56 -07:00
width: auto;
2015-12-14 08:43:03 -07:00
}
/* Firefox adds a 1px border in a button element. We negate this to make sure they have the same height as other buttons in controlgroups. */
button.ui-btn::-moz-focus-inner {
2016-02-07 21:42:56 -07:00
border: 0;
2015-12-14 08:43:03 -07:00
}
2016-02-07 21:42:56 -07:00
2015-12-14 08:43:03 -07:00
button.ui-btn-icon-notext,
2016-02-07 21:42:56 -07:00
*[data-role="controlgroup"][data-type="horizontal"] button.ui-btn {
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
width: 1.75em;
2015-12-14 08:43:03 -07:00
}
/* Form labels */
.ui-mobile label,
2016-02-07 21:42:56 -07:00
*[data-role="controlgroup"] label {
display: block;
margin: 0 0 .4em;
}