hover state opacity
This commit is contained in:
parent
d96fc36ded
commit
3d60970e28
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<ul>
|
||||
<ul class="gallery-featured">
|
||||
<li v-for="(gallery, index) in galleries"
|
||||
class="featured-image"
|
||||
:style="{ 'height': featuredHeight,
|
||||
|
@ -47,6 +47,15 @@ export default {
|
|||
}
|
||||
|
||||
@media (min-width: $bp__layout) {
|
||||
.gallery-featured {
|
||||
transition: opacity .3s; // TEMP
|
||||
opacity: .3;
|
||||
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.featured-image {
|
||||
width: 100%;
|
||||
background-size: cover;
|
||||
|
|
|
@ -257,6 +257,13 @@ export default {
|
|||
flex: 0 0 $thumbs-height;
|
||||
|
||||
overflow: hidden;
|
||||
|
||||
transition: opacity .3s; // TEMP
|
||||
opacity: .3;
|
||||
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.gallery-thumbs__row-container {
|
||||
|
|
Loading…
Reference in New Issue