utils.less 1015 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. .highlight-word {
  2. color: @orange;
  3. }
  4. // Close icons
  5. // --------------------------------------------------
  6. .close {
  7. float: right;
  8. font-size: 20px;
  9. font-weight: bold;
  10. line-height: @baseLineHeight;
  11. color: @black;
  12. text-shadow: 0 1px 0 rgba(255,255,255,1);
  13. .opacity(20);
  14. &:hover,
  15. &:focus {
  16. color: @black;
  17. text-decoration: none;
  18. cursor: pointer;
  19. .opacity(40);
  20. }
  21. }
  22. // Additional properties for button version
  23. // iOS requires the button element instead of an anchor tag.
  24. // If you want the anchor version, it requires `href="#"`.
  25. button.close {
  26. padding: 0;
  27. cursor: pointer;
  28. background: transparent;
  29. border: 0;
  30. -webkit-appearance: none;
  31. }
  32. //
  33. // Utility classes
  34. // --------------------------------------------------
  35. // Quick floats
  36. .pull-right {
  37. float: right;
  38. }
  39. .pull-left {
  40. float: left;
  41. }
  42. // Toggling content
  43. .hide {
  44. display: none;
  45. }
  46. .show {
  47. display: block;
  48. }
  49. // Visibility
  50. .invisible {
  51. visibility: hidden;
  52. }
  53. // For Affix plugin
  54. .affix {
  55. position: fixed;
  56. }