common.scss 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806
  1. // scroll
  2. ::-webkit-scrollbar {
  3. width: .5rem;
  4. height: .5rem;
  5. background: hsla(0, 0%, 100%, 0.6);
  6. }
  7. ::-webkit-scrollbar-track {
  8. border-radius: 0;
  9. }
  10. ::-webkit-scrollbar-thumb {
  11. border-radius: 0;
  12. background-color: rgba(95,95,95,.4);
  13. transition: background-color .15s;
  14. &:hover {
  15. background-color: rgba(95,95,95, .7);
  16. }
  17. }
  18. #cnzz_stat_icon_1267002346 {
  19. display: none;
  20. }
  21. // common style
  22. .clearfix {
  23. &:before, &:after {
  24. display: table;
  25. content: " ";
  26. }
  27. &:after {
  28. clear: both;
  29. }
  30. }
  31. .list-unstyled {
  32. padding-left: 0;
  33. list-style: none;
  34. }
  35. .list-inline li {
  36. display: inline-block;
  37. padding-left: 5px;
  38. padding-right: 5px;
  39. }
  40. .hide {
  41. opacity: 0;
  42. visibility: hidden;
  43. pointer-events: none;
  44. }
  45. .pull-left {
  46. float: left;
  47. }
  48. .pull-right {
  49. float: right;
  50. }
  51. .container {
  52. width: $container-width;
  53. margin: 0 auto;
  54. }
  55. .dl-horizontal dt {
  56. float: left;
  57. width: 160px;
  58. overflow: hidden;
  59. clear: left;
  60. text-align: right;
  61. text-overflow: ellipsis;
  62. white-space: nowrap;
  63. }
  64. .dl-horizontal dd {
  65. display: block;
  66. margin-left: 180px;
  67. &:before, &:after {
  68. display: table;
  69. content: " ";
  70. }
  71. &:after {
  72. clear: both;
  73. }
  74. }
  75. .dropdown {
  76. position: relative;
  77. .dropdown-toggle {
  78. cursor: pointer;
  79. }
  80. .dropdown-menu {
  81. position: absolute;
  82. left: 0;
  83. top: 100%;
  84. min-width: 100%;
  85. display: none;
  86. background-color: $white;
  87. z-index: 100;
  88. }
  89. &:hover {
  90. .dropdown-menu {
  91. display: block;
  92. }
  93. }
  94. }
  95. // button
  96. .btn {
  97. display: inline-block;
  98. height: 36px;
  99. line-height: 1;
  100. padding: 3px 12px;
  101. margin: 0;
  102. border: 1px solid transparent;
  103. text-align: center;
  104. white-space: nowrap;
  105. vertical-align: middle;
  106. -ms-touch-action: manipulation;
  107. touch-action: manipulation;
  108. cursor: pointer;
  109. -webkit-user-select: none;
  110. -moz-user-select: none;
  111. -ms-user-select: none;
  112. &.btn-default {
  113. color: $text;
  114. background-color: $white;
  115. border-color: $dividers;
  116. }
  117. &.btn-primary {
  118. color: $white;
  119. background-color: $primary;
  120. border-color: $primary;
  121. }
  122. }
  123. // form
  124. .form-control {
  125. -webkit-appearance: none;
  126. -moz-appearance: none;
  127. appearance: none;
  128. background-color: $white;
  129. background-image: none;
  130. border: $border;
  131. color: #999;
  132. display: inline-block;
  133. font-size: inherit;
  134. height: 36px;
  135. line-height: 1;
  136. outline: none;
  137. padding: 3px 10px;
  138. width: 100%;
  139. &.input-primary {
  140. border-color: $primary;
  141. }
  142. }
  143. .input-group {
  144. position: relative;
  145. display: inline-table;
  146. width: 100%;
  147. border-collapse: separate;
  148. .form-control, .input-group-btn {
  149. display: table-cell;
  150. }
  151. .input-group-addon, .input-group-btn {
  152. position: relative;
  153. width: 1px;
  154. white-space: nowrap;
  155. vertical-align: middle;
  156. }
  157. .form-control {
  158. position: relative;
  159. z-index: 2;
  160. float: left;
  161. width: 100%;
  162. }
  163. .input-group-btn {
  164. .btn {
  165. position: relative;
  166. }
  167. }
  168. }
  169. // vue animate
  170. .slide-down-enter-active, .slide-down-leave-active {
  171. transition: all .4s cubic-bezier(0, 1.2, 1, 0.5);
  172. opacity: .7;
  173. transform: translate3d(0, 4em, 0);
  174. }
  175. .slide-down-enter, .slide-down-leave-active {
  176. opacity: .3;
  177. transform: translate3d(0, 4em, 0);
  178. }
  179. .slide-left-enter-active, .slide-left-leave-active {
  180. transition: all .2s cubic-bezier(0, 1.2, 1, 0.5);
  181. opacity: .5;
  182. transform: translate3d(2em, 0, 0);
  183. }
  184. .slide-left-enter, .slide-left-leave-active {
  185. opacity: .3;
  186. transform: translate3d(2em, 0, 0);
  187. }
  188. .slide-right-enter-active, .slide-right-leave-active {
  189. transition: all .4s cubic-bezier(0, 1.2, 1, 0.5);
  190. opacity: .5;
  191. transform: translate3d(5em, 0, 0);
  192. }
  193. .slide-right-enter, .slide-right-leave-active {
  194. opacity: .3;
  195. transform: translate3d(5em, 0, 0);
  196. }
  197. .fade-enter-active, .fade-leave-active {
  198. transition: opacity .25s
  199. }
  200. .fade-enter, .fade-leave-active {
  201. opacity: 0
  202. }
  203. .fade-move {
  204. transition: transform .25s;
  205. }
  206. .page-enter-active, .page-leave-active {
  207. transition: opacity .25s
  208. }
  209. .page-enter, .page-leave-active {
  210. opacity: 0
  211. }
  212. .module-enter-active, .module-leave-active {
  213. transition: opacity .25s
  214. }
  215. .module-enter, .module-leave-active {
  216. opacity: 0
  217. }
  218. .aside-enter-active {
  219. transition: opacity .25s cubic-bezier(1, -1.17, 1, -1.17);
  220. }
  221. .aside-leave-active {
  222. transition: opacity 0s
  223. }
  224. .aside-enter, .aside-leave-active {
  225. opacity: 0
  226. }
  227. a {
  228. color: #2d8cf0;
  229. background: 0 0;
  230. text-decoration: none;
  231. outline: 0;
  232. cursor: pointer;
  233. transition: color .2s ease;
  234. }
  235. .select-adder {
  236. background:url("../../static/images/all/xiala.png") right no-repeat #fff !important;
  237. background-position-x: 100% !important;
  238. /*将默认的select选择框样式清除*/
  239. appearance:none;
  240. -moz-appearance:none;
  241. -webkit-appearance:none;
  242. -ms-appearance:none;
  243. }
  244. .select-adder::-ms-expand {
  245. display: none;
  246. }
  247. //按钮不可点击状态
  248. .el-button.is-disabled, .el-button.is-disabled:focus, .el-button.is-disabled:hover {
  249. color: #bfcbd9 !important ;
  250. cursor: not-allowed !important ;
  251. background-image: none !important ;
  252. background-color: #eef1f6 !important ;
  253. border-color: #d1dbe5 !important ;
  254. }
  255. //每项最后一步按钮不可点击状态
  256. .el-button.finish.is-disabled, .el-button.finish.is-disabled:focus, .el-button.finish.is-disabled:hover {
  257. color: #fff !important;
  258. background-color: #0076AD !important;
  259. border: none !important;
  260. opacity: .7;
  261. cursor: not-allowed !important;
  262. }
  263. //隐藏加载数据状态
  264. .el-input__icon{
  265. display: none;
  266. }
  267. //表单样式
  268. form .el-form-item {
  269. margin: 0 auto 16px;
  270. width: 360px;
  271. }
  272. form .el-form-item:last-child {
  273. margin: -8px auto 0!important;
  274. }
  275. form .el-form-item .el-form-item__content {
  276. margin-left: 0 !important;
  277. }
  278. form .el-form-item .el-form-item__content .el-input__inner{
  279. padding: 0 0 0 18px;
  280. width: 360px;
  281. height: 44px;
  282. line-height: 44px;
  283. font-size: 14px;
  284. color: #000;
  285. border-radius: 0;
  286. }
  287. form .el-form-item .el-form-item__content .msg{
  288. float: left;
  289. width: 210px;
  290. }
  291. form .el-form-item .el-form-item__content .msg .el-input__inner{
  292. width: 210px;
  293. }
  294. form .el-form-item .el-form-item__content .code{
  295. float: right;
  296. width: 130px;
  297. height: 44px;
  298. font-size: 14px;
  299. color: #5a5a5a;
  300. background: #f4f4f4;
  301. border: 1px solid #dcdcdc;
  302. border-radius: 0;
  303. cursor: pointer;
  304. }
  305. form .el-form-item .el-form-item__content .el-form-item__error {
  306. position: absolute;
  307. top: 15px;
  308. left: 380px;
  309. padding-top: 0;
  310. width: 100%;
  311. text-align: left;
  312. }
  313. form .el-form-item .el-form-item__content .finish{
  314. display: inline-block;
  315. margin-top: 34px;
  316. width: 360px;
  317. height: 44px;
  318. line-height: 44px;
  319. font-size: 16px;
  320. color: #fff;
  321. background: #0076AD;
  322. border-radius: 3px;
  323. border: none;
  324. }
  325. form .el-form-item .el-form-item__content .el-checkbox{
  326. float: left;
  327. margin-left: 50px;
  328. }
  329. form .el-form-item .el-form-item__content .el-checkbox .el-checkbox__inner{
  330. width: 16px;
  331. height: 16px;
  332. border: 1px solid #ccc;
  333. border-radius: 0;
  334. }
  335. form .el-form-item .el-form-item__content .el-textarea .el-textarea__inner{
  336. width: 360px;
  337. height: 120px;
  338. border-radius: 0;
  339. }
  340. //我同意按钮
  341. .el-checkbox__input.is-checked .el-checkbox__inner{
  342. background: transparent !important;
  343. border-color: #bfbfbf !important;
  344. }
  345. .el-checkbox__input.is-focus .el-checkbox__inner{
  346. border-color: #bfbfbf !important;
  347. }
  348. .el-checkbox__inner{
  349. border-color: #bfbfbf !important;
  350. }
  351. .el-checkbox__inner::after{
  352. border: 2px solid #0076AD !important;
  353. border-top: 0 !important;
  354. border-left: 0 !important;
  355. }
  356. //登录页面样式
  357. //错误提示框变红隐藏
  358. .login-form .el-form-item.is-error .el-input__inner, .login-form .el-form-item.is-error .el-input__inner:focus, .login-form .el-form-item.is-error .el-textarea__inner, .login-form .el-form-item.is-error .el-textarea__inner:focus, .login-form .el-message-box__input input.invalid, .login-form .el-message-box__input input.invalid:focus {
  359. border-color: #ccc!important;
  360. }
  361. .login-form .el-input__inner{
  362. padding-left: 30px !important;
  363. width: 306px !important;
  364. height: 34px !important;
  365. line-height: 34px !important;
  366. }
  367. .login-form .el-form-item{
  368. position: relative;
  369. width: 306px !important;
  370. }
  371. .login-form .el-form-item i.fa{
  372. position: absolute;
  373. top: 4px;
  374. left: 0;
  375. z-index: 2;
  376. display: block;
  377. width: 30px;
  378. height: 34px;
  379. line-height: 34px;
  380. text-align: center;
  381. pointer-events: none;
  382. color: #999;
  383. font-size: 18px;
  384. }
  385. .login-form .captcha{
  386. overflow: hidden;
  387. }
  388. .login-form .code-input{
  389. float: left;
  390. width: 150px !important;
  391. }
  392. .login-form .code-input .el-input__inner{
  393. padding: 0 !important;
  394. height: 34px !important;
  395. line-height: 34px !important;
  396. width: 150px !important;
  397. }
  398. .login-form img.code-img{
  399. margin-top: 5px;
  400. float: left;
  401. height: 30px;
  402. width: 108px;
  403. }
  404. .login-form a.code-click{
  405. float: right;
  406. display: inline-block;
  407. margin-top: 5px;
  408. width: 45px;
  409. line-height: 15px;
  410. text-align: right;
  411. font-size: 12px;
  412. color: #666;
  413. vertical-align: middle;
  414. cursor: pointer;
  415. }
  416. .login-form a.code-click:hover{
  417. color: #5078cb;
  418. text-decoration: none;
  419. outline: 0;
  420. }
  421. .login-form .el-form-item a.forget{
  422. color: #5078cb;
  423. font-size: 12px;
  424. }
  425. .login-form .el-form-item.text-right{
  426. }
  427. .login-form .text-right .el-form-item__content{
  428. height: 20px;
  429. line-height: 16px;
  430. }
  431. .login-form .el-form-item .login{
  432. width: 306px;
  433. height: 34px;
  434. line-height: 30px;
  435. }
  436. //个人注册错误框颜色
  437. form .el-form-item .el-form-item__content div.active .el-input__inner{
  438. border-color: #f56c6c !important;
  439. }
  440. //个人注册正确框颜色
  441. form .el-form-item .el-form-item__content div.correct .el-input__inner{
  442. border-color: #67c23a !important;
  443. }
  444. //登录选择企业弹出框
  445. .dialog .el-dialog__header{
  446. display: none;
  447. }
  448. .dialog .el-dialog__body{
  449. padding: 0;
  450. }
  451. //企业认证
  452. form .el-form-item.padding55 .el-form-item__content .el-input__inner{
  453. //padding-left: 55px;
  454. }
  455. form .el-form-item.padding45 .el-form-item__content .el-input__inner{
  456. padding-left: 45px;
  457. border: 1px solid #dcdfe6;
  458. }
  459. //上传图片
  460. .x-btn-blank{
  461. position: relative;
  462. display: inline-block;
  463. width: 360px;
  464. height: 44px;
  465. text-align: left;
  466. border: 1px solid #dcdcdc;
  467. overflow: hidden;
  468. cursor: pointer;
  469. }
  470. .x-btn-blank span.upload {
  471. margin-left: 50px;
  472. line-height: 44px;
  473. font-size: 14px;
  474. color: #c9c9c9;
  475. }
  476. .x-btn-blank input[type='file']{
  477. position: absolute;
  478. top: 0;
  479. left: 0;
  480. width: 360px;
  481. height: 44px;
  482. opacity: 0;
  483. border: none;
  484. }
  485. .x-btn-blank:hover, .x-btn-blank[disabled] {
  486. border-color: #c0c4cc;
  487. background: #e6e6e6;
  488. color: #333;
  489. }
  490. .x-btn-blank:hover span.upload{
  491. color: #000;
  492. }
  493. form .el-form-item.padding55 .el-form-item__content{
  494. text-align: left;
  495. line-height: 1;
  496. }
  497. form .el-form-item.padding55 a.thumbnail {
  498. margin-bottom: 0;
  499. width: 120px;
  500. line-height: 70px;
  501. border-radius: 0;
  502. }
  503. form .el-form-item.padding55 a.thumbnail:hover{
  504. border: 1px solid #ddd;
  505. }
  506. form .el-form-item.padding55 img.previewImg {
  507. max-width: 120px;
  508. max-height: 70px;
  509. }
  510. //地址选择
  511. .form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
  512. background-color: transparent;
  513. }
  514. .x-union-menu {
  515. width: 600px;
  516. }
  517. .x-form .dropdown-menu {
  518. left: 15px;
  519. margin-top: -1px;
  520. border-color: #e4ecf3;
  521. border-radius: 0;
  522. padding: 0;
  523. }
  524. .x-union-header>div {
  525. background: #f5f8fa;
  526. font-weight: 700;
  527. border-bottom: 1px solid #e4ecf3;
  528. }
  529. .x-union-header{
  530. overflow: hidden;
  531. height: 28px;
  532. line-height: 28px;
  533. background: #f5f8fa;
  534. }
  535. .x-union-header>div:last-child {
  536. border-right-width: 0;
  537. }
  538. .x-union-menu .x-item-ext {
  539. float: left;
  540. width: 235px;
  541. }
  542. .x-union-header>div, .x-union-list>ul {
  543. float: left;
  544. width: 121px;
  545. border-right: 1px solid #e4ecf3;
  546. }
  547. .x-union-list>ul {
  548. height: 200px;
  549. margin: 0;
  550. overflow-y: auto;
  551. }
  552. .x-union-list .x-item-ext {
  553. padding: 10px;
  554. }
  555. .x-union-header>div, .x-union-list>ul>li {
  556. padding: 2px 10px;
  557. cursor: pointer;
  558. font-size: 14px;
  559. color: #505050;
  560. height: 28px;
  561. line-height: 28px;
  562. }
  563. .x-union-list>ul>li:hover, .x-union-list>ul>li.active {
  564. background: #fee9c7;
  565. }
  566. .x-input, .x-input-blank {
  567. border-color: #ccc;
  568. border-radius: 0;
  569. box-shadow: none;
  570. }
  571. .text-right a.register-btn {
  572. display: inline-block;
  573. border-radius: 0;
  574. width: 45px;
  575. height: 30px;
  576. line-height: 30px;
  577. text-align: center;
  578. font-size: 14px;
  579. }
  580. .text-right a.register-btn:first-child{
  581. margin-right: 10px;
  582. background: #5078cb;
  583. color: #fff;
  584. }
  585. .text-right a.register-btn:last-child{
  586. background: #e6e6e6;
  587. color: #333;
  588. }
  589. #street {
  590. width: 200px !important;
  591. height: 94px !important;
  592. font-size: 14px;
  593. color: #555;
  594. }
  595. form .el-form-item.padding45 .el-form-item__content input.active{
  596. border-color: #f56c6c !important;
  597. }
  598. form .el-form-item.padding45 .el-form-item__content input.correct{
  599. border-color: #67c23a !important;
  600. }
  601. form .el-form-item.padding55 .el-form-item__content a.active{
  602. border-color: #f56c6c !important;
  603. }
  604. form .el-form-item.padding55 .el-form-item__content a.correct {
  605. border-color: #67c23a !important;
  606. }
  607. //密保问题
  608. form .questions .el-form-item__content{
  609. text-align: left;
  610. }
  611. form .questions .el-form-item__content span.question {
  612. font-size: 14px;
  613. color: #000;
  614. }
  615. //未设置邮箱弹出框
  616. .valid-phone .el-dialog {
  617. position: absolute;
  618. width: 300px;
  619. height: 150px;
  620. margin: 0 auto;
  621. left: 50%;
  622. top: 50%;
  623. margin-left: -150px;
  624. margin-top: -75px !important;
  625. }
  626. .valid-phone .el-dialog .el-dialog__header {
  627. display: none;
  628. }
  629. .valid-phone .el-dialog .el-dialog__body .set-tip{
  630. width: 100%;
  631. height: 100%;
  632. }
  633. .valid-phone .el-dialog .el-dialog__body .set-tip p{
  634. margin-top: 10px;
  635. margin-bottom: 30px;
  636. font-size: 14px;
  637. color: #000;
  638. }
  639. .valid-phone .el-dialog .el-dialog__body .set-tip a{
  640. display: inline-block;
  641. width: 60px;
  642. height: 30px;
  643. line-height: 30px;
  644. text-align: center;
  645. font-size: 14px;
  646. color: #fff;
  647. background: #00a0e9;
  648. border-radius: 3px;
  649. }
  650. // 模态框样式处理
  651. .center .el-dialog__wrapper{
  652. z-index:10000;
  653. }
  654. .center .el-dialog__body{
  655. text-align: center!important;
  656. border-top:1px solid #d2d2d2!important;
  657. }
  658. .center .el-dialog__footer{
  659. text-align: center!important;
  660. padding: 60px 15px 40px;
  661. }
  662. .center .el-dialog__footer .el-button{
  663. width:180px;
  664. height:30px;
  665. line-height: 30px;
  666. text-align: center;
  667. padding:0;
  668. border-radius:15px;
  669. }
  670. //查看大图
  671. #image-box .x-floating-wrap,.image-box .x-floating-wrap {
  672. position: fixed;
  673. z-index: 99998;
  674. background: #000;
  675. top: 0;
  676. left: 0;
  677. width: 100%;
  678. height: 100%;
  679. opacity: 0.5;
  680. }
  681. #image-box,.image-box{
  682. display:table; overflow:hidden; margin-left:50px; _position:relative; width: 1200px;height: 700px;
  683. position: fixed;
  684. top: 50%;
  685. margin-top: -350px;
  686. left: 50%;
  687. margin-left: -600px;
  688. z-index: 2020;
  689. }
  690. #image-box .x-floating,.image-box .x-floating {
  691. vertical-align:middle !important;
  692. display:table-cell;
  693. text-align:center;
  694. _position:absolute;
  695. _top:50%; _left:50%;
  696. top: inherit !important;
  697. left: inherit !important;
  698. }
  699. #image-box .x-floating img ,.image-box .x-floating img {
  700. margin: auto auto;
  701. max-width: 970px !important;
  702. max-height: 600px !important;
  703. -webkit-user-select: none;
  704. -moz-user-select: none;
  705. -ms-user-select: none;
  706. user-select: none;
  707. }
  708. #image-box .x-floating-wrap,.image-box .x-floating-wrap{
  709. z-index: 1000000 !important;
  710. }
  711. #item-content{
  712. color:#fff; display:inline-block; _position:relative; _top:-50%; _left:-50%;
  713. position: relative;
  714. z-index: 10000000;
  715. }
  716. #item-content div.x-close-wrap{
  717. position: absolute;
  718. right: -15px;
  719. line-height: 30px;
  720. top: -13px;
  721. color: #fff;
  722. width: 35px;
  723. height: 35px;
  724. background: rgba(0, 0, 0, 0.5);
  725. border-radius: 100%;
  726. opacity: 1;
  727. margin: 0;
  728. z-index: 100000;
  729. min-height: initial;
  730. text-align: center;
  731. }
  732. #item-content div.x-close-wrap a{
  733. position: relative;
  734. left: 0;
  735. bottom: 0;
  736. font-size: 34px;
  737. color: #fff;
  738. }
  739. #item-content div.x-close-wrap a:hover{
  740. color: #fff !important;
  741. }
  742. #item-content div.x-close-wrap:hover{
  743. cursor: pointer;
  744. opacity: .9;
  745. }
  746. #item-content div.x-close-wrap img{
  747. width: 30px !important;
  748. height: 30px !important;
  749. }
  750. #item-content .img{
  751. position: relative;
  752. z-index: 10;
  753. }