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

37 lines
636 B
SCSS
Raw Normal View History

@import "../global";
2017-04-17 14:27:39 +02:00
$height-file-tile: $spacing-vertical * 8;
.file-tile__row {
2017-04-17 14:27:39 +02:00
height: $height-file-tile;
2017-04-12 04:01:45 +02:00
.credit-amount {
2017-04-10 14:32:40 +02:00
float: right;
}
2017-04-12 16:55:19 +02:00
//Hack! Remove below!
.card__title-primary {
margin-top: $spacing-vertical * 2/3;
}
}
.file-tile__thumbnail {
max-width: 100%;
2017-04-17 14:27:39 +02:00
max-height: $height-file-tile;
2017-04-12 16:55:19 +02:00
vertical-align: middle;
display: block;
margin-left: auto;
margin-right: auto;
}
2017-04-17 14:27:39 +02: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 22:31:41 +01:00
}