Sha256: 7f8c492dc0fa1e84da02ddddf141d234646c95fcfa7b8be728d01fffb830462d

Contents?: true

Size: 1.15 KB

Versions: 2

Compression:

Stored size: 1.15 KB

Contents

// Foundation for Emails by ZURB
// zurb.com/ink/
// Licensed under MIT Open Source

////
/// @group menu
////

/// Padding inside a menu item.
/// @type Length
$menu-item-padding: 10px !default;

/// Right-hand spacing of items in menus with the `.simple` class.
/// @type Length
$menu-item-gutter: 10px !default;

/// This is the color of the menu item links.
/// @type Color
$menu-item-color: $primary-color !default;


table.menu {
  width: $global-width;

  td.menu-item,
  th.menu-item{
    padding: $menu-item-padding;
    padding-right: $menu-item-gutter;

    a {
      color: $menu-item-color; 
    }
  }
}

// Doesn't work on the pesky ESPs like outlook 2000
table.menu.vertical {
  td.menu-item,
  th.menu-item {
    padding: $menu-item-padding;
    padding-right: 0;
    display: block;

    a {
      width: 100%;
    }
  }

  // Nested lists need some more padding to the left
  td.menu-item,
  th.menu-item {
    table.menu.vertical {
      td.menu-item,
      th.menu-item {
        padding-left: $menu-item-padding;
      }
    }
  }
}

table.menu.text-center a {
  text-align: center;
}

//Centers the menus!
.menu[align="center"] {
  width: auto !important;
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foundation_emails-2.1.0.1 vendor/assets/stylesheets/foundation-emails/components/_menu.scss
foundation_emails-2.1.0 vendor/assets/stylesheets/foundation-emails/components/_menu.scss