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