utilities.less 805 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. //
  2. // Utility classes
  3. // --------------------------------------------------
  4. // Floats
  5. // -------------------------
  6. .clearfix {
  7. .clearfix();
  8. }
  9. .center-block {
  10. .center-block();
  11. }
  12. .pull-right {
  13. float: right !important;
  14. }
  15. .pull-left {
  16. float: left !important;
  17. }
  18. // Toggling content
  19. // -------------------------
  20. // Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1
  21. .hide {
  22. display: none !important;
  23. }
  24. .show {
  25. display: block !important;
  26. }
  27. .invisible {
  28. visibility: hidden;
  29. }
  30. .text-hide {
  31. .text-hide();
  32. }
  33. // Hide from screenreaders and browsers
  34. //
  35. // Credit: HTML5 Boilerplate
  36. .hidden {
  37. display: none !important;
  38. visibility: hidden !important;
  39. }
  40. // For Affix plugin
  41. // -------------------------
  42. .affix {
  43. position: fixed;
  44. .translate3d(0, 0, 0);
  45. }