Sha256: 11c703573b4f90cef82344cf94a82cc6836b81a3f038a09850f5063378068e3d

Contents?: true

Size: 1.93 KB

Versions: 6

Compression:

Stored size: 1.93 KB

Contents

/*! UIkit 2.20.3 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
/* ========================================================================
   Component: Slidenav
 ========================================================================== */
/*
 * 1. Required for `a` elements
 * 2. Dimension
 * 3. Style
 */

.uk-slidenav {
  /* 1 */
  display: inline-block;
  /* 2 */
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 60px;
  height: 60px;
  /* 3 */
  line-height: 60px;
  color: rgba(50, 50, 50, 0.4);
  font-size: 60px;
  text-align: center;
  &:hover, &:focus {
    /* 2 */
    outline: none;
    /* 3 */
    text-decoration: none;
    /* 4 */
    color: rgba(50, 50, 50, 0.7);
    cursor: pointer;
  }
  &:active {
    color: rgba(50, 50, 50, 0.9);
  }
}

/*
 * Hover
 * 1. Apply hover style also to focus state
 * 2. Remove default focus style
 * 3. Required for `a` elements
 * 4. Style
 */

/* Active */

/*
 * Icons
 */

.uk-slidenav-previous:before {
  content: "\f104";
  font-family: FontAwesome;
}

.uk-slidenav-next:before {
  content: "\f105";
  font-family: FontAwesome;
}

/* Sub-object: `uk-slidenav-position`
 ========================================================================== */
/*
 * Create position context
 */

.uk-slidenav-position {
  position: relative;
  .uk-slidenav {
    display: none;
    position: absolute;
    top: 50%;
    z-index: 1;
    margin-top: -30px;
  }
  &:hover .uk-slidenav {
    display: block;
  }
  .uk-slidenav-previous {
    left: 20px;
  }
  .uk-slidenav-next {
    right: 20px;
  }
}

/*
 * Center vertically
 */

/* Modifier: `uk-slidenav-contrast`
 ========================================================================== */

.uk-slidenav-contrast {
  color: rgba(255, 255, 255, 0.5);
  &:hover, &:focus {
    color: rgba(255, 255, 255, 0.7);
  }
  &:active {
    color: rgba(255, 255, 255, 0.9);
  }
}

/*
 * Hover
 * 1. Apply hover style also to focus state
 */

/* Active */

Version data entries

6 entries across 2 versions & 1 rubygems

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