mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
minify resources
This commit is contained in:
parent
8a6884abef
commit
661eeac16e
201 changed files with 203 additions and 52376 deletions
|
@ -1,245 +1 @@
|
|||
ul[data-role="listview"] {
|
||||
border-radius: 3px;
|
||||
border-color: #ddd;
|
||||
}
|
||||
|
||||
ul[data-role="listview"],
|
||||
ul[data-role="listview"] > li {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
border-color: #ddd;
|
||||
}
|
||||
|
||||
/*.ui-content ul[data-role="listview"],
|
||||
.ui-panel-inner > ul[data-role="listview"] {
|
||||
margin: 1em 0;
|
||||
}*/
|
||||
|
||||
.ui-collapsible-content > ul[data-role="listview"] {
|
||||
margin: .5em 0;
|
||||
}
|
||||
|
||||
ul[data-role="listview"] > li {
|
||||
display: block;
|
||||
position: relative;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
ul[data-role="listview"] > li,
|
||||
ul[data-role="listview"] > li[data-role="list-divider"],
|
||||
ul[data-role="listview"] > li > a {
|
||||
margin: 0;
|
||||
display: block;
|
||||
position: relative;
|
||||
text-align: left;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
color: inherit !important;
|
||||
font-weight: inherit !important;
|
||||
font-size: inherit !important;
|
||||
}
|
||||
|
||||
ul[data-role="listview"] > li[data-role="list-divider"] {
|
||||
background: #ddd;
|
||||
}
|
||||
|
||||
ul[data-role="listview"] > li > a:focus {
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
ul[data-role="listview"] > li,
|
||||
ul[data-role="listview"] > li[data-role="list-divider"] {
|
||||
border-width: 1px 0 0 0;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
ul[data-role="listview"] > li,
|
||||
ul[data-role="listview"] > li[data-role="list-divider"] {
|
||||
border-right-width: 1px;
|
||||
border-left-width: 1px;
|
||||
}
|
||||
|
||||
ul[data-role="listview"] > li:last-child,
|
||||
ul[data-role="listview"] > li[data-role="list-divider"]:last-child,
|
||||
ul[data-role="listview"] > li:last-child > a {
|
||||
border-bottom-width: 1px;
|
||||
}
|
||||
|
||||
.ui-collapsible-content > ul[data-role="listview"]:not(ul[data-role="listview"]) > li:first-child,
|
||||
.ui-collapsible-content > ul[data-role="listview"]:not(ul[data-role="listview"]) > li:first-child > a {
|
||||
border-top-width: 0;
|
||||
}
|
||||
|
||||
.ui-collapsible-themed-content ul[data-role="listview"]:not(ul[data-role="listview"]) > li:last-child,
|
||||
.ui-collapsible-themed-content ul[data-role="listview"]:not(ul[data-role="listview"]) > li:last-child > a {
|
||||
border-bottom-width: 0;
|
||||
}
|
||||
|
||||
ul[data-role="listview"] > li:first-child,
|
||||
ul[data-role="listview"] > li:first-child > a {
|
||||
-webkit-border-top-right-radius: inherit;
|
||||
border-top-right-radius: inherit;
|
||||
-webkit-border-top-left-radius: inherit;
|
||||
border-top-left-radius: inherit;
|
||||
}
|
||||
|
||||
ul[data-role="listview"] > li:last-child,
|
||||
ul[data-role="listview"] > li:last-child > a {
|
||||
-webkit-border-bottom-right-radius: inherit;
|
||||
border-bottom-right-radius: inherit;
|
||||
-webkit-border-bottom-left-radius: inherit;
|
||||
border-bottom-left-radius: inherit;
|
||||
}
|
||||
|
||||
ul[data-role="listview"] > li.ui-li-has-alt > a {
|
||||
-webkit-border-top-right-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
-webkit-border-bottom-right-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
|
||||
ul[data-role="listview"] > li:first-child > a + a {
|
||||
-webkit-border-top-left-radius: 0;
|
||||
border-top-left-radius: 0;
|
||||
-webkit-border-top-right-radius: inherit;
|
||||
border-top-right-radius: inherit;
|
||||
}
|
||||
|
||||
ul[data-role="listview"] > li:last-child > a + a {
|
||||
-webkit-border-bottom-left-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
-webkit-border-bottom-right-radius: inherit;
|
||||
border-bottom-right-radius: inherit;
|
||||
}
|
||||
|
||||
ul[data-role="listview"] > li:first-child img:first-child:not(.ui-li-icon) {
|
||||
-webkit-border-top-left-radius: inherit;
|
||||
border-top-left-radius: inherit;
|
||||
}
|
||||
|
||||
ul[data-role="listview"] > li:last-child img:first-child:not(.ui-li-icon) {
|
||||
-webkit-border-bottom-left-radius: inherit;
|
||||
border-bottom-left-radius: inherit;
|
||||
}
|
||||
|
||||
.ui-collapsible-content > ul[data-role="listview"]:not(ul[data-role="listview"]) {
|
||||
-webkit-border-radius: inherit;
|
||||
border-radius: inherit;
|
||||
}
|
||||
|
||||
ul[data-role="listview"] > li {
|
||||
padding: .7em 1em;
|
||||
}
|
||||
|
||||
ul[data-role="listview"] > li[data-role="list-divider"] {
|
||||
padding: .5em 1.143em;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
cursor: default;
|
||||
outline: 0; /* Dividers in custom selectmenus have tabindex */
|
||||
}
|
||||
|
||||
ul[data-role="listview"] > .ui-li-has-count > a,
|
||||
ul[data-role="listview"] > .ui-li-static.ui-li-has-count,
|
||||
ul[data-role="listview"] > li[data-role="list-divider"].ui-li-has-count {
|
||||
padding-right: 2.8125em;
|
||||
}
|
||||
|
||||
ul[data-role="listview"] > .ui-li-has-count > .ui-btn-icon-right {
|
||||
padding-right: 4.6875em;
|
||||
}
|
||||
|
||||
ul[data-role="listview"] > .ui-li-has-thumb > a,
|
||||
ul[data-role="listview"] > .ui-li-static.ui-li-has-thumb {
|
||||
min-height: 3.625em;
|
||||
padding-left: 6.25em;
|
||||
}
|
||||
/* ui-li-has-icon deprecated in 1.4. TODO: remove in 1.5 */
|
||||
ul[data-role="listview"] > .ui-li-has-icon > a,
|
||||
ul[data-role="listview"] > a + a {
|
||||
min-height: 1.25em;
|
||||
padding-left: 2.5em;
|
||||
}
|
||||
/* Used by both listview and custom multiple select button */
|
||||
.ui-li-count {
|
||||
position: absolute;
|
||||
font-size: 12.5px;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
padding: 0 .48em;
|
||||
line-height: 1.6em;
|
||||
min-height: 1.6em;
|
||||
min-width: .64em;
|
||||
right: .8em;
|
||||
top: 50%;
|
||||
margin-top: -.88em;
|
||||
}
|
||||
|
||||
ul[data-role="listview"] .ui-btn-icon-right .ui-li-count {
|
||||
right: 3.2em;
|
||||
}
|
||||
|
||||
ul[data-role="listview"] > li h1,
|
||||
ul[data-role="listview"] > li h2,
|
||||
ul[data-role="listview"] > li h3,
|
||||
ul[data-role="listview"] > li h4,
|
||||
ul[data-role="listview"] > li h5,
|
||||
ul[data-role="listview"] > li h6 {
|
||||
font-size: 1em;
|
||||
display: block;
|
||||
margin: .45em 0;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
ul[data-role="listview"] > li p {
|
||||
font-size: .75em;
|
||||
font-weight: normal;
|
||||
display: block;
|
||||
margin: .6em 0;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
ul[data-role="listview"] .ui-li-aside {
|
||||
position: absolute;
|
||||
top: 1em;
|
||||
right: 3.333em;
|
||||
margin: 0;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
ul[data-role="listview"] > li.ui-li-has-alt > a {
|
||||
margin-right: 2.5em;
|
||||
border-right-width: 0;
|
||||
}
|
||||
|
||||
ul[data-role="listview"] > li > a + a {
|
||||
position: absolute;
|
||||
width: 2.5em;
|
||||
height: 100%;
|
||||
min-height: auto;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
border-left-width: 1px;
|
||||
top: 0;
|
||||
right: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
ul[data-role="listview"] > li > a + a {
|
||||
border-right-width: 1px;
|
||||
}
|
||||
|
||||
ul[data-role="listview"] > li > a + a:focus {
|
||||
z-index: 3;
|
||||
}
|
||||
ul[data-role=listview]{-webkit-border-radius:3px;border-radius:3px}ul[data-role=listview],ul[data-role=listview]>li{margin:0;padding:0;list-style:none;border-color:#ddd}.ui-collapsible-content>ul[data-role=listview]{margin:.5em 0}ul[data-role=listview]>li,ul[data-role=listview]>li>a,ul[data-role=listview]>li[data-role=list-divider]{margin:0;display:block;position:relative;text-align:left;-o-text-overflow:ellipsis;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;color:inherit!important;font-weight:inherit!important;font-size:inherit!important}ul[data-role=listview]>li>a:focus{z-index:1}ul[data-role=listview]>li,ul[data-role=listview]>li[data-role=list-divider]{border-width:1px 1px 0;border-style:solid}ul[data-role=listview]>li:last-child,ul[data-role=listview]>li:last-child>a,ul[data-role=listview]>li[data-role=list-divider]:last-child{border-bottom-width:1px}.ui-collapsible-content>ul[data-role=listview]:not(ul[data-role=listview])>li:first-child,.ui-collapsible-content>ul[data-role=listview]:not(ul[data-role=listview])>li:first-child>a{border-top-width:0}.ui-collapsible-themed-content ul[data-role=listview]:not(ul[data-role=listview])>li:last-child,.ui-collapsible-themed-content ul[data-role=listview]:not(ul[data-role=listview])>li:last-child>a{border-bottom-width:0}ul[data-role=listview]>li:first-child,ul[data-role=listview]>li:first-child>a{-webkit-border-top-right-radius:inherit;border-top-right-radius:inherit;-webkit-border-top-left-radius:inherit;border-top-left-radius:inherit}ul[data-role=listview]>li:last-child,ul[data-role=listview]>li:last-child>a{-webkit-border-bottom-right-radius:inherit;border-bottom-right-radius:inherit;-webkit-border-bottom-left-radius:inherit;border-bottom-left-radius:inherit}ul[data-role=listview]>li.ui-li-has-alt>a{-webkit-border-top-right-radius:0;border-top-right-radius:0;-webkit-border-bottom-right-radius:0;border-bottom-right-radius:0}ul[data-role=listview]>li:first-child>a+a{-webkit-border-top-left-radius:0;border-top-left-radius:0;-webkit-border-top-right-radius:inherit;border-top-right-radius:inherit}ul[data-role=listview]>li:last-child>a+a{-webkit-border-bottom-left-radius:0;border-bottom-left-radius:0;-webkit-border-bottom-right-radius:inherit;border-bottom-right-radius:inherit}ul[data-role=listview]>li:first-child img:first-child:not(.ui-li-icon){-webkit-border-top-left-radius:inherit;border-top-left-radius:inherit}ul[data-role=listview]>li:last-child img:first-child:not(.ui-li-icon){-webkit-border-bottom-left-radius:inherit;border-bottom-left-radius:inherit}.ui-collapsible-content>ul[data-role=listview]:not(ul[data-role=listview]){-webkit-border-radius:inherit;border-radius:inherit}ul[data-role=listview]>li{padding:.7em 1em}ul[data-role=listview]>li[data-role=list-divider]{background:#ddd;padding:.5em 1.143em;font-size:14px;font-weight:700;cursor:default;outline:0}ul[data-role=listview]>.ui-li-has-count>a,ul[data-role=listview]>.ui-li-static.ui-li-has-count,ul[data-role=listview]>li[data-role=list-divider].ui-li-has-count{padding-right:2.8125em}ul[data-role=listview]>.ui-li-has-count>.ui-btn-icon-right{padding-right:4.6875em}ul[data-role=listview]>.ui-li-has-thumb>a,ul[data-role=listview]>.ui-li-static.ui-li-has-thumb{min-height:3.625em;padding-left:6.25em}ul[data-role=listview]>.ui-li-has-icon>a,ul[data-role=listview]>a+a{min-height:1.25em;padding-left:2.5em}.ui-li-count{position:absolute;font-size:12.5px;font-weight:700;text-align:center;border-width:1px;border-style:solid;padding:0 .48em;line-height:1.6em;min-height:1.6em;min-width:.64em;right:.8em;top:50%;margin-top:-.88em}ul[data-role=listview] .ui-btn-icon-right .ui-li-count{right:3.2em}ul[data-role=listview]>li h1,ul[data-role=listview]>li h2,ul[data-role=listview]>li h3,ul[data-role=listview]>li h4,ul[data-role=listview]>li h5,ul[data-role=listview]>li h6{font-size:1em;display:block;margin:.45em 0;-o-text-overflow:ellipsis;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}ul[data-role=listview]>li p{font-size:.75em;font-weight:400;display:block;margin:.6em 0;-o-text-overflow:ellipsis;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}ul[data-role=listview] .ui-li-aside{position:absolute;top:1em;right:3.333em;margin:0;text-align:right}ul[data-role=listview]>li.ui-li-has-alt>a{margin-right:2.5em;border-right-width:0}ul[data-role=listview]>li>a+a{position:absolute;width:2.5em;height:100%;min-height:auto;-webkit-box-sizing:border-box;box-sizing:border-box;border-left-width:1px;top:0;right:0;margin:0;padding:0;z-index:2;border-right-width:1px}ul[data-role=listview]>li>a+a:focus{z-index:3}
|
|
@ -1,288 +1 @@
|
|||
/* "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;
|
||||
}
|
||||
|
||||
/* preset breakpoint to switch to stacked grid styles below 35em (560px) */
|
||||
@media (max-width: 35em) {
|
||||
.ui-responsive > .ui-block-a,
|
||||
.ui-responsive > .ui-block-b,
|
||||
.ui-responsive > .ui-block-c,
|
||||
.ui-responsive > .ui-block-d,
|
||||
.ui-responsive > .ui-block-e {
|
||||
width: 100%;
|
||||
float: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* 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;
|
||||
left: 0;
|
||||
clip: rect(1px,1px,1px,1px);
|
||||
}
|
||||
|
||||
.ui-panel-fixed {
|
||||
position: fixed;
|
||||
bottom: -1px; /* Fixes gap on Chrome for Android */
|
||||
padding-bottom: 1px;
|
||||
}
|
||||
|
||||
.ui-panel-display-reveal {
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.ui-panel-display-push {
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
.ui-panel-display-overlay {
|
||||
z-index: 1001; /* Fixed toolbars have z-index 1000 */
|
||||
}
|
||||
|
||||
.ui-panel-inner {
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
/* Container, page and wrapper */
|
||||
.ui-panel-page-container {
|
||||
overflow-x: visible;
|
||||
}
|
||||
|
||||
.ui-panel-page-container-themed .ui-page-active {
|
||||
background: none;
|
||||
}
|
||||
|
||||
.ui-panel-wrapper {
|
||||
position: relative;
|
||||
min-height: inherit;
|
||||
border: 0;
|
||||
overflow-x: hidden;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
/* Fixed toolbars */
|
||||
.ui-panel-fixed-toolbar {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
/* Dismiss */
|
||||
.ui-panel-dismiss {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 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 300ms ease;
|
||||
-webkit-transition-duration: 300ms;
|
||||
-moz-transition: -moz-transform 300ms ease;
|
||||
transition: transform 300ms ease;
|
||||
}
|
||||
|
||||
/* Fix for Windows Phone issue #6349: unset the transition for transforms in case of fixed toolbars. */
|
||||
@media screen and ( max-device-width: 768px ) {
|
||||
.ui-page-header-fixed .ui-panel-animate.ui-panel-wrapper,
|
||||
.ui-page-footer-fixed .ui-panel-animate.ui-panel-wrapper,
|
||||
.ui-panel-animate.ui-panel-fixed-toolbar {
|
||||
-ms-transition: none;
|
||||
}
|
||||
/* We need a transitionend event ... */
|
||||
.ui-panel-animate.ui-panel-fixed-toolbar {
|
||||
-ms-transition: -ms-transform 1ms;
|
||||
-ms-transform: rotate(0deg);
|
||||
}
|
||||
}
|
||||
|
||||
/* Hardware acceleration for smoother transitions on WebKit browsers */
|
||||
.ui-panel-animate.ui-panel:not(.ui-panel-display-reveal) {
|
||||
-webkit-backface-visibility: hidden;
|
||||
-webkit-transform: translate3d(0,0,0);
|
||||
}
|
||||
|
||||
/* Panel positioning (for overlay and push) */
|
||||
/* Panel left closed */
|
||||
.ui-panel-position-left {
|
||||
left: -17em;
|
||||
}
|
||||
/* Panel left closed animated */
|
||||
.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, /* Unset "panel left closed" for reveal */
|
||||
.ui-panel-open.ui-panel-position-left {
|
||||
left: 0;
|
||||
}
|
||||
/* Panel left open animated */
|
||||
.ui-panel-animate.ui-panel-open.ui-panel-position-left.ui-panel-display-overlay,
|
||||
.ui-panel-animate.ui-panel-open.ui-panel-position-left.ui-panel-display-push {
|
||||
-webkit-transform: translate3d(0,0,0);
|
||||
transform: translate3d(0,0,0);
|
||||
-moz-transform: none;
|
||||
}
|
||||
/* Panel right closed */
|
||||
.ui-panel-position-right {
|
||||
right: -17em;
|
||||
}
|
||||
/* Panel right closed animated */
|
||||
.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, /* Unset "panel right closed" for reveal */
|
||||
.ui-panel-position-right.ui-panel-open {
|
||||
right: 0;
|
||||
}
|
||||
/* Panel right open animated */
|
||||
.ui-panel-animate.ui-panel-open.ui-panel-position-right.ui-panel-display-overlay,
|
||||
.ui-panel-animate.ui-panel-open.ui-panel-position-right.ui-panel-display-push {
|
||||
-webkit-transform: translate3d(0,0,0);
|
||||
transform: translate3d(0,0,0);
|
||||
-moz-transform: none;
|
||||
}
|
||||
|
||||
/* Wrapper and fixed toolbars positioning (for reveal and push) */
|
||||
/* Panel left open */
|
||||
.ui-panel-page-content-position-left {
|
||||
left: 17em;
|
||||
right: -17em;
|
||||
}
|
||||
/* Panel left open animated */
|
||||
.ui-panel-animate.ui-panel-page-content-position-left {
|
||||
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-page-content-position-right {
|
||||
left: -17em;
|
||||
right: 17em;
|
||||
}
|
||||
/* Panel right open animated */
|
||||
.ui-panel-animate.ui-panel-page-content-position-right {
|
||||
left: 0;
|
||||
right: 0;
|
||||
-webkit-transform: translate3d(-17em,0,0);
|
||||
-moz-transform: translate3d(-17em,0,0);
|
||||
transform: translate3d(-17em,0,0);
|
||||
}
|
||||
|
||||
/* Dismiss model open */
|
||||
.ui-panel-dismiss-open.ui-panel-dismiss-position-left {
|
||||
left: 17em;
|
||||
}
|
||||
|
||||
.ui-panel-dismiss-open.ui-panel-dismiss-position-right {
|
||||
right: 17em;
|
||||
}
|
||||
|
||||
/* 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-open.ui-panel-position-left.ui-panel-display-push {
|
||||
border-right-width: 1px;
|
||||
margin-right: -1px;
|
||||
}
|
||||
|
||||
.ui-panel-page-content-position-left.ui-panel-page-content-display-push {
|
||||
margin-left: 1px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.ui-panel-open.ui-panel-position-right.ui-panel-display-push {
|
||||
border-left-width: 1px;
|
||||
margin-left: -1px;
|
||||
}
|
||||
|
||||
.ui-panel-page-content-position-right.ui-panel-page-content-display-push {
|
||||
margin-right: 1px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
/* Responsive: wrap on wide viewports once open */
|
||||
@media (min-width:55em) {
|
||||
.ui-responsive-panel .ui-panel-page-content-open.ui-panel-page-content-position-left {
|
||||
margin-right: 17em;
|
||||
}
|
||||
|
||||
.ui-responsive-panel .ui-panel-page-content-open.ui-panel-page-content-position-right {
|
||||
margin-left: 17em;
|
||||
}
|
||||
|
||||
.ui-responsive-panel .ui-panel-page-content-open {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.ui-responsive-panel .ui-panel-dismiss-display-push,
|
||||
.ui-responsive-panel.ui-page-active ~ .ui-panel-dismiss-display-push {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.ui-body-a.ui-panel {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.ui-body-b.ui-panel {
|
||||
background-color: #222;
|
||||
}
|
||||
.ui-mobile [data-role=dialog],.ui-panel{min-height:100%;position:absolute;top:0}.ui-mobile [data-role=dialog]{left:0;width:100%;border:0}@media (max-width:35em){.ui-responsive>.ui-block-a,.ui-responsive>.ui-block-b,.ui-responsive>.ui-block-c,.ui-responsive>.ui-block-d,.ui-responsive>.ui-block-e{width:100%;float:none}}.ui-panel{width:17em;max-height:none;border-width:0;display:block}.ui-panel-closed{width:0;max-height:100%;overflow:hidden;visibility:hidden;left:0;clip:rect(1px,1px,1px,1px)}.ui-panel-fixed{position:fixed;bottom:-1px;padding-bottom:1px}.ui-panel-display-reveal{z-index:1;-webkit-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-push{z-index:999}.ui-panel-display-overlay{z-index:1001}.ui-panel-inner{padding:1em}.ui-panel-page-container{overflow-x:visible}.ui-panel-fixed-toolbar,.ui-panel-wrapper{overflow-x:hidden}.ui-panel-page-container-themed .ui-page-active{background:0 0}.ui-panel-wrapper{position:relative;min-height:inherit;border:0;z-index:999}.ui-panel-dismiss{position:absolute;top:0;left:0;right:0;height:100%;z-index:1002;display:none}.ui-panel-dismiss-open{display:block}.ui-panel-animate{-webkit-transition:-webkit-transform .3s ease;-o-transition:transform .3s ease;transition:transform .3s ease}@media screen and (max-device-width:768px){.ui-page-footer-fixed .ui-panel-animate.ui-panel-wrapper,.ui-page-header-fixed .ui-panel-animate.ui-panel-wrapper,.ui-panel-animate.ui-panel-fixed-toolbar{-ms-transition:none}.ui-panel-animate.ui-panel-fixed-toolbar{-ms-transition:-ms-transform 1ms;-ms-transform:rotate(0)}}.ui-panel-animate.ui-panel:not(.ui-panel-display-reveal){-webkit-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0)}.ui-panel-position-left{left:-17em}.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);transform:translate3d(-17em,0,0)}.ui-panel-open.ui-panel-position-left,.ui-panel-position-left.ui-panel-display-reveal{left:0}.ui-panel-animate.ui-panel-open.ui-panel-position-left.ui-panel-display-overlay,.ui-panel-animate.ui-panel-open.ui-panel-position-left.ui-panel-display-push{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-moz-transform:none}.ui-panel-position-right{right:-17em}.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);transform:translate3d(17em,0,0)}.ui-panel-position-right.ui-panel-display-reveal,.ui-panel-position-right.ui-panel-open{right:0}.ui-panel-animate.ui-panel-open.ui-panel-position-right.ui-panel-display-overlay,.ui-panel-animate.ui-panel-open.ui-panel-position-right.ui-panel-display-push{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-moz-transform:none}.ui-panel-page-content-position-left{left:17em;right:-17em}.ui-panel-animate.ui-panel-page-content-position-left{left:0;right:0;-webkit-transform:translate3d(17em,0,0);transform:translate3d(17em,0,0)}.ui-panel-page-content-position-right{left:-17em;right:17em}.ui-panel-animate.ui-panel-page-content-position-right{left:0;right:0;-webkit-transform:translate3d(-17em,0,0);transform:translate3d(-17em,0,0)}.ui-panel-dismiss-open.ui-panel-dismiss-position-left{left:17em}.ui-panel-dismiss-open.ui-panel-dismiss-position-right{right:17em}.ui-panel-position-right.ui-panel-display-reveal{-webkit-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);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);box-shadow:-5px 0 5px rgba(0,0,0,.15)}.ui-panel-open.ui-panel-position-left.ui-panel-display-push{border-right-width:1px;margin-right:-1px}.ui-panel-page-content-position-left.ui-panel-page-content-display-push{margin-left:1px;width:auto}.ui-panel-open.ui-panel-position-right.ui-panel-display-push{border-left-width:1px;margin-left:-1px}.ui-panel-page-content-position-right.ui-panel-page-content-display-push{margin-right:1px;width:auto}@media (min-width:55em){.ui-responsive-panel .ui-panel-page-content-open.ui-panel-page-content-position-left{margin-right:17em}.ui-responsive-panel .ui-panel-page-content-open.ui-panel-page-content-position-right{margin-left:17em}.ui-responsive-panel .ui-panel-page-content-open{width:auto}.ui-responsive-panel .ui-panel-dismiss-display-push,.ui-responsive-panel.ui-page-active~.ui-panel-dismiss-display-push{display:none}}.ui-body-a.ui-panel{background-color:#fff}.ui-body-b.ui-panel{background-color:#222}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1285
dashboard-ui/thirdparty/jquerymobile-1.4.5/jqm.popup.js
vendored
1285
dashboard-ui/thirdparty/jquerymobile-1.4.5/jqm.popup.js
vendored
File diff suppressed because one or more lines are too long
|
@ -1,280 +1 @@
|
|||
|
||||
.ui-rangeslider {
|
||||
margin: .5em 0;
|
||||
}
|
||||
.ui-rangeslider:before,
|
||||
.ui-rangeslider:after {
|
||||
content: "";
|
||||
display: table;
|
||||
}
|
||||
.ui-rangeslider:after {
|
||||
clear: both;
|
||||
}
|
||||
.ui-rangeslider .ui-slider-input.ui-rangeslider-last {
|
||||
float: right;
|
||||
}
|
||||
.ui-rangeslider .ui-rangeslider-sliders {
|
||||
position: relative;
|
||||
overflow: visible;
|
||||
height: 30px;
|
||||
margin: 0 68px;
|
||||
}
|
||||
.ui-rangeslider .ui-rangeslider-sliders .ui-slider-track {
|
||||
position: absolute;
|
||||
top: 6px;
|
||||
right: 0;
|
||||
left: 0;
|
||||
margin: 0;
|
||||
}
|
||||
.ui-rangeslider.ui-mini .ui-rangeslider-sliders .ui-slider-track {
|
||||
top: 8px;
|
||||
}
|
||||
.ui-rangeslider .ui-slider-track:first-child .ui-slider-bg {
|
||||
display: none;
|
||||
}
|
||||
.ui-rangeslider .ui-rangeslider-sliders .ui-slider-track:first-child {
|
||||
background-color: transparent;
|
||||
background: none;
|
||||
border-width: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/* this makes ie6 and ie7 set height to 0 to fix z-index problem */
|
||||
html >/**/body .ui-rangeslider .ui-rangeslider-sliders .ui-slider-track:first-child {
|
||||
height: 15px;
|
||||
border-width: 1px;
|
||||
}
|
||||
html >/**/body .ui-rangeslider.ui-mini .ui-rangeslider-sliders .ui-slider-track:first-child {
|
||||
height: 12px;
|
||||
}
|
||||
|
||||
/* Hide the second label (the first is moved outside the div) */
|
||||
div.ui-rangeslider label {
|
||||
position: absolute !important;
|
||||
height: 1px;
|
||||
width: 1px;
|
||||
overflow: hidden;
|
||||
clip: rect(1px,1px,1px,1px);
|
||||
}
|
||||
.ui-field-contain .ui-rangeslider input.ui-slider-input,
|
||||
.ui-field-contain .ui-rangeslider.ui-mini input.ui-slider-input,
|
||||
.ui-field-contain .ui-rangeslider .ui-rangeslider-sliders,
|
||||
.ui-field-contain .ui-rangeslider.ui-mini .ui-rangeslider-sliders {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
div.ui-slider {
|
||||
height: 30px;
|
||||
margin: .5em 0;
|
||||
padding: 0;
|
||||
-ms-touch-action: pan-y pinch-zoom double-tap-zoom;
|
||||
}
|
||||
div.ui-slider:before,
|
||||
div.ui-slider:after {
|
||||
content: "";
|
||||
display: table;
|
||||
}
|
||||
div.ui-slider:after {
|
||||
clear: both;
|
||||
}
|
||||
input.ui-slider-input {
|
||||
display: none;
|
||||
float: left;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
padding: 4px;
|
||||
width: 40px;
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
outline: 0;
|
||||
text-align: center;
|
||||
vertical-align: text-bottom;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
appearance: none;
|
||||
-webkit-box-sizing: content-box;
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
.ui-slider-input::-webkit-outer-spin-button,
|
||||
.ui-slider-input::-webkit-inner-spin-button {
|
||||
-webkit-appearance: none;
|
||||
margin: 0;
|
||||
}
|
||||
.ui-slider-track {
|
||||
position: relative;
|
||||
overflow: visible;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
height: 15px;
|
||||
margin: 0 15px 0 0;
|
||||
top: 6px;
|
||||
}
|
||||
.ui-slider-track.ui-mini {
|
||||
height: 12px;
|
||||
top: 8px;
|
||||
}
|
||||
.ui-slider-track .ui-slider-bg {
|
||||
height: 100%;
|
||||
}
|
||||
/* High level of specificity to override button margins in grids */
|
||||
.ui-slider-track .ui-btn.ui-slider-handle {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
top: 50%;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
margin: -15px 0 0 -15px;
|
||||
outline: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.ui-slider-track.ui-mini .ui-slider-handle {
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
margin: -8px 0 0 -8px;
|
||||
}
|
||||
select.ui-slider-switch {
|
||||
position: absolute !important;
|
||||
height: 1px;
|
||||
width: 1px;
|
||||
overflow: hidden;
|
||||
clip: rect(1px,1px,1px,1px);
|
||||
}
|
||||
div.ui-slider-switch {
|
||||
display: inline-block;
|
||||
height: 32px;
|
||||
width: 5.8em;
|
||||
top: 0;
|
||||
}
|
||||
/* reset the clearfix */
|
||||
div.ui-slider-switch:before,
|
||||
div.ui-slider-switch:after {
|
||||
display: none;
|
||||
clear: none;
|
||||
}
|
||||
div.ui-slider-switch.ui-mini {
|
||||
height: 29px;
|
||||
top: 0;
|
||||
}
|
||||
.ui-slider-inneroffset {
|
||||
margin: 0 16px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
.ui-slider-switch.ui-mini .ui-slider-inneroffset {
|
||||
margin: 0 15px 0 14px;
|
||||
}
|
||||
.ui-slider-switch .ui-btn.ui-slider-handle {
|
||||
margin: 1px 0 0 -15px;
|
||||
}
|
||||
.ui-slider-switch.ui-mini .ui-slider-handle {
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
margin: 1px 0 0 -13px;
|
||||
padding: 0;
|
||||
}
|
||||
.ui-slider-handle-snapping {
|
||||
-webkit-transition: left 70ms linear;
|
||||
-moz-transition: left 70ms linear;
|
||||
transition: left 70ms linear;
|
||||
}
|
||||
.ui-slider-switch .ui-slider-label {
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
font-size: 16px;
|
||||
top: 0;
|
||||
line-height: 2;
|
||||
min-height: 100%;
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
}
|
||||
.ui-slider-switch.ui-mini .ui-slider-label {
|
||||
font-size: 14px;
|
||||
}
|
||||
.ui-slider-switch .ui-slider-label-a {
|
||||
z-index: 1;
|
||||
left: 0;
|
||||
text-indent: -1.5em;
|
||||
}
|
||||
.ui-slider-switch .ui-slider-label-b {
|
||||
z-index: 0;
|
||||
right: 0;
|
||||
text-indent: 1.5em;
|
||||
}
|
||||
/* The corner radii for ui-slider-switch/track can be specified in theme CSS. The bg and handle inherits. */
|
||||
.ui-slider-track .ui-slider-bg,
|
||||
.ui-slider-switch .ui-slider-label,
|
||||
.ui-slider-switch .ui-slider-inneroffset,
|
||||
.ui-slider-handle {
|
||||
-webkit-border-radius: inherit;
|
||||
border-radius: inherit;
|
||||
}
|
||||
.ui-field-contain div.ui-slider-switch {
|
||||
margin: 0;
|
||||
}
|
||||
/* ui-hide-label deprecated in 1.4. TODO: Remove in 1.5 */
|
||||
.ui-field-contain div.ui-slider-switch,
|
||||
.ui-field-contain.ui-hide-label div.ui-slider-switch,
|
||||
html .ui-popup .ui-field-contain div.ui-slider-switch {
|
||||
display: inline-block;
|
||||
width: 5.8em;
|
||||
}
|
||||
|
||||
|
||||
/* slider tooltip
|
||||
-----------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
.ui-slider-popup {
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
font-size: 36px;
|
||||
padding-top: 14px;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.ui-slider-popup {
|
||||
position: absolute !important;
|
||||
text-align: center;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.ui-slider-track .ui-btn.ui-slider-handle {
|
||||
font-size: .9em;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Active slider track */
|
||||
.ui-page-theme-a .ui-slider-track .ui-btn-active,
|
||||
html .ui-bar-a .ui-slider-track .ui-btn-active,
|
||||
html .ui-body-a .ui-slider-track .ui-btn-active,
|
||||
html body .ui-group-theme-a .ui-slider-track .ui-btn-active,
|
||||
html body div.ui-slider-track.ui-body-a .ui-btn-active {
|
||||
background-color: #3388cc /*{a-active-background-color}*/;
|
||||
border-color: #3388cc /*{a-active-border}*/;
|
||||
color: #fff /*{a-active-color}*/;
|
||||
text-shadow: 0 /*{a-active-shadow-x}*/ 1px /*{a-active-shadow-y}*/ 0 /*{a-active-shadow-radius}*/ #005599 /*{a-active-shadow-color}*/;
|
||||
}
|
||||
|
||||
/* Active slider track */
|
||||
.ui-page-theme-b .ui-slider-track .ui-btn-active,
|
||||
html .ui-bar-b .ui-slider-track .ui-btn-active,
|
||||
html .ui-body-b .ui-slider-track .ui-btn-active,
|
||||
html body .ui-group-theme-b .ui-slider-track .ui-btn-active,
|
||||
html body div.ui-slider-track.ui-body-b .ui-btn-active {
|
||||
background-color: #22aadd /*{b-active-background-color}*/;
|
||||
border-color: #22aadd /*{b-active-border}*/;
|
||||
color: #fff /*{b-active-color}*/;
|
||||
text-shadow: 0 /*{b-active-shadow-x}*/ 1px /*{b-active-shadow-y}*/ 0 /*{b-active-shadow-radius}*/ #0088bb /*{b-active-shadow-color}*/;
|
||||
}
|
||||
.ui-rangeslider:after,div.ui-slider:after{clear:both}.ui-rangeslider{margin:.5em 0}.ui-rangeslider:after,.ui-rangeslider:before{content:"";display:table}.ui-rangeslider .ui-slider-input.ui-rangeslider-last{float:right}.ui-rangeslider .ui-rangeslider-sliders{position:relative;overflow:visible;height:30px;margin:0 68px}.ui-rangeslider .ui-rangeslider-sliders .ui-slider-track{position:absolute;top:6px;right:0;left:0;margin:0}.ui-rangeslider.ui-mini .ui-rangeslider-sliders .ui-slider-track{top:8px}.ui-rangeslider .ui-slider-track:first-child .ui-slider-bg{display:none}.ui-rangeslider .ui-rangeslider-sliders .ui-slider-track:first-child{background:0 0;border-width:0;height:0}html>body .ui-rangeslider .ui-rangeslider-sliders .ui-slider-track:first-child{height:15px;border-width:1px}html>body .ui-rangeslider.ui-mini .ui-rangeslider-sliders .ui-slider-track:first-child{height:12px}div.ui-rangeslider label{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}.ui-field-contain .ui-rangeslider .ui-rangeslider-sliders,.ui-field-contain .ui-rangeslider input.ui-slider-input,.ui-field-contain .ui-rangeslider.ui-mini .ui-rangeslider-sliders,.ui-field-contain .ui-rangeslider.ui-mini input.ui-slider-input{margin-top:0;margin-bottom:0}div.ui-slider{height:30px;margin:.5em 0;padding:0;-ms-touch-action:pan-y pinch-zoom double-tap-zoom}div.ui-slider:after,div.ui-slider:before{content:"";display:table}input.ui-slider-input{display:none;float:left;font-size:14px;font-weight:700;margin:0;padding:4px;width:40px;height:20px;line-height:20px;border-width:1px;border-style:solid;outline:0;text-align:center;vertical-align:text-bottom;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:content-box;box-sizing:content-box}.ui-slider-input::-webkit-inner-spin-button,.ui-slider-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ui-slider-track{position:relative;overflow:visible;border-width:1px;border-style:solid;height:15px;margin:0 15px 0 0;top:6px}.ui-slider-track.ui-mini{height:12px;top:8px}.ui-slider-track .ui-slider-bg{height:100%}.ui-slider-track .ui-btn.ui-slider-handle{position:absolute;z-index:1;top:50%;width:28px;height:28px;margin:-15px 0 0 -15px;outline:0;padding:0}.ui-slider-track.ui-mini .ui-slider-handle{height:14px;width:14px;margin:-8px 0 0 -8px}select.ui-slider-switch{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}div.ui-slider-switch{display:inline-block;height:32px;width:5.8em;top:0}div.ui-slider-switch:after,div.ui-slider-switch:before{display:none;clear:none}div.ui-slider-switch.ui-mini{height:29px;top:0}.ui-slider-inneroffset{margin:0 16px;position:relative;z-index:1}.ui-slider-switch.ui-mini .ui-slider-inneroffset{margin:0 15px 0 14px}.ui-slider-switch .ui-btn.ui-slider-handle{margin:1px 0 0 -15px}.ui-slider-switch.ui-mini .ui-slider-handle{width:25px;height:25px;margin:1px 0 0 -13px;padding:0}.ui-slider-handle-snapping{-webkit-transition:left 70ms linear;-o-transition:left 70ms linear;transition:left 70ms linear}.ui-slider-switch .ui-slider-label{position:absolute;text-align:center;width:100%;overflow:hidden;font-size:16px;top:0;line-height:2;min-height:100%;white-space:nowrap;cursor:pointer}.ui-slider-switch.ui-mini .ui-slider-label{font-size:14px}.ui-slider-switch .ui-slider-label-a{z-index:1;left:0;text-indent:-1.5em}.ui-slider-switch .ui-slider-label-b{z-index:0;right:0;text-indent:1.5em}.ui-slider-handle,.ui-slider-switch .ui-slider-inneroffset,.ui-slider-switch .ui-slider-label,.ui-slider-track .ui-slider-bg{-webkit-border-radius:inherit;border-radius:inherit}.ui-field-contain div.ui-slider-switch{margin:0}.ui-field-contain div.ui-slider-switch,.ui-field-contain.ui-hide-label div.ui-slider-switch,html .ui-popup .ui-field-contain div.ui-slider-switch{display:inline-block;width:5.8em}.ui-slider-popup{width:64px;height:64px;font-size:36px;padding-top:14px;opacity:.8;position:absolute!important;text-align:center;z-index:100}.ui-slider-track .ui-btn.ui-slider-handle{font-size:.9em;line-height:30px}.ui-page-theme-a .ui-slider-track .ui-btn-active,html .ui-bar-a .ui-slider-track .ui-btn-active,html .ui-body-a .ui-slider-track .ui-btn-active,html body .ui-group-theme-a .ui-slider-track .ui-btn-active,html body div.ui-slider-track.ui-body-a .ui-btn-active{background-color:#38c;border-color:#38c;color:#fff;text-shadow:0 1px 0 #059}.ui-page-theme-b .ui-slider-track .ui-btn-active,html .ui-bar-b .ui-slider-track .ui-btn-active,html .ui-body-b .ui-slider-track .ui-btn-active,html body .ui-group-theme-b .ui-slider-track .ui-btn-active,html body div.ui-slider-track.ui-body-b .ui-btn-active{background-color:#2ad;border-color:#2ad;color:#fff;text-shadow:0 1px 0 #08b}
|
1028
dashboard-ui/thirdparty/jquerymobile-1.4.5/jqm.slider.js
vendored
1028
dashboard-ui/thirdparty/jquerymobile-1.4.5/jqm.slider.js
vendored
File diff suppressed because one or more lines are too long
|
@ -1,163 +1 @@
|
|||
.ui-block-a,
|
||||
.ui-block-b,
|
||||
.ui-block-c,
|
||||
.ui-block-d,
|
||||
.ui-block-e {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
float: left;
|
||||
min-height: 1px;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
/* force new row */
|
||||
.ui-block-a {
|
||||
clear: left;
|
||||
}
|
||||
li.ui-block-a,
|
||||
li.ui-block-b,
|
||||
li.ui-block-c,
|
||||
li.ui-block-d,
|
||||
li.ui-block-e {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
/* No margin in grids for 100% width button elements until we can use max-width: fill-available; */
|
||||
[class*="ui-block-"] > button.ui-btn {
|
||||
margin-right: 0;
|
||||
margin-left: 0;
|
||||
}
|
||||
[class*="ui-block-"] > .ui-btn,
|
||||
[class*="ui-block-"] > .ui-select,
|
||||
[class*="ui-block-"] > .ui-checkbox,
|
||||
[class*="ui-block-"] > .ui-radio,
|
||||
[class*="ui-block-"] > button.ui-btn-inline,
|
||||
[class*="ui-block-"] > button.ui-btn-icon-notext {
|
||||
margin-right: .3125em;
|
||||
margin-left: .3125em;
|
||||
}
|
||||
|
||||
/* preset breakpoint to switch to stacked grid styles below 35em (560px) */
|
||||
@media (max-width: 35em) {
|
||||
.ui-responsive > .ui-block-a,
|
||||
.ui-responsive > .ui-block-b,
|
||||
.ui-responsive > .ui-block-c,
|
||||
.ui-responsive > .ui-block-d,
|
||||
.ui-responsive > .ui-block-e {
|
||||
width: 100%;
|
||||
float: none;
|
||||
}
|
||||
}
|
||||
|
||||
.ui-table {
|
||||
border: 0;
|
||||
border-collapse: collapse;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.ui-table th,
|
||||
.ui-table td {
|
||||
line-height: 1.5em;
|
||||
text-align: left;
|
||||
padding: .4em .5em;
|
||||
vertical-align:top;
|
||||
}
|
||||
.ui-table th .ui-btn,
|
||||
.ui-table td .ui-btn {
|
||||
line-height: normal;
|
||||
}
|
||||
.ui-table th {
|
||||
font-weight: bold;
|
||||
}
|
||||
.ui-table caption {
|
||||
text-align: left;
|
||||
margin-bottom: 1.4em;
|
||||
opacity: .5;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
Styles for the table columntoggle mode
|
||||
*/
|
||||
.ui-table-reflow td .ui-table-cell-label,
|
||||
.ui-table-reflow th .ui-table-cell-label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Mobile first styles: Begin with the stacked presentation at narrow widths */
|
||||
@media only all {
|
||||
/* Hide the table headers */
|
||||
.ui-table-reflow thead td,
|
||||
.ui-table-reflow thead th {
|
||||
display: none;
|
||||
}
|
||||
/* Show the table cells as a block level element */
|
||||
.ui-table-reflow td,
|
||||
.ui-table-reflow th {
|
||||
text-align: left;
|
||||
display: block;
|
||||
}
|
||||
/* Add a fair amount of top margin to visually separate each row when stacked */
|
||||
.ui-table-reflow tbody th {
|
||||
margin-top: 3em;
|
||||
}
|
||||
/* Make the label elements a percentage width */
|
||||
.ui-table-reflow td .ui-table-cell-label,
|
||||
.ui-table-reflow th .ui-table-cell-label {
|
||||
padding: .4em;
|
||||
min-width: 30%;
|
||||
display: inline-block;
|
||||
margin: -.4em 1em -.4em -.4em;
|
||||
}
|
||||
/* For grouped headers, have a different style to visually separate the levels by classing the first label in each col group */
|
||||
.ui-table-reflow th .ui-table-cell-label-top,
|
||||
.ui-table-reflow td .ui-table-cell-label-top {
|
||||
display: block;
|
||||
padding: .4em 0;
|
||||
margin: .4em 0;
|
||||
text-transform: uppercase;
|
||||
font-size: .9em;
|
||||
font-weight: normal;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Breakpoint to show as a standard table at 560px (35em x 16px) or wider */
|
||||
@media ( min-width: 35em ) {
|
||||
|
||||
/* Show the table header rows */
|
||||
.ui-table-reflow.ui-responsive td,
|
||||
.ui-table-reflow.ui-responsive th,
|
||||
.ui-table-reflow.ui-responsive tbody th,
|
||||
.ui-table-reflow.ui-responsive tbody td,
|
||||
.ui-table-reflow.ui-responsive thead td,
|
||||
.ui-table-reflow.ui-responsive thead th {
|
||||
display: table-cell;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Hide the labels in each cell */
|
||||
.ui-table-reflow.ui-responsive td .ui-table-cell-label,
|
||||
.ui-table-reflow.ui-responsive th .ui-table-cell-label {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Hack to make IE9 and WP7.5 treat cells like block level elements, scoped to ui-responsive class */
|
||||
/* Applied in a max-width media query up to the table layout breakpoint so we don't need to negate this*/
|
||||
@media ( max-width: 35em ) {
|
||||
.ui-table-reflow.ui-responsive td,
|
||||
.ui-table-reflow.ui-responsive th {
|
||||
width: 100%;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
float: left;
|
||||
clear: left;
|
||||
}
|
||||
}
|
||||
.ui-block-a,.ui-block-b,.ui-block-c,.ui-block-d,.ui-block-e{margin:0;padding:0;border:0;float:left;min-height:1px;-webkit-box-sizing:border-box;box-sizing:border-box}.ui-block-a{clear:left}li.ui-block-a,li.ui-block-b,li.ui-block-c,li.ui-block-d,li.ui-block-e{margin-left:0;margin-right:0;padding:0;list-style:none}[class*=ui-block-]>button.ui-btn{margin-right:0;margin-left:0}[class*=ui-block-]>.ui-btn,[class*=ui-block-]>.ui-checkbox,[class*=ui-block-]>.ui-radio,[class*=ui-block-]>.ui-select,[class*=ui-block-]>button.ui-btn-icon-notext,[class*=ui-block-]>button.ui-btn-inline{margin-right:.3125em;margin-left:.3125em}.ui-table{border:0;border-collapse:collapse;padding:0;width:100%}.ui-table td,.ui-table th{line-height:1.5em;text-align:left;padding:.4em .5em;vertical-align:top}.ui-table td .ui-btn,.ui-table th .ui-btn{line-height:normal}.ui-table th{font-weight:700}.ui-table caption{text-align:left;margin-bottom:1.4em;opacity:.5}.ui-table-reflow td .ui-table-cell-label,.ui-table-reflow th .ui-table-cell-label{display:none}@media only all{.ui-table-reflow thead td,.ui-table-reflow thead th{display:none}.ui-table-reflow td,.ui-table-reflow th{text-align:left;display:block}.ui-table-reflow tbody th{margin-top:3em}.ui-table-reflow td .ui-table-cell-label,.ui-table-reflow th .ui-table-cell-label{padding:.4em;min-width:30%;display:inline-block;margin:-.4em 1em -.4em -.4em}.ui-table-reflow td .ui-table-cell-label-top,.ui-table-reflow th .ui-table-cell-label-top{display:block;padding:.4em 0;margin:.4em 0;text-transform:uppercase;font-size:.9em;font-weight:400}}@media (min-width:35em){.ui-table-reflow.ui-responsive tbody td,.ui-table-reflow.ui-responsive tbody th,.ui-table-reflow.ui-responsive td,.ui-table-reflow.ui-responsive th,.ui-table-reflow.ui-responsive thead td,.ui-table-reflow.ui-responsive thead th{display:table-cell;margin:0}.ui-table-reflow.ui-responsive td .ui-table-cell-label,.ui-table-reflow.ui-responsive th .ui-table-cell-label{display:none}}@media (max-width:35em){.ui-responsive>.ui-block-a,.ui-responsive>.ui-block-b,.ui-responsive>.ui-block-c,.ui-responsive>.ui-block-d,.ui-responsive>.ui-block-e{width:100%;float:none}.ui-table-reflow.ui-responsive td,.ui-table-reflow.ui-responsive th{width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;float:left;clear:left}}
|
|
@ -1,191 +1 @@
|
|||
define(['jqmwidget'], function () {
|
||||
|
||||
var rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/;
|
||||
|
||||
$.extend($.mobile, {
|
||||
|
||||
// Namespace used framework-wide for data-attrs. Default is no namespace
|
||||
|
||||
// Retrieve an attribute from an element and perform some massaging of the value
|
||||
|
||||
getAttribute: function (element, key) {
|
||||
var data;
|
||||
|
||||
element = element.jquery ? element[0] : element;
|
||||
|
||||
if (element && element.getAttribute) {
|
||||
data = element.getAttribute("data-" + key);
|
||||
}
|
||||
|
||||
// Copied from core's src/data.js:dataAttr()
|
||||
// Convert from a string to a proper data type
|
||||
try {
|
||||
data = data === "true" ? true :
|
||||
data === "false" ? false :
|
||||
data === "null" ? null :
|
||||
// Only convert to a number if it doesn't change the string
|
||||
+data + "" === data ? +data :
|
||||
rbrace.test(data) ? JSON.parse(data) :
|
||||
data;
|
||||
} catch (err) { }
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
$.widget("mobile.table", {
|
||||
options: {
|
||||
enhanced: false
|
||||
},
|
||||
|
||||
_create: function () {
|
||||
if (!this.options.enhanced) {
|
||||
this.element.addClass("ui-table");
|
||||
}
|
||||
|
||||
// extend here, assign on refresh > _setHeaders
|
||||
$.extend(this, {
|
||||
|
||||
// Expose headers and allHeaders properties on the widget
|
||||
// headers references the THs within the first TR in the table
|
||||
headers: undefined,
|
||||
|
||||
// allHeaders references headers, plus all THs in the thead, which may
|
||||
// include several rows, or not
|
||||
allHeaders: undefined
|
||||
});
|
||||
|
||||
this._refresh(true);
|
||||
},
|
||||
|
||||
_setHeaders: function () {
|
||||
var trs = this.element.find("thead tr");
|
||||
|
||||
this.headers = this.element.find("tr:eq(0)").children();
|
||||
this.allHeaders = this.headers.add(trs.children());
|
||||
},
|
||||
|
||||
refresh: function () {
|
||||
this._refresh();
|
||||
},
|
||||
|
||||
rebuild: $.noop,
|
||||
|
||||
_refresh: function ( /* create */) {
|
||||
var table = this.element,
|
||||
trs = table.find("thead tr");
|
||||
|
||||
// updating headers on refresh (fixes #5880)
|
||||
this._setHeaders();
|
||||
|
||||
// Iterate over the trs
|
||||
trs.each(function () {
|
||||
var columnCount = 0;
|
||||
|
||||
// Iterate over the children of the tr
|
||||
$(this).children().each(function () {
|
||||
var span = parseInt(this.getAttribute("colspan"), 10),
|
||||
selector = ":nth-child(" + (columnCount + 1) + ")",
|
||||
j;
|
||||
|
||||
this.setAttribute("data-colstart", columnCount + 1);
|
||||
|
||||
if (span) {
|
||||
for (j = 0; j < span - 1; j++) {
|
||||
columnCount++;
|
||||
selector += ", :nth-child(" + (columnCount + 1) + ")";
|
||||
}
|
||||
}
|
||||
|
||||
// Store "cells" data on header as a reference to all cells in the
|
||||
// same column as this TH
|
||||
$(this).data("cells", table.find("tr").not(trs.eq(0)).not(this).children(selector));
|
||||
|
||||
columnCount++;
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
$.widget("mobile.table", $.mobile.table, {
|
||||
options: {
|
||||
mode: "reflow"
|
||||
},
|
||||
|
||||
_create: function () {
|
||||
this._super();
|
||||
|
||||
// If it's not reflow mode, return here.
|
||||
if (this.options.mode !== "reflow") {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!this.options.enhanced) {
|
||||
this.element.addClass("ui-table-reflow");
|
||||
|
||||
this._updateReflow();
|
||||
}
|
||||
},
|
||||
|
||||
rebuild: function () {
|
||||
this._super();
|
||||
|
||||
if (this.options.mode === "reflow") {
|
||||
this._refresh(false);
|
||||
}
|
||||
},
|
||||
|
||||
_refresh: function (create) {
|
||||
this._super(create);
|
||||
if (!create && this.options.mode === "reflow") {
|
||||
this._updateReflow();
|
||||
}
|
||||
},
|
||||
|
||||
_updateReflow: function () {
|
||||
var table = this,
|
||||
opts = this.options;
|
||||
|
||||
// get headers in reverse order so that top-level headers are appended last
|
||||
$(table.allHeaders.get().reverse()).each(function () {
|
||||
var cells = $(this).data("cells"),
|
||||
colstart = $.mobile.getAttribute(this, "colstart"),
|
||||
hierarchyClass = cells.not(this).filter("thead th").length && " ui-table-cell-label-top",
|
||||
contents = $(this).clone().contents(),
|
||||
iteration, filter;
|
||||
|
||||
if (contents.length > 0) {
|
||||
|
||||
if (hierarchyClass) {
|
||||
iteration = parseInt(this.getAttribute("colspan"), 10);
|
||||
filter = "";
|
||||
|
||||
if (iteration) {
|
||||
filter = "td:nth-child(" + iteration + "n + " + (colstart) + ")";
|
||||
}
|
||||
|
||||
table._addLabels(cells.filter(filter),
|
||||
"ui-table-cell-label" + hierarchyClass, contents);
|
||||
} else {
|
||||
table._addLabels(cells, "ui-table-cell-label", contents);
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
_addLabels: function (cells, label, contents) {
|
||||
if (contents.length === 1 && contents[0].nodeName.toLowerCase() === "abbr") {
|
||||
contents = contents.eq(0).attr("title");
|
||||
}
|
||||
// .not fixes #6006
|
||||
cells
|
||||
.not(":has(b." + label + ")")
|
||||
.prepend($("<b class='" + label + "'></b>").append(contents));
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
define(["jqmwidget"],function(){var rbrace=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/;$.extend($.mobile,{getAttribute:function(element,key){var data;element=element.jquery?element[0]:element,element&&element.getAttribute&&(data=element.getAttribute("data-"+key));try{data="true"===data||"false"!==data&&("null"===data?null:+data+""===data?+data:rbrace.test(data)?JSON.parse(data):data)}catch(err){}return data}}),$.widget("mobile.table",{options:{enhanced:!1},_create:function(){this.options.enhanced||this.element.addClass("ui-table"),$.extend(this,{headers:void 0,allHeaders:void 0}),this._refresh(!0)},_setHeaders:function(){var trs=this.element.find("thead tr");this.headers=this.element.find("tr:eq(0)").children(),this.allHeaders=this.headers.add(trs.children())},refresh:function(){this._refresh()},rebuild:$.noop,_refresh:function(){var table=this.element,trs=table.find("thead tr");this._setHeaders(),trs.each(function(){var columnCount=0;$(this).children().each(function(){var j,span=parseInt(this.getAttribute("colspan"),10),selector=":nth-child("+(columnCount+1)+")";if(this.setAttribute("data-colstart",columnCount+1),span)for(j=0;j<span-1;j++)columnCount++,selector+=", :nth-child("+(columnCount+1)+")";$(this).data("cells",table.find("tr").not(trs.eq(0)).not(this).children(selector)),columnCount++})})}}),$.widget("mobile.table",$.mobile.table,{options:{mode:"reflow"},_create:function(){this._super(),"reflow"===this.options.mode&&(this.options.enhanced||(this.element.addClass("ui-table-reflow"),this._updateReflow()))},rebuild:function(){this._super(),"reflow"===this.options.mode&&this._refresh(!1)},_refresh:function(create){this._super(create),create||"reflow"!==this.options.mode||this._updateReflow()},_updateReflow:function(){var table=this;this.options;$(table.allHeaders.get().reverse()).each(function(){var iteration,filter,cells=$(this).data("cells"),colstart=$.mobile.getAttribute(this,"colstart"),hierarchyClass=cells.not(this).filter("thead th").length&&" ui-table-cell-label-top",contents=$(this).clone().contents();contents.length>0&&(hierarchyClass?(iteration=parseInt(this.getAttribute("colspan"),10),filter="",iteration&&(filter="td:nth-child("+iteration+"n + "+colstart+")"),table._addLabels(cells.filter(filter),"ui-table-cell-label"+hierarchyClass,contents)):table._addLabels(cells,"ui-table-cell-label",contents))})},_addLabels:function(cells,label,contents){1===contents.length&&"abbr"===contents[0].nodeName.toLowerCase()&&(contents=contents.eq(0).attr("title")),cells.not(":has(b."+label+")").prepend($("<b class='"+label+"'></b>").append(contents))}})});
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue