Sha256: 288223f8b8835c0bedb88b8a11bc5440ac8c01704a5c7214c5b575d9090340d2

Contents?: true

Size: 1.1 KB

Versions: 10

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: none;
    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

10 entries across 10 versions & 2 rubygems

Version Path
infotorg-api-jekyll-theme-0.1.8 _sass/bootstrap/_close.scss
infotorg-api-jekyll-theme-0.1.7 _sass/bootstrap/_close.scss
infotorg-api-jekyll-theme-0.1.5 _sass/bootstrap/_close.scss
bootstrap-5.0.0.beta1 assets/stylesheets/bootstrap/_close.scss
infotorg-api-jekyll-theme-0.1.4 _sass/bootstrap/_close.scss
infotorg-api-jekyll-theme-0.1.3 _sass/bootstrap/_close.scss
infotorg-api-jekyll-theme-0.1.2 _sass/bootstrap/_close.scss
infotorg-api-jekyll-theme-0.1.1 _sass/bootstrap/_close.scss
infotorg-api-jekyll-theme-0.1.0 _sass/bootstrap/_close.scss
bootstrap-5.0.0.alpha3 assets/stylesheets/bootstrap/_close.scss