index.scss 9.4 KB

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