Sha256: fe43f3d0545a4dc680d40fcc23ad1094120edee0b40dc64a34a6cb899c6e8514

Contents?: true

Size: 899 Bytes

Versions: 6

Compression:

Stored size: 899 Bytes

Contents

/*! UIkit 2.20.3 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
/* ========================================================================
   Component: Sticky
 ========================================================================== */
/*
 * 1. More robust if padding and border are used
 */

[data-uk-sticky].uk-active {
  z-index: 980;
  /* 1 */
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/*
 * 1. Resolve frame-rate issues on devices with lower frame-rates. Forces hardware acceleration
 */

.uk-sticky-placeholder > * {
  /* 1 */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/*
 * Faster animations
 */

[data-uk-sticky] {
  &[class*='uk-animation-'] {
    -webkit-animation-duration: 0.15s;
    animation-duration: 0.15s;
  }
  &.uk-animation-reverse {
    -webkit-animation-duration: 0.04s;
    animation-duration: 0.04s;
  }
}

Version data entries

6 entries across 2 versions & 1 rubygems

Version Path
uikit-sass-rails-1.4.1 vendor/assets/stylesheets/uikit/components/sticky.almost-flat.scss
uikit-sass-rails-1.4.1 vendor/assets/stylesheets/uikit/components/sticky.gradient.scss
uikit-sass-rails-1.4.1 vendor/assets/stylesheets/uikit/components/sticky.scss
uikit-sass-rails-1.4.0 vendor/assets/stylesheets/uikit/components/sticky.almost-flat.scss
uikit-sass-rails-1.4.0 vendor/assets/stylesheets/uikit/components/sticky.gradient.scss
uikit-sass-rails-1.4.0 vendor/assets/stylesheets/uikit/components/sticky.scss