jellyfin-web/dashboard-ui/bower_components/emby-webcomponents/listview/listview.css

214 lines
3.8 KiB
CSS
Raw Normal View History

2016-05-31 08:29:00 -07:00
button.listItem {
background: transparent;
2016-07-19 23:23:18 -07:00
border: 0;
border-bottom: 1px solid #2a2a2a;
2016-05-31 08:29:00 -07:00
cursor: pointer;
outline: none !important;
color: inherit;
width: 100%;
vertical-align: middle;
font-family: inherit;
font-size: inherit;
}
2016-05-30 09:09:47 -07:00
.listItem {
2016-07-15 22:05:40 -07:00
margin: 0;
2016-07-05 12:24:45 -07:00
display: block;
2016-05-30 09:09:47 -07:00
align-items: center;
text-align: left;
2016-07-16 11:02:39 -07:00
padding: .25em .25em .25em .25em !important;
2016-06-26 21:19:10 -07:00
line-height: 170%;
2016-07-15 14:16:18 -07:00
border-bottom: 1px solid #2a2a2a;
2016-05-30 09:09:47 -07:00
}
2016-07-15 22:05:40 -07:00
div.listItem {
cursor: pointer;
}
2016-05-30 09:09:47 -07:00
2016-07-15 22:05:40 -07:00
.listItem.largeImage {
2016-07-16 11:02:39 -07:00
padding: .5em !important;
2016-07-15 22:05:40 -07:00
}
2016-05-31 08:29:00 -07:00
2016-07-15 22:05:40 -07:00
.listItem > *:not(.listItemBody) {
flex-shrink: 0;
}
.listItem > * {
display: inline-block;
vertical-align: middle;
}
2016-07-05 12:24:45 -07:00
2016-07-16 11:02:39 -07:00
.listItem [is=paper-icon-button-light] {
margin: 0;
}
.listViewDragHandle {
margin-left: -.25em !important;
}
2016-05-30 09:09:47 -07:00
.listItemBody {
flex-grow: 1;
2016-07-15 14:16:18 -07:00
padding: 0 1em;
2016-05-31 08:29:00 -07:00
overflow: hidden;
text-overflow: ellipsis;
2016-06-26 21:19:10 -07:00
flex-direction: column;
vertical-align: middle;
justify-content: center;
min-height: 48px;
2016-05-30 13:46:18 -07:00
}
2016-06-26 21:19:10 -07:00
.listItemBody.two-line {
min-height: 72px;
padding-top: 0;
padding-bottom: 0;
}
.listItemBody.three-line {
min-height: 88px;
padding-top: 0;
padding-bottom: 0;
}
2016-07-15 22:05:40 -07:00
.listItemBody h2, .listItemBody h3 {
2016-05-30 13:46:18 -07:00
margin: 0;
2016-06-26 21:19:10 -07:00
padding: 0;
2016-05-31 08:29:00 -07:00
overflow: hidden;
text-overflow: ellipsis;
2016-05-30 13:46:18 -07:00
}
2016-05-31 08:29:00 -07:00
.layout-tv .listItemBody h3 {
padding: 0;
}
2016-06-26 21:19:10 -07:00
.listItemBody > div:not(.secondary) {
font-size: 115%;
}
2016-05-30 13:46:18 -07:00
.listItemBodyText {
2016-05-31 08:29:00 -07:00
overflow: hidden;
text-overflow: ellipsis;
2016-05-30 09:09:47 -07:00
}
.listItemImage {
width: 7.4vh;
height: 7.4vh;
2016-07-15 22:05:40 -07:00
min-width: 40px;
min-height: 40px;
2016-05-30 09:09:47 -07:00
background-repeat: no-repeat;
background-size: contain;
flex-shrink: 0;
2016-07-15 14:16:18 -07:00
background-position: center center;
2016-07-16 11:02:39 -07:00
position: relative;
2016-05-30 09:09:47 -07:00
}
2016-05-31 08:29:00 -07:00
.listItemIcon {
2016-07-21 10:23:25 -07:00
width: auto !important;
height: auto !important;
2016-07-23 14:30:41 -07:00
font-size: 130%;
2016-07-21 10:23:25 -07:00
border-radius: 500px;
background-color: #52B54B;
padding: .5em;
color: #fff;
2016-07-22 22:03:16 -07:00
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);
2016-05-31 08:29:00 -07:00
}
2016-05-30 09:09:47 -07:00
.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;
}
2016-06-09 09:13:25 -07:00
.listItem .secondary {
color: #737373;
}
2016-05-30 09:09:47 -07:00
.listItem:focus .secondary {
color: inherit !important;
}
.listItem {
transition: transform .2s ease-out;
}
2016-05-30 13:46:18 -07:00
.listItem:focus {
transform: scale(1.025, 1.025);
}
2016-07-19 23:23:18 -07:00
.listItem > .fab:first-child, .listItem > i:first-child {
2016-07-23 14:30:41 -07:00
margin-left: .3em;
2016-07-18 22:09:14 -07:00
}
2016-07-23 14:30:41 -07:00
.paperList .listItem > .fab:first-child, .paperList .listItem > i:first-child {
margin-left: .65em;
}
2016-05-30 13:46:18 -07:00
.paperList {
padding: .5em 0;
2016-05-31 08:29:00 -07:00
margin: 1em auto;
2016-05-30 13:46:18 -07:00
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);
}
2016-05-31 08:29:00 -07:00
.paperList.clear {
box-shadow: none !important;
background-color: transparent !important;
}
2016-07-05 12:24:45 -07:00
2016-07-18 22:09:14 -07:00
.paperList .listItem {
border-bottom: 0;
}
2016-07-15 14:16:18 -07:00
.listItemMediaInfo {
align-items: center;
}
2016-07-15 22:05:40 -07:00
.layout-tv .listItemMediaInfo {
margin: .5em 0;
}
.listItemMediaInfo > * {
display: inline-block;
}
.listGroupHeader {
margin: 2em 0 1em;
}
.listGroupHeader.first {
margin-top: 0;
2016-07-15 14:16:18 -07:00
}
2016-07-05 12:24:45 -07:00
2016-07-16 14:28:15 -07:00
.listItem .indicators {
right: .5vh;
top: .5vh;
position: absolute;
display: flex;
align-items: center;
}
2016-07-05 12:24:45 -07:00
@supports (display: flex) {
2016-07-16 16:08:21 -07:00
.listItem > * {
display: flex;
}
2016-07-15 14:16:18 -07:00
.listItem, .listItemBody, .listItemMediaInfo {
2016-07-05 12:24:45 -07:00
display: flex;
}
}
2016-07-15 22:05:40 -07:00
@media all and (max-width: 800px) {
.listItem .endsAt, .listItem .criticRating {
display: none !important;
}
}