jellyfin-web/dashboard-ui/thirdparty/jquerymobile-1.4.5/jqm.listview.css
2016-02-07 23:42:56 -05:00

246 lines
6.4 KiB
CSS

ul[data-role="listview"] {
border-radius: 3px;
border-color: #ccc;
}
ul[data-role="listview"],
ul[data-role="listview"] > li {
margin: 0;
padding: 0;
list-style: none;
border-color: #ccc;
}
/*.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.ui-li-has-alt > a + a {
border-right-width: 1px;
}
ul[data-role="listview"] > li.ui-li-has-alt > a + a:focus {
z-index: 3;
}