itemManager.less 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. @import "./reset.less";
  2. .managerContainer{
  3. width: 100%;
  4. height: 100%;
  5. overflow-y: auto;
  6. .selectUsed,.selectReject {
  7. float: right;
  8. }
  9. ul,li{
  10. padding:0;
  11. margin:0;
  12. list-style:none;
  13. }
  14. h2{
  15. .h2;
  16. }
  17. .main-body{
  18. margin: 10px 40px;
  19. }
  20. table{
  21. width: 100%;
  22. border:1px solid #E2E5EF;
  23. border-collapse: collapse;
  24. thead{
  25. background: #EFF0F9;
  26. }
  27. th,td{
  28. height: 32px;
  29. box-sizing: border-box;
  30. padding:0 10px;
  31. border:1px solid #E2E5EF;
  32. border-collapse: collapse;
  33. }
  34. th{
  35. font-size: 14px;
  36. font-weight: 500;
  37. }
  38. td{
  39. font-size: 14px;
  40. font-weight: 400
  41. }
  42. .moduleNumber{
  43. text-align: center;
  44. }
  45. }
  46. // .filterBox{
  47. // margin: 0 0 20px 0;
  48. // }
  49. .filterItem{
  50. position: relative;
  51. display: inline-block;
  52. height: 32px;
  53. line-height: 32px;
  54. margin: 0 20px 20px 0;
  55. }
  56. .filterDropList{
  57. position: absolute;
  58. right: 0;
  59. max-height: 200px;
  60. overflow-y: auto;
  61. background: #fff;
  62. display: none;
  63. border: 1px solid #e4e7ed;
  64. box-shadow: 0 2px 12px 0 #e4e7ed;
  65. z-index: 2;
  66. li{
  67. padding: 0 10px;
  68. }
  69. }
  70. .rejectList, .usedList{
  71. height: 120px;
  72. li{
  73. padding: 0 10px;
  74. }
  75. li:hover{
  76. background-color: #EEF4FF;
  77. cursor: pointer;
  78. }
  79. }
  80. .switchImg{
  81. width: 30px;
  82. }
  83. .roleSelect {
  84. position: relative;
  85. top: 3px;
  86. cursor: pointer;
  87. }
  88. .selectModuleType,.moduleItemInp,.selectUsed, .selectReject{
  89. display: inline-block;
  90. position: relative;
  91. width:140px;
  92. height:32px;
  93. border-radius:4px;
  94. border: 1px solid #E2E5EF;
  95. box-sizing: border-box;
  96. cursor: pointer;
  97. padding:0 26px 0 10px;
  98. }
  99. .arrow{
  100. position: absolute;
  101. width: 10px;
  102. top: 12px;
  103. right: 10px;
  104. }
  105. .moduleItemInp{
  106. cursor: default;
  107. outline: none;
  108. }
  109. .moduleItemInp:focus{
  110. border: 1px solid @activeColor ;
  111. outline: 0;
  112. -webkit-box-shadow:@activeColor 0px 0px 2px;
  113. -moz-box-shadow: @activeColor 0px 0px 2px;
  114. box-shadow: @activeColor 0px 0px 2px;
  115. }
  116. .moduleTypeList{
  117. width: 160px;
  118. }
  119. .selectUsed, .selectReject{
  120. width: 140px;
  121. }
  122. .modeTypeItem:hover{
  123. background-color: #EEF4FF;
  124. cursor: pointer;
  125. }
  126. .rejectList, .usedList {
  127. width: 140px;
  128. }
  129. .filter{
  130. display: inline-block;
  131. width:60px;
  132. height:32px;
  133. background:@activeColor;
  134. border-radius:4px;
  135. color: #fff;
  136. text-align: center;
  137. line-height: 32px;
  138. position: relative;
  139. top: 0px;
  140. cursor: pointer;
  141. }
  142. .filterclear{
  143. top:0px;
  144. }
  145. .editItem{
  146. color: @activeColor;
  147. cursor: pointer;
  148. }
  149. .editItemDis{
  150. color: #aaa;
  151. cursor: not-allowed;
  152. }
  153. .ellipsis{
  154. overflow: hidden;
  155. text-overflow:ellipsis;
  156. white-space: nowrap;
  157. }
  158. .textCenter{
  159. text-align: center;
  160. }
  161. .pagination{
  162. margin: 35px 0 0 0 ;
  163. text-align: right;
  164. }
  165. .totalSum{
  166. font-size:12px;
  167. line-height:17px;
  168. color: #777777;
  169. margin-right: 20px;
  170. }
  171. .pageNum,.prePage,.nextPage, .more{
  172. display: inline-block;
  173. width: 20px;
  174. cursor: pointer;
  175. margin: 0 20px 0 0;
  176. text-align: center;
  177. color: #777;
  178. }
  179. .prePage,.nextPage{
  180. img{
  181. position: relative;
  182. top: 0px ;
  183. }
  184. }
  185. .more{
  186. cursor: not-allowed;
  187. }
  188. .arrowPage{
  189. width: 6px;
  190. }
  191. .activePage{
  192. color: @activeColor;
  193. }
  194. input::-webkit-outer-spin-button,
  195. input::-webkit-inner-spin-button {
  196. -webkit-appearance: none;
  197. }
  198. input[type="number"] {
  199. -moz-appearance: textfield;
  200. }
  201. }
  202. .usrContain .selectReject,.usrContain .selectModuleType ,.managerContainer .selectModuleType {
  203. float: right;
  204. }
  205. .usrContain .rejectList,.usrContain .usedList{
  206. height: 200px;
  207. }
  208. .usrContain .selectModuleType, .usrContain .moduleItemInp, .usrContain .selectUsed, .usrContain .selectReject {
  209. width: 170px;
  210. }
  211. .managerContainer .moduleTypeList {
  212. width: 140px;
  213. }
  214. .managerContainer.usrContain .moduleTypeList {
  215. width: 170px;
  216. height: 400px;
  217. }
  218. .managerContainer.usrContain .selectReject {
  219. width: 140px;
  220. }