2018-11-10 20:59:53 +01:00
|
|
|
.asset-main {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2019-01-26 01:37:07 +01:00
|
|
|
.asset-document {
|
2019-02-09 05:45:18 +01:00
|
|
|
max-width: 1000px;
|
2019-01-26 01:37:07 +01:00
|
|
|
padding: $thin-padding;
|
|
|
|
height: fit-content;
|
2019-02-04 06:50:31 +01:00
|
|
|
box-sizing: border-box;
|
2019-01-26 01:37:07 +01:00
|
|
|
}
|
2018-06-09 02:23:11 +02:00
|
|
|
.asset-display {
|
2019-01-26 01:37:07 +01:00
|
|
|
height: fit-content;
|
|
|
|
width: fit-content;
|
2018-06-09 02:23:11 +02:00
|
|
|
}
|
|
|
|
|
2018-10-21 23:24:34 +02:00
|
|
|
.asset-title {
|
2019-02-09 05:45:18 +01:00
|
|
|
max-width: 1000px;
|
2018-11-10 20:59:53 +01:00
|
|
|
padding-bottom: $thin-padding;
|
|
|
|
text-align: center;
|
2018-10-21 23:24:34 +02:00
|
|
|
}
|
2018-10-07 18:38:49 +02:00
|
|
|
|
2018-06-09 02:23:11 +02:00
|
|
|
.asset-image, .asset-video {
|
2019-02-09 05:45:18 +01:00
|
|
|
max-height: 75vh;
|
|
|
|
max-width: 85vw;
|
2018-07-19 23:10:34 +02:00
|
|
|
object-fit: contain;
|
|
|
|
object-position: center;
|
2019-02-09 05:45:18 +01:00
|
|
|
background: black;
|
2018-06-09 02:23:11 +02:00
|
|
|
}
|
2018-10-25 21:23:05 +02:00
|
|
|
|
2018-11-09 01:44:59 +01:00
|
|
|
/*below must die if this is intended to be shareable component! it also probably doesn't need to be*/
|
2018-10-04 22:05:34 +02:00
|
|
|
|
2018-10-11 21:51:34 +02:00
|
|
|
.visible-content {
|
2018-10-22 00:09:02 +02:00
|
|
|
margin: 0;
|
2018-10-22 00:13:37 +02:00
|
|
|
padding-bottom: 30px;
|
2018-10-23 23:01:28 +02:00
|
|
|
position: relative;
|
2018-10-25 21:23:05 +02:00
|
|
|
width: 100%;
|
2018-10-25 20:57:54 +02:00
|
|
|
|
2018-10-14 20:42:47 +02:00
|
|
|
&.closed {
|
|
|
|
box-shadow: none;
|
2018-10-25 20:57:54 +02:00
|
|
|
|
2018-10-23 23:01:28 +02:00
|
|
|
&:after {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2018-10-14 20:42:47 +02:00
|
|
|
}
|
2018-10-25 20:57:54 +02:00
|
|
|
|
2018-10-23 23:01:28 +02:00
|
|
|
&:after {
|
2018-10-25 21:23:05 +02:00
|
|
|
box-shadow: 0px 2px 3px 2px $shadow-color;
|
2018-10-23 23:01:28 +02:00
|
|
|
content: '';
|
|
|
|
height: 0;
|
|
|
|
position: absolute;
|
2018-10-25 21:23:05 +02:00
|
|
|
top: 100%;
|
|
|
|
width: 100%;
|
2018-10-23 23:01:28 +02:00
|
|
|
z-index: 100;
|
|
|
|
}
|
2018-10-11 21:51:34 +02:00
|
|
|
}
|
2018-10-08 21:51:09 +02:00
|
|
|
|
2018-11-10 20:59:53 +01:00
|
|
|
|
2018-11-09 19:55:53 +01:00
|
|
|
.vertical-split, .visible-content {
|
|
|
|
flex : 1 0 auto;
|
|
|
|
display : flex;
|
|
|
|
flex-direction : column;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items : center;
|
|
|
|
};
|
|
|
|
|
|
|
|
.collapse-content {
|
|
|
|
flex-grow: 0;
|
|
|
|
@media (max-width: $break-point-tablet) {
|
|
|
|
max-width: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.collapse-content.closed{
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.collapse-button {
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
display: block;
|
|
|
|
margin: 15px auto 0;
|
|
|
|
width: 25px;
|
|
|
|
height: 25px;
|
|
|
|
text-align: center;
|
|
|
|
padding: 0px;
|
|
|
|
|
|
|
|
@media (max-width: $break-point-tablet) {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
|
|
|
stroke: $primary-color;
|
|
|
|
&.plus-icon {
|
|
|
|
transform: rotate(0);
|
|
|
|
transition: all 0.4s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.plus-icon {
|
|
|
|
transform: rotate(-180deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-11-09 01:44:59 +01:00
|
|
|
.asset-info {
|
|
|
|
$asset-info-width: 1000px;
|
|
|
|
max-width: $asset-info-width;
|
2018-11-10 20:59:53 +01:00
|
|
|
margin: $primary-padding;
|
2019-01-26 01:37:07 +01:00
|
|
|
width: 100%;
|
2018-10-22 22:26:19 +02:00
|
|
|
|
2019-02-09 05:45:18 +01:00
|
|
|
@media (min-width: $break-point-tablet) {
|
|
|
|
padding: $primary-padding;
|
|
|
|
}
|
2018-11-09 01:44:59 +01:00
|
|
|
@media (max-width: $break-point-tablet) {
|
2019-02-09 05:45:18 +01:00
|
|
|
padding: $tertiary-padding;
|
2018-10-14 20:42:47 +02:00
|
|
|
}
|
|
|
|
|
2018-11-10 20:59:53 +01:00
|
|
|
@media (max-width: $break-point-mobile) {
|
2019-02-09 05:45:18 +01:00
|
|
|
margin: $tertiary-padding;
|
2018-10-08 21:51:09 +02:00
|
|
|
}
|
2018-10-21 23:24:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.asset-footer {
|
2019-01-26 01:37:07 +01:00
|
|
|
border-top: $subtle-border;
|
2018-11-10 20:59:53 +01:00
|
|
|
padding-top: $primary-padding;
|
|
|
|
margin-top: $primary-padding;
|
2018-11-09 01:44:59 +01:00
|
|
|
color: $grey;
|
2019-02-09 05:45:18 +01:00
|
|
|
text-align: center;
|
2018-11-10 20:59:53 +01:00
|
|
|
}
|