2018-06-09 02:23:11 +02:00
|
|
|
.asset-display {
|
2018-07-09 06:12:56 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2018-10-25 21:23:05 +02:00
|
|
|
flex: 1 0 auto;
|
2018-07-20 18:58:18 +02:00
|
|
|
justify-content: center;
|
2018-10-11 21:51:34 +02:00
|
|
|
position: relative;
|
2018-10-25 21:23:05 +02:00
|
|
|
width: 100%;
|
2018-11-09 01:44:59 +01:00
|
|
|
$height-delta: 43 / 16 + ($primary-padding * 2); //fix 43!!! nav height
|
|
|
|
//max-height: calc(100vh - #{$height-delta});
|
|
|
|
height: calc(100vh - #{$height-delta});
|
|
|
|
overflow: hidden;
|
2018-06-09 02:23:11 +02:00
|
|
|
}
|
|
|
|
|
2018-10-21 23:24:34 +02:00
|
|
|
.asset-title {
|
|
|
|
color: #2E2F31;
|
2018-11-09 01:44:59 +01:00
|
|
|
font-size: $text-x-large;
|
2018-10-25 21:23:05 +02:00
|
|
|
font-weight: normal;
|
2018-10-21 23:24:34 +02:00
|
|
|
letter-spacing: 0;
|
2018-11-09 01:44:59 +01:00
|
|
|
margin-top: $primary-padding;
|
2018-10-25 21:23:05 +02:00
|
|
|
text-align: center;
|
2018-10-22 22:36:37 +02:00
|
|
|
|
|
|
|
@media (max-width: $break-point-tablet) {
|
2018-11-09 01:44:59 +01:00
|
|
|
padding: 0 $tertiary-padding;
|
2018-10-22 22:36:37 +02:00
|
|
|
}
|
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-09 01:44:59 +01:00
|
|
|
.asset-info {
|
|
|
|
$asset-info-width: 1000px;
|
|
|
|
max-width: $asset-info-width;
|
2018-10-25 20:57:54 +02:00
|
|
|
|
2018-11-09 01:44:59 +01:00
|
|
|
@media (max-width: $asset-info-width) {
|
2018-10-22 22:26:19 +02:00
|
|
|
margin: 0px auto;
|
2018-10-25 21:23:05 +02:00
|
|
|
max-width: 100%;
|
2018-10-22 22:26:19 +02:00
|
|
|
width: calc(100% - 80px);
|
|
|
|
}
|
|
|
|
|
2018-11-09 01:44:59 +01:00
|
|
|
@media (max-width: $break-point-tablet) {
|
2018-10-22 22:26:19 +02:00
|
|
|
width: calc(100% - 30px);
|
|
|
|
}
|
2018-10-14 20:42:47 +02:00
|
|
|
|
|
|
|
.horizontal-split {
|
|
|
|
justify-content: center;
|
2018-10-25 20:57:54 +02:00
|
|
|
|
2018-10-14 20:42:47 +02:00
|
|
|
.column {
|
2018-11-09 01:44:59 +01:00
|
|
|
padding-top: $primary-padding;
|
|
|
|
padding-bottom: $primary-padding;
|
|
|
|
|
|
|
|
.row-labeled
|
|
|
|
{
|
|
|
|
margin-bottom: $secondary-padding;
|
|
|
|
&:last-child { margin-bottom: 0; }
|
|
|
|
}
|
2018-10-25 20:57:54 +02:00
|
|
|
|
2018-10-14 20:42:47 +02:00
|
|
|
&:first-child {
|
2018-11-09 01:44:59 +01:00
|
|
|
border-right: 1px solid $grey-border;
|
2018-10-25 21:23:05 +02:00
|
|
|
margin-right: -1px;
|
|
|
|
padding-right: 40px;
|
2018-10-25 20:57:54 +02:00
|
|
|
|
2018-10-22 22:26:19 +02:00
|
|
|
@media (max-width: $break-point-tablet) {
|
2018-10-22 21:51:27 +02:00
|
|
|
border: none;
|
|
|
|
margin: 0;
|
2018-10-25 21:23:05 +02:00
|
|
|
order: 2;
|
|
|
|
padding: 0;
|
2018-10-22 21:51:27 +02:00
|
|
|
}
|
2018-10-14 20:42:47 +02:00
|
|
|
}
|
2018-10-25 20:57:54 +02:00
|
|
|
|
2018-10-14 20:42:47 +02:00
|
|
|
&:last-child {
|
2018-11-09 01:44:59 +01:00
|
|
|
border-left: 1px solid $grey-border;
|
2018-10-25 21:23:05 +02:00
|
|
|
padding-left: 60px;
|
2018-10-25 20:57:54 +02:00
|
|
|
|
2018-10-22 22:26:19 +02:00
|
|
|
@media (max-width: $break-point-tablet) {
|
2018-10-22 21:51:27 +02:00
|
|
|
border: none;
|
|
|
|
margin: 0;
|
2018-10-25 21:23:05 +02:00
|
|
|
padding: 40px 0 0 0;
|
2018-10-22 21:51:27 +02:00
|
|
|
}
|
2018-10-14 20:42:47 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-10-08 21:51:09 +02:00
|
|
|
p.asset-description {
|
|
|
|
color: #2E2F31;
|
2018-10-25 21:23:05 +02:00
|
|
|
font-size: 14px;
|
2018-10-08 21:51:09 +02:00
|
|
|
letter-spacing: 0;
|
|
|
|
line-height: 18px;
|
2018-10-22 00:09:02 +02:00
|
|
|
padding-bottom: 80px;
|
2018-10-25 21:23:05 +02:00
|
|
|
white-space: pre-line;
|
|
|
|
width: 360px;
|
2018-10-25 20:57:54 +02:00
|
|
|
|
2018-10-22 22:26:19 +02:00
|
|
|
@media (max-width: $break-point-tablet) {
|
2018-10-25 21:23:05 +02:00
|
|
|
margin: 22px 0 60px;
|
|
|
|
max-width: 600px;
|
2018-10-22 23:25:55 +02:00
|
|
|
padding: 0;
|
2018-10-22 21:51:27 +02:00
|
|
|
width: 100%;
|
2018-10-22 00:09:02 +02:00
|
|
|
}
|
2018-10-08 21:51:09 +02:00
|
|
|
}
|
2018-10-25 20:59:08 +02:00
|
|
|
|
2018-10-08 21:51:09 +02:00
|
|
|
.asset-information {
|
2018-10-21 23:38:27 +02:00
|
|
|
width: 320px;
|
2018-10-25 20:57:54 +02:00
|
|
|
|
2018-10-22 22:26:19 +02:00
|
|
|
@media (max-width: $break-point-tablet) {
|
2018-11-09 01:44:59 +01:00
|
|
|
border-bottom: 1px solid $grey-border;
|
2018-10-22 22:26:19 +02:00
|
|
|
min-width: 100%;
|
2018-10-22 23:25:55 +02:00
|
|
|
padding-bottom: 30px;
|
2018-10-25 21:23:05 +02:00
|
|
|
width: 100%;
|
2018-10-22 21:51:27 +02:00
|
|
|
}
|
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;
|
|
|
|
padding: $tertiary-padding $primary-padding;
|
|
|
|
color: $grey;
|
2018-10-08 21:51:09 +02:00
|
|
|
}
|