mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
442 lines
8.8 KiB
CSS
442 lines
8.8 KiB
CSS
/*
|
|
* 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 {
|
|
line-height: 1.3 /*{global-font-family}*/;
|
|
}
|
|
|
|
legend {
|
|
color: inherit;
|
|
}
|
|
/* Form labels (overrides font-weight bold in bars, and mini font-size) */
|
|
.ui-mobile label,
|
|
div.ui-controlgroup-label {
|
|
font-weight: normal;
|
|
font-size: 16px;
|
|
}
|
|
|
|
/* Buttons
|
|
-----------------------------------------------------------------------------------------------------------*/
|
|
|
|
.ui-btn,
|
|
label.ui-btn, ul[data-role="listview"] a + a {
|
|
font-weight: bold;
|
|
border-width: 1px;
|
|
border-style: solid;
|
|
}
|
|
|
|
.ui-btn, ul[data-role="listview"] a + a {
|
|
text-decoration: none !important;
|
|
}
|
|
|
|
.ui-btn-active {
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Corner rounding
|
|
-----------------------------------------------------------------------------------------------------------*/
|
|
/* Class ui-btn-corner-all deprecated in 1.4 */
|
|
|
|
.ui-corner-all {
|
|
-webkit-border-radius: .3125em /*{global-radii-blocks}*/;
|
|
border-radius: .3125em /*{global-radii-blocks}*/;
|
|
}
|
|
/* Buttons */
|
|
.ui-btn-corner-all,
|
|
.ui-btn.ui-corner-all,
|
|
/* Slider track */
|
|
.ui-slider-track.ui-corner-all,
|
|
/* Count bubble */
|
|
.ui-li-count {
|
|
-webkit-border-radius: .3125em /*{global-radii-buttons}*/;
|
|
border-radius: .3125em /*{global-radii-buttons}*/;
|
|
}
|
|
/* Icon-only buttons */
|
|
.ui-btn-icon-notext.ui-btn-corner-all,
|
|
.ui-btn-icon-notext.ui-corner-all {
|
|
-webkit-border-radius: 1em;
|
|
border-radius: 1em;
|
|
}
|
|
/* Radius clip workaround for cleaning up corner trapping */
|
|
.ui-btn-corner-all,
|
|
.ui-corner-all {
|
|
-webkit-background-clip: padding;
|
|
background-clip: padding-box;
|
|
}
|
|
|
|
/* Icons
|
|
-----------------------------------------------------------------------------------------------------------*/
|
|
|
|
.ui-btn-icon-left:after,
|
|
.ui-btn-icon-right:after,
|
|
.ui-btn-icon-top:after,
|
|
.ui-btn-icon-bottom:after,
|
|
.ui-btn-icon-notext:after,
|
|
ul[data-role="listview"] a + a:after {
|
|
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;
|
|
}
|
|
|
|
/* 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 {
|
|
background-color: #666 /*{global-icon-color}*/;
|
|
background-color: rgba(0,0,0,.15) /*{global-icon-disc}*/;
|
|
}
|
|
|
|
/* No disc */
|
|
.ui-nodisc-icon.ui-btn:after,
|
|
.ui-nodisc-icon .ui-btn:after {
|
|
background-color: transparent;
|
|
}
|
|
|
|
/* 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 {
|
|
display: block;
|
|
width: 18px;
|
|
height: 18px;
|
|
margin: -9px 2px 0 2px;
|
|
}
|
|
|
|
.ui-checkbox-off:after,
|
|
.ui-btn.ui-radio-off:after {
|
|
filter: Alpha(Opacity=30);
|
|
opacity: .3;
|
|
}
|
|
|
|
.ui-btn.ui-checkbox-off:after,
|
|
.ui-btn.ui-checkbox-on:after {
|
|
-webkit-border-radius: .1875em;
|
|
border-radius: .1875em;
|
|
}
|
|
|
|
.ui-btn.ui-checkbox-off:after {
|
|
background-color: #666;
|
|
background-color: rgba(0,0,0,.3);
|
|
}
|
|
|
|
.ui-radio .ui-btn.ui-radio-on:after {
|
|
background-image: none;
|
|
background-color: #fff;
|
|
width: 8px;
|
|
height: 8px;
|
|
border-width: 5px;
|
|
border-style: solid;
|
|
}
|
|
|
|
.ui-alt-icon.ui-btn.ui-radio-on:after,
|
|
.ui-alt-icon .ui-btn.ui-radio-on:after {
|
|
background-color: #000;
|
|
}
|
|
|
|
/*
|
|
* 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 {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.ui-mobile a img,
|
|
.ui-mobile fieldset {
|
|
border-width: 0;
|
|
}
|
|
/* Fixes for fieldset issues on IE10 and FF (see #6077) */
|
|
.ui-mobile fieldset {
|
|
min-width: 0;
|
|
}
|
|
|
|
@-moz-document url-prefix() {
|
|
.ui-mobile fieldset {
|
|
display: table-column;
|
|
vertical-align: middle;
|
|
}
|
|
}
|
|
|
|
/* Viewport */
|
|
.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=dialog] {
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
min-height: 100%;
|
|
position: absolute;
|
|
border: 0;
|
|
}
|
|
|
|
/* 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-mobile .ui-page-active {
|
|
display: block;
|
|
overflow: visible;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
@media screen and (orientation: portrait) {
|
|
.ui-mobile .ui-page {
|
|
min-height: 420px;
|
|
}
|
|
}
|
|
|
|
@media screen and (orientation: landscape) {
|
|
.ui-mobile .ui-page {
|
|
min-height: 300px;
|
|
}
|
|
}
|
|
|
|
/* Fouc */
|
|
.ui-mobile-rendering > * {
|
|
visibility: hidden;
|
|
}
|
|
|
|
/* Headers, content panels */
|
|
.ui-bar,
|
|
.ui-body {
|
|
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;
|
|
}
|
|
|
|
/* Buttons and icons */
|
|
.ui-btn, ul[data-role="listview"] a + a {
|
|
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;
|
|
}
|
|
|
|
.ui-btn-icon-notext, ul[data-role="listview"] a + a {
|
|
padding: 0;
|
|
width: 1.75em;
|
|
height: 1.75em;
|
|
text-indent: -9999px;
|
|
white-space: nowrap !important;
|
|
}
|
|
|
|
.ui-mini {
|
|
font-size: 12.5px;
|
|
}
|
|
|
|
.ui-mini .ui-btn {
|
|
font-size: inherit;
|
|
}
|
|
|
|
.ui-mini.ui-btn-icon-notext,
|
|
.ui-mini .ui-btn-icon-notext {
|
|
font-size: 16px;
|
|
padding: 0;
|
|
}
|
|
|
|
.ui-btn-inline {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
margin-right: .625em;
|
|
}
|
|
|
|
.ui-btn-icon-left {
|
|
padding-left: 2.5em;
|
|
}
|
|
|
|
.ui-btn-icon-right {
|
|
padding-right: 2.5em;
|
|
}
|
|
|
|
.ui-btn-icon-top {
|
|
padding-top: 2.5em;
|
|
}
|
|
|
|
.ui-btn-icon-bottom {
|
|
padding-bottom: 2.5em;
|
|
}
|
|
|
|
.ui-btn-icon-left:after,
|
|
.ui-btn-icon-right:after,
|
|
.ui-btn-icon-top:after,
|
|
.ui-btn-icon-bottom:after,
|
|
.ui-btn-icon-notext:after,
|
|
ul[data-role="listview"] a + a:after {
|
|
content: "";
|
|
position: absolute;
|
|
display: block;
|
|
width: 22px;
|
|
height: 22px;
|
|
}
|
|
|
|
.ui-btn-icon-notext:after,
|
|
.ui-btn-icon-left:after,
|
|
.ui-btn-icon-right:after,
|
|
ul[data-role="listview"] a + a:after {
|
|
top: 50%;
|
|
margin-top: -11px;
|
|
}
|
|
|
|
.ui-btn-icon-left:after {
|
|
left: .5625em;
|
|
}
|
|
|
|
.ui-btn-icon-right:after {
|
|
right: .5625em;
|
|
}
|
|
|
|
.ui-mini.ui-btn-icon-left:after,
|
|
.ui-mini .ui-btn-icon-left:after {
|
|
left: .37em;
|
|
}
|
|
|
|
.ui-mini.ui-btn-icon-right:after,
|
|
.ui-mini .ui-btn-icon-right:after {
|
|
right: .37em;
|
|
}
|
|
|
|
.ui-btn-icon-notext:after,
|
|
.ui-btn-icon-top:after,
|
|
.ui-btn-icon-bottom:after,
|
|
ul[data-role="listview"] a + a:after {
|
|
left: 50%;
|
|
margin-left: -11px;
|
|
}
|
|
|
|
.ui-btn-icon-top:after {
|
|
top: .5625em;
|
|
}
|
|
|
|
.ui-btn-icon-bottom:after {
|
|
top: auto;
|
|
bottom: .5625em;
|
|
}
|
|
/* Buttons in header position classes */
|
|
.ui-btn-left > [class*="ui-"],
|
|
.ui-btn-right > [class*="ui-"] {
|
|
margin: 0;
|
|
}
|
|
|
|
.ui-btn-left,
|
|
.ui-btn-right {
|
|
position: absolute;
|
|
top: .24em;
|
|
}
|
|
|
|
.ui-btn-left {
|
|
left: .4em;
|
|
}
|
|
|
|
.ui-btn-right {
|
|
right: .4em;
|
|
}
|
|
|
|
.ui-btn-icon-notext.ui-btn-left {
|
|
top: .3125em;
|
|
left: .3125em;
|
|
}
|
|
|
|
.ui-btn-icon-notext.ui-btn-right {
|
|
top: .3125em;
|
|
right: .3125em;
|
|
}
|
|
|
|
/* Button elements */
|
|
button.ui-btn,
|
|
*[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%;
|
|
}
|
|
|
|
button.ui-btn-inline {
|
|
width: auto;
|
|
}
|
|
/* 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 {
|
|
border: 0;
|
|
}
|
|
|
|
button.ui-btn-icon-notext,
|
|
*[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;
|
|
}
|
|
|
|
/* Form labels */
|
|
.ui-mobile label,
|
|
*[data-role="controlgroup"] label {
|
|
display: block;
|
|
margin: 0 0 .4em;
|
|
}
|