Sha256: 36dae728dd477cd03404cd0265128204d37c02ff67fd29a36b1f52718869cc9b

Contents?: true

Size: 1.2 KB

Versions: 6

Compression:

Stored size: 1.2 KB

Contents

// Links, buttons, and more within the dropdown menu
.dropdown-item {
  position: relative;
  padding: 10px 20px;
  border-bottom: 1px solid $dropdown-border-color;

  &:last-child {
    border-bottom: 0;
  }

  i {
    display: inline-block;
    width: 20px;
    margin-right: 10px;
    margin-left: -10px;
    color: $dropdown-border-color;
    text-align: center;
  }

  .badge {
    position: absolute;
    right: 10px;
    margin-top: 2px;
  }
}

// Dropdown section headers
.dropdown-header {
  padding: 8px 20px;
  background: $dropdown-divider-bg;
  border-bottom: 1px solid $dropdown-border-color;

  .btn {
    margin-top: -7px;
    color: $dropdown-header-color;

    &:hover {
      color: $body-color;
    }

    &.pull-right {
      margin-right: -20px;
    }
  }
}

.dropdown-menu-lg {
  width: 250px;
}
.app-header {
  .navbar-nav {
    .dropdown-menu {
      position: absolute;
    }
    // Menu positioning
    //
    // Add extra class to `.dropdown-menu` to flip the alignment of the dropdown
    // menu with the parent.
    .dropdown-menu-right {
      right: 0;
      left: auto; // Reset the default from `.dropdown-menu`
    }

    .dropdown-menu-left {
      right: auto;
      left: 0;
    }
  }
}

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
anchor_ui-sprockets-5.2.0.1 app/assets/stylesheets/coreui/_dropdown.scss
coreui-rails-1.1.0 vendor/assets/stylesheets/coreui/_dropdown.scss
coreui-rails-1.0.1 vendor/assets/stylesheets/coreui/_dropdown.scss
coreui-rails-0.2.6 app/assets/stylesheets/coreui/_dropdown.scss
coreui-rails-0.2.5 app/assets/stylesheets/coreui/_dropdown.scss
coreui-rails-0.2.4 app/assets/stylesheets/coreui/_dropdown.scss