tiaomu.less 5.8 KB

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