_reset.scss 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554
  1. * {
  2. -webkit-box-sizing: border-box;
  3. -moz-box-sizing: border-box;
  4. box-sizing: border-box;
  5. }
  6. body {
  7. margin: 0;
  8. padding: 0;
  9. color: $text;
  10. font-family: $font-family;
  11. font-size: $font-size;
  12. line-height: $line-height;
  13. -webkit-font-smoothing: antialiased;
  14. }
  15. input, .el-input, .el-select{
  16. font-family: $font-family;
  17. }
  18. article,aside,dialog,footer,header,section,footer,nav,figure,menu {
  19. display: block
  20. }
  21. h1,
  22. h2,
  23. h3,
  24. h4,
  25. h5,
  26. h6 {
  27. color: inherit;
  28. font-family: inherit;
  29. line-height: inherit;
  30. }
  31. a:focus,a:hover{
  32. text-decoration: none !important;
  33. }
  34. dl {
  35. margin-bottom: $md-pad;
  36. }
  37. dd {
  38. margin-left: $xlg-pad;
  39. }
  40. ul,
  41. ol {
  42. margin: 0;
  43. padding: 0;
  44. vertical-align: baseline;
  45. list-style: none;
  46. -webkit-padding-start: 0;
  47. -webkit-margin-before: 0;
  48. -webkit-margin-after: 0;
  49. }
  50. main,
  51. header,
  52. footer,
  53. article,
  54. section,
  55. aside,
  56. details,
  57. summary {
  58. margin: 0 auto;
  59. width: 100%;
  60. }
  61. a, a.nuxt-link-active {
  62. cursor: pointer;
  63. text-decoration: none;
  64. color: $text;
  65. transition: color .2s ease;
  66. outline: 0;
  67. &:hover,&:active {
  68. text-decoration: none;
  69. color: $skin-bg;
  70. }
  71. }
  72. a.header-link {
  73. cursor: pointer;
  74. text-decoration: none;
  75. color: #fff;
  76. transition: color .2s ease;
  77. outline: 0;
  78. &:hover {
  79. text-decoration: underline;
  80. }
  81. }
  82. p{
  83. margin:0;
  84. margin-bottom:10px;
  85. }
  86. img {
  87. outline: 0;
  88. border: none;
  89. }
  90. .text-right{
  91. text-align: right;
  92. }
  93. .el-button--blur{
  94. background: #64c9bb!important;
  95. color:#fff!important;
  96. &:hover{
  97. background: #afddd7!important;
  98. border:1px solid #afddd7!important;
  99. }
  100. &:disabled{
  101. cursor:not-allowed;
  102. background: #9dccfc;
  103. border-color: #9dccfc;
  104. }
  105. }
  106. .el-button--yellow{
  107. background: #f97f25!important;
  108. color:#fff!important;
  109. &:hover{
  110. background: #f8b584!important;
  111. border:1px solid #f8b584!important;
  112. }
  113. &:disabled{
  114. cursor:not-allowed;
  115. background: #f3a164;
  116. border-color: #f3a164;
  117. }
  118. }
  119. .el-button--yellow_plain{
  120. background: #fff!important;
  121. color:#f97f25!important;
  122. border:1px solid #f97f25!important;
  123. &:hover{
  124. color: #ffffff !important;
  125. background: #f8b584!important;
  126. border:1px solid #f8b584!important;
  127. }
  128. &:disabled{
  129. cursor:not-allowed;
  130. background: #f3a164;
  131. border-color: #f3a164;
  132. }
  133. }
  134. input[type=checkbox] {
  135. position: absolute;
  136. clip: rect(0, 0, 0, 0);
  137. &.blur_checkbox + label::before {
  138. content: '';
  139. display: inline-block;
  140. width: 15px;
  141. height: 15px;
  142. vertical-align:middle;
  143. margin-right:3px;
  144. background: url(../../static/spirit.png)no-repeat -20px -20px;
  145. }
  146. &.blur_checkbox:checked + label::before {
  147. background: url(../../static/spirit.png)no-repeat 0px -20px;
  148. }
  149. &.yellow_checkbox + label::before {
  150. content: '';
  151. display: inline-block;
  152. width: 15px;
  153. height: 15px;
  154. vertical-align:middle;
  155. margin-right:3px;
  156. background: url(../../static/spirit.png)no-repeat -20px 0px;
  157. }
  158. &.yellow_checkbox:checked + label::before {
  159. background: url(../../static/spirit.png)no-repeat;
  160. }
  161. }
  162. .icon-left-arrow{
  163. display:inline-block;
  164. position:relative;
  165. top:0;
  166. width:10px;
  167. height:10px;
  168. background: url(../../static/icon/left-arrow.png)no-repeat;
  169. }
  170. //.icon-business{
  171. // width:20px;
  172. // height:20px;
  173. // background: url(../../static/icon.png)no-repeat -21px 0px;
  174. //}
  175. //.icon-order{
  176. // width:20px;
  177. // height:20px;
  178. // background: url(../../static/icon.png)no-repeat -42px 0px;
  179. //}
  180. //.icon-client{
  181. // width:20px;
  182. // height:20px;
  183. // background: url(../../static/icon.png)no-repeat -63px 0px;
  184. //}
  185. .m-snav{
  186. color:#666;
  187. font-size: 20px;
  188. margin-left:-15px;
  189. margin-bottom:12px;
  190. span{
  191. position:relative;
  192. margin: 0 15px;
  193. &.active,&:hover{
  194. cursor:pointer;
  195. color:#000;
  196. border-bottom:1px solid #000;
  197. }
  198. }
  199. }
  200. // 标题部分
  201. .headline{
  202. padding:0 10px;
  203. line-height: 34px;
  204. height:34px;
  205. margin-bottom:10px;
  206. > span{
  207. font-size: 18px;
  208. color:#333;
  209. font-weight: bold;
  210. &:before{
  211. content: '';
  212. display:inline-block;
  213. width:3px;
  214. height:15px;
  215. margin-right:10px;
  216. background: #0d5ffe;
  217. position:relative;
  218. top:2px;
  219. }
  220. }
  221. .search_time{
  222. float:right;
  223. .el-date-editor.el-input, .el-date-editor.el-input__inner{
  224. width: 350px;
  225. }
  226. .el-input .el-input-group__append{
  227. width:auto;
  228. cursor:pointer;
  229. }
  230. .el-input{
  231. margin:0 10px;
  232. width:285px;
  233. }
  234. a{
  235. display:inline-block;
  236. margin: 0 10px;
  237. color:#64c9bb;
  238. background: #fff;
  239. padding: 0 10px;
  240. line-height: 32px;
  241. font-size: 14px;
  242. text-align: center;
  243. border: 1px solid #64c9bb;
  244. i{
  245. display:inline-block;
  246. margin-right:5px;
  247. width:14px;
  248. height:14px;
  249. color:#64c9bb;
  250. text-align: center;
  251. line-height: 14px;
  252. font-weight: bold;
  253. &.border_radius{
  254. border-radius: 50%;
  255. font-style:normal;
  256. background: #64c9bb;
  257. color:#fff;
  258. }
  259. }
  260. }
  261. }
  262. }
  263. // 表格样式
  264. .table{
  265. table-layout:fixed;
  266. border-collapse: unset;
  267. border-spacing: 0;
  268. width:100%;
  269. color:#666;
  270. padding:0;
  271. margin: 0;
  272. thead{
  273. line-height:45px;
  274. tr{
  275. background: #deeffe;
  276. th{
  277. color:#333;
  278. text-align:center;
  279. vertical-align: middle;
  280. }
  281. }
  282. }
  283. tbody{
  284. tr{
  285. &:nth-child(even){
  286. background: #f0f7fe;
  287. }
  288. &:hover{
  289. cursor:pointer;
  290. background: #DDEBF9;
  291. td{
  292. color:#0d5ffe;
  293. }
  294. }
  295. td{
  296. padding: 15px 5px;
  297. word-break: break-all;
  298. word-wrap: break-word;
  299. text-align: center;
  300. vertical-align: middle;
  301. border:1px solid #f0f7fe;
  302. &.check_td{
  303. background: #dcdfe6;
  304. }
  305. span{
  306. margin-right:24px;
  307. &:hover{
  308. i{
  309. color:#2f95dd;
  310. }
  311. }
  312. i{
  313. position:relative;
  314. top:6px;
  315. font-size: 26px;
  316. font-weight: bold;
  317. }
  318. }
  319. input{
  320. margin: -15px -5px;
  321. }
  322. }
  323. }
  324. }
  325. }
  326. // 单证管理部分
  327. .documentation{
  328. .list_event{
  329. background: #f2f7fb;
  330. height:46px;
  331. line-height: 46px;
  332. margin-bottom:20px;
  333. a{
  334. position:relative;
  335. display:inline-block;
  336. height:30px;
  337. line-height: 28px;
  338. padding: 0 15px;
  339. margin: 0 10px;
  340. border: 1px solid #64c9bb;
  341. color:#64c9bb;
  342. background: #fff;
  343. border-radius: 2px;
  344. &:hover{
  345. ul{
  346. display:block;
  347. }
  348. }
  349. ul{
  350. display:none;
  351. position:absolute;
  352. top:100%;
  353. left:-1px;
  354. z-index:10000;
  355. border: 1px solid #64c9bb;
  356. background: #fff;
  357. li{
  358. line-height:25px;
  359. height:25px;
  360. color:#666;
  361. padding: 0 15px;
  362. &:hover{
  363. cursor:pointer;
  364. background: #64c9bb;
  365. color:#fff;
  366. }
  367. }
  368. }
  369. }
  370. }
  371. .dialog_info{
  372. .step{
  373. p{
  374. color:#333;
  375. .serial{
  376. display:inline-block;
  377. font-size: 12px;
  378. width:15px;
  379. height:15px;
  380. text-align: center;
  381. line-height: 15px;
  382. background: #f97f25;
  383. color:#fff;
  384. margin-right:10px;
  385. }
  386. .link_color{
  387. color:#2b73fe;
  388. }
  389. a{
  390. display:inline-block;
  391. vertical-align:middle;
  392. width:25px;
  393. height:28px;
  394. background: url(/spirit.png)no-repeat -67px -38px;
  395. }
  396. }
  397. }
  398. }
  399. }
  400. // 头部
  401. header{
  402. background: #474443;
  403. height:72px;
  404. .w-logo{
  405. line-height:72px;
  406. img{
  407. vertical-align: middle;
  408. }
  409. .w-nav{
  410. margin-left:30px;
  411. display:inline-block;
  412. ul{
  413. li{
  414. a{
  415. color:#b4b4b4;
  416. padding:0 5px;
  417. &:hover{
  418. color:#fff;
  419. }
  420. }
  421. }
  422. }
  423. }
  424. }
  425. .w-login{
  426. line-height: 72px;
  427. a{
  428. color:#b4b4b4;
  429. padding:0 15px;
  430. &:hover{
  431. color:#fff;
  432. }
  433. }
  434. }
  435. }
  436. // 尾部
  437. footer {
  438. height:200px;
  439. background: #ffffff;
  440. }
  441. // 弹窗默认样式
  442. .default-alert {
  443. .form-list {
  444. border-bottom: 1px solid #f4f1f1;
  445. li {
  446. line-height: 40px;
  447. margin-bottom: 20px;
  448. .name {
  449. color: #333;
  450. font-size: 14px;
  451. width: 96px;
  452. span {
  453. color: #e50808;
  454. }
  455. }
  456. .input-text {
  457. width: 312px;
  458. }
  459. .input-text2 {
  460. width: 472px;
  461. }
  462. .text {
  463. font-size: 14px;
  464. width: 482px;
  465. }
  466. .select {
  467. width: 149px;
  468. margin-right: 12px;
  469. &:nth-last-of-type(1) {
  470. margin-right: 0px;
  471. }
  472. }
  473. .otherText {
  474. margin-left: 96px;
  475. color: #333;
  476. font-size: 14px;
  477. margin-top: -20px;
  478. i {
  479. cursor: pointer;
  480. color: #333;
  481. margin-right: 5px;
  482. &.active {
  483. color: #f97f25
  484. }
  485. }
  486. }
  487. }
  488. }
  489. .control-btn {
  490. text-align: center;
  491. div {
  492. width: 70px;
  493. height: 34px;
  494. line-height: 34px;
  495. text-align: center;
  496. border-radius: 3px;
  497. cursor: pointer;
  498. display: inline-block;
  499. margin-right: 12px;
  500. margin-top: 12px;
  501. &:nth-last-of-type(1) {
  502. margin-right: 0px;
  503. }
  504. }
  505. .save {
  506. background: #f97f25;
  507. border: 1px solid #f97f25;
  508. color: #fff;
  509. &:hover {
  510. background: #fd964a;
  511. }
  512. }
  513. .cancel {
  514. background: #fff;
  515. color: #f97f25;
  516. border: 1px solid #f97f25;
  517. &:hover {
  518. background: #fd964a;
  519. color: #fff;
  520. }
  521. }
  522. }
  523. }
  524. .el-input__inner{
  525. -moz-appearance:textfield;
  526. }
  527. input.el-input__inner::-webkit-inner-spin-button,
  528. input.el-input__inner::-webkit-outer-spin-button {
  529. -webkit-appearance: none;
  530. margin: 0;
  531. }