commonTheme.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. .hb {
  2. height: 100%;
  3. box-sizing: border-box;
  4. }
  5. .hidden {
  6. overflow: hidden;
  7. }
  8. .w100 {
  9. width: 100%;
  10. }
  11. .h100 {
  12. height: 100%;
  13. }
  14. .row {
  15. display: flex;
  16. flex-direction: row;
  17. }
  18. .column {
  19. display: flex;
  20. flex-direction: column;
  21. }
  22. .justify-start {
  23. display: flex;
  24. justify-content: flex-start;
  25. }
  26. .justify-center {
  27. display: flex;
  28. justify-content: center;
  29. }
  30. .justify-end {
  31. display: flex;
  32. justify-content: flex-end;
  33. }
  34. .justify-around {
  35. display: flex;
  36. justify-content: space-around;
  37. }
  38. .justify-evenly {
  39. display: flex;
  40. justify-content: space-evenly;
  41. }
  42. .justify-between {
  43. display: flex;
  44. justify-content: space-between;
  45. }
  46. .align-start {
  47. display: flex;
  48. align-items: flex-start;
  49. }
  50. .align-center {
  51. display: flex;
  52. align-items: center;
  53. }
  54. .align-end {
  55. display: flex;
  56. align-items: flex-end;
  57. }
  58. .center {
  59. display: flex;
  60. justify-content: center;
  61. align-items: center;
  62. }
  63. .centerV {
  64. display: flex;
  65. justify-content: center;
  66. align-items: center;
  67. flex-direction: column;
  68. }
  69. .wrap {
  70. flex-wrap: wrap;
  71. }
  72. .flex-1 {
  73. flex: 1;
  74. }
  75. .ellipsis {
  76. overflow: hidden;
  77. text-overflow: ellipsis;
  78. display: -webkit-box;
  79. -webkit-box-orient: vertical;
  80. box-sizing: border-box;
  81. width: 100%;
  82. -webkit-line-clamp: 1;
  83. }
  84. .text-ellipsis {
  85. display: -webkit-box; /* 关键属性 */
  86. -webkit-box-orient: vertical; /* 排列方向 */
  87. -webkit-line-clamp: 2; /* 显示行数 */
  88. overflow: hidden; /* 超出隐藏 */
  89. text-overflow: ellipsis; /* 超出显示省略号 */
  90. word-break: break-all; /* 允许单词断行 */
  91. }
  92. .lines-2 {
  93. -webkit-line-clamp: 2 !important;
  94. }
  95. .lines-3 {
  96. -webkit-line-clamp: 3 !important;
  97. }
  98. .bold {
  99. font-weight: bold;
  100. }
  101. .line-through {
  102. text-decoration: line-through;
  103. }
  104. .nowrap {
  105. white-space: nowrap;
  106. }
  107. .scrollx {
  108. overflow-x: scroll;
  109. }
  110. .scrolly {
  111. overflow-y: scroll;
  112. }
  113. .base-textcol{
  114. color: var(--base-color-text);
  115. }
  116. .color9{
  117. color: #999;
  118. }
  119. .color6{
  120. color: #666;
  121. }
  122. .bgf{
  123. background-color: #fff;
  124. }
  125. .base-color{
  126. color: #018C39;
  127. }