common.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. /* 字体大小 */
  2. .lem-text-sm{
  3. font-size: 20rpx;
  4. line-height: 28rpx;
  5. }
  6. .lem-text-df{
  7. font-size: 24rpx;
  8. line-height: 34rpx;
  9. }
  10. .lem-text-lg{
  11. font-size: 26rpx;
  12. line-height: 36rpx;
  13. }
  14. .lem-text-xl{
  15. font-size: 28rpx;
  16. line-height: 38rpx;
  17. }
  18. .lem-text-xxl{
  19. font-size: 32rpx;
  20. line-height: 46rpx;
  21. }
  22. .lem-text-xsl{
  23. font-size: 34rpx;
  24. line-height: 48rpx;
  25. }
  26. .lem-text-title{
  27. font-size: 36rpx;
  28. line-height: 50rpx;
  29. }
  30. .lem-text-banner{
  31. font-size: 40rpx;
  32. line-height: 64rpx;
  33. }
  34. /* 背景色 */
  35. .lem-bg-main{
  36. background-color: #2aac34;
  37. color: #ffffff;
  38. }
  39. .lem-bg-main-light{
  40. background-color: #8ad61d;
  41. color: #ffffff;
  42. }
  43. .lem-bg-sub{
  44. background-color: #fc6620;
  45. color: #ffffff;
  46. }
  47. .lem-bg-sub-light{
  48. background-color: #ff473c;
  49. color: #ffffff;
  50. }
  51. .lem-bg-gray{
  52. background-color: #f2f2f2;
  53. }
  54. /* 文字颜色 */
  55. .lem-text-black{
  56. color: #1b1c33;
  57. }
  58. .lem-text-grey{
  59. color: #5e5e66;
  60. }
  61. .lem-text-gray{
  62. color: #8d8e99;
  63. }
  64. .lem-text-tip{
  65. color: #c4c4cc;
  66. }
  67. .lem-text-border{
  68. color: #f2f2f2;
  69. }
  70. .lem-border{
  71. border-radius: 12rpx;
  72. }
  73. .lem-btn {
  74. position: relative;
  75. display: inline-flex;
  76. align-items: center;
  77. justify-content: center;
  78. box-sizing: border-box;
  79. padding: 0 30rpx;
  80. font-size: 28rpx;
  81. height: 64rpx;
  82. line-height: 1;
  83. text-align: center;
  84. text-decoration: none;
  85. overflow: visible;
  86. margin-left: initial;
  87. transform: translate(0rpx, 0rpx);
  88. margin-right: initial;
  89. }
  90. .lem-btn::after {
  91. display: none;
  92. }
  93. .lem-btn:not([class*="bg-"]) {
  94. background-color: #f0f0f0;
  95. }
  96. .lem-btn[class*="line"] {
  97. background-color: transparent;
  98. }
  99. .lem-btn[class*="line"]::after {
  100. content: " ";
  101. display: block;
  102. width: 200%;
  103. height: 200%;
  104. position: absolute;
  105. top: 0;
  106. left: 0;
  107. border: 1rpx solid currentColor;
  108. transform: scale(0.5);
  109. transform-origin: 0 0;
  110. box-sizing: border-box;
  111. border-radius: 24rpx;
  112. z-index: 1;
  113. pointer-events: none;
  114. }
  115. .lem-btn.round[class*="line"]::after {
  116. border-radius: 1000rpx;
  117. }
  118. .lem-btn[class*="lines"]::after {
  119. border: 6rpx solid currentColor;
  120. }
  121. .lem-btn[class*="bg-"]::after {
  122. display: none;
  123. }
  124. .lem-btn.sm {
  125. padding: 0 20rpx;
  126. font-size: 20rpx;
  127. height: 48rpx;
  128. }
  129. .lem-btn.lg {
  130. padding: 0 40rpx;
  131. font-size: 32rpx;
  132. height: 80rpx;
  133. }
  134. .line-grey::after, .lines-grey::after {
  135. border-color: #acacac;
  136. }