utilities.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. /* Utilities
  2. ========================================================================== */
  3. .clearfix::before,
  4. .clearfix::after {
  5. content: " ";
  6. display: table;
  7. }
  8. .clearfix::after {
  9. clear: both;
  10. }
  11. .u-block {
  12. display: block !important;
  13. }
  14. .u-hidden {
  15. display: none !important;
  16. }
  17. .u-noselect {
  18. user-select: none !important;
  19. }
  20. .u-text-right {
  21. text-align: right !important;
  22. }
  23. .u-text-center {
  24. text-align: center !important;
  25. }
  26. .u-text-small {
  27. font-size: 0.75rem !important;
  28. }
  29. .u-text-italic {
  30. font-style: italic !important;
  31. }
  32. .u-truncate {
  33. overflow: hidden !important;
  34. text-overflow: ellipsis !important;
  35. white-space: nowrap !important;
  36. }
  37. .u-opacity-50 {
  38. opacity: 0.5 !important;
  39. }
  40. .u-mt15 {
  41. margin-top: 15px !important;
  42. }
  43. .u-mt10 {
  44. margin-top: 10px !important;
  45. }
  46. .u-mt20 {
  47. margin-top: 20px !important;
  48. }
  49. .u-ml5 {
  50. margin-left: 5px !important;
  51. }
  52. .u-ml10 {
  53. margin-left: 10px !important;
  54. }
  55. .u-mr5 {
  56. margin-right: 5px !important;
  57. }
  58. .u-mr10 {
  59. margin-right: 10px !important;
  60. }
  61. .u-mr15 {
  62. margin-right: 15px !important;
  63. }
  64. .u-mb5 {
  65. margin-bottom: 5px !important;
  66. }
  67. .u-mb10 {
  68. margin-bottom: 10px !important;
  69. }
  70. .u-mb20 {
  71. margin-bottom: 20px !important;
  72. }
  73. .u-mb40 {
  74. margin-bottom: 40px !important;
  75. }
  76. .u-pt10 {
  77. padding-top: 10px !important;
  78. }
  79. .u-pt18 {
  80. padding-top: 18px !important;
  81. }
  82. .u-pl30 {
  83. padding-left: 30px !important;
  84. }
  85. .u-rounded {
  86. border-radius: var(--border-radius-base) !important;
  87. }
  88. .u-pos-relative {
  89. position: relative !important;
  90. }
  91. .u-width-full {
  92. width: 100% !important;
  93. }
  94. .u-min-height100 {
  95. min-height: 100px !important;
  96. }
  97. .u-min-height300 {
  98. min-height: 300px !important;
  99. }
  100. .u-min-height600 {
  101. min-height: 600px !important;
  102. }
  103. .u-side-by-side {
  104. display: flex !important;
  105. justify-content: space-between !important;
  106. align-items: center !important;
  107. }
  108. .u-image-fluid {
  109. max-width: 100% !important;
  110. height: auto !important;
  111. }
  112. .u-list-bulleted {
  113. list-style: disc !important;
  114. padding-left: 40px !important;
  115. }
  116. .u-allow-resize {
  117. min-width: 100% !important;
  118. resize: both !important;
  119. }
  120. .u-console {
  121. font-family: var(--font-family-monospace) !important;
  122. white-space: pre !important;
  123. line-height: 1.2 !important;
  124. }
  125. .u-hide-tablet {
  126. @media (--viewport-medium) {
  127. display: none !important;
  128. }
  129. }
  130. .u-hide-desktop {
  131. @media (--viewport-large) {
  132. display: none !important;
  133. }
  134. }