Files
Ultrachromic/episodelist/episodes_grid.css
2021-08-01 13:53:18 +03:00

145 lines
3.0 KiB
CSS

/*Size episode preview images in a more compact way*/
.childrenItemsContainer.itemsContainer.padded-right.vertical-list {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
}
@media all and (max-width: 1001px) {
.childrenItemsContainer.itemsContainer.padded-right.vertical-list {
grid-template-columns: 1fr 1fr;
}
}
.layout-mobile
.childrenItemsContainer.itemsContainer.padded-right.vertical-list {
grid-template-columns: 1fr;
}
#itemDetailPage .listItem-content {
border-radius: var(--rounding);
overflow: hidden;
transition: background 0.15s ease-in-out;
flex-flow: column;
-webkit-transition: background 0.15s ease-in-out;
-moz-transition: background 0.15s ease-in-out;
-ms-transition: background 0.15s ease-in-out;
-o-transition: background 0.15s ease-in-out;
}
.listItemImage.listItemImage-large {
width: 100%;
margin: 0;
}
.listItem-overview.listItemBodyText {
height: 5.5em !important;
font-size: 1em !important;
}
.listItemImageButton-icon {
padding: 0;
}
#itemDetailPage .listItem {
position: relative;
height: -webkit-fit-content;
height: -moz-fit-content;
height: fit-content;
overflow: hidden;
margin-bottom: 1.5rem;
border-radius: var(--rounding);
padding: .5em;
}
#itemDetailPage .secondary.listItem-overview.listItemBodyText {
height: 100%;
margin: 0;
}
.listItem[data-mediatype="Audio"] {
padding: 0 1em;
border-radius: var(--rounding) !important;
-webkit-border-radius: var(--rounding) !important;
-moz-border-radius: var(--rounding) !important;
-ms-border-radius: var(--rounding) !important;
-o-border-radius: var(--rounding) !important;
}
.layout-mobile #itemDetailPage .listItemImageButton {
font-size: 0 !important;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.72);
z-index: -1;
-webkit-backdrop-filter: blur(4px);
backdrop-filter: blur(4px);
}
.layout-mobile .listItemIndicators {
right: 0;
top: 0;
width: 100%;
height: 100%;
}
.layout-mobile .playedIndicator {
width: 100%;
height: 100%;
font-size: 1.2rem;
}
.layout-mobile .listItemIndicators .indicatorIcon.check {
position: absolute;
top: .55em;
right: 4em;
}
.layout-mobile .listItemBodyText {
max-width: 10rem;
}
.layout-mobile .listItem .playedIndicator {
background: transparent !important;
}
.layout-mobile .listItemImage {
height: 100% !important;
width: 100% !important;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
overflow: hidden;
border-radius: var(--rounding) !important;
z-index: -1;
}
.layout-mobile .listViewUserDataButtons {
position: absolute;
right: 0;
top: 1.25em;
padding-right: 1em;
}
.layout-mobile .listItemButton {
padding: 0 0.556em !important;
}
.layout-mobile #itemDetailPage .listItem-content {
-webkit-backdrop-filter: none;
backdrop-filter: none;
align-items: flex-start;
}
.layout-mobile #itemDetailPage .listItem-content {
background: none !important;
position: unset;
color: white;
}
.listItemImageButton {
margin: auto;
font-size: 1.6em !important;
}