134 lines
2.2 KiB
SCSS
134 lines
2.2 KiB
SCSS
.asset-main {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.asset-document {
|
|
max-width: 1000px;
|
|
padding: $thin-padding;
|
|
height: fit-content;
|
|
box-sizing: border-box;
|
|
}
|
|
.asset-display {
|
|
height: fit-content;
|
|
width: fit-content;
|
|
}
|
|
|
|
.asset-title {
|
|
max-width: 1000px;
|
|
padding-bottom: $thin-padding;
|
|
text-align: center;
|
|
}
|
|
|
|
.asset-image, .asset-video {
|
|
max-height: 75vh;
|
|
max-width: 85vw;
|
|
object-fit: contain;
|
|
object-position: center;
|
|
background: black;
|
|
}
|
|
|
|
/*below must die if this is intended to be shareable component! it also probably doesn't need to be*/
|
|
|
|
.visible-content {
|
|
margin: 0;
|
|
padding-bottom: 30px;
|
|
position: relative;
|
|
width: 100%;
|
|
|
|
&.closed {
|
|
box-shadow: none;
|
|
|
|
&:after {
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
|
|
&:after {
|
|
box-shadow: 0px 2px 3px 2px $shadow-color;
|
|
content: '';
|
|
height: 0;
|
|
position: absolute;
|
|
top: 100%;
|
|
width: 100%;
|
|
z-index: 100;
|
|
}
|
|
}
|
|
|
|
|
|
.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);
|
|
}
|
|
}
|
|
}
|
|
|
|
.asset-info {
|
|
$asset-info-width: 1000px;
|
|
max-width: $asset-info-width;
|
|
margin: $primary-padding;
|
|
width: 100%;
|
|
|
|
@media (min-width: $break-point-tablet) {
|
|
padding: $primary-padding;
|
|
}
|
|
@media (max-width: $break-point-tablet) {
|
|
padding: $tertiary-padding;
|
|
}
|
|
|
|
@media (max-width: $break-point-mobile) {
|
|
margin: $tertiary-padding;
|
|
}
|
|
}
|
|
|
|
.asset-footer {
|
|
border-top: $subtle-border;
|
|
padding-top: $primary-padding;
|
|
margin-top: $primary-padding;
|
|
color: $grey;
|
|
text-align: center;
|
|
}
|