utilities.less 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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-end {
  14. float: right !important;
  15. }
  16. .pull-left,
  17. .float-start {
  18. float: left !important;
  19. }
  20. // Toggling content
  21. // -------------------------
  22. // Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1
  23. .hide {
  24. display: none !important;
  25. }
  26. .show {
  27. display: block !important;
  28. }
  29. .invisible {
  30. visibility: hidden;
  31. }
  32. .text-hide {
  33. .text-hide();
  34. }
  35. // Hide from screenreaders and browsers
  36. //
  37. // Credit: HTML5 Boilerplate
  38. .hidden {
  39. display: none !important;
  40. visibility: hidden !important;
  41. }
  42. // For Affix plugin
  43. // -------------------------
  44. .affix {
  45. position: fixed;
  46. }
  47. .w-100 {
  48. width: 100%;
  49. }
  50. .min-vh-100 {
  51. min-height: 100vh;
  52. }
  53. // Overflow utils
  54. .overflow-auto {
  55. overflow: auto !important;
  56. }
  57. .overflow-hidden {
  58. overflow: hidden !important;
  59. }
  60. .overflow-visible {
  61. overflow: visible !important;
  62. }
  63. .overflow-scroll {
  64. overflow: scroll !important;
  65. }
  66. .text-truncate {
  67. overflow: hidden;
  68. text-overflow: ellipsis;
  69. white-space: nowrap;
  70. }
  71. // Positioning
  72. .ol-overlay {
  73. position: absolute;
  74. z-index: 1;
  75. }
  76. .d-flex {
  77. display: flex !important;
  78. }
  79. .justify-content-center {
  80. justify-content: center !important;
  81. }