Sha256: 3f43eab84c525b884a73ec6115436445f1cd363a3ff3821dafe8c660deb32243

Contents?: true

Size: 1018 Bytes

Versions: 46

Compression:

Stored size: 1018 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

46 entries across 46 versions & 1 rubygems

Version Path
forever_style_guide-3.0.1 app/assets/stylesheets/forever_style_guide/modules/_dropdown-menu.scss
forever_style_guide-3.0.0 app/assets/stylesheets/forever_style_guide/modules/_dropdown-menu.scss
forever_style_guide-2.0.3 app/assets/stylesheets/forever_style_guide/modules/_dropdown-menu.scss
forever_style_guide-2.0.2 app/assets/stylesheets/forever_style_guide/modules/_dropdown-menu.scss
forever_style_guide-2.0.1 app/assets/stylesheets/forever_style_guide/modules/_dropdown-menu.scss
forever_style_guide-2.0.0 app/assets/stylesheets/forever_style_guide/modules/_dropdown-menu.scss