2018-04-24 12:06:43 -04:00
|
|
|
|
.lightbox-container {
|
2018-04-14 23:27:03 -04:00
|
|
|
|
display: none;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
2018-07-09 14:29:13 -07:00
|
|
|
|
z-index: 100;
|
2016-07-12 16:44:45 -07:00
|
|
|
|
}
|
2018-04-15 00:27:30 -04:00
|
|
|
|
|
|
|
|
|
.iconButton {
|
2019-11-07 13:36:16 -08:00
|
|
|
|
@include button-reset;
|
|
|
|
|
|
2018-04-24 12:41:20 -04:00
|
|
|
|
// NOTE: Cannot move these to inline styles as hover breaks due to precedence.
|
|
|
|
|
// We use vanilla CSS-in-JS which outputs inline styles. The `:hover`
|
|
|
|
|
// pseudo-class cannot be expressed using vanilla CSS-in-JS, so we define it
|
|
|
|
|
// here. If we move the other properties to JS, they have higher precedence
|
|
|
|
|
// as they are inline and the `:hover` `background` change won’t override the
|
|
|
|
|
// base `background` definition. Revisit this as we adopt a more sophisticated
|
|
|
|
|
// style system in the future:
|
2018-04-15 00:27:30 -04:00
|
|
|
|
background: transparent;
|
|
|
|
|
width: 50px;
|
|
|
|
|
height: 50px;
|
|
|
|
|
|
|
|
|
|
display: inline-block;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
padding: 3px;
|
|
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
|
content: '';
|
|
|
|
|
display: block;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
2019-11-07 13:36:16 -08:00
|
|
|
|
&:hover,
|
|
|
|
|
&:focus {
|
2019-10-04 11:06:17 -07:00
|
|
|
|
background: $color-gray-60;
|
2018-04-15 00:27:30 -04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.save {
|
|
|
|
|
&:before {
|
2019-10-04 11:06:17 -07:00
|
|
|
|
@include color-svg(
|
|
|
|
|
'../images/icons/v2/save-outline-24.svg',
|
|
|
|
|
$color-white
|
|
|
|
|
);
|
2018-04-15 00:27:30 -04:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.close {
|
|
|
|
|
&:before {
|
2019-10-04 11:06:17 -07:00
|
|
|
|
@include color-svg('../images/icons/v2/x-24.svg', $color-white);
|
2018-04-15 00:27:30 -04:00
|
|
|
|
}
|
|
|
|
|
}
|
2018-04-15 01:19:46 -04:00
|
|
|
|
|
|
|
|
|
&.previous {
|
|
|
|
|
&:before {
|
2019-10-04 11:06:17 -07:00
|
|
|
|
@include color-svg(
|
|
|
|
|
'../images/icons/v2/chevron-left-24.svg',
|
|
|
|
|
$color-white
|
|
|
|
|
);
|
2018-04-15 01:19:46 -04:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.next {
|
|
|
|
|
&:before {
|
2019-10-04 11:06:17 -07:00
|
|
|
|
@include color-svg(
|
|
|
|
|
'../images/icons/v2/chevron-right-24.svg',
|
|
|
|
|
$color-white
|
|
|
|
|
);
|
2018-04-15 01:19:46 -04:00
|
|
|
|
}
|
|
|
|
|
}
|
2018-04-15 00:27:30 -04:00
|
|
|
|
}
|