reset.css 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. .fr {
  2. float: right;
  3. }
  4. .fl {
  5. float: left;
  6. }
  7. /*文字单行溢出省略号
  8. Name: style_text-overflow
  9. Example: class="text-overflow"
  10. */
  11. .text-overflow{overflow:hidden !important;text-overflow:ellipsis;white-space:nowrap !important}
  12. /*线条
  13. Name: style_line
  14. Example: class="line"
  15. */
  16. /* .line{font-size: 0rpx; line-height: 0rpx; border-top: solid 2rpx #eee; float: none} */
  17. /*外边距
  18. Name: style_margin
  19. Example: class="mt-5|mt-10..."
  20. Explain: .mt表示上边距|.mb表示下边距|.ml表示左边距|.mr表示右边距
  21. */
  22. .m-5{margin:10rpx}.m-10{margin:20rpx}.m-15{margin:30rpx}.m-20{margin:40rpx}.m-25{margin:50rpx}.m-30{margin:60rpx}.m-35{margin:70rpx}.m-40{margin:80rpx}.m-50{margin:100rpx}
  23. .mt-5{margin-top:10rpx}.mt-10{margin-top:20rpx}.mt-15{margin-top:30rpx}.mt-20{margin-top:40rpx}.mt-25{margin-top:50rpx}.mt-30{margin-top:60rpx}.mt-35{margin-top:70rpx}.mt-40{margin-top:80rpx}.mt-50{margin-top:100rpx}
  24. .mb-5{margin-bottom:10rpx}.mb-10{margin-bottom:20rpx}.mb-15{margin-bottom:30rpx}.mb-20{margin-bottom:40rpx}.mb-30{margin-bottom:60rpx}.mb-40{margin-bottom:80rpx}.mb-50{margin-bottom:100rpx}
  25. .ml-5{margin-left:10rpx}.ml-10{margin-left:20rpx}.ml-15{margin-left:30rpx}.ml-20{margin-left:40rpx}.ml-30{margin-left:60rpx}.ml-40{margin-left:80rpx}.ml-50{margin-left:100rpx}
  26. .mr-5{margin-right:10rpx}.mr-10{margin-right:20rpx}.mr-15{margin-right:30rpx}.mr-20{margin-right:40rpx}.mr-30{margin-right:60rpx}.mr-40{margin-right:80rpx}.mr-50{margin-right:100rpx}
  27. /*内填充
  28. Name: style_padding
  29. Example: class="pt-5|pt-10|……"
  30. Explain: .pt表示上填充|.pb表示下填充|.pl表示左填充|.pr表示右填充
  31. */
  32. .pt-5{padding-top:10rpx}.pt-10{padding-top:20rpx}.pt-15{padding-top:30rpx}.pt-20{padding-top:40rpx}.pt-30{padding-top:60rpx}.pt-40{padding-top:80rpx}
  33. .pb-5{padding-bottom:10rpx}.pb-10{padding-bottom:20rpx}.pb-15{padding-bottom:30rpx}.pb-20{padding-bottom:40rpx}.pb-30{padding-bottom:60rpx}.pb-40{padding-bottom:80rpx}
  34. .pl-5{padding-left:10rpx}.pl-10{padding-left:20rpx}.pl-15{padding-left:30rpx}.pl-20{padding-left:40rpx}.pl-30{padding-left:60rpx}.pl-40{padding-left:80rpx}
  35. .pr-5{padding-right:10rpx}.pr-10{padding-right:20rpx}.pr-15{padding-right:30rpx}.pr-20{padding-right:40rpx}.pr-30{padding-right:60rpx}.pr-40{padding-right:80rpx}
  36. .pd-5{padding:10rpx}.pd-10{padding:20rpx}.pd-15{padding:30rpx}.pd-20{padding:40rpx}.pd-30{padding:60rpx}.pd-40{padding:80rpx}
  37. /* 边框,css3圆角
  38. Name: style-border
  39. Example: class="bk_gray radius"
  40. Explain: .bk_gray 边框|radius 圆角|round 椭圆 | circle 圆形
  41. */
  42. .radius-2{border-radius:4rpx}.radius-4{border-radius:8rpx}.radius-6{ border-radius:12rpx}.radius-8{ border-radius:16rpx}.radius-10{ border-radius:20rpx}.radius-12{ border-radius:24rpx}.radius-14{ border-radius:28rpx}.radius-16{ border-radius:32rpx}.radius-18{ border-radius:36rpx}.radius-20{ border-radius:40rpx}.radius-round{border-radius:50%; overflow:hidden}
  43. /*css3阴影
  44. Name: style_shadow
  45. Example: class="box_shadow|text-shadow"
  46. Explain: box_shadow 块级元素阴影,全局样式,可用在表格,文本框,文本域,div等块级元素上。
  47. text-shadow 文字阴影
  48. */
  49. .box-shadow{-webkit-box-shadow:0 4rpx 8rpx rgba(0,0,0,0.1);box-shadow:0 4rpx 8rpx rgba(0,0,0,0.1)}
  50. .text-shadow{-webkit-text-shadow:0 0 4rpx rgba(0,0,0,0.2);text-shadow:0 0 4rpx rgba(0,0,0,0.2)}
  51. /*行内分割竖线
  52. Name: style_pipe
  53. Example: <span class="pipe">|</span>
  54. */
  55. .pipe{margin:0 10rpx;color:#CCC;font-size:20rpx!important}
  56. /*文字尺寸
  57. Name: style_font-size
  58. Example: class="f-12|f-14|f-16|f-18|f-20|f-24|f-26|f-28|f-30"
  59. Explain: 12rpx字体|14rpx字体|16rpx字体|18rpx字体|20rpx字体|24rpx字体|26rpx字体|28rpx字体|30rpx字体
  60. */
  61. .f-10{font-size:20rpx}.f-11{font-size:22rpx}.f-12{font-size:24rpx}.f-13{font-size:26rpx}.f-14{font-size:28rpx}.f-16{font-size:32rpx}.f-18{font-size:36rpx}.f-20{font-size:40rpx}.f-24{font-size:48rpx}.f-26{font-size:52rpx}.f-28{font-size:56rpx}.f-30{font-size:60rpx}.f-32{font-size:64rpx}.f-36{font-size:72rpx}.f-40{font-size:80rpx}
  62. /*3.1.14 文字行距
  63. Name: mod_line-height
  64. Example: class="lh-16|lh-18|lh-20|lh-22|lh-24|lh-26|lh-28|lh-30"
  65. Explain: 16rpx行高|18rpx行高|20rpx行高|22rpx行高|24rpx行高|26rpx行高|30rpx行高
  66. */
  67. .lh-16{line-height:32rpx}.lh-18{line-height:36rpx}.lh-20{line-height:40rpx}.lh-22{line-height:44rpx}.lh-24{line-height:48rpx}.lh-26{line-height:52rpx}.lh-28{line-height:56rpx}.lh-30{line-height:60rpx}.lh-10x{line-height:1.0}.lh-12x{line-height:1.2}.lh-15x{line-height:1.5}.lh-18x{line-height:1.8}.lh-20x{line-height:2.0}.lh-30x{line-height:3.0}
  68. /*3.1.15 文字颜色
  69. Name: style_color
  70. Example: class="c-primary|c-sub|c-success|c-danger|c-warning|c-333|c-666|c-999|c-red|c-green|c-blue|c-white|c-black|c-orange"
  71. Explain: 主要颜色|次主色|强调色—成功|强调色—危险|强调色—警告色|强调色—错误色|次主色—浅黑|辅助色—灰色|标准色—红色|标准色—绿色|标准色—蓝色|标准色—白色|标准色—黑色|标准色—橙色
  72. */
  73. /*主要颜色*/
  74. .c-primary,.c-primary a,a.c-primary{color:#409EFF}
  75. .c-primary a:hover,a.c-primary:hover{ color:#409EFF}
  76. /*次主色*/
  77. .c-secondary,.c-secondary a,a.c-secondary{color:#175CFF}
  78. .c-secondary a:hover,a.c-secondary:hover{ color:#175CFF}
  79. /*强调色—成功*/
  80. .c-success,.c-success a,a.c-success{color:#67C23A}
  81. .c-success a:hover,a.c-success:hover{ color:#67C23A}
  82. /*强调色—危险*/
  83. .c-danger,.c-danger a,a.c-danger{color:#F56C6C}
  84. .c-danger a:hover,a.c-danger:hover{ color:#F56C6C}
  85. /*强调色—警告*/
  86. .c-warning,.c-warning a,a.c-warning{color:#FFAA00}
  87. .c-warning a:hover,a.c-warning:hover{ color:#FFAA00}
  88. /*辅助色—浅黑*/
  89. .c-333,.c-333 a,a.c-333{color:#252438}
  90. .c-333 a:hover,a.c-333:hover{ color:#252438}
  91. /*辅助色—灰色*/
  92. .c-666,.c-666 a,a.c-666{color:#606066}
  93. .c-666 a:hover,a.c-666:hover{ color:#606066}
  94. .c-999,.c-999 a,a.c-999{color:#909199}
  95. .c-999 a:hover,a.c-999:hover{color:#909199}
  96. .c-remark,.c-remark a,a.c-remark{color:#C0C2CC}
  97. .c-remark a:hover,a.c-remark:hover{color:#C0C2CC}
  98. /*标准色—红色*/
  99. .c-red,.c-red a,a.c-red{color:red}
  100. .c-red a:hover,a.c-red:hover{ color:red}
  101. /*标准色—绿色*/
  102. .c-green,.c-green a,a.c-green{color:green}
  103. .c-red a:hover,a.c-red:hover{color:green}
  104. /*标准色—蓝色*/
  105. .c-blue,.c-blue a,a.c-blue{color:blue}
  106. .c-blue a:hover,a.c-blue:hover{color:blue}
  107. /*标准色—白色*/
  108. .c-white,.c-white a,a.c-white{color: white !important;}
  109. .c-white a:hover,a.c-white:hover{color:white}
  110. /*标准色—黑色*/
  111. .c-black,.c-black a{color:black}
  112. .c-black a:hover,a.c-black:hover{color:black}
  113. /*标准色—橙色*/
  114. .c-orange,.c-orange a,a.c-orange{color:orange}
  115. .c-orange a:hover,a.c-orange:hover{color:orange}
  116. /* 渐变色 */
  117. /* 翠柳 */
  118. .linear-green {background: linear-gradient(45deg, #87DE0E 0%, #64BD38 100%) !important;}
  119. /* 麦黄 */
  120. .linear-yellow {background: linear-gradient(45deg, #FBB437 0%, #FDD36D 100%) !important;}
  121. /* 靛青 */
  122. .linear-blue {background: linear-gradient(45deg, #3485FF 0%, #1C68FF 100%) !important;}
  123. /* 魅红 */
  124. .linear-red {background: linear-gradient(45deg, #F43F3B 0%, #EC008C 100%) !important;}
  125. /* 鎏金 */
  126. .linear-orange {background: linear-gradient(45deg, #Ff9700 0%, #ed1c24 100%) !important;}
  127. /* 惑紫 */
  128. .linear-purple {background: linear-gradient(45deg, #9000ff 0%, #5e00ff 100%) !important;}
  129. /* 霞彩 */
  130. .linear-pink {background: linear-gradient(45deg, #EC008C 0%, #6739b6 100%) !important;}
  131. /* flex布局 */
  132. .im-flex {
  133. display: flex;
  134. }
  135. .im-border-box {
  136. box-sizing: border-box;
  137. }
  138. .im-rows {
  139. flex-direction: row;
  140. }
  141. .im-rows-reverse{
  142. flex-direction: row-reverse !important;
  143. }
  144. .im-columns {
  145. flex-direction: column;
  146. }
  147. .im-wrap {
  148. flex-direction: row;
  149. flex-wrap: wrap;
  150. }
  151. .im-nowrap {
  152. flex-direction: row;
  153. flex-wrap: nowrap;
  154. }
  155. .im-columns-reverse{
  156. flex-direction:column-reverse !important;
  157. }
  158. .im-space-around {
  159. justify-content: space-around;
  160. }
  161. .im-space-between {
  162. justify-content: space-between;
  163. }
  164. .im-justify-content-start {
  165. justify-content: flex-start;
  166. }
  167. .im-justify-content-center {
  168. justify-content: center;
  169. }
  170. .im-justify-content-end {
  171. justify-content: flex-end;
  172. }
  173. .im-align-items-start {
  174. align-items: flex-start;
  175. }
  176. .im-align-items-center {
  177. align-items: center;
  178. }
  179. .im-align-items-end {
  180. align-items: flex-end;
  181. }
  182. .im-align-content-start {
  183. align-content: flex-start;
  184. }
  185. .im-align-content-center {
  186. align-content: center;
  187. }
  188. .im-align-content-end {
  189. align-content: flex-end;
  190. }
  191. .im-flex1 {
  192. flex: 1;
  193. }
  194. .rotate45{transform:rotate(45deg);}
  195. .rotate90{transform:rotate(90deg);}
  196. .rotate135{transform:rotate(135deg);}
  197. .rotate180{transform:rotate(180deg);}
  198. .rotate225{transform:rotate(225deg);}
  199. .rotate270{transform:rotate(270deg);}
  200. .rotate315{transform:rotate(315deg);}
  201. .rotate360{transform:rotate(360deg);}
  202. /* 分割线 */
  203. .parting-line-5{
  204. padding:5rpx;
  205. background: #f5f5f5;
  206. }
  207. .parting-line-10{
  208. padding:10rpx;
  209. background: #f5f5f5;
  210. }
  211. .parting-line-15{
  212. padding:15rpx;
  213. background: #f5f5f5;
  214. }
  215. .parting-line-20{
  216. padding:20rpx;
  217. background: #f5f5f5;
  218. }
  219. /* colorUI样式重写 */
  220. .cu-list.menu-avatar>.cu-item:after{
  221. position: absolute;
  222. top: 0;
  223. left: 0;
  224. box-sizing: border-box;
  225. width: 200%;
  226. height:1px;
  227. border-bottom: 1px solid #eee;
  228. border-radius: inherit;
  229. content: " ";
  230. transform: scale(.5);
  231. transform-origin: 0 0;
  232. pointer-events: none;
  233. }
  234. .cu-avatar.md {
  235. width: 72upx;
  236. height: 72upx;
  237. font-size: 1.5em;
  238. }
  239. .cu-list>.cu-item.move-cur.first {
  240. transform: translateX(-150upx) !important;
  241. }
  242. .cu-list>.cu-item .move.first {
  243. width: 150upx !important;
  244. }
  245. .cu-list>.cu-item.move-cur.second {
  246. transform: translateX(-300upx) !important;
  247. }
  248. .cu-list>.cu-item .move.second {
  249. width: 300upx !important;
  250. }
  251. .cu-list>.cu-item.move-cur.third {
  252. transform: translateX(-450upx) !important;
  253. }
  254. .cu-list>.cu-item .move.third {
  255. width: 450upx !important;
  256. }
  257. .emoji-image{
  258. margin: 0 6rpx;
  259. }
  260. .manage-content{
  261. text-align: left;
  262. }