bcotton / centos / centos.org

Forked from centos/centos.org 4 years ago
Clone

Blame content/assets/css/bootstrap/_close.scss

e8ec7a
//
e8ec7a
// Close icons
e8ec7a
// --------------------------------------------------
e8ec7a
e8ec7a
e8ec7a
.close {
e8ec7a
  float: right;
e8ec7a
  font-size: ($font-size-base * 1.5);
e8ec7a
  font-weight: $close-font-weight;
e8ec7a
  line-height: 1;
e8ec7a
  color: $close-color;
e8ec7a
  text-shadow: $close-text-shadow;
e8ec7a
  @include opacity(.2);
e8ec7a
e8ec7a
  &:hover,
e8ec7a
  &:focus {
e8ec7a
    color: $close-color;
e8ec7a
    text-decoration: none;
e8ec7a
    cursor: pointer;
e8ec7a
    @include opacity(.5);
e8ec7a
  }
e8ec7a
e8ec7a
  // [converter] extracted button& to button.close
e8ec7a
}
e8ec7a
e8ec7a
// Additional properties for button version
e8ec7a
// iOS requires the button element instead of an anchor tag.
e8ec7a
// If you want the anchor version, it requires `href="#"`.
e8ec7a
button.close {
e8ec7a
  padding: 0;
e8ec7a
  cursor: pointer;
e8ec7a
  background: transparent;
e8ec7a
  border: 0;
e8ec7a
  -webkit-appearance: none;
e8ec7a
}