Sha256: 13fb37480cb1a5b5b0ef549f6f6c49c2ec588ba1db4cf22b8eb3112342afa2bc

Contents?: true

Size: 1.25 KB

Versions: 12

Compression:

Stored size: 1.25 KB

Contents

.dropdown-content {
  @extend .z-depth-1;
  background-color: $dropdown-bg-color;
  margin: 0;
  display: none;
  min-width: 100px;
  max-height: 650px;
  overflow-y: auto;
  opacity: 0;
  position: absolute;
  z-index: 999;
  will-change: width, height;

  li {
    clear: both;
    color: $off-black;
    cursor: pointer;
    min-height: $dropdown-item-height;
    line-height: 1.5rem;
    width: 100%;
    text-align: left;
    text-transform: none;

    &:hover, &.active, &.selected {
      background-color: $dropdown-hover-bg-color;
    }

    &.active.selected {
      background-color: darken($dropdown-hover-bg-color, 5%);
    }

    &.divider {
      min-height: 0;
      height: 1px;
    }

    & > a, & > span {
      font-size: 16px;
      color: $dropdown-color;
      display: block;
      line-height: 22px;
      padding: (($dropdown-item-height - 22) / 2) 16px;
    }

    & > span > label {
      top: 1px;
      left: 0;
      height: 18px;
    }

    // Icon alignment override
    & > a > i {
      height: inherit;
      line-height: inherit;
      float: left;
      margin: 0 24px 0 0;
      width: 24px;
    }
  }
}

// Input field specificity bugfix
.input-field.col .dropdown-content [type="checkbox"] + label {
  top: 1px;
  left: 0;
  height: 18px;
}

Version data entries

12 entries across 11 versions & 3 rubygems

Version Path
materialize-sass-0.100.2.1 app/assets/stylesheets/materialize/components/_dropdown.scss
jekyll-theme-anc-0.1.2 _sass/materialize/components/_dropdown.scss
jekyll-theme-anc-0.1.2 _sass/materialize-css/components/_dropdown.scss
mtl-1.1.10 vendor/assets/stylesheets/materialize/_dropdown.scss
mtl-1.1.9 vendor/assets/stylesheets/materialize/_dropdown.scss
materialize-sass-0.100.2 app/assets/stylesheets/materialize/components/_dropdown.scss
materialize-sass-0.100.1 app/assets/stylesheets/materialize/components/_dropdown.scss
materialize-sass-0.100.0 app/assets/stylesheets/materialize/components/_dropdown.scss
mtl-1.1.8 vendor/assets/stylesheets/materialize/_dropdown.scss
materialize-sass-0.99.0 app/assets/stylesheets/materialize/components/_dropdown.scss
materialize-sass-0.98.2 app/assets/stylesheets/materialize/components/_dropdown.scss
materialize-sass-0.98.1 app/assets/stylesheets/materialize/components/_dropdown.scss