app.scss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624
  1. @import "Variables";
  2. @import "Mixins";
  3. #app {
  4. font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
  5. -webkit-font-smoothing: antialiased;
  6. -moz-osx-font-smoothing: grayscale;
  7. color: #333;
  8. font-size: 16px;
  9. margin: 0 auto;
  10. width: 1180px;
  11. min-height: 968px;
  12. }
  13. input:-ms-input-placeholder, textarea:-ms-input-placeholder {
  14. color: #999 !important;
  15. }
  16. input::-webkit-input-placeholder {
  17. color: #999 !important;
  18. }
  19. input:-moz-placeholder {
  20. color: #999 !important;
  21. }
  22. input::-moz-placeholder {
  23. color: #999 !important;
  24. }
  25. input:-ms-input-placeholder {
  26. color: #999 !important;
  27. }
  28. body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, header, nav, section, article, aside, footer, figure, figcaption, menu, button {
  29. margin: 0;
  30. padding: 0;
  31. }
  32. /*html {
  33. scroll-behavior: smooth; //平滑滚动
  34. }*/
  35. body {
  36. position: relative;
  37. outline: 0;
  38. background-color: #022B7D !important;
  39. line-height: 1 !important;
  40. // min-width: 1180px;
  41. background-image: url(../stor/bg1.png);
  42. background-repeat: no-repeat;
  43. background-position: center;
  44. background-size: cover;
  45. }
  46. h1, h2, h3, h4, h5, h6 {
  47. font-weight: 400;
  48. }
  49. table {
  50. border-collapse: collapse;
  51. border-spacing: 0;
  52. }
  53. fieldset,
  54. img {
  55. border: 0;
  56. }
  57. li {
  58. list-style: none;
  59. }
  60. input, textarea, select {
  61. font-family: inherit;
  62. font-size: inherit;
  63. font-weight: inherit;
  64. outline: none;
  65. -webkit-appearence: none;
  66. -ms-appearence: none;
  67. }
  68. button,
  69. html input[type="button"],
  70. input[type="reset"],
  71. input[type="submit"] {
  72. border: none;
  73. background: none;
  74. -webkit-appearance: none;
  75. outline: none;
  76. }
  77. input::-webkit-outer-spin-button,
  78. input::-webkit-inner-spin-button {
  79. -webkit-appearance: none !important;
  80. }
  81. input[type="number"] {
  82. -moz-appearance: textfield;
  83. }
  84. a {
  85. -webkit-touch-callout: none;
  86. text-decoration: none;
  87. outline: 0;
  88. color: #333;
  89. }
  90. a, button, input, optgroup, select, textarea {
  91. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  92. }
  93. em,
  94. i {
  95. font-style: normal;
  96. }
  97. img {
  98. display: inline-block;
  99. width: 100%;
  100. -webkit-touch-callout: none;
  101. vertical-align: middle;
  102. }
  103. ::-webkit-scrollbar {
  104. width: 12px;
  105. height: 12px;
  106. }
  107. ::-webkit-scrollbar-corner {
  108. background-color: rgba(0, 0, 0, .25);
  109. }
  110. ::-webkit-scrollbar-thumb {
  111. background-color: rgba(0, 0, 0, .15);
  112. border-radius: 3px;
  113. }
  114. ::-webkit-scrollbar-track {
  115. background: rgba(0, 0, 0, .05);
  116. }
  117. ::-webkit-input-placeholder {
  118. color: #C0C0C0;
  119. }
  120. *:hover {
  121. @include prefix-property(transition, all .15s ease-in)
  122. }
  123. // 内容区
  124. .container {
  125. @include container;
  126. position: relative;
  127. }
  128. // 按钮基本状态
  129. .btn {
  130. background-color: $main-color;
  131. color: #FFF;
  132. border-radius: 3px;
  133. font-size: 16px;
  134. height: 50px;
  135. line-height: 50px;
  136. text-align: center;
  137. transition: box-shadow .3s;
  138. cursor: pointer;
  139. &:hover {
  140. color: #FFF;
  141. }
  142. &.disabled {
  143. background-color: #C9C9C9;
  144. color: #FFF;
  145. }
  146. }
  147. .cur-p {
  148. cursor: pointer;
  149. }
  150. .cur-h {
  151. cursor: help;
  152. }
  153. // 按钮hover状态
  154. /*.btn:hover {
  155. background-color: #1f73fc;
  156. //box-shadow: $box-shadow-color;
  157. color: #fff;
  158. }*/
  159. .btn:active {
  160. background-color: #1050B8;
  161. //box-shadow: $box-shadow-color;
  162. }
  163. .form {
  164. position: relative;
  165. & > div {
  166. margin-top: 20px;
  167. }
  168. input {
  169. // background: #f8f8f8;
  170. border-radius: 3px;
  171. font-size: 14px !important;
  172. height: 50px;
  173. width: 100%;
  174. line-height: 50px;
  175. box-sizing: border-box;
  176. padding: 0 20px !important;
  177. display: inline-block;
  178. transition: border-color .3s, background-color .3s;
  179. border: 1px solid #C9C9C9;
  180. }
  181. }
  182. input:focus {
  183. border-color: $main-color;
  184. background-color: #FFF;
  185. }
  186. input.error {
  187. border-color: #FF3F3F!important;
  188. background-color: #FFF;
  189. }
  190. .btn.off {
  191. background-color: #F8F8F8;
  192. color: #999;
  193. }
  194. .btn.off:hover {
  195. box-shadow: none;
  196. }
  197. p.error {
  198. color: #FF3F3F;
  199. font-size: 12px;
  200. }
  201. .get-code {
  202. display: flex;
  203. flex: 1;
  204. margin-top: 20px;
  205. //input {
  206. // flex: 1;
  207. //}
  208. span {
  209. display: block;
  210. width: 120px;
  211. height: 50px;
  212. line-height: 50px;
  213. margin-left: 10px;
  214. text-align: center;
  215. background-color: #FFF;
  216. color: #999;
  217. border: 1px solid #C9C9C9;
  218. border-radius: 3px;
  219. font-size: 14px;
  220. cursor: auto;
  221. //@include border-1pt(#1874FF);
  222. &.on {
  223. //background-color: $main-color;
  224. //color: #fff;
  225. cursor: pointer;
  226. background-color: #FFF;
  227. color: #1874FF;
  228. border-radius: 3px;
  229. border: 1px solid #1874FF;
  230. }
  231. }
  232. }
  233. .mt0 {
  234. margin-top: 0;
  235. }
  236. .mt20 {
  237. margin-top: 20px;
  238. }
  239. .mt40 {
  240. margin-top: 40px;
  241. }
  242. .b-b-1 {
  243. border-bottom: 1px solid #E0E0E0;
  244. }
  245. .copyright {
  246. color: #999;
  247. font-size: 12px;
  248. text-align: center;
  249. margin: 20px;
  250. }
  251. .eq-banner {
  252. width: 100%;
  253. height: 475px;
  254. a {
  255. display: block;
  256. }
  257. img {
  258. width: 580px;
  259. height: 435px;
  260. }
  261. .swiper-pagination-bullets {
  262. height: 20px;
  263. bottom: 0;
  264. text-align: left;
  265. }
  266. .swiper-pagination-bullet {
  267. height: 20px;
  268. width: 20px;
  269. text-align: center;
  270. background-color: transparent;
  271. border-radius: 0;
  272. opacity: 1;
  273. border-bottom: 2px solid #E0E0E0;
  274. @include font-size-color(12px, transparent);
  275. line-height: 20px;
  276. }
  277. .swiper-pagination-bullet-active {
  278. color: #333;
  279. border-color: #333;
  280. background: transparent !important;
  281. }
  282. .swiper-button-prev, .swiper-button-next {
  283. top: inherit;
  284. bottom: 30px;
  285. width: 20px;
  286. height: 20px;
  287. // background: rgba(0, 0, 0, .6) url("../images/equipment_banner_next_icon.png") no-repeat center;
  288. background-size: 8px 12px;
  289. }
  290. .swiper-button-prev {
  291. left: inherit;
  292. right: 50px;
  293. @include prefix-property(transform, rotate(180deg))
  294. }
  295. .swiper-button-next {
  296. right: 20px;
  297. }
  298. }
  299. .co1874ff {
  300. color: #1874FF;
  301. }
  302. .ivu-poptip {
  303. margin-bottom: 0;
  304. vertical-align: middle;
  305. .ivu-poptip-rel {
  306. i {
  307. width: 13px;
  308. height: 13px;
  309. // background: url("../images/test_prompt_icon_normal.png") no-repeat center;
  310. background-size: 13px;
  311. &:before {
  312. content: '';
  313. }
  314. }
  315. }
  316. }
  317. .co999 {
  318. color: #999;
  319. }
  320. .empty {
  321. padding-bottom: 40px;
  322. text-align: center;
  323. font-size: 16px;
  324. img {
  325. width: 56px;
  326. height: 56px;
  327. display: block;
  328. margin: 40px auto 20px;
  329. }
  330. }
  331. .ivu-page-item-active {
  332. background-color: $main-color !important;
  333. border-color: $main-color !important;
  334. }
  335. .ivu-page {
  336. text-align: center;
  337. margin: 20px auto;
  338. }
  339. @mixin lhh {
  340. height: 50px;
  341. line-height: 50px;
  342. }
  343. //数字输入
  344. .ivu-input-number {
  345. width: 190px;
  346. border: 1px solid #C9C9C9;
  347. @include lhh;
  348. @include font-size-color(14px);
  349. @include radius(3px);
  350. &:hover {
  351. border-color: $main-color;
  352. }
  353. }
  354. .ivu-input-number-focused {
  355. box-shadow: none;
  356. border-color: $main-color;
  357. }
  358. .ivu-input-number-input-wrap {
  359. @include lhh
  360. }
  361. .ivu-input-number-input {
  362. height: 50px;
  363. background-color: #FFF;
  364. }
  365. .ivu-input-number-handler {
  366. height: 25px;
  367. text-align: center;
  368. }
  369. .ivu-input-number-handler-down-inner, .ivu-input-number-handler-up-inner {
  370. font-size: 22px;
  371. color: #C9C9C9;
  372. }
  373. .ivu-input-number-handler-down-inner {
  374. line-height: 15px;
  375. &:before {
  376. content: "\F35F";
  377. }
  378. }
  379. .ivu-input-number-handler-up-inner {
  380. line-height: 40px;
  381. &:before {
  382. content: "\F365";
  383. }
  384. }
  385. .ivu-input-number-handler-wrap {
  386. right: 5px;
  387. border: none;
  388. background-color: transparent;
  389. }
  390. .ivu-input-number-handler-down {
  391. border: none;
  392. }
  393. .ivu-poptip-content {
  394. max-height: 400px;
  395. overflow-y: auto;
  396. box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.20);
  397. @include radius(5px);
  398. background-color: white;
  399. }
  400. //下拉选择
  401. .ivu-select {
  402. width: 190px;
  403. @include lhh
  404. }
  405. .ivu-select-arrow {
  406. margin-right: 5px;
  407. font-size: 20px;
  408. color: #C9C9C9;
  409. &:before {
  410. content: "\F3D0";
  411. }
  412. }
  413. .ivu-select-single .ivu-select-selection {
  414. @include lhh;
  415. border: 1px solid #C9C9C9;
  416. overflow: hidden;
  417. }
  418. .ivu-select-multiple .ivu-select-selection > div {
  419. border: 1px solid #C9C9C9;
  420. border-radius: 4px;
  421. padding: 7px 20px;
  422. line-height: 36px;
  423. }
  424. .ivu-select-multiple .ivu-tag {
  425. border-color: #C9C9C9;
  426. margin-right: 10px;
  427. }
  428. .ivu-select-visible .ivu-select-selection {
  429. box-shadow: none;
  430. border-color: $main-color;
  431. }
  432. .ivu-select-single .ivu-select-selection .ivu-select-placeholder, .ivu-select-single .ivu-select-selection .ivu-select-selected-value {
  433. @include lhh;
  434. font-size: 14px;
  435. @include radius(3px);
  436. box-shadow: none;
  437. }
  438. .ivu-select-item {
  439. padding: 0 20px;
  440. height: 34px;
  441. line-height: 34px;
  442. font-size: 14px !important;
  443. }
  444. .ivu-select-item-selected.ivu-select-item-focus {
  445. color: $main-color;
  446. background-color: transparent;
  447. }
  448. .ivu-input {
  449. color: #333;
  450. &:focus, &:hover {
  451. border-color: $main-color;
  452. box-shadow: initial;
  453. }
  454. }
  455. .open-cascader {
  456. width: 461px;
  457. input {
  458. width: 461px; //IE10
  459. }
  460. }
  461. .adder-cascader {
  462. width: 406px;
  463. input {
  464. width: 406px; //IE10
  465. }
  466. }
  467. .ca-cascader {
  468. width: 400px;
  469. flex: 1;
  470. input {
  471. width: 400px; //IE10
  472. }
  473. }
  474. .ivu-upload-drag, .ivu-upload-drag:hover {
  475. border: none;
  476. }
  477. .breadcrumb {
  478. width: 1180px;
  479. margin: 10px auto;
  480. height: 50px;
  481. line-height: 50px;
  482. a {
  483. font-size: 12px;
  484. color: #333;
  485. &:hover {
  486. color: $main-color;
  487. }
  488. }
  489. span {
  490. font-size: 12px;
  491. color: #999;
  492. }
  493. }
  494. .spin-icon-load {
  495. animation: ani-spin .8s linear infinite;
  496. vertical-align: -2px;
  497. margin-right: 5px;
  498. }
  499. @keyframes ani-spin {
  500. from {
  501. transform: rotate(0deg);
  502. }
  503. 50% {
  504. transform: rotate(180deg);
  505. }
  506. to {
  507. transform: rotate(360deg);
  508. }
  509. }
  510. //(x-y)/(y-1)
  511. .em-4-3 {
  512. letter-spacing: .5em;
  513. margin-right: -.5em;
  514. }
  515. .em-4-2 {
  516. letter-spacing: 2em;
  517. margin-right: -2em;
  518. }
  519. .info-box-right {
  520. width: 380px;
  521. background: #FFF;
  522. float: right;
  523. padding: 0 30px 30px;
  524. h1 {
  525. font-size: 20px;
  526. line-height: 20px;
  527. padding: 30px 0;
  528. text-align: left;
  529. position: relative;
  530. border-bottom: 1px solid #E0E0E0;
  531. }
  532. dl {
  533. color: #666;
  534. margin-top: 30px;
  535. dt {
  536. border-left: 3px solid #1874FF;
  537. font-size: 14px;
  538. padding-left: 10px;
  539. margin-bottom: 14px;
  540. }
  541. dd {
  542. font-size: 12px;
  543. line-height: 20px;
  544. }
  545. }
  546. }
  547. .ivu-switch-checked {
  548. border-color: $main-color;
  549. background-color: $main-color;
  550. }
  551. .invoice-type {
  552. width: 406px;
  553. .ivu-select-selection {
  554. padding: 0;
  555. }
  556. }
  557. .modal-matel-item {
  558. margin-top: 20px;
  559. .ivu-select-multiple .ivu-select-selection>div {
  560. border: none;
  561. padding: 7px 5px;
  562. }
  563. .ivu-select-selection {
  564. border-color: #ddd;
  565. }
  566. textarea.ivu-input {
  567. font-size: 12px;
  568. padding: 10px;
  569. }
  570. .ivu-select {
  571. min-height: 50px;
  572. height: auto;
  573. }
  574. }
  575. .modal-matel-box {
  576. padding: 10px 0 10px 10px;
  577. .modal-matel-item {
  578. margin-top: 10px;
  579. }
  580. }
  581. .ivu-form-item-error .ivu-select-selection {
  582. border-color: #ed3f14;
  583. }
  584. .visible-form-item {
  585. .ivu-input {
  586. height: 40px;
  587. padding: 8px;
  588. }
  589. }
  590. .role-help-box {
  591. div {
  592. width: 100%;
  593. white-space:normal;
  594. }
  595. }
  596. .configuration-title {
  597. color: #fff;
  598. font-size: 18px;
  599. font-weight: 600;
  600. padding: 20px 0 15px 0;
  601. border-bottom: 1px solid #000;
  602. }
  603. .configuration-btn-right {
  604. text-align: right;
  605. padding: 15px 0;
  606. }
  607. .configuration-text{
  608. color: #e2e1e1;
  609. font-size: 13px;
  610. line-height: 18px;
  611. margin-top: 15px;
  612. }
  613. .configuration-table {
  614. margin-top: 30px;
  615. }
  616. .configuration-subtitle {
  617. color: #fff;
  618. margin: 20px 0;
  619. }