jellyfin-web/dashboard-ui/bower_components/emby-webcomponents/listview/listview.css
2016-07-20 02:23:18 -04:00

205 lines
3.5 KiB
CSS

button.listItem {
background: transparent;
border: 0;
border-bottom: 1px solid #2a2a2a;
cursor: pointer;
outline: none !important;
color: inherit;
width: 100%;
vertical-align: middle;
font-family: inherit;
font-size: inherit;
}
.listItem {
margin: 0;
display: block;
align-items: center;
text-align: left;
padding: .25em .25em .25em .25em !important;
line-height: 170%;
border-bottom: 1px solid #2a2a2a;
}
div.listItem {
cursor: pointer;
}
.listItem.largeImage {
padding: .5em !important;
}
.listItem > *:not(.listItemBody) {
flex-shrink: 0;
}
.listItem > * {
display: inline-block;
vertical-align: middle;
}
.listItem [is=paper-icon-button-light] {
margin: 0;
}
.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: 48px;
}
.listItemBody.two-line {
min-height: 72px;
padding-top: 0;
padding-bottom: 0;
}
.listItemBody.three-line {
min-height: 88px;
padding-top: 0;
padding-bottom: 0;
}
.listItemBody h2, .listItemBody h3 {
margin: 0;
padding: 0;
overflow: hidden;
text-overflow: ellipsis;
}
.layout-tv .listItemBody h3 {
padding: 0;
}
.listItemBody > div:not(.secondary) {
font-size: 115%;
}
.listItemBodyText {
overflow: hidden;
text-overflow: ellipsis;
}
.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;
}
.listItemIcon {
width: 3vh;
height: 3vh;
font-size: 3vh;
}
.listItem.largeImage .listItemImage {
width: 45vh;
height: 30vh;
background-position: center center;
margin-right: 2%;
margin-left: 1%;
}
.listItemImage .itemProgressBar {
position: absolute;
bottom: 0;
left: 0;
right: 0;
}
.listItem .secondary {
color: #737373;
}
.listItem:focus .secondary {
color: inherit !important;
}
.listItem {
transition: transform .2s ease-out;
}
.listItem:focus {
transform: scale(1.025, 1.025);
}
.listItem > .fab:first-child, .listItem > i:first-child {
margin-left: .75em;
}
.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;
}
.paperList .listItem {
border-bottom: 0;
}
.listItemMediaInfo {
align-items: center;
}
.layout-tv .listItemMediaInfo {
margin: .5em 0;
}
.listItemMediaInfo > * {
display: inline-block;
}
.listGroupHeader {
margin: 2em 0 1em;
}
.listGroupHeader.first {
margin-top: 0;
}
.listItem .indicators {
right: .5vh;
top: .5vh;
position: absolute;
display: flex;
align-items: center;
}
@supports (display: flex) {
.listItem > * {
display: flex;
}
.listItem, .listItemBody, .listItemMediaInfo {
display: flex;
}
}
@media all and (max-width: 800px) {
.listItem .endsAt, .listItem .criticRating {
display: none !important;
}
}