utilities.less 794 B

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