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

37 lines
826 B
SCSS
Raw Normal View History

2017-05-02 00:31:13 +02:00
$height-file-tile: $spacing-vertical * 6;
.file-tile__row {
2017-05-02 00:31:13 +02:00
overflow: hidden;
2017-04-17 14:27:39 +02:00
height: $height-file-tile;
2017-05-02 00:31:13 +02:00
//also a hack
.card__media {
height: $height-file-tile;
max-width: $height-file-tile;
width: $height-file-tile;
margin-right: $spacing-vertical / 2;
float: left;
}
//basically everything here is a hack now
.file-tile__content {
padding-top: $spacing-vertical * 1/3;
margin-left: $height-file-tile + $spacing-vertical / 2;
}
2017-04-12 16:55:19 +02:00
.card__title-primary {
2017-05-02 00:31:13 +02:00
margin-top: 0;
2017-04-12 16:55:19 +02:00
}
2017-10-03 07:05:11 +02:00
.meta {
background: var(--color-canvas);
border: 1px solid rgba(0, 0, 0, 0.15);
border-radius: 3px;
display: inline-block;
padding: 8px;
max-width: 80%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
.meta-uri {
margin: 0 8px;
}
}
}