mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-29 18:46:23 -05:00
58 lines
951 B
SCSS
58 lines
951 B
SCSS
@import "foundation/variables";
|
|
@import "foundation/mixins";
|
|
|
|
.lightbox {
|
|
position: relative;
|
|
display: inline-block;
|
|
|
|
&:hover .meta {
|
|
background: rgba(0, 0, 0, .5);
|
|
opacity: 1;
|
|
@include transition(opacity .5s);
|
|
}
|
|
}
|
|
|
|
.meta {
|
|
position: absolute;
|
|
bottom: 0;
|
|
width: 100%;
|
|
color: white;
|
|
background: black;
|
|
opacity: 0;
|
|
@include transition(opacity .2s);
|
|
|
|
span {
|
|
float: left;
|
|
}
|
|
|
|
.filename {
|
|
margin: 5px;
|
|
&:before {
|
|
font-family: "FontAwesome";
|
|
content: "\F03E";
|
|
margin-right: 5px;
|
|
}
|
|
}
|
|
|
|
.informations {
|
|
margin: 6px;
|
|
padding-right: 20px;
|
|
color: $dark_gray;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.expand {
|
|
position: absolute;
|
|
bottom: 4px;
|
|
right: 7px;
|
|
&:before {
|
|
font-family: "FontAwesome";
|
|
content: "\F065";
|
|
}
|
|
}
|
|
}
|
|
|
|
// this should be removed once all the posts have been rebaked with the new lightboxes overlays
|
|
.lightbox > span {
|
|
display: none;
|
|
}
|