spee.ch/client/scss/asset-display/_asset-display.scss

168 lines
No EOL
3.1 KiB
SCSS

.asset-display {
display: flex;
flex: 1 0 auto;
flex-direction: column;
justify-content: center;
background: #F6F6F6;
width: 100%;
position: relative;
&:after {
content: '';
position: absolute;
box-shadow: inset 0 1px 2px 2px rgba(169, 173, 186, 0.2);
width: 100%;
height: 1px;
background: transparent;
left: 0;
top: auto;
bottom: 0;
}
}
.asset-title {
margin-top: 40px;
font-weight: normal;
font-size: 26px;
color: #2E2F31;
letter-spacing: 0;
text-align: center;
line-height: 32px;
@media (max-width: $break-point-tablet) {
padding: 0 20px;
}
}
.asset-image, .asset-video {
margin: 60px auto;
max-width: 60vh;
max-height: 100%;
object-fit: contain;
object-position: center;
@media (max-width: $break-point-small) {
max-width: calc(100% - 30px);
}
}
.asset-video {
border: 1px solid #d0d0d0;
margin: 16px;
padding: 6px;
}
.visible-content {
width: 100%;
margin: 0;
padding-bottom: 30px;
position: relative;
&.closed {
box-shadow: none;
&:after {
box-shadow: none;
}
}
&:before{
content: '';
width: 100%;
height: 100px;
position: absolute;
z-index: 100;
box-shadow: inset 2px 3px 3px 2px rgba(169, 173, 186, 0.2);
}
&:after {
content: '';
width: 100%;
height: 0;
top: 100%;
position: absolute;
z-index: 100;
box-shadow: 0px 2px 3px 2px rgba(169, 173, 186, 0.2);
}
}
.asset-information-wrap {
max-width: 800px;
@media (max-width: $break-point-tablet) {
max-width: 100%;
margin: 0px auto;
width: calc(100% - 80px);
}
@media (max-width: $break-point-phone) {
width: calc(100% - 30px);
}
.horizontal-split {
justify-content: center;
.column {
padding-top: 40px;
&:first-child {
padding-right: 40px;
margin-right: -1px;
border-right: 1px solid $grey-alt;
@media (max-width: $break-point-tablet) {
order: 2;
border: none;
padding: 0;
margin: 0;
}
}
&:last-child {
padding-left: 60px;
border-left: 1px solid $grey-alt;
@media (max-width: $break-point-tablet) {
border: none;
padding: 40px 0 0 0;
margin: 0;
}
}
}
}
p.asset-description {
white-space: pre-line;
font-size: 14px;
color: #2E2F31;
letter-spacing: 0;
line-height: 18px;
width: 360px;
padding-bottom: 80px;
@media (max-width: $break-point-tablet) {
padding: 0;
width: 100%;
max-width: 600px;
margin: 22px 0 60px;
}
}
.asset-information {
width: 320px;
@media (max-width: $break-point-tablet) {
min-width: 100%;
width: 100%;
padding-bottom: 30px;
border-bottom: 1px solid $grey-alt;
}
}
}
.asset-footer {
padding-top: 30px;
border-top: 1px solid $grey-alt;
padding-bottom: 80px;
@media (max-width: $break-point-tablet) {
padding-top: 22px;
padding-bottom: 0;
}
.claim-address {
.link--brand {
font-size: 14px;
font-weight: 300;
line-height: 18px;
}
}
}