public/video-ui/styles/components/_asset-list.scss (59 lines of code) (raw):
$assetThumbnailHeight: 40px;
.video-assets {
&__buttons {
margin-left: auto;
a {
display: inline-block;
text-decoration: none;
}
}
}
.asset-list {
list-style: none;
display: flex;
flex-direction: column;
margin: 0;
padding: 0;
&__item {
display: flex;
position: relative;
align-items: center;
padding: 5px 10px;
width: 100%;
background: $color700Grey;
&:not(:last-child) {
border-bottom: 1px solid $color600Grey;
}
&:hover {
background: $color625Grey;
}
&--current {
border-left: 5px solid $brandColor;
}
}
&__thumbnail {
max-height: $assetThumbnailHeight;
border: 0;
display: inline-block;
}
&__platform {
line-height: $assetThumbnailHeight;
display: inline-block;
vertical-align: top;
flex-grow: 1;
margin: 0 10px 0 20px;
}
&__makecurrent {
display: inline-block;
vertical-align: top;
flex-shrink: 0;
margin: 0 5px;
}
&__current {
text-align: center;
color: $cWhite;
border-radius: 2em;
padding: 3px 5px;
flex-shrink: 0;
}
}