Sha256: fdd1ad348d2aa0f8311a570636622a58f430800e68ec5489bbfc951f7f7547b4

Contents?: true

Size: 1.86 KB

Versions: 40

Compression:

Stored size: 1.86 KB

Contents

/*------------------------------------
  Effect v4
------------------------------------*/
@import "icon-hover-extend";

.u-icon-effect-v4--hover {
  transition: transform ease-out .1s, background .2s;
  overflow: inherit;
}

.u-icon-effect-v4--hover::after {
  @extend %u-icon-hover-effect-after;
  top: 0;
  left: 0;
  padding: 0;
  box-shadow: 0 0 0 2px rgba(0,0,0, .1);
  opacity: 0;
  z-index: -1;
  transform: scale(.9);
}

.u-icon-effect-v4--hover:hover,
.u-icon-block--hover:hover .u-icon-effect-v4--hover {
  transform: scale(1.1);
}

.u-icon-rotation.u-icon-effect-v4--hover:hover,
.u-icon-block--hover:hover .u-icon-rotation.u-icon-effect-v4--hover {
  transform: scale(1.1) rotate(45deg);
}

.u-icon-effect-v4--hover:hover::after {
  animation: sonarEffect-default 1.3s ease-out 75ms;
}

.u-icon-effect-v4--hover.g-bg-primary:hover::after,
.u-icon-v2.u-icon-effect-v4--hover.g-color-primary:hover::after,
.u-icon-block--hover:hover .u-icon-effect-v4--hover.g-bg-primary::after,
.u-icon-block--hover:hover .u-icon-v2.u-icon-effect-v4--hover.g-color-primary::after {
  animation: sonarEffect-primary 1.3s ease-out 75ms;
}

@keyframes sonarEffect-default {
  0% {
    opacity: .3;
  }
  40% {
    opacity: .5;
    box-shadow: 0 0 0 2px rgba(255,255,255, .1), 0 0 10px 10px $g-color-gray-light-v3, 0 0 0 10px rgba(255,255,255, .5);
  }
  100% {
    box-shadow: 0 0 0 2px rgba(255,255,255, .1), 0 0 10px 10px $g-color-gray-light-v3, 0 0 0 10px rgba(255,255,255, .5);
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes sonarEffect-primary {
  0% {
    opacity: .3;
  }
  40% {
    opacity: .5;
    box-shadow: 0 0 0 2px rgba(255,255,255, .1), 0 0 10px 10px $g-color-primary, 0 0 0 10px rgba(255,255,255, .5);
  }
  100% {
    box-shadow: 0 0 0 2px rgba(255,255,255, .1), 0 0 10px 10px $g-color-primary, 0 0 0 10px rgba(255,255,255, .5);
    transform: scale(1.5);
    opacity: 0;
  }
}

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
jekyll-theme-glueckkanja-1.2.29 _sass/unify/base/icons/_icon-hover-effect-4.scss
jekyll-theme-glueckkanja-1.2.28 _sass/unify/base/icons/_icon-hover-effect-4.scss
jekyll-theme-glueckkanja-1.2.27 _sass/unify/base/icons/_icon-hover-effect-4.scss
jekyll-theme-glueckkanja-1.2.26 _sass/unify/base/icons/_icon-hover-effect-4.scss
jekyll-theme-glueckkanja-1.2.25 _sass/unify/base/icons/_icon-hover-effect-4.scss
jekyll-theme-glueckkanja-1.2.24 _sass/unify/base/icons/_icon-hover-effect-4.scss
jekyll-theme-glueckkanja-1.2.23 _sass/unify/base/icons/_icon-hover-effect-4.scss
jekyll-theme-glueckkanja-1.2.22 _sass/unify/base/icons/_icon-hover-effect-4.scss
jekyll-theme-glueckkanja-1.2.21 _sass/unify/base/icons/_icon-hover-effect-4.scss
jekyll-theme-glueckkanja-1.2.20 _sass/unify/base/icons/_icon-hover-effect-4.scss
jekyll-theme-glueckkanja-1.2.19 _sass/unify/base/icons/_icon-hover-effect-4.scss
jekyll-theme-glueckkanja-1.2.18 _sass/unify/base/icons/_icon-hover-effect-4.scss
jekyll-theme-glueckkanja-1.2.17 _sass/unify/base/icons/_icon-hover-effect-4.scss
jekyll-theme-glueckkanja-1.2.16 _sass/unify/base/icons/_icon-hover-effect-4.scss
jekyll-theme-glueckkanja-1.2.15 _sass/unify/base/icons/_icon-hover-effect-4.scss
jekyll-theme-glueckkanja-1.2.14 _sass/unify/base/icons/_icon-hover-effect-4.scss
jekyll-theme-glueckkanja-1.2.13 _sass/unify/base/icons/_icon-hover-effect-4.scss
jekyll-theme-glueckkanja-1.2.12 _sass/unify/base/icons/_icon-hover-effect-4.scss
jekyll-theme-glueckkanja-1.2.11 _sass/unify/base/icons/_icon-hover-effect-4.scss
jekyll-theme-glueckkanja-1.2.10 _sass/unify/base/icons/_icon-hover-effect-4.scss