index.scss 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610
  1. @import './variables.scss';
  2. @import './mixin.scss';
  3. @import './transition.scss';
  4. @import './element-ui.scss';
  5. @import './sidebar.scss';
  6. body {
  7. height: 100%;
  8. -moz-osx-font-smoothing: grayscale;
  9. -webkit-font-smoothing: antialiased;
  10. text-rendering: optimizeLegibility;
  11. font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
  12. Microsoft YaHei, Arial, sans-serif;
  13. }
  14. .el-message {
  15. width: 240px;
  16. height: 48px;
  17. background: #f6fff7;
  18. box-shadow: 0px 6px 7px 0px rgba(0, 0, 0, 0.06);
  19. border-radius: 24px;
  20. }
  21. label {
  22. font-weight: 700;
  23. }
  24. html {
  25. height: 100%;
  26. box-sizing: border-box;
  27. }
  28. #app {
  29. height: 100%;
  30. }
  31. *,
  32. *:before,
  33. *:after {
  34. box-sizing: inherit;
  35. }
  36. a:focus,
  37. a:active {
  38. outline: none;
  39. }
  40. a,
  41. a:focus,
  42. a:hover {
  43. cursor: pointer;
  44. color: inherit;
  45. text-decoration: none;
  46. }
  47. div:focus {
  48. outline: none;
  49. }
  50. li {
  51. list-style-type: none;
  52. }
  53. .clearfix {
  54. &:after {
  55. visibility: hidden;
  56. display: block;
  57. font-size: 0;
  58. content: ' ';
  59. clear: both;
  60. height: 0;
  61. }
  62. }
  63. // main-container global css
  64. .app-container {
  65. padding: 20px;
  66. }
  67. /*公用元素边框*/
  68. .box-public-shadow {
  69. background: #ffffff;
  70. box-shadow: 0px 6px 7px 0px rgba(0, 0, 0, 0.06);
  71. border-radius: 4px;
  72. padding: 30px;
  73. .relative {
  74. position: relative;
  75. width: 100%;
  76. height: 100%;
  77. }
  78. }
  79. .npd {
  80. padding: 0;
  81. }
  82. .pd24{
  83. padding: 24px;
  84. }
  85. .scroll-y{
  86. height: calc(100vh - 80px);
  87. }
  88. .flex {
  89. display: flex;
  90. justify-content: space-between;
  91. }
  92. .flex-end {
  93. display: flex;
  94. justify-content: flex-end;
  95. }
  96. .flex-wrap {
  97. display: flex;
  98. }
  99. .flx {
  100. font-size: 16px;
  101. display: flex;
  102. align-items: center;
  103. padding: 10px 0px 10px 20px;
  104. font-family: Microsoft YaHei;
  105. font-weight: bold;
  106. height: 36px;
  107. background: #2d67e3;
  108. color: #ffffff;
  109. margin-bottom: 24px;
  110. width: 100%;
  111. }
  112. .h100 {
  113. height: 100%;
  114. }
  115. .l22 {
  116. margin-left: 22px;
  117. }
  118. .flex1 {
  119. flex: 1;
  120. }
  121. .t30 {
  122. margin-top: 24px;
  123. }
  124. .r10 {
  125. margin-right: 10px;
  126. }
  127. .l10 {
  128. margin-left: 10px;
  129. }
  130. .newbut{
  131. width: 64px;
  132. height: 32px;
  133. background: #FFFFFF;
  134. border: 1px solid #9EBBF7;
  135. box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.06);
  136. border-radius: 4px;
  137. font-size: 14px;
  138. font-family: Microsoft YaHei;
  139. font-weight: 400;
  140. color: #2D67E3;
  141. cursor: pointer;
  142. }
  143. .r24 {
  144. margin-right: 24px;
  145. }
  146. .r25 {
  147. margin-right: 12px;
  148. }
  149. .r30 {
  150. margin-right: 30px;
  151. }
  152. .b24{
  153. margin-bottom: 24px;
  154. }
  155. .b32{
  156. margin-bottom: 32;
  157. }
  158. .flews{
  159. display: flex;
  160. align-items: center;
  161. justify-content: center;
  162. }
  163. .er {
  164. display: flex;
  165. align-items: center;
  166. font-size: 16px;
  167. font-family: Microsoft YaHei;
  168. font-weight: 400;
  169. color: #101611;
  170. }
  171. .buwitch{
  172. width: 80px;
  173. height: 32px;
  174. display: flex;
  175. align-items: center;
  176. justify-content: center;
  177. background: #FFFFFF;
  178. border: 1px solid #D2D6DF;
  179. border-radius: 4px;
  180. font-size: 14px;
  181. font-family: Microsoft YaHei;
  182. font-weight: 300;
  183. color: #ffffff;
  184. }
  185. .r26 {
  186. width: 80px;
  187. height: 32px;
  188. display: flex;
  189. align-items: center;
  190. justify-content: center;
  191. background: #FFFFFF;
  192. border: 1px solid #D2D6DF;
  193. border-radius: 4px;
  194. font-size: 14px;
  195. font-family: Microsoft YaHei;
  196. font-weight: 300;
  197. color: #101611
  198. }
  199. .flower{
  200. overflow:hidden;
  201. white-space: nowrap;
  202. text-overflow: ellipsis;
  203. -o-text-overflow:ellipsis;
  204. }
  205. .fwgh{
  206. font-family: Microsoft YaHei;
  207. font-weight: 400;
  208. color: #101116;
  209. }
  210. .right {
  211. text-align: right;
  212. }
  213. .center {
  214. text-align: center;
  215. }
  216. .box-scroll {
  217. overflow-y: scroll;
  218. overflow-x: hidden;
  219. }
  220. /*弹框输入框*/
  221. .dialog-public-background {
  222. .el-input__inner,
  223. .el-textarea__inner {
  224. background: #ffffff;
  225. border: 1px solid #d2d6df;
  226. border-radius: 2px;
  227. }
  228. }
  229. /*公用按钮阴影*/
  230. .button-public-shadow {
  231. height: 48px;
  232. line-height: 48px;
  233. text-align: center;
  234. background: linear-gradient(0deg, #6983be, #777dba);
  235. box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.18);
  236. border-radius: 6px;
  237. border: none;
  238. outline: none;
  239. margin-bottom: 32px;
  240. width: 100%;
  241. cursor: pointer;
  242. font-size: 16px;
  243. font-family: Microsoft YaHei;
  244. font-weight: bold;
  245. color: #ffffff;
  246. &:last-child {
  247. margin-bottom: 0;
  248. }
  249. }
  250. /*公用阴影-小*/
  251. .box-public-shadow-mini {
  252. background: #ffffff;
  253. box-shadow: 0px 6px 7px 0px rgba(0, 0, 0, 0.06);
  254. border-radius: 4px;
  255. padding: 24px;
  256. .title {
  257. font-size: 16px;
  258. font-family: Microsoft YaHei;
  259. font-weight: bold;
  260. color: #303133;
  261. }
  262. .cl-hui {
  263. font-size: 14px;
  264. font-family: Microsoft YaHei;
  265. font-weight: 400;
  266. color: #909399;
  267. }
  268. .fz16{
  269. font-size: 16px;
  270. font-family: Microsoft YaHei;
  271. font-weight: bold;
  272. color: #101116;
  273. }
  274. .fwb {
  275. font-weight: bold;
  276. }
  277. .t25 {
  278. margin-top: 25px;
  279. }
  280. .t13 {
  281. margin-top: 13px;
  282. }
  283. .t12 {
  284. margin-top: 12px;
  285. }
  286. .t25 {
  287. margin-top: 25px;
  288. }
  289. .t24 {
  290. margin-top: 24px;
  291. }
  292. .mb {
  293. font-size: 14px;
  294. font-family: Helvetica;
  295. font-weight: 400;
  296. color: #AFB4BF;
  297. }
  298. .l50 {
  299. margin-left: 50px;
  300. }
  301. }
  302. .content {
  303. margin-left: 20px;
  304. }
  305. .manageTitle {
  306. position: relative;
  307. padding-left: 12px;
  308. margin-right: 48px;
  309. margin-top: 0;
  310. margin-bottom: 0;
  311. font-size: 20px;
  312. font-family: Microsoft YaHei;
  313. font-weight: bold;
  314. color: #303133;
  315. line-height: 30px;
  316. &::after {
  317. position: absolute;
  318. content: '';
  319. width: 4px;
  320. height: 20px;
  321. top: 0;
  322. bottom: 0;
  323. left: 0;
  324. margin: auto;
  325. background: #2d67e3;
  326. }
  327. }
  328. /*鼠标样式-手*/
  329. .cursor {
  330. cursor: pointer;
  331. }
  332. .handleMsgMneu {
  333. padding: 4px 0;
  334. background: #fafcff;
  335. box-shadow: 0px 4px 8px 0px rgba(16, 17, 22, 0.1);
  336. border-radius: 0;
  337. .el-dropdown-menu__item {
  338. padding: 0;
  339. span {
  340. line-height: 28px;
  341. padding: 12px;
  342. font-size: 14px;
  343. }
  344. .editPwd {
  345. color: #101116;
  346. }
  347. .layoutSys {
  348. color: #eb2f3b;
  349. }
  350. }
  351. }
  352. /*修改提示框*/
  353. .el-message {
  354. height: 40px;
  355. width: auto;
  356. border-radius: 2px;
  357. min-width: auto;
  358. padding-right: 70px;
  359. background: #fafcff;
  360. box-shadow: 0px 2px 24px 0px rgba(16, 17, 22, 0.2);
  361. border-color: #fafcff;
  362. .el-message__content {
  363. font-weight: 400;
  364. color: #101116;
  365. }
  366. }
  367. /*修改checkbox选中样式*/
  368. .el-checkbox__input.is-checked .el-checkbox__inner,
  369. .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  370. background-color: #2d67e3;
  371. border-color: #2d67e3;
  372. }
  373. /*修改tree children布局*/
  374. // .el-tree-node.is-expanded > .el-tree-node__children {
  375. // display: flex;
  376. // }
  377. .el-tree-node__label {
  378. margin-left: 10px;
  379. width: 110px;
  380. }
  381. /*修改radio选中样式*/
  382. .el-radio__input.is-checked .el-radio__inner {
  383. border-color: #2d67e3;
  384. background: #fff;
  385. &::after {
  386. width: 8px;
  387. height: 8px;
  388. background-color: #2d67e3;
  389. }
  390. }
  391. .el-radio__input.is-checked + .el-radio__label {
  392. color: #303133;
  393. }
  394. /*修改tree背景样式*/
  395. .el-tree {
  396. background: initial;
  397. }
  398. /*按钮默认样式*/
  399. .btn-default {
  400. background: #f5f7fa;
  401. border: 1px solid #b4b7cb;
  402. border-radius: 8px;
  403. font-size: 14px;
  404. font-family: Microsoft YaHei;
  405. font-weight: bold;
  406. color: #6f81bc;
  407. &:focus {
  408. border-color: #6983be;
  409. color: #fff;
  410. background: linear-gradient(0deg, #6983be, #777dba);
  411. }
  412. &:hover {
  413. background: #94a6e0;
  414. border-color: #94a6e0;
  415. color: #fff;
  416. }
  417. }
  418. /*取消按钮*/
  419. .btn-cancel {
  420. background: #ffffff;
  421. border: 1px solid #e3e5e8;
  422. border-radius: 6px;
  423. font-size: 16px;
  424. font-family: Microsoft YaHei;
  425. font-weight: 300;
  426. color: #303133;
  427. margin-left: 24px !important;
  428. &:focus {
  429. border-color: #2d67e3;
  430. color: #fff;
  431. background: #2d67e3;
  432. }
  433. &:hover {
  434. background: #2d67e3;
  435. border-color: #2d67e3;
  436. color: #fff;
  437. }
  438. }
  439. /*提交按钮*/
  440. .foot {
  441. width: 100%;
  442. height: 56px;
  443. padding: 10px 22px 10px 0;
  444. line-height: 56px;
  445. background: #f0f5ff;
  446. border-radius: 2px;
  447. display: flex;
  448. justify-content: flex-end;
  449. }
  450. .DelFoot,
  451. .del-foot {
  452. width: 100%;
  453. height: 56px;
  454. padding: 10px 22px 10px 0;
  455. line-height: 56px;
  456. background: #fff;
  457. border-radius: 2px;
  458. display: flex;
  459. justify-content: flex-end;
  460. }
  461. .el-button--danger {
  462. background: #eb2f3b;
  463. border-radius: 4px;
  464. font-family: Microsoft YaHei;
  465. font-weight: bold;
  466. color: #ffffff;
  467. border-color: #eb2f3b;
  468. }
  469. .el-button--primary {
  470. background: #2d67e3;
  471. border-radius: 4px;
  472. font-family: Microsoft YaHei;
  473. font-weight: bold;
  474. color: #ffffff;
  475. border-color: #2d67e3;
  476. &:focus {
  477. background: #2d67e3;
  478. border-color: #2d67e3;
  479. color: #fff;
  480. }
  481. &:hover {
  482. background: #2d67e3;
  483. border-color: #2d67e3;
  484. color: #fff;
  485. }
  486. }
  487. /*二级弹框背景*/
  488. .ej-dialog-bg {
  489. background: #f5f7fa !important;
  490. box-shadow: none !important;
  491. }
  492. .edit_log {
  493. width: 14px;
  494. height: 14px;
  495. background: url('../assets/logo/ic_edit@2x.png') no-repeat;
  496. background-size: 100%;
  497. margin-left: 16px;
  498. cursor: pointer;
  499. transition: all 0.3s;
  500. }
  501. .edit_log:hover {
  502. width: 14px;
  503. height: 14px;
  504. background: url('../assets/logo/ic_edit_hovar@2x.png') no-repeat;
  505. background-size: 100%;
  506. margin-left: 16px;
  507. cursor: pointer;
  508. }
  509. // 表格列筛选弹框
  510. .dialog-check-group .el-tree {
  511. &.has-children .el-tree-node > .el-tree-node__children {
  512. display: flex;
  513. flex-wrap: wrap;
  514. }
  515. &.no-children {
  516. display: flex;
  517. flex-wrap: wrap;
  518. }
  519. }
  520. .el-table .el-table__cell.pre-line .cell {
  521. white-space: pre-line;
  522. }
  523. .input-shadow .el-input__inner {
  524. box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.06);
  525. }
  526. .btn-shadow {
  527. cursor: pointer;
  528. box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.18);
  529. &.btn-img,
  530. &.btn-square {
  531. border-radius: 8px;
  532. }
  533. }
  534. .el-table .el-table__body-wrapper::-webkit-scrollbar {
  535. height: 12px;
  536. }
  537. input[type='number'] {
  538. line-height: 1 !important;
  539. }
  540. .el-input__inner,.el-button,.el-textarea__inner{
  541. border-radius: 2px;
  542. }