mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 11:28:23 -07:00
194 lines
3.3 KiB
CSS
194 lines
3.3 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;
|
|
line-height: 160%;
|
|
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;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.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);
|
|
}
|
|
|
|
.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-padded {
|
|
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;
|
|
}
|
|
|
|
.listItemIndicators {
|
|
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;
|
|
}
|
|
}
|