spee.ch/client/scss/asset-display/_asset-display.scss
2018-10-21 20:59:43 +01:00

95 lines
No EOL
1.5 KiB
SCSS

.asset-display {
display: flex;
flex: 1 0 auto;
flex-direction: column;
justify-content: center;
background: #F6F6F6;
width: 100%;
position: relative;
&:before,
&: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: 0;
}
&:after {
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;
}
.asset-image, .asset-video {
margin : 60px 0;
max-width: 100%;
max-height: 100%;
object-fit: contain;
object-position: center;
}
.asset-video {
border: 1px solid #d0d0d0;
margin: 16px;
padding: 6px;
}
// .vertical-split .asset-display {
// height: 90vh;
// }
.visible-content {
width: 100%;
margin: 0 0 40px;
padding-bottom: 25px;
box-shadow: 0 1px 3px 2px rgba(169, 173, 186, 0.2);
&.closed {
box-shadow: none;
}
}
.asset-information-wrap {
max-width: 800px;
.horizontal-split {
justify-content: center;
.column {
&:first-child {
padding-right: 40px;
}
&:last-child {
padding-left: 40px;
border-left: 1px solid #9095a54d;
}
}
}
p.asset-description {
white-space: pre-line;
font-size: 14px;
color: #2E2F31;
letter-spacing: 0;
line-height: 18px;
width: 360px;
}
.asset-information {
width: 341px;
}
}