You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_close.scss 673B

12345678910111213141516171819202122232425262728
  1. .close {
  2. float: right;
  3. font-size: ($font-size-base * 1.5);
  4. font-weight: $close-font-weight;
  5. line-height: 1;
  6. color: $close-color;
  7. text-shadow: $close-text-shadow;
  8. opacity: .2;
  9. @include hover-focus {
  10. color: $close-color;
  11. text-decoration: none;
  12. cursor: pointer;
  13. opacity: .5;
  14. }
  15. }
  16. // Additional properties for button version
  17. // iOS requires the button element instead of an anchor tag.
  18. // If you want the anchor version, it requires `href="#"`.
  19. // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
  20. button.close {
  21. padding: 0;
  22. cursor: pointer;
  23. background: transparent;
  24. border: 0;
  25. -webkit-appearance: none;
  26. }