index.scss 9.5 KB

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