jellyfin-web/dashboard-ui/bower_components/emby-webcomponents/listview/listview.css
2016-09-23 02:57:24 -04:00

208 lines
3.5 KiB
CSS

.listItem {
background: transparent;
border: 0;
outline: none !important;
color: inherit;
vertical-align: middle;
font-family: inherit;
font-size: inherit;
margin: 0;
display: block;
align-items: center;
text-align: left;
padding: .25em 1.15em;
cursor: pointer;
overflow: hidden;
}
.listItem-border {
border-bottom: 1px solid #2a2a2a;
}
.listItem-button {
width: 100%;
}
.listItem-nosidepadding {
padding-left: 0;
padding-right: 0;
}
.listItem-largeImage {
padding: .5em !important;
}
.listItemImage, .listItemIcon, .listItemAside {
flex-shrink: 0;
}
.listItemBody, .listItemImage, .listItemIcon {
display: inline-block;
vertical-align: middle;
}
.listItemButton {
margin: 0;
display: inline-block;
vertical-align: middle;
flex-shrink: 0;
contain: layout style;
}
.listViewDragHandle {
margin-left: -.25em !important;
}
.listItemBody {
flex-grow: 1;
padding: 0 1em;
overflow: hidden;
text-overflow: ellipsis;
flex-direction: column;
vertical-align: middle;
justify-content: center;
min-height: 3.44em;
}
.listItemBody-nogrow {
flex-grow: initial;
flex-shrink: 0;
width: 9em;
opacity: .7;
}
@media all and (max-width: 800px) {
.listItemBody-nogrow {
width: 4em;
}
}
.two-line {
min-height: 5.15em;
padding-top: 0;
padding-bottom: 0;
}
.three-line {
min-height: 6.3em;
padding-top: 0;
padding-bottom: 0;
}
.listItemBodyText {
margin: 0;
padding: .25em 0;
overflow: hidden;
text-overflow: ellipsis;
}
.listItemBodyText-nowrap {
white-space: nowrap;
}
.listItemImage {
width: 7.4vh;
height: 7.4vh;
min-width: 40px;
min-height: 40px;
background-repeat: no-repeat;
background-size: contain;
flex-shrink: 0;
background-position: center center;
position: relative;
}
.listItemImage-large {
width: 45vh;
height: 30vh;
background-position: center center;
margin-right: 2%;
margin-left: 1%;
}
.listItemIcon {
width: auto !important;
height: auto !important;
font-size: 143%;
border-radius: 500px;
background-color: #52B54B;
padding: .5em;
color: #fff;
}
.listItemProgressBar {
position: absolute;
bottom: 0;
left: 0;
right: 0;
}
.listItem .secondary {
color: #888;
}
.listItem:focus .secondary {
color: inherit !important;
}
.listItem-focusscale {
transition: transform .2s ease-out;
}
.listItem-focusscale:focus {
transform: scale(1.025, 1.025);
}
.paperList {
padding: .5em 0;
margin: 1em auto;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
}
.paperList-clear {
box-shadow: none !important;
background-color: transparent !important;
}
.listItemMediaInfo {
/* Don't display if flex not supported */
display: none;
align-items: center;
}
.listGroupHeader {
margin: 2em 0 1em;
}
.listGroupHeader-first {
margin-top: 0;
}
.listItemIndicators {
right: .5vh;
top: .5vh;
position: absolute;
display: flex;
align-items: center;
}
@supports (display: flex) {
.listItem, .listItemBody, .listItemMediaInfo {
display: flex;
contain: layout style;
}
}
@media all and (max-width: 800px) {
.listItem .endsAt, .listItem .criticRating {
display: none !important;
}
}
.listItemCheckboxContainer {
width: auto !important;
}