I put a vignetting effect on my photo posts whenever you hover on them, but when I hover on the buttons on top of the photos, the vignette is gone. How do I make this work?
Here's the vignetting code I'm using:
.shadow {
    position:relative;
    display:block;
    -webkit-transition:all.5s linear;
}
.shadow img {
    display:block;
    -webkit-transition:all.5s linear;
}
.shadow::before {
    -webkit-box-shadow:inset 0 0 0px #000;
    -moz-box-shadow:inset 0 0 0px #000;
    box-shadow:inset 0 0 0px #000;
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    content:"";
    -webkit-transition:all.5s ease-out;
    -moz-transition:all.5s ease-out;
    transition:all.5s ease-out;
}
.shadow:hover::before {
    -webkit-box-shadow:inset 0 0 250px #000;
    -moz-box-shadow:inset 0 0 250px #000;
    box-shadow:inset 0 0 250px #000;
    -webkit-transition:all.8s ease-in;
    -moz-transition:all.8s ease-in;
    transition:all.8s ease-in;
}
And here is my Fiddle
Please help.
 
     
     
     
     
     
    