itemManager.less 4.4 KB

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