Sha256: d014172603e64b327f2d1bcd5a5f5c829473704801eb6f1f71a29cbedef3328a

Contents?: true

Size: 1.1 KB

Versions: 125

Compression:

Stored size: 1.1 KB

Contents

// transparent background and border properties included for button version.
// iOS requires the button element instead of an anchor tag.
// If you want the anchor version, it requires `href="#"`.
// See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile

.btn-close {
  box-sizing: content-box;
  width: $btn-close-width;
  height: $btn-close-height;
  padding: $btn-close-padding-y $btn-close-padding-x;
  color: $btn-close-color;
  background: transparent escape-svg($btn-close-bg) center / $btn-close-width auto no-repeat; // include transparent for button elements
  border: 0; // for button elements
  @include border-radius();
  opacity: $btn-close-opacity;

  // Override <a>'s hover style
  &:hover {
    color: $btn-close-color;
    text-decoration: none;
    opacity: $btn-close-hover-opacity;
  }

  &:focus {
    outline: 0;
    box-shadow: $btn-close-focus-shadow;
    opacity: $btn-close-focus-opacity;
  }

  &:disabled,
  &.disabled {
    pointer-events: none;
    user-select: none;
    opacity: $btn-close-disabled-opacity;
  }
}

.btn-close-white {
  filter: $btn-close-white-filter;
}

Version data entries

125 entries across 125 versions & 13 rubygems

Version Path
elixir-toolkit-theme-1.6.0 _sass/bootstrap/_close.scss
elixir-toolkit-theme-1.5.3 _sass/bootstrap/_close.scss
elixir-toolkit-theme-1.5.2 _sass/bootstrap/_close.scss
elixir-toolkit-theme-1.5.1 _sass/bootstrap/_close.scss
elixir-toolkit-theme-1.5.0 _sass/bootstrap/_close.scss
rails_admin-3.0.0.rc3 vendor/assets/stylesheets/rails_admin/bootstrap/_close.scss
rails_admin-3.0.0.rc2 vendor/assets/stylesheets/rails_admin/bootstrap/_close.scss
administrate-bootstrap-theme-1.0.6 app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_close.scss
administrate-bootstrap-theme-1.0.4 app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_close.scss
rails_admin-3.0.0.rc vendor/assets/stylesheets/rails_admin/bootstrap/_close.scss
headmin-0.3.4 app/assets/stylesheets/headmin/vendor/bootstrap/scss/_close.scss
headmin-0.3.3 app/assets/stylesheets/headmin/vendor/bootstrap/scss/_close.scss
headmin-0.3.2 app/assets/stylesheets/headmin/vendor/bootstrap/scss/_close.scss
headmin-0.3.1 app/assets/stylesheets/headmin/vendor/bootstrap/scss/_close.scss
bootstrap-scss-0.0.3 vendor/assets/bootstrap/scss/_close.scss
bootstrap-scss-0.0.2 vendor/assets/bootstrap/scss/_close.scss
administrate-bootstrap-theme-1.0.1 app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_close.scss
administrate-bootstrap-theme-1.0.0 app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_close.scss
bootstrap-5.1.3 assets/stylesheets/bootstrap/_close.scss
bootstrap-5.1.2 assets/stylesheets/bootstrap/_close.scss