close.less 644 B

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // Close icons
  3. // --------------------------------------------------
  4. .close {
  5. float: right;
  6. font-size: 20px;
  7. font-weight: bold;
  8. line-height: @baseLineHeight;
  9. color: @black;
  10. text-shadow: 0 1px 0 rgba(255,255,255,1);
  11. .opacity(20);
  12. &:hover,
  13. &:focus {
  14. color: @black;
  15. text-decoration: none;
  16. cursor: pointer;
  17. .opacity(40);
  18. }
  19. }
  20. // Additional properties for button version
  21. // iOS requires the button element instead of an anchor tag.
  22. // If you want the anchor version, it requires `href="#"`.
  23. button.close {
  24. padding: 0;
  25. cursor: pointer;
  26. background: transparent;
  27. border: 0;
  28. -webkit-appearance: none;
  29. }