spee.ch/client/scss/asset-display/_asset-display.scss
2018-10-26 18:19:55 +01:00

184 lines
No EOL
3.1 KiB
SCSS

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