Sha256: f01de1539dfa8043b3f9f4243e6c02dc9d1f3c1f27cc2840fe7b91a7fb86b4a7

Contents?: true

Size: 1020 Bytes

Versions: 8

Compression:

Stored size: 1020 Bytes

Contents

// Basic dropdown styles
.dropdown-menu {
  padding-top: 0;
  padding-bottom: 0;
  border-radius: $border-radius-large;

  > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: font-size('default');

    &:first-child {
      border-top-right-radius: $border-radius-large;
      border-top-left-radius: $border-radius-large;
    }
    &:last-child {
      border-bottom-right-radius: $border-radius-large;
      border-bottom-left-radius: $border-radius-large;
    }
    &:hover,
    &:active,
    &:focus {
      color: color('secondary');
      background-color: color('gray-200');
      background-image: none;
    }
  }
  .divider {
    margin-top: 0;
    margin-bottom: 0;
  }

  // Width and alignment variants
  @at-root #{&}-full {
    left: 0;
    right: 0;
  }
  @at-root #{&}-sm {
    width: 160px;
  }
  @at-root #{&}-md {
    width: 320px;
  }
  @at-root #{&}-lg {
    width: 640px;
  }
  @at-root #{&}-xl {
    width: 800px;
  }
  @at-root #{&}-content {
    padding: 10px 30px;
  }
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
forever_style_guide-1.2.11 app/assets/stylesheets/forever_style_guide/modules/_dropdown-menu.scss
forever_style_guide-1.2.10 app/assets/stylesheets/forever_style_guide/modules/_dropdown-menu.scss
forever_style_guide-1.2.9 app/assets/stylesheets/forever_style_guide/modules/_dropdown-menu.scss
forever_style_guide-1.2.8 app/assets/stylesheets/forever_style_guide/modules/_dropdown-menu.scss
forever_style_guide-1.2.7 app/assets/stylesheets/forever_style_guide/modules/_dropdown-menu.scss
forever_style_guide-1.2.5 app/assets/stylesheets/forever_style_guide/modules/_dropdown-menu.scss
forever_style_guide-1.2.4 app/assets/stylesheets/forever_style_guide/modules/_dropdown-menu.scss
forever_style_guide-1.2.3 app/assets/stylesheets/forever_style_guide/modules/_dropdown-menu.scss