lbry-desktop/ui/scss/component/_file-tile.scss

37 lines
636 B
SCSS
Raw Normal View History

@import "../global";
2017-04-17 08:27:39 -04:00
$height-file-tile: $spacing-vertical * 8;
.file-tile__row {
2017-04-17 08:27:39 -04:00
height: $height-file-tile;
2017-04-11 22:01:45 -04:00
.credit-amount {
2017-04-10 08:32:40 -04:00
float: right;
}
2017-04-12 10:55:19 -04:00
//Hack! Remove below!
.card__title-primary {
margin-top: $spacing-vertical * 2/3;
}
}
.file-tile__thumbnail {
max-width: 100%;
2017-04-17 08:27:39 -04:00
max-height: $height-file-tile;
2017-04-12 10:55:19 -04:00
vertical-align: middle;
display: block;
margin-left: auto;
margin-right: auto;
}
2017-04-17 08:27:39 -04:00
.file-tile__thumbnail-container
{
height: $height-file-tile;
@include absolute-center();
}
.file-tile__title {
font-weight: bold;
}
.file-tile__description {
color: #444;
margin-top: 12px;
font-size: 0.9em;
2017-01-21 16:31:41 -05:00
}