mukuai.less 6.4 KB

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