mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 16:18:42 -05:00
58 lines
841 B
SCSS
58 lines
841 B
SCSS
|
@import "foundation/variables";
|
||
|
@import "foundation/mixins";
|
||
|
|
||
|
.lightbox {
|
||
|
display: inline-block;
|
||
|
position: relative;
|
||
|
background: black;
|
||
|
|
||
|
img {
|
||
|
opacity: 1;
|
||
|
@include transition(opacity .2s);
|
||
|
}
|
||
|
|
||
|
span {
|
||
|
color: white;
|
||
|
position: absolute;
|
||
|
display: none;
|
||
|
font-size: 18px;
|
||
|
|
||
|
&.filename {
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
&:before {
|
||
|
font-family: "FontAwesome";
|
||
|
content: "\F03E";
|
||
|
margin-right: 5px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&.informations {
|
||
|
color: $dark_gray;
|
||
|
top: 20px;
|
||
|
left: 0;
|
||
|
font-size: 14px;
|
||
|
}
|
||
|
|
||
|
&.expand {
|
||
|
top: 0;
|
||
|
right: 0;
|
||
|
&:before {
|
||
|
font-family: "FontAwesome";
|
||
|
content: "\F065";
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@include hover {
|
||
|
img {
|
||
|
opacity: .2;
|
||
|
}
|
||
|
|
||
|
span {
|
||
|
display: inline;
|
||
|
margin: 10px;
|
||
|
}
|
||
|
}
|
||
|
}
|