common.scss 20 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004
  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. width: 360px;
  280. height: 44px;
  281. line-height: 44px;
  282. font-size: 14px;
  283. color: #000;
  284. border-radius: 0;
  285. }
  286. form .el-form-item .el-form-item__content .msg{
  287. float: left;
  288. width: 210px;
  289. }
  290. form .el-form-item .el-form-item__content .msg .el-input__inner{
  291. width: 210px;
  292. }
  293. form .el-form-item .el-form-item__content .code{
  294. float: right;
  295. width: 130px;
  296. height: 44px;
  297. font-size: 14px;
  298. color: #5a5a5a;
  299. background: #f4f4f4;
  300. border: 1px solid #dcdcdc;
  301. border-radius: 0;
  302. cursor: pointer;
  303. }
  304. form .el-form-item .el-form-item__content .el-form-item__error {
  305. position: absolute;
  306. top: 15px;
  307. left: 380px;
  308. padding-top: 0;
  309. width: 100%;
  310. text-align: left;
  311. }
  312. form .el-form-item .el-form-item__content .finish{
  313. display: inline-block;
  314. margin-top: 34px;
  315. width: 360px;
  316. height: 44px;
  317. line-height: 44px;
  318. font-size: 16px;
  319. color: #fff;
  320. background: #0076AD;
  321. border-radius: 3px;
  322. border: none;
  323. }
  324. form .el-form-item .el-form-item__content .el-checkbox{
  325. float: left;
  326. margin-left: 50px;
  327. }
  328. form .el-form-item .el-form-item__content .el-checkbox .el-checkbox__inner{
  329. width: 16px;
  330. height: 16px;
  331. border: 1px solid #ccc;
  332. border-radius: 0;
  333. }
  334. form .el-form-item .el-form-item__content .el-textarea .el-textarea__inner{
  335. width: 360px;
  336. height: 120px;
  337. border-radius: 0;
  338. }
  339. //我同意按钮
  340. .el-checkbox__input.is-checked .el-checkbox__inner{
  341. background: transparent !important;
  342. border-color: #bfbfbf !important;
  343. }
  344. .el-checkbox__input.is-focus .el-checkbox__inner{
  345. border-color: #bfbfbf !important;
  346. }
  347. .el-checkbox__inner{
  348. border-color: #bfbfbf !important;
  349. }
  350. .el-checkbox__inner::after{
  351. border: 2px solid #0076AD !important;
  352. border-top: 0 !important;
  353. border-left: 0 !important;
  354. }
  355. form .text-position .el-form-item__content{
  356. line-height: 20px;
  357. }
  358. form .text-position .el-form-item__content .el-checkbox .el-checkbox__inner{
  359. margin-top: -1px;
  360. width: 14px;
  361. height: 14px;
  362. border: 1px solid #ccc;
  363. }
  364. form .text-position .el-form-item__content .el-checkbox .el-checkbox__label{
  365. padding-left: 8px;
  366. font-size: 12px;
  367. color: #606266;
  368. }
  369. form .text-position .el-form-item__content .el-checkbox .el-checkbox__input.is-checked+.el-checkbox__label {
  370. color: #2d8cf0;
  371. }
  372. form .text-position .el-checkbox__input.is-checked .el-checkbox__inner{
  373. background-color: #5078cb!important;
  374. border-color: transparent!important;
  375. }
  376. form .text-position .el-checkbox__inner::after {
  377. border: 2px solid #fff !important;
  378. border-top: 0 !important;
  379. border-left: 0 !important;
  380. }
  381. form .captcha{
  382. overflow: hidden;
  383. }
  384. form .code-input{
  385. float: left;
  386. width: 200px !important;
  387. }
  388. form .code-input .el-input__inner{
  389. width: 200px !important;
  390. }
  391. form img.code-img{
  392. margin: 5px;
  393. float: left;
  394. height: 30px;
  395. width: 100px;
  396. }
  397. form a.code-click{
  398. float: right;
  399. display: inline-block;
  400. margin-top: 5px;
  401. width: 40px;
  402. line-height: 15px;
  403. text-align: right;
  404. font-size: 12px;
  405. color: #666;
  406. vertical-align: middle;
  407. cursor: pointer;
  408. }
  409. form a.code-click:hover{
  410. color: #5078cb;
  411. text-decoration: none;
  412. outline: 0;
  413. }
  414. //登录页面样式
  415. //错误提示框变红隐藏
  416. .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 {
  417. border-color: #ccc!important;
  418. }
  419. .login-form .el-input__inner{
  420. padding-left: 30px !important;
  421. width: 306px !important;
  422. height: 34px !important;
  423. line-height: 34px !important;
  424. }
  425. .login-form .el-form-item{
  426. position: relative;
  427. width: 306px !important;
  428. }
  429. .login-form .el-form-item i.fa{
  430. position: absolute;
  431. top: 4px;
  432. left: 0;
  433. z-index: 2;
  434. display: block;
  435. width: 30px;
  436. height: 34px;
  437. line-height: 34px;
  438. text-align: center;
  439. pointer-events: none;
  440. color: #999;
  441. font-size: 18px;
  442. }
  443. .login-form .captcha{
  444. overflow: hidden;
  445. }
  446. .login-form .code-input{
  447. float: left;
  448. width: 150px !important;
  449. }
  450. .login-form .code-input .el-input__inner{
  451. padding: 0 !important;
  452. height: 34px !important;
  453. line-height: 34px !important;
  454. width: 150px !important;
  455. }
  456. .login-form img.code-img{
  457. margin-top: 5px;
  458. float: left;
  459. height: 30px;
  460. width: 100px;
  461. }
  462. .login-form a.code-click{
  463. float: right;
  464. display: inline-block;
  465. margin-top: 5px;
  466. width: 45px;
  467. line-height: 15px;
  468. text-align: right;
  469. font-size: 12px;
  470. color: #666;
  471. vertical-align: middle;
  472. cursor: pointer;
  473. }
  474. .login-form a.code-click:hover{
  475. color: #5078cb;
  476. text-decoration: none;
  477. outline: 0;
  478. }
  479. .login-form .el-form-item a.forget{
  480. color: #5078cb;
  481. font-size: 12px;
  482. }
  483. .login-form .el-form-item.text-right{
  484. }
  485. .login-form .text-right .el-form-item__content{
  486. height: 20px;
  487. line-height: 16px;
  488. }
  489. .login-form .el-form-item .login{
  490. width: 306px;
  491. height: 34px;
  492. line-height: 30px;
  493. }
  494. //短信便捷登录
  495. .loginForm .el-input__inner{
  496. padding-left: 12px !important;
  497. }
  498. .login-form .fastMsg .el-button.fastCode{
  499. position: absolute;
  500. top: 2px;
  501. right: 0;
  502. padding: 0;
  503. width: 93px;
  504. height: 34px;
  505. font-size: 12px;
  506. text-align: center;
  507. border: none;
  508. color: #fff;
  509. background: #5078cb;
  510. }
  511. .login-form .fastMsg .el-button.code-send{
  512. background: #cccccc;
  513. }
  514. //个人注册错误框颜色
  515. form .el-form-item .el-form-item__content div.active .el-input__inner{
  516. border-color: #f56c6c !important;
  517. }
  518. //个人注册正确框颜色
  519. form .el-form-item .el-form-item__content div.correct .el-input__inner{
  520. border-color: #67c23a !important;
  521. }
  522. //登录选择企业弹出框
  523. .dialog .el-dialog__header{
  524. display: none;
  525. }
  526. .dialog .el-dialog__body{
  527. padding: 0;
  528. }
  529. //企业认证
  530. form .el-form-item.padding55 .el-form-item__content .el-input__inner{
  531. //padding-left: 55px;
  532. }
  533. form .el-form-item.padding45 .el-form-item__content .el-input__inner{
  534. padding-left: 45px;
  535. border: 1px solid #dcdfe6;
  536. }
  537. //上传图片
  538. .x-btn-blank{
  539. position: relative;
  540. display: inline-block;
  541. width: 360px;
  542. height: 44px;
  543. text-align: left;
  544. border: 1px solid #dcdcdc;
  545. overflow: hidden;
  546. cursor: pointer;
  547. }
  548. .x-btn-blank span.upload {
  549. margin-left: 50px;
  550. line-height: 44px;
  551. font-size: 14px;
  552. color: #c9c9c9;
  553. }
  554. .x-btn-blank input[type='file']{
  555. position: absolute;
  556. top: 0;
  557. left: 0;
  558. width: 360px;
  559. height: 44px;
  560. opacity: 0;
  561. border: none;
  562. }
  563. .x-btn-blank:hover, .x-btn-blank[disabled] {
  564. border-color: #c0c4cc;
  565. background: #e6e6e6;
  566. color: #333;
  567. }
  568. .x-btn-blank:hover span.upload{
  569. color: #000;
  570. }
  571. form .el-form-item.padding55 .el-form-item__content{
  572. text-align: left;
  573. line-height: 1;
  574. }
  575. form .el-form-item.padding55 a.thumbnail {
  576. margin-bottom: 0;
  577. width: 120px;
  578. line-height: 70px;
  579. border-radius: 0;
  580. }
  581. form .el-form-item.padding55 a.thumbnail:hover{
  582. border: 1px solid #ddd;
  583. }
  584. form .el-form-item.padding55 img.previewImg {
  585. max-width: 120px;
  586. max-height: 70px;
  587. }
  588. //地址选择
  589. .form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
  590. background-color: transparent;
  591. }
  592. .x-union-menu {
  593. width: 600px;
  594. }
  595. .x-form .dropdown-menu {
  596. left: 15px;
  597. margin-top: -1px;
  598. border-color: #e4ecf3;
  599. border-radius: 0;
  600. padding: 0;
  601. }
  602. .x-union-header>div {
  603. background: #f5f8fa;
  604. font-weight: 700;
  605. border-bottom: 1px solid #e4ecf3;
  606. }
  607. .x-union-header{
  608. overflow: hidden;
  609. height: 28px;
  610. line-height: 28px;
  611. background: #f5f8fa;
  612. }
  613. .x-union-header>div:last-child {
  614. border-right-width: 0;
  615. }
  616. .x-union-menu .x-item-ext {
  617. float: left;
  618. width: 235px;
  619. }
  620. .x-union-header>div, .x-union-list>ul {
  621. float: left;
  622. width: 121px;
  623. border-right: 1px solid #e4ecf3;
  624. }
  625. .x-union-list>ul {
  626. height: 200px;
  627. margin: 0;
  628. overflow-y: auto;
  629. }
  630. .x-union-list .x-item-ext {
  631. padding: 10px;
  632. }
  633. .x-union-header>div, .x-union-list>ul>li {
  634. padding: 2px 10px;
  635. cursor: pointer;
  636. font-size: 14px;
  637. color: #505050;
  638. height: 28px;
  639. line-height: 28px;
  640. overflow: hidden;
  641. }
  642. .x-union-list>ul>li:hover, .x-union-list>ul>li.active {
  643. background: #fee9c7;
  644. }
  645. .x-input, .x-input-blank {
  646. border-color: #ccc;
  647. border-radius: 0;
  648. box-shadow: none;
  649. }
  650. .text-right a.register-btn {
  651. display: inline-block;
  652. border-radius: 0;
  653. width: 45px;
  654. height: 30px;
  655. line-height: 30px;
  656. text-align: center;
  657. font-size: 14px;
  658. }
  659. .text-right a.register-btn:first-child{
  660. margin-right: 10px;
  661. background: #5078cb;
  662. color: #fff;
  663. }
  664. .text-right a.register-btn:last-child{
  665. background: #e6e6e6;
  666. color: #333;
  667. }
  668. #street {
  669. width: 200px !important;
  670. height: 94px !important;
  671. font-size: 14px;
  672. color: #555;
  673. }
  674. form .el-form-item.padding45 .el-form-item__content input.active{
  675. border-color: #f56c6c !important;
  676. }
  677. form .el-form-item.padding45 .el-form-item__content input.correct{
  678. border-color: #67c23a !important;
  679. }
  680. form .el-form-item.padding55 .el-form-item__content a.active{
  681. border-color: #f56c6c !important;
  682. }
  683. form .el-form-item.padding55 .el-form-item__content a.correct {
  684. border-color: #67c23a !important;
  685. }
  686. //密保问题
  687. form .questions .el-form-item__content{
  688. text-align: left;
  689. }
  690. form .questions .el-form-item__content span.question {
  691. font-size: 14px;
  692. color: #000;
  693. }
  694. //未设置邮箱弹出框
  695. .valid-phone .el-dialog {
  696. position: absolute;
  697. width: 300px;
  698. height: 150px;
  699. margin: 0 auto;
  700. left: 50%;
  701. top: 50%;
  702. margin-left: -150px;
  703. margin-top: -75px !important;
  704. }
  705. .valid-phone .el-dialog .el-dialog__header {
  706. display: none;
  707. }
  708. .valid-phone .el-dialog .el-dialog__body .set-tip{
  709. width: 100%;
  710. height: 100%;
  711. }
  712. .valid-phone .el-dialog .el-dialog__body .set-tip p{
  713. margin-top: 10px;
  714. margin-bottom: 30px;
  715. font-size: 14px;
  716. color: #000;
  717. }
  718. .valid-phone .el-dialog .el-dialog__body .set-tip a{
  719. display: inline-block;
  720. width: 60px;
  721. height: 30px;
  722. line-height: 30px;
  723. text-align: center;
  724. font-size: 14px;
  725. color: #fff;
  726. background: #00a0e9;
  727. border-radius: 3px;
  728. }
  729. // 模态框样式处理
  730. .center .el-dialog__wrapper{
  731. z-index:10000;
  732. }
  733. .center .el-dialog__body{
  734. text-align: center!important;
  735. border-top:1px solid #d2d2d2!important;
  736. }
  737. .center .el-dialog__footer{
  738. text-align: center!important;
  739. padding: 60px 15px 40px;
  740. }
  741. .center .el-dialog__footer .el-button{
  742. width:180px;
  743. height:30px;
  744. line-height: 30px;
  745. text-align: center;
  746. padding:0;
  747. border-radius:15px;
  748. }
  749. //查看大图
  750. #image-box .x-floating-wrap,.image-box .x-floating-wrap {
  751. position: fixed;
  752. z-index: 99998;
  753. background: #000;
  754. top: 0;
  755. left: 0;
  756. width: 100%;
  757. height: 100%;
  758. opacity: 0.5;
  759. }
  760. #image-box,.image-box{
  761. display:table; overflow:hidden; margin-left:50px; _position:relative; width: 1200px;height: 700px;
  762. position: fixed;
  763. top: 50%;
  764. margin-top: -350px;
  765. left: 50%;
  766. margin-left: -600px;
  767. z-index: 2020;
  768. }
  769. #image-box .x-floating,.image-box .x-floating {
  770. vertical-align:middle !important;
  771. display:table-cell;
  772. text-align:center;
  773. _position:absolute;
  774. _top:50%; _left:50%;
  775. top: inherit !important;
  776. left: inherit !important;
  777. }
  778. #image-box .x-floating img ,.image-box .x-floating img {
  779. margin: auto auto;
  780. max-width: 970px !important;
  781. max-height: 600px !important;
  782. -webkit-user-select: none;
  783. -moz-user-select: none;
  784. -ms-user-select: none;
  785. user-select: none;
  786. }
  787. #image-box .x-floating-wrap,.image-box .x-floating-wrap{
  788. z-index: 1000000 !important;
  789. }
  790. #item-content{
  791. color:#fff; display:inline-block; _position:relative; _top:-50%; _left:-50%;
  792. position: relative;
  793. z-index: 10000000;
  794. }
  795. #item-content div.x-close-wrap{
  796. position: absolute;
  797. right: -15px;
  798. line-height: 30px;
  799. top: -13px;
  800. color: #fff;
  801. width: 35px;
  802. height: 35px;
  803. background: rgba(0, 0, 0, 0.5);
  804. border-radius: 100%;
  805. opacity: 1;
  806. margin: 0;
  807. z-index: 100000;
  808. min-height: initial;
  809. text-align: center;
  810. }
  811. #item-content div.x-close-wrap a{
  812. position: relative;
  813. left: 0;
  814. bottom: 0;
  815. font-size: 34px;
  816. color: #fff;
  817. }
  818. #item-content div.x-close-wrap a:hover{
  819. color: #fff !important;
  820. }
  821. #item-content div.x-close-wrap:hover{
  822. cursor: pointer;
  823. opacity: .9;
  824. }
  825. #item-content div.x-close-wrap img{
  826. width: 30px !important;
  827. height: 30px !important;
  828. }
  829. #item-content .img{
  830. position: relative;
  831. z-index: 10;
  832. }
  833. //ie9及以下提示框
  834. .com-result{
  835. display: none;
  836. position: relative;
  837. height: 30px;
  838. width: 100%;
  839. line-height: 30px;
  840. text-align: center;
  841. background: #fef6f2;
  842. border: 1px solid #ec854d;
  843. overflow: hidden ;
  844. }
  845. .com-result .text{
  846. width: 100%;
  847. text-align: center;
  848. font-size: 14px;
  849. color: #f15601;
  850. }
  851. .com-result .text em{
  852. margin-right: 3px;
  853. font-style: normal;
  854. }
  855. .com-result .text a {
  856. color: #5078cb;
  857. }
  858. .com-result .close-tip{
  859. position: absolute;
  860. right: 0;
  861. padding-right: 10px;
  862. font-size: 20px;
  863. font-weight: bold;
  864. color: #ef1d1d;
  865. line-height: 28px;
  866. }
  867. .clear-float {
  868. clear: both;
  869. }
  870. //微信扫码登录
  871. .bind-body {
  872. .login-form {
  873. margin-top: 15px;
  874. .el-input__inner{
  875. padding-left: 15px !important;
  876. }
  877. }
  878. }
  879. //登录
  880. .x-login form .el-form-item .el-form-item__content .el-input__inner{
  881. background-color: #f5f5f5;
  882. border-radius: 4px;
  883. }
  884. .code-input2 {
  885. width: 92px !important;
  886. }
  887. //sass注册
  888. .go-register {
  889. background: #fff !important;
  890. .container{
  891. width: 425px !important ;
  892. background: #FFFFFF;
  893. border-radius: 3px;
  894. .content {
  895. padding: 0 !important ;
  896. margin: 0!important ;
  897. .content-top {
  898. height: 50px !important ;
  899. line-height: 50px !important ;
  900. h3{
  901. margin: 0!important ;
  902. padding: 0!important ;
  903. }
  904. }
  905. form {
  906. padding-bottom: 0!important;
  907. .el-form-item{
  908. .el-form-item__content {
  909. .el-form-item__error {
  910. margin-top: 10px!important ;
  911. position: absolute!important ;
  912. top: 44px!important ;
  913. left: 0!important ;
  914. }
  915. .el-checkbox {
  916. margin-left: 0 !important;
  917. }
  918. }
  919. &.mobile{
  920. margin-bottom: 36px!important ;
  921. }
  922. .btn.finish {
  923. margin-top: 0!important;
  924. }
  925. }
  926. }
  927. }
  928. .login{
  929. margin: 20px 0 !important ;
  930. }
  931. }
  932. }
  933. .go-register form .el-form-item.agree .el-form-item__content{
  934. margin-top: 18px!important ;
  935. }
  936. //sass登录
  937. //.el-message{
  938. // margin-top: -18px !important ;
  939. //}
  940. //.el-message i.el-message__closeBtn{
  941. // display: none;
  942. //}