picture-list.css 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. /*
  2. *这里的值严格按照UI设计图标注值来进行设置
  3. */
  4. /*
  5. *颜色
  6. */
  7. /*
  8. *页面的边距
  9. */
  10. /*
  11. *字体
  12. */
  13. /*
  14. *头像
  15. */
  16. /*
  17. * 按钮
  18. */
  19. /*
  20. *对常见的多行样式进行了方法封装,方便调用,加快开发效率
  21. */
  22. html,
  23. body {
  24. min-height: 100vh;
  25. width: 100vw;
  26. background-color: #eee;
  27. margin: 0;
  28. display: flex;
  29. font-weight: initial !important;
  30. font-size: 14px !important;
  31. color: #333 !important;
  32. }
  33. html *,
  34. body * {
  35. text-decoration: none !important;
  36. font-family: Verdana, Arial, Helvetica, sans-serif;
  37. box-sizing: border-box;
  38. }
  39. .ms-ellipsis {
  40. overflow: hidden;
  41. text-overflow: ellipsis;
  42. white-space: nowrap;
  43. display: block;
  44. }
  45. .ms-align-center {
  46. display: flex;
  47. align-items: center;
  48. }
  49. input::-webkit-input-placeholder,
  50. textarea::-webkit-input-placeholder {
  51. font-weight: initial;
  52. font-size: 12px;
  53. color: #999;
  54. resize: none;
  55. }
  56. *::-webkit-scrollbar {
  57. width: 8px;
  58. height: 8px;
  59. }
  60. /*定义滚动条轨道 内阴影+圆角*/
  61. *::-webkit-scrollbar-track {
  62. border-radius: 10px;
  63. /*滚动条的背景区域的圆角*/
  64. background-color: #eee;
  65. /*滚动条的背景颜色*/
  66. }
  67. /*定义滑块 内阴影+圆角*/
  68. *::-webkit-scrollbar-thumb {
  69. border-radius: 10px;
  70. /*滚动条的圆角*/
  71. background-color: #e6e6e6;
  72. /*滚动条的背景颜色*/
  73. }
  74. .ms-container {
  75. margin: 12px;
  76. height: calc(100% - 24px);
  77. padding: 14px;
  78. background: #fff;
  79. }
  80. .ms-header {
  81. padding: 10px;
  82. margin: 0;
  83. border-bottom: 1px solid #ddd;
  84. background: #fff;
  85. height: 50px;
  86. }
  87. .ms-header button {
  88. height: 30px;
  89. }
  90. .ms-pagination {
  91. padding: 20px 0;
  92. text-align: right;
  93. }
  94. .ms-fr {
  95. float: right;
  96. }
  97. .ms-tr {
  98. text-align: right;
  99. }
  100. .ms-weixin-content {
  101. width: calc(100% - 140px);
  102. }
  103. .ms-weixin-dialog .el-dialog__header {
  104. height: 55px;
  105. box-sizing: border-box;
  106. padding: 10px 10px 25px 10px;
  107. border-bottom: 1px solid #e6e6e6;
  108. }
  109. .ms-weixin-dialog .el-dialog__header .el-dialog__title {
  110. font-weight: bold;
  111. font-size: 14px;
  112. color: #333;
  113. }
  114. .ms-weixin-dialog .el-dialog__footer {
  115. border-top: 1px solid #e6e6e6;
  116. padding: 15px !important;
  117. }
  118. .ms-hover {
  119. cursor: pointer;
  120. }
  121. .ms-hover:hover {
  122. color: #0099ff;
  123. background: #fff;
  124. border-color: #0099ff;
  125. }
  126. .ms-header-select {
  127. font-size: 0;
  128. }
  129. .ms-header-select > .el-select:nth-of-type(2) {
  130. margin: 0 10px;
  131. }
  132. .ms-admin-picture {
  133. height: 100%;
  134. }
  135. .ms-admin-picture-list {
  136. background: #fff;
  137. margin: 12px;
  138. padding: 14px;
  139. display: flex;
  140. }
  141. .ms-admin-picture-list .ms-admin-picture-item {
  142. display: flex;
  143. flex-wrap: wrap;
  144. align-items: flex-start;
  145. width: calc(100% - 220px) !important;
  146. }
  147. .ms-admin-picture-list .ms-admin-picture-item > div {
  148. margin: 0 24px 0 0;
  149. padding: 10px 10px 0 10px;
  150. width: 230px;
  151. display: flex;
  152. flex-direction: column;
  153. border: 1px solid #e6e6e6;
  154. border-radius: 4px;
  155. }
  156. .ms-admin-picture-list .ms-admin-picture-item > div .body {
  157. display: flex;
  158. flex-direction: column;
  159. line-height: 2em;
  160. }
  161. .ms-admin-picture-list .ms-admin-picture-item > div .body div {
  162. margin-top: 0.5em;
  163. display: flex;
  164. align-items: center;
  165. }
  166. .ms-admin-picture-list .ms-admin-picture-item > div .body div span {
  167. overflow: hidden;
  168. text-overflow: ellipsis;
  169. white-space: nowrap;
  170. display: block;
  171. cursor: pointer;
  172. }
  173. .ms-admin-picture-list .ms-admin-picture-item > div .body div span:hover {
  174. color: #0099ff;
  175. background: #fff;
  176. border-color: #0099ff;
  177. }
  178. .ms-admin-picture-list .ms-admin-picture-item > div .body img {
  179. width: 100%;
  180. height: 130px;
  181. object-fit: cover;
  182. }
  183. .ms-admin-picture-list .ms-admin-picture-item > div .footer {
  184. display: flex;
  185. padding: 14px 0;
  186. }
  187. .ms-admin-picture-list .ms-admin-picture-item > div .footer i {
  188. color: #333;
  189. margin: auto;
  190. cursor: pointer;
  191. }
  192. .ms-admin-picture-list .ms-admin-picture-item > div .footer i:hover {
  193. color: #0099ff;
  194. background: #fff;
  195. border-color: #0099ff;
  196. }
  197. .ms-admin-picture-list .ms-admin-picture-item > div .footer em {
  198. width: 1px;
  199. height: 1em;
  200. background: #e6e6e6;
  201. }
  202. .ms-admin-picture-list .ms-admin-picture-show {
  203. min-width: 220px;
  204. height: 100%;
  205. margin: -14px 0;
  206. padding: 14px;
  207. border-left: 1px solid #e6e6e6;
  208. }
  209. .ms-admin-picture-list .ms-admin-picture-show > span {
  210. padding: 10px;
  211. display: flex;
  212. background: #f2f2f6;
  213. font-weight: bold;
  214. }
  215. .ms-admin-picture-list .ms-admin-picture-show > div {
  216. display: flex;
  217. align-items: center;
  218. padding: 10px;
  219. font-size: 14px;
  220. }
  221. .ms-admin-picture-list .ms-admin-picture-show > div span {
  222. margin-right: auto;
  223. }
  224. .ms-admin-picture-list .ms-admin-picture-show > div i {
  225. margin-left: 10px;
  226. cursor: pointer;
  227. }
  228. .ms-admin-picture-list .ms-admin-picture-show > div i:hover {
  229. color: #0099ff;
  230. background: #fff;
  231. border-color: #0099ff;
  232. }
  233. .ms-admin-picture-list .ms-admin-picture-show > p {
  234. margin: 0;
  235. padding: 10px;
  236. border: 1px solid #e6e6e6;
  237. display: flex;
  238. justify-content: center;
  239. align-items: center;
  240. cursor: pointer;
  241. }
  242. .ms-admin-picture-list .ms-admin-picture-show > p:hover {
  243. color: #0099ff;
  244. background: #fff;
  245. border-color: #0099ff;
  246. }