jellyfin-web/dashboard-ui/bower_components/emby-webcomponents/listview/listview.css
2016-08-06 22:11:39 -04:00

199 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 1.15em;
line-height: 160%;
border-bottom: 1px solid #2a2a2a;
cursor: pointer;
white-space: nowrap;
overflow: hidden;
}
.listItem-nosidepadding {
padding-left: 0;
padding-right: 0;
}
.listItem-largeImage {
padding: .5em !important;
}
.listItem > *:not(.listItemBody) {
flex-shrink: 0;
}
.listItem > * {
display: inline-block;
vertical-align: middle;
}
.listItem .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: 3.44em;
}
.two-line {
min-height: 5.15em;
padding-top: 0;
padding-bottom: 0;
}
.three-line {
min-height: 6.3em;
padding-top: 0;
padding-bottom: 0;
}
.listItemBody > div:not(.secondary) {
font-size: 115%;
}
.listItemBodyText {
margin: 0;
padding: 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;
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);
}
.listItemImage .itemProgressBar {
position: absolute;
bottom: 0;
left: 0;
right: 0;
}
.listItem .secondary {
color: #888;
}
.listItem:focus .secondary {
color: inherit !important;
}
.layout-tv .listItem {
transition: transform .2s ease-out;
}
.layout-tv .listItem: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;
}
.paperList .listItem {
border-bottom: 0;
}
.layout-tv .listItemMediaInfo {
margin: .5em 0;
}
.listItemMediaInfo {
/* Don't display if flex not supported */
display: none;
align-items: center;
}
.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, .listItemBody, .listItemMediaInfo {
display: flex;
}
}
@media all and (max-width: 800px) {
.listItem .endsAt, .listItem .criticRating {
display: none !important;
}
}