2013-09-06 03:37:07 +08:00
|
|
|
@import "../common/foundation/variables";
|
|
|
|
@import "../common/foundation/mixins";
|
|
|
|
|
|
|
|
.lightbox {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
&:hover .meta {
|
|
|
|
background: rgba(0, 0, 0, .5);
|
|
|
|
opacity: 1;
|
|
|
|
@include transition(opacity .5s);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-12-12 23:57:56 +08:00
|
|
|
.lightbox-wrapper {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2013-09-06 03:37:07 +08:00
|
|
|
.meta {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
width: 100%;
|
2014-02-24 09:47:44 +08:00
|
|
|
color: $tertiary_text_color;
|
|
|
|
background: $secondary_background_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
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;
|
2014-02-24 09:47:44 +08:00
|
|
|
color: $secondary_text_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
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;
|
|
|
|
}
|