2018-11-15 04:51:25 +01:00
|
|
|
.asset-preview {
|
|
|
|
position: relative;
|
2019-01-26 01:37:07 +01:00
|
|
|
background: $card-color;
|
|
|
|
padding: $thin-padding;
|
|
|
|
color: $text-color;
|
|
|
|
width: 240px;
|
|
|
|
border: $subtle-border;
|
|
|
|
height: 280px;
|
|
|
|
&:hover {
|
|
|
|
border: 1px solid $highlight-border-color;
|
2019-02-18 19:57:00 +01:00
|
|
|
color: $primary-color;
|
2019-01-26 01:37:07 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.asset-preview__label {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
|
|
|
height: 7.3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.asset-preview__label-text {
|
|
|
|
height: 4.5em;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
box-sizing: border-box;
|
2018-11-15 04:51:25 +01:00
|
|
|
}
|
|
|
|
|
2019-01-07 23:44:34 +01:00
|
|
|
.asset-preview__blocked {
|
|
|
|
box-sizing: border-box;
|
|
|
|
background: black;
|
|
|
|
color: white;
|
2019-01-26 01:37:07 +01:00
|
|
|
height: 64%;
|
|
|
|
padding: $thin-padding;
|
|
|
|
margin-bottom: $thin-padding;
|
2019-01-07 23:44:34 +01:00
|
|
|
}
|
|
|
|
|
2018-11-19 02:57:54 +01:00
|
|
|
.asset-preview__image {
|
2019-01-26 01:37:07 +01:00
|
|
|
width : 240px;
|
|
|
|
height : 180px;
|
|
|
|
overflow: hidden;
|
|
|
|
object-fit: cover;
|
2018-10-12 14:00:03 +02:00
|
|
|
padding: 0;
|
|
|
|
margin : 0;
|
2019-01-26 01:37:07 +01:00
|
|
|
box-sizing: border-box;
|
2018-05-31 00:00:09 +02:00
|
|
|
}
|
2018-10-11 19:03:39 +02:00
|
|
|
|
2018-11-19 02:57:54 +01:00
|
|
|
h3.asset-preview__title {
|
2018-10-11 19:03:39 +02:00
|
|
|
margin: 0;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
word-wrap: break-word;
|
|
|
|
overflow: hidden;
|
2019-01-26 01:37:07 +01:00
|
|
|
max-height: 4em;
|
|
|
|
font-size: $text-large;
|
2018-11-19 02:57:54 +01:00
|
|
|
}
|