Sha256: 4fb37ceced5f98a68445337644ef7501465196fdc7b61c602a85570b245172d7

Contents?: true

Size: 1.88 KB

Versions: 17

Compression:

Stored size: 1.88 KB

Contents

//
// dropdown.scss
// Extended from Bootstrap
//

.dropdown-menu {
  padding-left: $dropdown-padding-x;
  padding-right: $dropdown-padding-x;
}

// Item

.dropdown-item {
  width: auto;
  min-width: 100%;
  margin-left: -$dropdown-padding-x;
  margin-right: -$dropdown-padding-x;

  @include hover-focus {
    outline: none;
  }
}

.dropdown-item + .dropdown-item {
  margin-top: $dropdown-item-spacing-y;
}

// Link (optional)

.dropdown-link {
  color: inherit;

  @include hover {
    text-decoration: inherit;
  }

  @include hover-focus {
    outline: none;
  }
}

// Header

.dropdown-header {
  margin-left: -$dropdown-padding-x;
  margin-right: -$dropdown-padding-x;
  padding-top: 0;
  padding-bottom: $headings-margin-bottom;
  font-size: $h6-font-size;
  font-weight: $font-weight-light;
  line-height: $h6-line-height;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

// Toggle

.dropdown-toggle::after {
  font-family: 'Feather';
  vertical-align: middle;
  border: none !important;
  content: '\e92e';
}

.dropright > .dropdown-toggle::after {
  content: '\e930';
}

// Sizing

.dropdown-menu-xs {
  min-width: $dropdown-min-width-xs;
  padding: $dropdown-padding-y-xs $dropdown-padding-x-xs;
}

.dropdown-menu-md {
  min-width: $dropdown-min-width-md;
}

.dropdown-menu-lg {
  min-width: $dropdown-min-width-lg;
}

.dropdown-menu-xl {
  min-width: $dropdown-min-width-xl;
}

.dropdown-menu-lg,
.dropdown-menu-xl {
  padding: $dropdown-padding-y-lg $dropdown-padding-x-lg;
}

.dropdown-menu-lg .dropdown-item,
.dropdown-menu-xl .dropdown-header {
  margin-left: -$dropdown-padding-x-lg;
  margin-right: -$dropdown-padding-x-lg;
  padding-left: $dropdown-item-padding-x-lg;
  padding-right: $dropdown-item-padding-x-lg;
}

// Positioning

.dropright > .dropdown-menu {
  top: -$dropdown-padding-y;
}

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
viniBaxter-spa_landing-32.0.0 lib/viniBaxter/sass/spa_landing/theme/_dropdown.scss
viniBaxter-spa_landing-31.0.0 lib/viniBaxter/sass/spa_landing/theme/_dropdown.scss
viniBaxter-spa_landing-20.0.1 lib/viniBaxter/sass/spa_landing/theme/_dropdown.scss
viniBaxter-spa_landing-15.0.2 lib/viniBaxter/sass/spa_landing/theme/_dropdown.scss
viniBaxter-spa_landing-15.0.1.alpha lib/viniBaxter/sass/spa_landing/theme/_dropdown.scss
viniBaxter-spa_landing-15.0.0 lib/viniBaxter/sass/spa_landing/theme/_dropdown.scss
viniBaxter-spa_landing-14 lib/viniBaxter/sass/spa_landing/theme/_dropdown.scss
viniBaxter-spa_landing-13.8 lib/viniBaxter/sass/spa_landing/theme/_dropdown.scss
viniBaxter-spa_landing-13.7 lib/viniBaxter/sass/spa_landing/theme/_dropdown.scss
viniBaxter-spa_landing-13.6 lib/viniBaxter/sass/spa_landing/theme/_dropdown.scss
viniBaxter-spa_landing-13.4 lib/viniBaxter/sass/spa_landing/theme/_dropdown.scss
viniBaxter-spa_landing-13.3 lib/viniBaxter/sass/spa_landing/theme/_dropdown.scss
viniBaxter-spa_landing-13.2 lib/viniBaxter/sass/spa_landing/theme/_dropdown.scss
viniBaxter-spa_landing-13.1 lib/viniBaxter/sass/spa_landing/theme/_dropdown.scss
viniBaxter-spa_landing-11 lib/viniBaxter/sass/spa_landing/theme/_dropdown.scss
viniBaxter-spa_landing-10.0 lib/viniBaxter/sass/spa_landing/theme/_dropdown.scss
viniBaxter-spa_landing-0.9 lib/viniBaxter/sass/spa_landing/theme/_dropdown.scss