Sha256: 04699e9197c59211e535e0058e7a00f7f78d83841193e5d2512b2a92d0a2ad32

Contents?: true

Size: 1.04 KB

Versions: 13

Compression:

Stored size: 1.04 KB

Contents

.dropdown-toggle::after { content: none; }


// Links, buttons, and more within the dropdown menu
.dropdown-item {
  + .dropdown-item { border-top: $border-width solid $border-color; }
  &.disabled, &:disabled {
    background-color: $body-bg;
    cursor: default;
    pointer-events: none;
  }
  &:not(.text-danger) { color: inherit !important; }
}


// Dropdown section headers
.dropdown-header {
  padding-top: ($spacer * .5);
  padding-bottom: ($spacer * .5);
  + .dropdown-item { border-top: $border-width solid $border-color; }
}


// Sizing
.dropdown-menu-md, .dropdown-menu-lg { min-width: ($spacer * 10); }
.dropdown-menu-md {
  @include media-breakpoint-up(sm) { min-width: ($spacer * 12); }
}
.dropdown-menu-lg {
  @include media-breakpoint-up(sm) { min-width: ($spacer * 24); }
}



// Styles for wider "My Tools" dropdown in top nav
#my_tools_dropdown {
  @include media-breakpoint-down(sm) { max-width: 100vw; }
  .media {
    div {
      &:first-child { width: 60px; }
      &:last-child { width: 38px; }
    }
    .media-body { width: 240px; }
  }
}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
nfg_ui-0.11.18 app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_dropdown.scss
nfg_ui-0.11.17 app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_dropdown.scss
nfg_ui-0.11.16 app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_dropdown.scss
nfg_ui-0.11.15 app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_dropdown.scss
nfg_ui-0.11.14 app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_dropdown.scss
nfg_ui-0.11.13 app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_dropdown.scss
nfg_ui-0.11.12 app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_dropdown.scss
nfg_ui-0.11.11.1 app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_dropdown.scss
nfg_ui-0.11.11 app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_dropdown.scss
nfg_ui-0.11.10 app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_dropdown.scss
nfg_ui-0.11.9 app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_dropdown.scss
nfg_ui-0.11.8 app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_dropdown.scss
nfg_ui-0.11.7 app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_dropdown.scss