2018-06-13 14:16:49 +03:00
|
|
|
.preview-list {
|
|
|
|
display: flex;
|
2018-06-14 16:27:57 +03:00
|
|
|
flex-wrap: wrap;
|
2018-06-13 14:16:49 +03:00
|
|
|
}
|
|
|
|
.preview {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2018-06-14 16:27:57 +03:00
|
|
|
min-width: 250px;
|
|
|
|
max-width: 400px;
|
|
|
|
flex: 1 1 300px;
|
2018-06-13 14:16:49 +03:00
|
|
|
border: 1px solid var(--color-border);
|
|
|
|
padding: 10px;
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
transition: all 200ms ease-in-out;
|
|
|
|
filter: drop-shadow(0 1px 2px var(--color-box-shadow));
|
|
|
|
background-color: var(--color-main-background);
|
|
|
|
opacity: 0.9;
|
2018-06-14 16:27:57 +03:00
|
|
|
margin: 10px;
|
|
|
|
position: relative;
|
2018-06-13 14:16:49 +03:00
|
|
|
&,
|
|
|
|
* {
|
|
|
|
cursor: pointer;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
&:hover,
|
|
|
|
&.selected {
|
|
|
|
filter: drop-shadow(0 1px 4px var(--color-box-shadow));
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
.preview-image {
|
2018-06-14 16:27:57 +03:00
|
|
|
height: 200px;
|
|
|
|
background-position: top left;
|
2018-06-13 14:16:49 +03:00
|
|
|
background-size: cover;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
text-align: justify;
|
|
|
|
}
|
2018-06-14 16:27:57 +03:00
|
|
|
.icon-checkmark {
|
|
|
|
position: absolute;
|
|
|
|
width: 50px;
|
|
|
|
height: 50px;
|
|
|
|
background-size: contain;
|
|
|
|
right: -10px;
|
|
|
|
top: -15px;
|
|
|
|
opacity: 0;
|
|
|
|
transition: all 100ms ease-in-out;
|
|
|
|
}
|
|
|
|
&.selected .icon-checkmark {
|
|
|
|
opacity: 1;
|
|
|
|
filter: drop-shadow(0 1px 1px var(--color-box-shadow));
|
|
|
|
}
|
2018-06-13 14:16:49 +03:00
|
|
|
}
|