signal-desktop/stylesheets/_lightbox.scss

58 lines
906 B
SCSS
Raw Normal View History

2018-04-15 03:27:03 +00:00
.lightboxContainer {
display: none;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: $z-index-modal;
2016-07-12 23:44:45 +00:00
}
2018-04-15 04:27:30 +00:00
.iconButton {
2018-04-15 04:57:12 +00:00
// NOTE: Cannot move these to inline styles as hover breaks due to precedence:
2018-04-15 04:27:30 +00:00
background: transparent;
width: 50px;
height: 50px;
margin-bottom: 10px;
display: inline-block;
cursor: pointer;
border-radius: 50%;
padding: 3px;
&:before {
content: '';
display: block;
width: 100%;
height: 100%;
}
&:hover {
background: $grey;
}
&.save {
&:before {
@include color-svg('../images/save.svg', white);
}
}
&.close {
&:before {
@include color-svg('../images/x.svg', white);
}
}
2018-04-15 05:19:46 +00:00
&.previous {
&:before {
@include color-svg('../images/back.svg', white);
}
}
&.next {
&:before {
@include color-svg('../images/forward.svg', white);
}
}
2018-04-15 04:27:30 +00:00
}