utilities.css 2.7 KB

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