Sha256: 3b899a60b815ec3e1452a7895a4da00025d9d9d09c2788cc4ce8f03efb99c4ad

Contents?: true

Size: 1.46 KB

Versions: 4

Compression:

Stored size: 1.46 KB

Contents

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

////
/// @group title-bar
////

/// Background color of a title bar.
/// @type Color
$titlebar-background: $black !default;

/// Color of text inside a title bar.
/// @type Color
$titlebar-color: $white !default;

/// Padding inside a title bar.
/// @type Length
$titlebar-padding: 0.5rem !default;

/// Font weight of text inside a title bar.
/// @type Weight
$titlebar-text-font-weight: bold !default;

/// Color of menu icons inside a title bar.
/// @type Color
$titlebar-icon-color: $white !default;

/// Color of menu icons inside a title bar on hover.
/// @type Color
$titlebar-icon-color-hover: $medium-gray !default;

/// Spacing between the menu icon and text inside a title bar.
/// @type Length
$titlebar-icon-spacing: 0.25rem !default;

@mixin foundation-title-bar {
  .title-bar {
    @include clearfix;
    background: $titlebar-background;
    color: $titlebar-color;
    padding: $titlebar-padding;

    .menu-icon {
      margin-#{$global-left}: $titlebar-icon-spacing;
      margin-#{$global-right}: $titlebar-padding;
    }
  }

  .title-bar-left {
    float: left;
  }

  .title-bar-right {
    float: right;
    text-align: right;
  }

  .title-bar-title {
    font-weight: $titlebar-text-font-weight;
    vertical-align: middle;
    display: inline-block;
  }

  .menu-icon {
    @include hamburger($color: $titlebar-icon-color, $color-hover: $titlebar-icon-color-hover);
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
foundation-rails-6.1.1.3 vendor/assets/scss/components/_title-bar.scss
foundation-rails-6.1.1.2 vendor/assets/scss/components/_title-bar.scss
foundation-rails-6.1.1.1 vendor/assets/scss/components/_title-bar.scss
foundation-rails-6.1.1.0 vendor/assets/scss/components/_title-bar.scss