czr.scss 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396
  1. :root {
  2. --czr-main-color: rgba(0, 194, 124, 1);
  3. --czr-main-color-rgb: 0, 194, 124;
  4. }
  5. .__hover {
  6. &:hover {
  7. opacity: 0.75;
  8. cursor: pointer;
  9. }
  10. }
  11. .__text-ellipsis {
  12. white-space: nowrap;
  13. overflow: hidden;
  14. text-overflow: ellipsis;
  15. word-break: break-all;
  16. &.el-link {
  17. max-width: 100%;
  18. .el-link__inner {
  19. display: unset;
  20. white-space: nowrap;
  21. overflow: hidden;
  22. text-overflow: ellipsis;
  23. word-break: break-all;
  24. }
  25. }
  26. }
  27. .__normal-page {
  28. width: 100%;
  29. height: 100%;
  30. display: flex;
  31. overflow: hidden;
  32. .__normal-tree {
  33. border-radius: 8px;
  34. width: 246px;
  35. height: 100%;
  36. display: flex;
  37. flex-direction: column;
  38. margin-right: 16px;
  39. background-color: #FFFFFF;
  40. .__normal-tree_filter {
  41. width: 100%;
  42. height: 60px;
  43. display: flex;
  44. align-items: center;
  45. justify-content: center;
  46. padding: 0 10px;
  47. }
  48. .__normal-tree_content {
  49. flex: 1;
  50. overflow: auto;
  51. padding: 10px;
  52. .el-tree {
  53. .el-tree-node {
  54. .el-tree-node__content {
  55. height: auto;
  56. .el-tree-node__label {
  57. white-space: break-spaces;
  58. padding: 4px 0;
  59. }
  60. }
  61. &.is-current {
  62. .el-tree-node__label {
  63. color: var(--czr-main-color);
  64. }
  65. }
  66. }
  67. }
  68. }
  69. }
  70. .__normal-content {
  71. flex: 1;
  72. position: relative;
  73. overflow: hidden;
  74. }
  75. }
  76. .__normal-form {
  77. padding: 16px 24px 0 24px;
  78. }
  79. .__czr-pagination {
  80. display: flex;
  81. justify-content: flex-end;
  82. align-items: center;
  83. margin: 0;
  84. padding: 0;
  85. .el-pagination__total {
  86. font-size: 14px;
  87. font-family: Microsoft YaHei;
  88. font-weight: 400;
  89. color: #999999;
  90. }
  91. .el-pagination__sizes {
  92. .el-select {
  93. .el-select__wrapper {
  94. .el-select__selection {
  95. .el-select__selected-item {
  96. }
  97. }
  98. }
  99. }
  100. }
  101. .btn-prev, .btn-next {
  102. background-color: transparent !important;
  103. color: #999999 !important;
  104. }
  105. .el-pager {
  106. .number {
  107. font-size: 14px;
  108. font-family: Microsoft YaHei;
  109. font-weight: 400;
  110. color: #999999 !important;
  111. border: 1px solid #eaeaea;
  112. background-color: transparent !important;
  113. &:hover {
  114. background-color: #0062e9 !important;
  115. opacity: 0.75;
  116. color: #ffffff !important;
  117. }
  118. &.is-active {
  119. color: #ffffff !important;
  120. background-color: var(--czr-main-color) !important;
  121. opacity: 1;
  122. }
  123. }
  124. .more {
  125. background-color: transparent !important;
  126. color: #999999 !important;
  127. &:hover {
  128. color: #0062e9 !important;
  129. }
  130. }
  131. }
  132. button:hover {
  133. color: #0062e9 !important;
  134. }
  135. .el-pagination__jump {
  136. font-size: 14px;
  137. font-family: Microsoft YaHei;
  138. font-weight: 400;
  139. color: #999999;
  140. .el-input {
  141. .el-input__wrapper {
  142. padding-left: 2px !important;
  143. padding-right: 2px !important;
  144. .el-input__inner {
  145. font-size: 14px;
  146. font-family: Microsoft YaHei;
  147. font-weight: 400;
  148. color: #999999;
  149. }
  150. }
  151. }
  152. }
  153. }
  154. .__czr-dialog {
  155. &.__czr-dialog-auto-height {
  156. .el-overlay-dialog {
  157. .el-dialog {
  158. max-height: var(--czr-dialog_max-height);
  159. min-height: var(--czr-dialog_min-height);
  160. height: unset;
  161. }
  162. }
  163. }
  164. &.__czr-dialog-hidden-style {
  165. .el-dialog {
  166. background-color: transparent;
  167. box-shadow: none;
  168. .el-dialog__header {
  169. display: none;
  170. }
  171. .__czr-dialog-foot {
  172. display: none !important;
  173. }
  174. }
  175. }
  176. .el-overlay-dialog {
  177. .el-dialog {
  178. padding: 0;
  179. height: var(--czr-dialog_height);
  180. $borderRadius: 8px;
  181. border-radius: $borderRadius;
  182. display: flex;
  183. flex-direction: column;
  184. &.is-align-center {
  185. margin: auto !important;
  186. }
  187. .el-dialog__header {
  188. padding: 0;
  189. margin: 0;
  190. ._czr-dialog-head {
  191. height: 50px;
  192. width: 100%;
  193. background-color: #F5F7FA;
  194. display: flex;
  195. align-items: center;
  196. border-radius: $borderRadius $borderRadius 0 0 ;
  197. font-size: 18px;
  198. font-family: PingFang SC-Medium, PingFang SC;
  199. font-weight: 500;
  200. color: #303133;
  201. padding: 0 20px 0 16px;
  202. box-sizing: border-box;
  203. .__cdh-title {}
  204. .__cdh-slot {}
  205. .__cdh-close {
  206. margin-left: auto;
  207. }
  208. }
  209. }
  210. .el-dialog__body {
  211. padding: 0;
  212. height: calc(100% - 50px);
  213. width: 100%;
  214. display: flex;
  215. overflow-y: hidden;
  216. flex: 1;
  217. .__czr-dialog-main {
  218. width: 100%;
  219. display: flex;
  220. flex-direction: column;
  221. .__czr-dialog-content {
  222. flex: 1;
  223. overflow-y: auto;
  224. }
  225. .__czr-dialog-foot {
  226. width: 100%;
  227. display: flex;
  228. align-items: center;
  229. box-sizing: border-box;
  230. gap: 10px;
  231. .__czr-dialog-foot_submit {
  232. width: 61px;
  233. height: 28px;
  234. background: var(--czr-main-color);
  235. border-radius: 4px;
  236. font-size: 14px;
  237. font-family: Microsoft YaHei;
  238. font-weight: 400;
  239. color: #FFFFFF;
  240. display: flex;
  241. align-items: center;
  242. justify-content: center;
  243. box-sizing: border-box;
  244. }
  245. .__czr-dialog-foot_cancel {
  246. width: 61px;
  247. height: 28px;
  248. background: #ffffff;
  249. border: 1px solid var(--czr-main-color);
  250. border-radius: 4px;
  251. font-size: 14px;
  252. font-family: Microsoft YaHei;
  253. font-weight: 400;
  254. color: var(--czr-main-color);
  255. display: flex;
  256. align-items: center;
  257. justify-content: center;
  258. box-sizing: border-box;
  259. }
  260. }
  261. &.isFull {
  262. overflow-y: auto;
  263. .__czr-dialog-content {
  264. overflow-y: unset;
  265. }
  266. }
  267. }
  268. }
  269. }
  270. }
  271. }
  272. .__czr-title_1 {
  273. width: 100%;
  274. height: 32px;
  275. font-size: 14px;
  276. font-family: PingFang SC-Regular, PingFang SC;
  277. font-weight: 400;
  278. color: #0062E9;
  279. display: flex;
  280. align-items: center;
  281. position: relative;
  282. padding-left: 10px;
  283. box-sizing: border-box;
  284. &:before {
  285. content: '';
  286. position: absolute;
  287. left: 0;
  288. width: 2px;
  289. height: 14px;
  290. background-color: #0062E9;
  291. }
  292. }
  293. .__czr-title_table {
  294. font-family: PingFang SC, PingFang SC;
  295. font-weight: bold;
  296. font-size: 18px;
  297. color: #0B46C9;
  298. display: flex;
  299. align-items: center;
  300. position: relative;
  301. padding-left: 10px;
  302. box-sizing: border-box;
  303. &:before {
  304. content: '';
  305. position: absolute;
  306. left: 0;
  307. width: 3px;
  308. height: 17px;
  309. background-color: #0B46C9;
  310. }
  311. }
  312. .__czr-popover {
  313. max-width: 60% !important;
  314. width: auto !important;
  315. }
  316. .__czr-cascader_only-last {
  317. li[aria-haspopup="true"] {
  318. .el-checkbox, .el-radio {
  319. display: none;
  320. }
  321. }
  322. }
  323. .__check {
  324. width: 18px;
  325. height: 18px;
  326. box-sizing: border-box;
  327. border: 1px solid #d3d3d3;
  328. border-radius: 2px;
  329. cursor: pointer;
  330. font-size: 16px;
  331. &.active {
  332. background-color: #6587ff;
  333. border-color: #6587ff;
  334. display: grid;
  335. align-items: center;
  336. justify-content: center;
  337. position: relative;
  338. &:after {
  339. margin-left: 2px;
  340. position: absolute;
  341. content: '✔';
  342. color: #ffffff;
  343. font-size: 14px;
  344. }
  345. }
  346. &:hover {
  347. opacity: 0.8;
  348. }
  349. }
  350. .el-table-filter__list {
  351. overflow-y: auto;
  352. max-height: 40vh;
  353. }
  354. .el-tree-select__popper {
  355. .el-tree {
  356. .el-tree-node {
  357. .el-select-dropdown__item {
  358. &:after {
  359. display: none;
  360. }
  361. }
  362. }
  363. }
  364. }
  365. .__czr-table-form-column {
  366. .el-form-item:not(.is-error) {
  367. margin-bottom: 0 !important;
  368. }
  369. }
  370. .__czr-table-operations {
  371. display: flex;
  372. align-items: center;
  373. justify-content: center;
  374. gap: 16px;
  375. >*:not(:last-child) {
  376. &:after {
  377. content: '';
  378. width: 1px;
  379. height: 12px;
  380. background-color: #E6E8EA;
  381. margin-left: 16px;
  382. }
  383. }
  384. }
  385. .el-popper {
  386. max-width: 60% !important;
  387. }