FIX: Lightboxes in dark theme

This commit is contained in:
Kane York 2015-08-18 14:09:20 -07:00
parent cf559893b8
commit 0282d89b29
1 changed files with 3 additions and 4 deletions

View File

@ -3,7 +3,6 @@
display: inline-block; display: inline-block;
&:hover .meta { &:hover .meta {
background: $primary;
opacity: 1; opacity: 1;
transition: opacity .5s; transition: opacity .5s;
} }
@ -18,8 +17,8 @@
position: absolute; position: absolute;
bottom: 0; bottom: 0;
width: 100%; width: 100%;
color: $secondary; color: dark-light-choose($secondary, $primary);
background: $primary; background: dark-light-choose($primary, lighten($secondary, 10%));
opacity: 0; opacity: 0;
transition: opacity .2s; transition: opacity .2s;
@ -39,7 +38,7 @@
.informations { .informations {
margin: 6px; margin: 6px;
padding-right: 20px; padding-right: 20px;
color: scale-color($primary, $lightness: 50%); color: dark-light-diff($primary, $secondary, 50%, -50%);
font-size: 1em; font-size: 1em;
} }