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-05-11 17:54:39 +02:00
|
|
|
margin-left: var(--spacing-medium);
|
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) {
|
|
|
|
margin-right: var(--spacing-small);
|
2019-06-11 20:10:58 +02:00
|
|
|
}
|
|
|
|
|
2019-12-18 06:27:08 +01:00
|
|
|
@media (max-width: $breakpoint-xsmall) {
|
2019-06-11 20:10:58 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2019-06-17 22:32:38 +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;
|
2020-01-29 17:38:46 +01:00
|
|
|
margin-left: 0;
|
2020-05-11 17:54:39 +02:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.tag {
|
|
|
|
font-size: var(--font-xsmall);
|
|
|
|
}
|
2020-01-29 17:21:25 +01:00
|
|
|
|
|
|
|
& > *:not(:last-child) {
|
|
|
|
margin-right: var(--spacing-miniscule);
|
|
|
|
}
|
2020-05-11 21:54:07 +02:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-xsmall) {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-01-29 16:26:39 +01:00
|
|
|
}
|
|
|
|
|
2020-05-11 17:54:39 +02:00
|
|
|
.file-properties__purchased {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-left: var(--spacing-xsmall);
|
|
|
|
color: var(--color-gray-5);
|
|
|
|
|
|
|
|
span,
|
|
|
|
svg {
|
|
|
|
position: relative;
|
|
|
|
fill: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
margin-left: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
position: absolute;
|
|
|
|
content: '';
|
|
|
|
left: -0.4rem;
|
|
|
|
right: -5rem;
|
|
|
|
height: 1.75rem;
|
|
|
|
transform: skew(20deg);
|
|
|
|
background-color: var(--color-purchased);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.file-properties__not-purchased {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
color: var(--color-purchased-text);
|
|
|
|
|
|
|
|
span {
|
|
|
|
position: relative;
|
|
|
|
margin-left: 0.75rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
position: absolute;
|
|
|
|
content: '';
|
|
|
|
left: 0;
|
|
|
|
right: -5rem;
|
|
|
|
height: 1.75rem;
|
|
|
|
background-color: var(--color-purchased-alt);
|
|
|
|
border: 2px solid var(--color-purchased);
|
|
|
|
transform: skew(20deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-06-17 22:32:38 +02:00
|
|
|
.file-properties--large {
|
|
|
|
flex-wrap: wrap;
|
2019-07-21 23:31:22 +02:00
|
|
|
margin-bottom: var(--spacing-large);
|
2020-01-31 17:43:14 +01:00
|
|
|
margin-left: 0;
|
2019-06-17 22:32:38 +02:00
|
|
|
|
|
|
|
& > * {
|
|
|
|
margin-top: var(--spacing-small);
|
|
|
|
}
|
|
|
|
}
|