utilities.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  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-mt15 {
  38. margin-top: 15px !important;
  39. }
  40. .u-mt10 {
  41. margin-top: 10px !important;
  42. }
  43. .u-mt20 {
  44. margin-top: 20px !important;
  45. }
  46. .u-ml5 {
  47. margin-left: 5px !important;
  48. }
  49. .u-ml10 {
  50. margin-left: 10px !important;
  51. }
  52. .u-mr5 {
  53. margin-right: 5px !important;
  54. }
  55. .u-mr10 {
  56. margin-right: 10px !important;
  57. }
  58. .u-mb5 {
  59. margin-bottom: 5px !important;
  60. }
  61. .u-mb10 {
  62. margin-bottom: 10px !important;
  63. }
  64. .u-mb20 {
  65. margin-bottom: 20px !important;
  66. }
  67. .u-mb40 {
  68. margin-bottom: 40px !important;
  69. }
  70. .u-pt10 {
  71. padding-top: 10px !important;
  72. }
  73. .u-pt18 {
  74. padding-top: 18px !important;
  75. }
  76. .u-pl30 {
  77. padding-left: 30px !important;
  78. }
  79. .u-pos-relative {
  80. position: relative !important;
  81. }
  82. .u-width-full {
  83. width: 100% !important;
  84. }
  85. .u-min-height100 {
  86. min-height: 100px !important;
  87. }
  88. .u-min-height300 {
  89. min-height: 300px !important;
  90. }
  91. .u-min-height600 {
  92. min-height: 600px !important;
  93. }
  94. .u-max-height300 {
  95. max-height: 300px !important;
  96. }
  97. .u-side-by-side {
  98. display: flex !important;
  99. justify-content: space-between !important;
  100. align-items: center !important;
  101. }
  102. .u-list-bulleted {
  103. list-style: disc !important;
  104. padding-left: 40px !important;
  105. }
  106. .u-allow-resize {
  107. min-width: 100% !important;
  108. resize: both !important;
  109. }
  110. .u-unstyled-button {
  111. border: 0 !important;
  112. padding: 0 !important;
  113. background-color: transparent !important;
  114. }
  115. .u-console {
  116. font-family: var(--font-family-monospace) !important;
  117. white-space: pre !important;
  118. line-height: 1.2 !important;
  119. }
  120. .u-hide-tablet {
  121. @media (--viewport-medium) {
  122. display: none !important;
  123. }
  124. }
  125. .u-hide-desktop {
  126. @media (--viewport-large) {
  127. display: none !important;
  128. }
  129. }