.lightbox .meta, .lightbox:hover .meta { opacity: 0.7; transition: none; } .meta { display: flex; align-items: center; justify-content: center; background: $secondary; color: $primary-high; height: 25px; width: 25px; bottom: 0; right: 0; .filename, .informations { display: none; } .expand { position: initial; float: none; height: 16px; &:before { // ideally, the SVG used here should be in HTML and reference the SVG sprite // the SVG used here is the "expand" icon from FontAwesome 4.7.0 content: svg-uri( '' ); opacity: inherit; } } }