2018-11-10 20:59:53 +01:00
|
|
|
.asset-main {
|
2018-11-12 17:28:56 +01:00
|
|
|
height: 75vh;
|
2018-11-10 20:59:53 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2018-06-09 02:23:11 +02:00
|
|
|
.asset-display {
|
2018-07-09 06:12:56 +02:00
|
|
|
display: flex;
|
2018-11-12 17:28:56 +01:00
|
|
|
min-height: 50vh
|
2018-06-09 02:23:11 +02:00
|
|
|
}
|
|
|
|
|
2018-10-21 23:24:34 +02:00
|
|
|
.asset-title {
|
2018-11-10 20:59:53 +01:00
|
|
|
padding-bottom: $thin-padding;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
@media (min-width: $break-point-mobile) {
|
|
|
|
padding-top: $secondary-padding;
|
|
|
|
}
|
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 {
|
|
|
|
max-height: 100%;
|
2018-11-09 01:44:59 +01:00
|
|
|
max-width: 100%;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2018-07-19 23:10:34 +02:00
|
|
|
object-fit: contain;
|
|
|
|
object-position: center;
|
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;
|
|
|
|
max-width: 100%;
|
2018-10-22 22:26:19 +02:00
|
|
|
|
2018-11-09 01:44:59 +01:00
|
|
|
@media (max-width: $break-point-tablet) {
|
2018-11-10 20:59:53 +01:00
|
|
|
margin: $primary-padding $secondary-padding;
|
2018-10-14 20:42:47 +02:00
|
|
|
}
|
|
|
|
|
2018-11-10 20:59:53 +01:00
|
|
|
@media (max-width: $break-point-mobile) {
|
|
|
|
margin: $primary-padding 0;
|
2018-10-08 21:51:09 +02:00
|
|
|
}
|
2018-10-21 23:24:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.asset-footer {
|
2018-11-09 01:44:59 +01:00
|
|
|
border-top: 1px solid $grey-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;
|
2018-11-10 20:59:53 +01:00
|
|
|
}
|