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

34 lines
729 B
SCSS
Raw Normal View History

2017-05-01 18:31:13 -04:00
$height-file-tile: $spacing-vertical * 6;
.file-tile__row {
2017-05-01 18:31:13 -04:00
overflow: hidden;
2017-04-17 08:27:39 -04:00
height: $height-file-tile;
2017-05-01 18:31:13 -04: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-10-04 21:07:04 -06:00
2017-04-12 10:55:19 -04:00
.card__title-primary {
2017-05-01 18:31:13 -04:00
margin-top: 0;
2017-04-12 10:55:19 -04:00
}
2017-10-04 21:07:04 -06:00
.file-tile__uri {
2017-10-03 10:59:08 -06:00
color: var(--color-primary);
2017-10-04 21:07:04 -06:00
font-size: 0.82em;
2017-10-02 23:05:11 -06:00
display: inline-block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
2017-10-04 21:07:04 -06:00
max-width: 85%;
2017-10-02 23:05:11 -06:00
}
2017-10-04 21:07:04 -06:00
2017-10-02 23:05:11 -06:00
}