1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
jellyfin-web/src/components/listview/listview.css

268 lines
4.6 KiB
CSS
Raw Normal View History

2018-10-23 01:13:23 +03:00
.listItem {
background: transparent;
2018-10-23 01:13:23 +03:00
border: 0;
outline: none !important;
2018-10-23 01:13:23 +03:00
color: inherit;
vertical-align: middle;
font-family: inherit;
font-size: inherit;
margin: 0;
display: block;
2018-10-23 01:13:23 +03:00
align-items: center;
text-align: left;
padding: .25em .25em .25em .5em;
cursor: pointer;
overflow: hidden;
2018-10-23 01:13:23 +03:00
}
.listItem-withContentWrapper {
flex-direction: column;
align-items: flex-start;
2018-10-23 01:13:23 +03:00
}
.listItem[data-action=none] {
cursor: default;
2018-10-23 01:13:23 +03:00
}
.listItem-content {
display: flex;
align-items: center;
width: 100%;
2018-10-23 01:13:23 +03:00
}
.listItem-button {
width: 100%;
2018-10-23 01:13:23 +03:00
}
.listItem-indexnumberleft {
margin-right: 1em;
2018-10-23 01:13:23 +03:00
}
.listItem-border {
2019-09-06 22:33:15 -07:00
display: block;
margin: 0;
padding: 0;
border-width: 0 0 0.1em 0;
border-style: solid;
border-radius: 0;
}
.listItem-border.show-focus:focus {
transform: scale(1.0) !important;
2018-10-23 01:13:23 +03:00
}
.listItemImage, .listItemIcon, .listItemAside {
flex-shrink: 0;
}
.listItemBody, .listItemImage, .listItemIcon {
display: inline-block;
vertical-align: middle;
2018-10-23 01:13:23 +03:00
}
.listItemButton {
margin: 0;
display: inline-block;
vertical-align: middle;
2018-10-23 01:13:23 +03:00
flex-shrink: 0;
contain: layout style;
2018-10-23 01:13:23 +03:00
}
.listViewDragHandle {
margin-left: -.25em !important;
touch-action: none;
2018-10-23 01:13:23 +03:00
}
.listItemBody {
flex-grow: 1;
padding: .85em .75em;
overflow: hidden;
text-overflow: ellipsis;
2018-10-23 01:13:23 +03:00
flex-direction: column;
vertical-align: middle;
justify-content: center;
2018-10-23 01:13:23 +03:00
}
.layout-tv .listItemBody {
padding: .35em .75em;
2018-10-23 01:13:23 +03:00
}
.listItemBody-noleftpadding {
padding-left: 0 !important;
2018-10-23 01:13:23 +03:00
}
.listItemBodyText {
margin: 0;
padding: .1em 0;
overflow: hidden;
text-overflow: ellipsis;
2018-10-23 01:13:23 +03:00
}
.listItemBodyText-nowrap {
white-space: nowrap;
2018-10-23 01:13:23 +03:00
}
.listItemImage {
width: 4em;
height: 4em;
min-width: 2.78em;
min-height: 2.78em;
background-repeat: no-repeat;
background-size: cover;
2018-10-23 01:13:23 +03:00
flex-shrink: 0;
background-position: center center;
position: relative;
display: flex;
2018-10-23 01:13:23 +03:00
}
.listItemImage-large {
width: 19.5vw;
height: 13vw;
background-position: center center;
margin-right: .75em;
2018-10-23 01:13:23 +03:00
}
.listItemImageButton {
align-self: center;
justify-self: center;
margin: auto;
2020-01-08 23:18:00 +09:00
color: rgba(255, 255, 255, 0.6);
background: rgba(0, 0, 0, 0.4);
2018-10-23 01:13:23 +03:00
font-size: 1.6em;
2020-01-08 23:18:00 +09:00
transition: 200ms ease-out;
display: flex;
2018-10-23 01:13:23 +03:00
}
2019-01-10 15:41:25 +03:00
.listItemImageButton:hover {
2020-01-08 23:18:00 +09:00
color: #00a4dc;
background: rgba(0, 164, 220, 0.2);
2019-09-06 22:33:15 -07:00
transform: scale(1.2, 1.2);
2019-01-10 15:41:25 +03:00
}
2018-10-23 01:13:23 +03:00
.listItemImageButton-icon {
border-radius: 100em;
display: flex;
justify-content: center;
align-items: center;
2019-09-06 22:33:15 -07:00
padding: 0.2em;
2018-10-23 01:13:23 +03:00
}
@media all and (max-width: 64em) {
2018-10-23 01:13:23 +03:00
.listItemImage-large {
2020-01-17 17:56:52 +03:00
width: 22vw;
height: 16vw;
margin-right: 0 !important;
2018-10-23 01:13:23 +03:00
}
.listItemImageButton {
2019-09-06 22:33:15 -07:00
font-size: 1em !important;
2018-10-23 01:13:23 +03:00
}
.listItemBody {
padding-left: .75em;
2018-10-23 01:13:23 +03:00
}
}
@media all and (max-width: 50em) {
2018-10-23 01:13:23 +03:00
.listItemBody {
padding-right: .5em;
2018-10-23 01:13:23 +03:00
}
}
.listItemImage-large-tv {
width: 30vw !important;
height: 20vw !important;
2018-10-23 01:13:23 +03:00
}
.listItemIcon {
width: 1em !important;
height: 1em !important;
font-size: 143%;
padding: 0 .25em 0 0;
2018-10-23 01:13:23 +03:00
}
2019-01-10 15:41:25 +03:00
.listItemIcon:not(.listItemIcon-transparent) {
background-color: #00a4dc;
color: #fff;
padding: .5em;
border-radius: 100em;
margin: 0 .2em 0 .4em;
}
2018-10-23 01:13:23 +03:00
.listItemProgressBar {
position: absolute;
bottom: 0;
left: 0;
right: 0;
2018-10-23 01:13:23 +03:00
}
.listItem:focus {
border-radius: .2em;
2018-10-23 01:13:23 +03:00
}
2019-01-10 15:41:25 +03:00
.listItem:focus .secondary {
color: inherit !important;
}
2018-10-23 01:13:23 +03:00
.listItem-focusscale {
transition: transform .2s ease-out;
2018-10-23 01:13:23 +03:00
}
2019-01-10 15:41:25 +03:00
.listItem-focusscale:focus {
transform: scale(1.025, 1.025);
}
2018-10-23 01:13:23 +03:00
.paperList {
margin: .5em auto;
2018-10-23 01:13:23 +03:00
}
.paperList-clear {
background-color: transparent !important;
2018-10-23 01:13:23 +03:00
}
.listItemMediaInfo {
/* Don't display if flex not supported */
display: none;
2018-10-23 01:13:23 +03:00
align-items: center;
margin-right: 1em;
2018-10-23 01:13:23 +03:00
}
.listGroupHeader-first {
margin-top: 0;
2018-10-23 01:13:23 +03:00
}
.listItemIndicators {
right: .324em;
top: .324em;
position: absolute;
display: flex;
align-items: center;
2018-10-23 01:13:23 +03:00
}
.listItem, .listItemBody, .listItemMediaInfo {
2018-10-23 01:13:23 +03:00
display: flex;
contain: layout style;
2018-10-23 01:13:23 +03:00
}
.listItem-bottomoverview {
font-size: 88%;
margin-bottom: 1em;
margin-top: .2em;
2018-10-23 01:13:23 +03:00
}
@media all and (max-width: 50em) {
.listItem .endsAt, .listItem .criticRating, .listItem-overview {
display: none !important;
2018-10-23 01:13:23 +03:00
}
}
@media all and (min-width: 50em) {
2018-10-23 01:13:23 +03:00
.listItem-bottomoverview {
display: none !important;
2018-10-23 01:13:23 +03:00
}
}
.listItemCheckboxContainer {
width: auto !important;
2020-01-08 23:18:00 +09:00
}