misc.less 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. .icon-arrow-right,
  2. .icon-arrow-left {
  3. font-size: 16px !important;
  4. position: relative;
  5. top: 2px;
  6. }
  7. .page-header {
  8. padding-bottom: ((@line-height-computed / 2) - 1);
  9. margin: 0 0 20px;
  10. border-bottom: 1px solid @trim;
  11. }
  12. .truncate {
  13. max-width: 100%;
  14. display: block;
  15. overflow: hidden;
  16. text-overflow: ellipsis;
  17. white-space: nowrap;
  18. }
  19. // Alignment
  20. .text-left {
  21. text-align: left;
  22. }
  23. .text-right {
  24. text-align: right;
  25. }
  26. .text-center {
  27. text-align: center;
  28. }
  29. .text-justify {
  30. text-align: justify;
  31. }
  32. .text-nowrap {
  33. white-space: nowrap;
  34. }
  35. .align-left {
  36. text-align: left;
  37. justify-content: flex-start;
  38. }
  39. .align-center {
  40. text-align: center;
  41. justify-content: center;
  42. }
  43. .align-right {
  44. text-align: right;
  45. justify-content: flex-end;
  46. }
  47. @spacer-x: 20px;
  48. @spacer-y: 20px;
  49. // Margin
  50. .m-b-0 {
  51. margin-bottom: 0 !important;
  52. }
  53. .m-t-1 {
  54. margin-top: @spacer-y !important;
  55. }
  56. .m-b-1 {
  57. margin-bottom: @spacer-y !important;
  58. }
  59. .m-b-2 {
  60. margin-bottom: (@spacer-y * 1.5) !important;
  61. }
  62. .m-l-1 {
  63. margin-left: @spacer-x !important;
  64. }
  65. // Padding
  66. .p-a-0 {
  67. padding: 0 0 !important;
  68. }
  69. .p-t-0 {
  70. padding-top: 0 !important;
  71. }
  72. .p-a-1 {
  73. padding: @spacer-y @spacer-x !important;
  74. }
  75. .p-t-1 {
  76. padding-top: @spacer-y !important;
  77. }
  78. .p-b-1 {
  79. padding-bottom: @spacer-y !important;
  80. }
  81. .p-t-2 {
  82. padding-top: (@spacer-y * 1.5) !important;
  83. }
  84. .p-y-2 {
  85. padding-top: (@spacer-y * 1.5) !important;
  86. padding-bottom: (@spacer-y * 1.5) !important;
  87. }
  88. // Clear
  89. .c-b {
  90. clear: both;
  91. }
  92. .c-l {
  93. clear: left;
  94. }
  95. .c-r {
  96. clear: right;
  97. }