Sha256: 836e5feaa6338218b214150b81dafd7d5e6d640ff1ee46310246d43693ce4298

Contents?: true

Size: 1.06 KB

Versions: 8

Compression:

Stored size: 1.06 KB

Contents

// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source

////
/// @group top-bar
////

/// Padding for the top bar.
/// @type Number
$topbar-padding: 0.5rem !default;

/// Background color for the top bar. This color also cascades to menus within the top bar.
/// @type Color
$topbar-background: #eee !default;

/// Color for links inside a top bar menu.
/// @type Color
$topbar-link-color: #fff !default;

/// Width of `<input>` elements inside the top bar.
/// @type Number
$topbar-input-width: 200px !default;

/// Adds styles for a top bar container.
@mixin top-bar-container {
  @include clearfix;
  padding: $topbar-padding;

  &, ul {
    background-color: $topbar-background;
  }

  input {
    width: $topbar-input-width;
    margin-#{$global-right}: 1rem;
  }
}

@mixin foundation-top-bar {
  // Top bar container
  .top-bar {
    @include top-bar-container;
  }

  // Sub-sections
  // Stack on small screens
  @include breakpoint(medium) {
    .top-bar-left {
      float: left;
    }

    .top-bar-right {
      float: right
    }
  }
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
locomotivecms_wagon-2.4.0.rc2 generators/foundation/public/stylesheets/foundation6/components/_top-bar.scss
locomotivecms_wagon-2.4.0.rc1 generators/foundation/public/stylesheets/foundation6/components/_top-bar.scss
locomotivecms_wagon-2.3.0 generators/foundation/public/stylesheets/foundation6/components/_top-bar.scss
locomotivecms_wagon-2.3.0.rc1 generators/foundation/public/stylesheets/foundation6/components/_top-bar.scss
locomotivecms_wagon-2.2.0 generators/foundation/public/stylesheets/foundation6/components/_top-bar.scss
locomotivecms_wagon-2.2.0.rc3 generators/foundation/public/stylesheets/foundation6/components/_top-bar.scss
locomotivecms_wagon-2.2.0.rc2 generators/foundation/public/stylesheets/foundation6/components/_top-bar.scss
locomotivecms_wagon-2.2.0.rc1 generators/foundation/public/stylesheets/foundation6/components/_top-bar.scss