spee.ch/client/scss/_asset-preview.scss

96 lines
1.7 KiB
SCSS
Raw Normal View History

2018-11-15 04:51:25 +01:00
.asset-preview {
2019-03-05 07:49:02 +01:00
display: flex;
flex-direction: column;
2019-01-26 01:37:07 +01:00
background: $card-color;
color: $text-color;
width: 240px;
border: $subtle-border;
2019-03-05 07:49:02 +01:00
height: 256px;
2019-01-26 01:37:07 +01:00
&:hover {
2019-03-05 07:49:02 +01:00
border-color: $highlight-border-color;
color: $primary-color;
2019-01-26 01:37:07 +01:00
}
}
2019-03-05 07:49:02 +01:00
.asset-preview__image {
height : 180px;
width : 240px;
overflow: hidden;
object-fit: cover;
padding: 0;
margin : 0;
box-sizing: border-box;
}
.asset-preview__image-box {
width : 240px;
height : 180px;
padding: 0;
margin : 0;
box-sizing: border-box;
}
2019-01-26 01:37:07 +01:00
.asset-preview__label {
2019-03-05 07:49:02 +01:00
padding: $thin-padding;
2019-01-26 01:37:07 +01:00
display: flex;
flex-direction: column;
justify-content: space-between;
}
.asset-preview__label-text {
overflow: hidden;
2019-03-05 07:49:02 +01:00
display: flex;
flex-direction: column;
justify-content: space-around;
2019-01-26 01:37:07 +01:00
box-sizing: border-box;
2019-03-05 07:49:02 +01:00
font-size: $text-small;
font-weight: bold;
height: 54px;
2018-11-15 04:51:25 +01:00
}
2019-03-05 07:49:02 +01:00
.asset-preview__label-info {
width: 100%;
height: 15px;
display: flex;
flex-direction: row;
justify-content: space-between;
overflow: hidden;
text-overflow: ellipsis;
2019-01-07 23:44:34 +01:00
box-sizing: border-box;
2019-03-05 07:49:02 +01:00
align-items: center;
2019-01-07 23:44:34 +01:00
}
2019-03-05 07:49:02 +01:00
.asset-preview__label-info-datum {
display: flex;
flex-direction: row;
align-items: center;
2019-01-26 01:37:07 +01:00
overflow: hidden;
box-sizing: border-box;
2019-03-05 07:49:02 +01:00
font-size: $text-small;
max-width: 40%;
2018-05-31 00:00:09 +02:00
}
2018-10-11 19:03:39 +02:00
2019-03-05 07:49:02 +01:00
.asset-preview__label-info-datum svg{
height: 1.2em;
width: 1.2em;
padding: 0;
padding-right: $thin-padding;
2018-10-11 19:03:39 +02:00
margin: 0;
2019-03-05 07:49:02 +01:00
}
.asset-preview__label-info-datum .svg-icon{
padding: 0px;
margin: 0;
height: 15px;
}
.asset-preview__blocked {
box-sizing: border-box;
background: black;
color: white;
height: 64%;
padding: $thin-padding;
margin-bottom: $thin-padding;
2018-11-19 02:57:54 +01:00
}