2019-09-13 08:44:21 +00:00
|
|
|
@import '_variables';
|
|
|
|
@import '_mixins';
|
|
|
|
|
|
|
|
.card {
|
|
|
|
margin: 5px 0;
|
2019-09-19 01:19:06 +00:00
|
|
|
pointer-events: all;
|
2019-11-04 22:13:58 +00:00
|
|
|
max-height: unset;
|
2019-09-13 08:44:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.card-container {
|
|
|
|
border-radius: 10px;
|
|
|
|
border-width: 1px;
|
|
|
|
border-style: solid;
|
2019-10-23 09:15:57 +00:00
|
|
|
border-color: var(--dark_grey);
|
|
|
|
background-color: var(--bg_elements);
|
2019-09-13 08:44:21 +00:00
|
|
|
overflow: hidden;
|
|
|
|
color: inherit;
|
|
|
|
display: flex;
|
2019-10-26 13:53:59 +00:00
|
|
|
flex-direction: row;
|
2019-09-13 08:44:21 +00:00
|
|
|
text-decoration: none !important;
|
|
|
|
|
|
|
|
&:hover {
|
2019-10-23 09:15:57 +00:00
|
|
|
border-color: var(--grey);
|
2019-09-13 08:44:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.attachments {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-content {
|
|
|
|
padding: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-title {
|
|
|
|
@include ellipsis;
|
2019-09-19 03:54:19 +00:00
|
|
|
white-space: unset;
|
2019-09-13 08:44:21 +00:00
|
|
|
font-weight: bold;
|
|
|
|
font-size: 1.15em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-description {
|
|
|
|
margin: 0.3em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-destination {
|
|
|
|
@include ellipsis;
|
2019-10-23 09:15:57 +00:00
|
|
|
color: var(--grey);
|
2019-09-13 08:44:21 +00:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-content-container {
|
|
|
|
color: unset;
|
|
|
|
overflow: auto;
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-image-container {
|
|
|
|
width: 98px;
|
|
|
|
flex-shrink: 0;
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
&:before {
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
padding-top: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-image {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
2019-10-23 09:15:57 +00:00
|
|
|
background-color: var(--fg_color);
|
2019-09-13 08:44:21 +00:00
|
|
|
|
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: block;
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-overlay {
|
|
|
|
@include play-button;
|
|
|
|
opacity: 0.8;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.large {
|
|
|
|
.card-container {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-image-container {
|
|
|
|
width: unset;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-image {
|
|
|
|
position: unset;
|
|
|
|
border-style: solid;
|
2019-10-23 09:15:57 +00:00
|
|
|
border-color: var(--dark_grey);
|
2019-09-13 08:44:21 +00:00
|
|
|
border-width: 0;
|
|
|
|
border-bottom-width: 1px;
|
|
|
|
}
|
|
|
|
}
|