common.less 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347
  1. @import "./reset.less";
  2. .ellipsis {
  3. overflow: hidden;
  4. text-overflow: ellipsis;
  5. white-space: nowrap;
  6. }
  7. .partTitle p a {
  8. color: #8592b9;
  9. opacity: 1;
  10. }
  11. input:disabled {
  12. background-color: @disColor;
  13. }
  14. .main-body-com {
  15. background: #fff;
  16. margin: 0;
  17. padding: 20px 25px;
  18. border: 10px @disColor solid;
  19. box-sizing: border-box;
  20. }
  21. .exportData {
  22. display: inline-block;
  23. width: 60px;
  24. height: 34px;
  25. line-height: 34px;
  26. background: #fff;
  27. border-radius: 4px;
  28. color: #777;
  29. text-align: center;
  30. border: 1px solid #777;
  31. box-sizing: border-box;
  32. cursor: pointer;
  33. margin-left: 10px;
  34. margin-bottom: 20px;
  35. float: left;
  36. top: 0px;
  37. }
  38. .export {
  39. margin-bottom: 20px !important;
  40. }
  41. th[code] {
  42. cursor: pointer;
  43. &:after {
  44. content: "";
  45. display: inline-block;
  46. width: 11px;
  47. height: 14px;
  48. margin-left: 4px;
  49. vertical-align: middle;
  50. background-size: 100%;
  51. background-image: url("../images/grey.png");
  52. }
  53. &.asc:after {
  54. background: url("../images/up_blue.png");
  55. background-size: 100%;
  56. }
  57. &.desc:after {
  58. background: url("../images/down_blue.png");
  59. background-size: 100%;
  60. }
  61. }
  62. .dataSelectLight {
  63. .partDetailControl .filterItem input {
  64. width: 120px;
  65. height: 34px;
  66. border-radius: 4px;
  67. border: 1px solid #e2e5ef;
  68. outline: none;
  69. margin-right: 10px;
  70. padding: 0 10px;
  71. box-sizing: border-box;
  72. }
  73. .partDetailControl .filterItem span {
  74. display: inline-block;
  75. line-height: 34px;
  76. position: relative;
  77. }
  78. .datapickerBox input {
  79. margin-right: 0px !important;
  80. }
  81. .iconCalen {
  82. position: absolute;
  83. width: 15px;
  84. top: 10px !important;
  85. right: 10px;
  86. }
  87. .divide {
  88. margin: 0 10px;
  89. }
  90. }
  91. .dataSelectDark {
  92. // position: relative;
  93. // display: inline-block;
  94. margin: 4px 20px 10px 0;
  95. top: 0px !important;
  96. height: 34px !important;
  97. line-height: 34px !important;
  98. float: right !important;
  99. span {
  100. position: relative;
  101. display: inline-block;
  102. height: 34px !important;
  103. line-height: 34px !important;
  104. float: left;
  105. }
  106. input {
  107. width: 120px;
  108. height: 32px;
  109. border-radius: 4px;
  110. border: 1px solid @themeBorderClr;
  111. outline: none;
  112. padding: 0 10px;
  113. box-sizing: border-box;
  114. background-color: @themeColor;
  115. color: @secColor;
  116. }
  117. .iconCalen {
  118. position: absolute;
  119. width: 15px;
  120. top: 8px;
  121. right: 10px;
  122. }
  123. .divide {
  124. margin: 0 10px;
  125. color: #fff;
  126. }
  127. }
  128. .managerContainer .filter,
  129. .filterclear.abnormalClear {
  130. margin-bottom: 20px;
  131. }
  132. .ui-datepicker-calendar {
  133. border: 0 none;
  134. min-width: 0;
  135. }
  136. .ui-datepicker thead {
  137. background-color: #fff;
  138. color: #c3cbd6;
  139. }
  140. .ui-datepicker td {
  141. padding: 0;
  142. height: auto;
  143. color: #657180;
  144. }
  145. .ui-datepicker td span,
  146. .ui-datepicker td a {
  147. text-align: center;
  148. height: 30px;
  149. line-height: 30px;
  150. }
  151. .ui-widget {
  152. z-index: 9999 !important;
  153. }
  154. .ui-state-default,
  155. .ui-widget-content .ui-state-default,
  156. .ui-widget-header .ui-state-default {
  157. border: 0;
  158. background-color: #fff;
  159. &:hover {
  160. background-color: #c4d8fe;
  161. }
  162. }
  163. .iconCalen {
  164. position: absolute;
  165. width: 15px;
  166. top: 10px;
  167. right: 10px;
  168. }
  169. .ui-datepicker select.ui-datepicker-month,
  170. .ui-datepicker select.ui-datepicker-year {
  171. color: #333;
  172. font-weight: normal;
  173. height: 30px;
  174. line-height: 30px;
  175. margin: 0 5px;
  176. width: 40%;
  177. border-radius: 3px;
  178. }
  179. .ui-datepicker .ui-datepicker-prev,
  180. .ui-datepicker .ui-datepicker-next {
  181. top: 5px;
  182. }
  183. .ui-state-active,
  184. .ui-widget-content .ui-state-active {
  185. background-color: @activeColor !important;
  186. color: #fff;
  187. }
  188. .ui-state-highlight,
  189. .ui-widget-content .ui-state-highlight {
  190. background-color: #fff5bf !important;
  191. color: #657180;
  192. }
  193. .ui-widget-header {
  194. background-color: #fff;
  195. border: 0 none;
  196. }
  197. input::-webkit-outer-spin-button,
  198. input::-webkit-inner-spin-button {
  199. -webkit-appearance: none;
  200. }
  201. .datapickerBox input {
  202. height: 34px !important;
  203. line-height: 34px !important;
  204. box-sizing: border-box;
  205. }
  206. input[type="number"] {
  207. -moz-appearance: textfield;
  208. }
  209. input::-webkit-input-placeholder,
  210. textarea::-webkit-input-placeholder {
  211. /* WebKit browsers */
  212. color: #aaa;
  213. }
  214. input:-moz-placeholder,
  215. textarea:-moz-placeholder {
  216. /* Mozilla Firefox 4 to 18 */
  217. color: #aaa;
  218. }
  219. input::-moz-placeholder,
  220. textarea::-moz-placeholder {
  221. /* Mozilla Firefox 19+ */
  222. color: #aaa;
  223. }
  224. input:-ms-input-placeholder,
  225. textarea:-ms-input-placeholder {
  226. /* Internet Explorer 10+ */
  227. color: #aaa;
  228. }
  229. .modaltipSuc {
  230. position: fixed;
  231. top: 40%;
  232. left: 50%;
  233. padding: 15px 0;
  234. width: 180px;
  235. border-radius: 3px;
  236. color: #fff;
  237. background: rgba(0, 0, 0, 0.6);
  238. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#88000000,endColorstr=#88000000);
  239. text-align: center;
  240. img {
  241. display: block;
  242. width: 40px;
  243. text-align: center;
  244. position: relative;
  245. left: 50%;
  246. transform: translateX(-50%);
  247. margin-bottom: 8px;
  248. }
  249. }
  250. .filterItem {
  251. margin-right: 30px !important;
  252. input {
  253. margin-right: 0 !important;
  254. }
  255. }
  256. .filterHide {
  257. display: none !important;
  258. }
  259. input.canEditDept {
  260. width: 160px !important;
  261. }
  262. /*******弹窗*******/
  263. .modal-container {
  264. display: none;
  265. position: fixed;
  266. width: 100%;
  267. height: 100%;
  268. top: 0;
  269. left: 0;
  270. z-index: 99;
  271. .cover {
  272. position: fixed;
  273. width: 100%;
  274. height: 100%;
  275. background: #000;
  276. opacity: 0.16;
  277. }
  278. .modal-box {
  279. position: fixed;
  280. width: 50%;
  281. left: 25%;
  282. top: 100px;
  283. background: #fff;
  284. border-radius: 4px;
  285. min-width: 615px;
  286. }
  287. .modal-title {
  288. border-bottom: 1px #e2e5ef solid;
  289. height: 40px;
  290. line-height: 42px;
  291. padding: 0 20px;
  292. .close {
  293. color: #8c8c8c;
  294. font-size: 20px;
  295. cursor: pointer;
  296. }
  297. }
  298. .modal-body {
  299. padding: 32px 38px;
  300. }
  301. .footer {
  302. text-align: center;
  303. button {
  304. width: 80px;
  305. height: 32px;
  306. background: #00a1ff;
  307. border-radius: 4px;
  308. color: #fff;
  309. text-align: center;
  310. line-height: 32px;
  311. position: relative;
  312. margin-bottom: 32px;
  313. cursor: pointer;
  314. }
  315. .confirm {
  316. }
  317. .cancel {
  318. margin-left: 20px;
  319. color: #00a1ff;
  320. border: 1px #00a1ff solid;
  321. background: #fff;
  322. }
  323. }
  324. }
  325. .reds {
  326. background: #E34D59;
  327. padding: 0 5px;
  328. border-radius: 22px;
  329. color: #fff;
  330. }
  331. .dian {
  332. width: 6px;
  333. height: 6px;
  334. background: #e34d59;
  335. display: inline-block;
  336. border-radius: 50%;
  337. margin-bottom: 5px;
  338. }