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

41 lines
700 B
SCSS
Raw Normal View History

2019-06-11 20:10:58 +02:00
.file-properties {
display: flex;
position: relative;
align-items: center;
2019-11-22 22:13:00 +01:00
font-size: var(--font-small);
color: var(--color-text-help);
2020-06-01 19:03:19 +02:00
margin-left: var(--spacing-m);
2020-02-11 19:19:09 +01:00
white-space: nowrap;
2019-06-11 20:10:58 +02:00
2019-06-17 22:32:38 +02:00
& > *:not(:last-child) {
2020-06-01 19:03:19 +02:00
margin-right: var(--spacing-s);
2019-06-11 20:10:58 +02:00
}
}
2019-06-17 22:32:38 +02:00
2020-05-21 17:38:28 +02:00
.file-properties--large {
flex-wrap: wrap;
margin-left: 0;
& > * {
2020-06-01 19:03:19 +02:00
margin-top: var(--spacing-s);
2020-05-21 17:38:28 +02:00
}
}
2020-01-29 16:26:39 +01:00
.file-properties--small {
font-size: var(--font-xsmall);
2020-01-29 17:21:25 +01:00
line-height: 1.2;
margin-left: 0;
position: relative;
.tag {
@media (max-width: $breakpoint-xsmall) {
display: none;
}
font-size: var(--font-xsmall);
}
2020-01-29 17:21:25 +01:00
& > *:not(:last-child) {
2020-06-01 19:03:19 +02:00
margin-right: var(--spacing-xxs);
2020-01-29 17:21:25 +01:00
}
2020-01-29 16:26:39 +01:00
}