Sha256: 0406e0058fb0d77261ae96b3066b353b19b4162187c8334d7330f26eb2996dda

Contents?: true

Size: 1.04 KB

Versions: 5

Compression:

Stored size: 1.04 KB

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;
  }
}

&.without_sharing_button .toggle.mobile_only.share.menu_item {
  display: none;
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pageflow-outline-navigation-bar-1.6.0 app/assets/stylesheets/pageflow/outline_navigation_bar/themes/default/toggle.scss
pageflow-outline-navigation-bar-1.5.0 app/assets/stylesheets/pageflow/outline_navigation_bar/themes/default/toggle.scss
pageflow-outline-navigation-bar-1.4.0 app/assets/stylesheets/pageflow/outline_navigation_bar/themes/default/toggle.scss
pageflow-outline-navigation-bar-1.3.1 app/assets/stylesheets/pageflow/outline_navigation_bar/themes/default/toggle.scss
pageflow-outline-navigation-bar-1.3.0 app/assets/stylesheets/pageflow/outline_navigation_bar/themes/default/toggle.scss