quexianDetailControl.less 7.0 KB

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