Sha256: 70ba9efc8f588fdf83383a0adb8c3bb48664a4b165ef47ce4859921b48da989e

Contents?: true

Size: 977 Bytes

Versions: 3

Compression:

Stored size: 977 Bytes

Contents

.toggle {
  height: 45px;
  position: absolute;

  &.chapters {
    top: 15px;
  }

  &.share,
  &.credits {
    opacity: 0;
    visibility: hidden;
    @include transition(opacity 0.5s ease, visibility 0.5s ease);
  }

  &.share {
    top: 80px;
  }

  &.credits {
    bottom: 10px;
  }

  &.mobile_only {
    display: none;
    left: -55px;

    .has_mobile_platform & {
      display: block;
    }

    @include mobile {
      display: block;
    }
  }

  &.desktop_only {
    right: 15px;

    .has_mobile_platform & {
      display: none;
    }

    @include mobile {
      display: none;
    }
  }

  .button {
    position: relative;
  }
}

&.fixed .toggle,
&.buttons_active .toggle {
  &.buttons {
    right: 10px;
  }
}

&.expanded .toggle {
  &.share,
  &.credits {
    opacity: 1;
    visibility: visible;
  }
}

&.expandable {
  .toggle.desktop_only {
    @include menu-item-shadow;
  }

  &.expanded .toggle.desktop_only {
    @include menu-item-shadow-off;
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pageflow-outline-navigation-bar-1.2.0 app/assets/stylesheets/pageflow/outline_navigation_bar/themes/default/toggle.scss
pageflow-outline-navigation-bar-1.1.0 app/assets/stylesheets/pageflow/outline_navigation_bar/themes/default/toggle.scss
pageflow-outline-navigation-bar-1.0.0 app/assets/stylesheets/pageflow/outline_navigation_bar/themes/default/toggle.scss