close.less 633 B

12345678910111213141516171819202122232425262728293031
  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. color: @black;
  14. text-decoration: none;
  15. cursor: pointer;
  16. .opacity(40);
  17. }
  18. }
  19. // Additional properties for button version
  20. // iOS requires the button element instead of an anchor tag.
  21. // If you want the anchor version, it requires `href="#"`.
  22. button.close {
  23. padding: 0;
  24. cursor: pointer;
  25. background: transparent;
  26. border: 0;
  27. -webkit-appearance: none;
  28. }