2
0

close.less.svn-base 590 B

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