discourse/app/assets/stylesheets/common/base/lightbox.scss

62 lines
909 B
SCSS
Raw Normal View History

2013-09-05 15:37:07 -04:00
.lightbox {
position: relative;
display: inline-block;
&:hover .meta {
2018-08-28 15:25:54 -04:00
opacity: 0.9;
transition: opacity 0.5s;
2013-09-05 15:37:07 -04:00
}
}
.lightbox-wrapper {
display: inline-block;
&,
* {
outline: 0;
}
}
2013-09-05 15:37:07 -04:00
.meta {
position: absolute;
bottom: 0;
width: 100%;
2018-08-28 15:25:54 -04:00
color: $secondary;
background: $primary;
2013-09-05 15:37:07 -04:00
opacity: 0;
transition: opacity 0.2s;
2013-09-05 15:37:07 -04:00
span {
float: left;
}
.filename {
2018-08-28 15:25:54 -04:00
margin: 6px 6px 2px 6px;
max-width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
2013-09-05 15:37:07 -04:00
&:before {
font-family: "FontAwesome";
content: "\F03E";
margin-right: 5px;
}
}
.informations {
margin: 6px;
padding-right: 20px;
2018-08-28 15:25:54 -04:00
color: $secondary-high;
2018-01-12 17:27:38 -05:00
font-size: $font-0;
2013-09-05 15:37:07 -04:00
}
.expand {
position: absolute;
bottom: 4px;
right: 7px;
&:before {
font-family: "FontAwesome";
content: "\F065";
}
}
}