_custom.scss 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071
  1. // 右上角带关闭按钮的弹窗提示 ; 需要外包一层load-mask
  2. .friendly-dialog {
  3. position: absolute;
  4. text-align: center;
  5. color: #888;
  6. z-index: 100;
  7. min-height: 100px;
  8. width: 80%;
  9. background: #fff;
  10. border-radius: 5px;
  11. left: 50%;
  12. top: 50%;
  13. transform: translateX(-50%) translateY(-50%);
  14. }
  15. .friendly-dialog-body {
  16. padding: 15px 10px;
  17. overflow-y: auto;
  18. }
  19. .friendly-dialog-footer {
  20. padding: 5px 10px 15px 10px;
  21. }
  22. .friendly-dialog-close {
  23. position: absolute;
  24. text-align: center;
  25. top: -20px;
  26. right: -20px;
  27. width: 24px;
  28. line-height: 24px;
  29. font-size: 20px;
  30. color: #fff;
  31. z-index: 101;
  32. }
  33. /*************自定义遮罩层****************************/
  34. .load-mask {
  35. position: fixed;
  36. top: 0;
  37. right: 0;
  38. bottom: 0;
  39. left: 0;
  40. z-index: 1002;
  41. background-color: rgba(0, 0, 0, .4);
  42. -webkit-transition-duration: 600ms;
  43. transition-duration: 600ms;
  44. display: block;
  45. opacity: 0;
  46. &.absolute {
  47. position: absolute;
  48. .loader-inner {
  49. position: absolute;
  50. }
  51. }
  52. }
  53. .load-mask.active {
  54. opacity: 1;
  55. }
  56. .load-mask.dark {
  57. background-color: rgba(0, 0, 0, .8);
  58. }
  59. .loader-inner {
  60. display: table;
  61. position: fixed;
  62. left: 50%;
  63. top: 50%;
  64. -webkit-transform: translate(-50%, -50%);
  65. transform: translate(-50%, -50%);
  66. text-align: center;
  67. }
  68. .loader-inner > span {
  69. color: #fff;
  70. font-size: 15px;
  71. display: block;
  72. }
  73. @-webkit-keyframes scale {
  74. 0% {
  75. -webkit-transform: scale(1);
  76. transform: scale(1);
  77. opacity: 1;
  78. }
  79. 45% {
  80. -webkit-transform: scale(0.1);
  81. transform: scale(0.1);
  82. opacity: 0.7;
  83. }
  84. 80% {
  85. -webkit-transform: scale(1);
  86. transform: scale(1);
  87. opacity: 1;
  88. }
  89. }
  90. @keyframes scale {
  91. 0% {
  92. -webkit-transform: scale(1);
  93. transform: scale(1);
  94. opacity: 1;
  95. }
  96. 45% {
  97. -webkit-transform: scale(0.1);
  98. transform: scale(0.1);
  99. opacity: 0.7;
  100. }
  101. 80% {
  102. -webkit-transform: scale(1);
  103. transform: scale(1);
  104. opacity: 1;
  105. }
  106. }
  107. .ball-pulse > div:nth-child(0) {
  108. -webkit-animation: scale 0.75s 0s infinite cubic-bezier(.2, .68, .18, 1.08);
  109. animation: scale 0.75s 0s infinite cubic-bezier(.2, .68, .18, 1.08);
  110. }
  111. .ball-pulse > div:nth-child(1) {
  112. -webkit-animation: scale 0.75s 0.12s infinite cubic-bezier(.2, .68, .18, 1.08);
  113. animation: scale 0.75s 0.12s infinite cubic-bezier(.2, .68, .18, 1.08);
  114. }
  115. .ball-pulse > div:nth-child(2) {
  116. -webkit-animation: scale 0.75s 0.24s infinite cubic-bezier(.2, .68, .18, 1.08);
  117. animation: scale 0.75s 0.24s infinite cubic-bezier(.2, .68, .18, 1.08);
  118. }
  119. .ball-pulse > div:nth-child(3) {
  120. -webkit-animation: scale 0.75s 0.36s infinite cubic-bezier(.2, .68, .18, 1.08);
  121. animation: scale 0.75s 0.36s infinite cubic-bezier(.2, .68, .18, 1.08);
  122. }
  123. .ball-pulse > div {
  124. background-color: #fff;
  125. width: 15px;
  126. height: 15px;
  127. border-radius: 100%;
  128. margin: 2px;
  129. -webkit-animation-fill-mode: both;
  130. animation-fill-mode: both;
  131. display: inline-block;
  132. }
  133. /************遮罩层end*******************************/
  134. /**自定义弹窗、弹窗背景***/
  135. //msgPopup函数用到
  136. .backdrop {
  137. position: fixed;
  138. top: 0;
  139. right: 0;
  140. bottom: 0;
  141. left: 0;
  142. z-index: 999;
  143. display: none;
  144. background-color: rgba(0, 0, 0, .4);
  145. -webkit-transition-duration: 400ms;
  146. transition-duration: 400ms;
  147. opacity: 0
  148. }
  149. .backdrop.active {
  150. display: block;
  151. opacity: 1
  152. }
  153. /***修改版的mui弹窗,z-index高***/
  154. .popup {
  155. position: fixed;
  156. top: 50%;
  157. left: 50%;
  158. z-index: 2000;
  159. display: none;
  160. width: 270px;
  161. color: #000;
  162. text-align: center;
  163. background-color: #fff;
  164. border-radius: 4px;
  165. -webkit-transition-property: -webkit-transform, opacity;
  166. transition-property: transform, opacity;
  167. -webkit-transform: translate3d(-50%, -50%, 0) scale(1.185);
  168. transform: translate3d(-50%, -50%, 0) scale(1.185);
  169. opacity: 0
  170. }
  171. .popup.popup-in {
  172. display: block;
  173. -webkit-transition-duration: 400ms;
  174. transition-duration: 400ms;
  175. -webkit-transform: translate3d(-50%, -50%, 0) scale(1);
  176. transform: translate3d(-50%, -50%, 0) scale(1);
  177. opacity: 1
  178. }
  179. .popup-inner {
  180. position: relative;
  181. padding: 15px;
  182. border-radius: 4px 4px 0 0
  183. }
  184. .popup-inner:after {
  185. position: absolute;
  186. top: auto;
  187. right: auto;
  188. bottom: 0;
  189. left: 0;
  190. z-index: 15;
  191. display: block;
  192. width: 100%;
  193. height: 1px;
  194. content: '';
  195. background-color: rgba(0, 0, 0, .2);
  196. -webkit-transform: scaleY(.5);
  197. transform: scaleY(.5);
  198. -webkit-transform-origin: 50% 100%;
  199. transform-origin: 50% 100%
  200. }
  201. .popup-title {
  202. font-size: 18px;
  203. font-weight: 500;
  204. text-align: center
  205. }
  206. .popup-title + .popup-text {
  207. font-family: inherit;
  208. font-size: 14px;
  209. margin: 5px 0 0
  210. }
  211. .popup-buttons {
  212. position: relative;
  213. display: -webkit-box;
  214. display: -webkit-flex;
  215. display: flex;
  216. height: 44px;
  217. -webkit-box-pack: center;
  218. -webkit-justify-content: center;
  219. justify-content: center
  220. }
  221. .popup-button {
  222. position: relative;
  223. display: block;
  224. box-sizing: border-box;
  225. width: 100%;
  226. height: 44px;
  227. padding: 0 5px;
  228. overflow: hidden;
  229. color: $default-color;
  230. font-size: 17px;
  231. line-height: 44px;
  232. text-align: center;
  233. white-space: nowrap;
  234. text-overflow: ellipsis;
  235. cursor: pointer;
  236. background: rgba(255, 255, 255, .95);
  237. -webkit-box-flex: 1;
  238. -webkit-flex: 1;
  239. flex: 1;
  240. }
  241. .popup-button:first-child:last-child {
  242. border-radius: 0 0 4px 4px
  243. }
  244. /***用户通知****/
  245. .notification {
  246. background: rgba(0, 0, 0, .4);
  247. position: fixed;
  248. top: 0;
  249. left: 0;
  250. width: 100%;
  251. line-height: 24px;
  252. z-index: 99;
  253. color: #fff;
  254. font-size: 14px;
  255. padding: 0 6px;
  256. }
  257. .notification-text {
  258. display: block;
  259. white-space: nowrap;
  260. text-align: center;
  261. width: 100%;
  262. }
  263. .shine-text {
  264. -webkit-background-clip: text; /*按文字裁剪*/
  265. -webkit-text-fill-color: transparent; /*文字的颜色使用背景色*/
  266. background-blend-mode: hard-light; /*设置背景为混合模式下的强光模式*/
  267. background-size: 200%;
  268. -webkit-animation: shine 2s infinite linear; /*给背景添加动画改变位置*/
  269. animation: shine 2s infinite linear;
  270. }
  271. .shine-white-red {
  272. background-color: #fff;
  273. background-image: -webkit-linear-gradient(90deg, rgba(255, 255, 255, 0.8) 30%, $default-color-red 50%, rgba(255, 255, 255, 0.8) 70%);
  274. background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.8) 30%, $default-color-red 50%, rgba(255, 255, 255, 0.8) 70%);
  275. }
  276. .shine-white-black {
  277. background-color: #fff;
  278. background-image: -webkit-linear-gradient(90deg, rgba(255, 255, 255, 0.6) 30%, #000 50%, rgba(255, 255, 255, 0.6) 70%);
  279. background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.6) 30%, #000 50%, rgba(255, 255, 255, 0.6) 70%);
  280. }
  281. .shine-gray-gold {
  282. background-color: #666;
  283. background-image: -webkit-linear-gradient(90deg, rgba(102, 102, 102, 0.6) 30%, $default-color-lgreen 50%, rgba(102, 102, 102, 0.6) 70%);
  284. background-image: linear-gradient(90deg, rgba(102, 102, 102, 0.6) 30%, $default-color-lgreen 50%, rgba(102, 102, 102, 0.6) 70%);
  285. }
  286. @-webkit-keyframes shine {
  287. 0% {
  288. background-position: 150%;
  289. }
  290. 10% {
  291. background-position: 150%;
  292. }
  293. 50% {
  294. background-position: 50%;
  295. }
  296. 90% {
  297. background-position: -50%;
  298. }
  299. 100% {
  300. background-position: -50%;
  301. }
  302. }
  303. @keyframes shine {
  304. 0% {
  305. background-position: 150%;
  306. }
  307. 10% {
  308. background-position: 150%;
  309. }
  310. 50% {
  311. background-position: 50%;
  312. }
  313. 90% {
  314. background-position: -50%;
  315. }
  316. 100% {
  317. background-position: -50%;
  318. }
  319. }
  320. /**图片上传***/
  321. .upload-pic {
  322. position: relative;
  323. margin-right: 5px;
  324. text-align: center;
  325. border: 1px solid #e5e5e5;
  326. width: 82px;
  327. height: 82px;
  328. border-radius: 2px;
  329. }
  330. .upload-pic input[type="file"] {
  331. position: absolute;
  332. top: 0;
  333. left: 0;
  334. z-index: 1;
  335. width: 100%;
  336. height: 100%;
  337. background-color: transparent;
  338. border-radius: 8px;
  339. opacity: 0;
  340. }
  341. .upload-pic img {
  342. width: 100%;
  343. height: 100%;
  344. border-radius: 3px;
  345. position: absolute;
  346. left: 0;
  347. top: 0;
  348. z-index: 2;
  349. }
  350. .upload-pic .delpic {
  351. position: absolute;
  352. top: -5px;
  353. right: -5px;
  354. z-index: 3;
  355. width: 20px;
  356. height: 20px;
  357. color: #fff;
  358. text-align: center;
  359. line-height: 1;
  360. background-color: $default-color-red;
  361. border-radius: 100%;
  362. }
  363. .upload-pic .iconfont {
  364. position: absolute;
  365. top: 50%;
  366. left: 50%;
  367. color: #d8d8d8;
  368. font-size: 48px;
  369. -webkit-transform: translate3d(-50%, -50%, 0);
  370. transform: translate3d(-50%, -50%, 0);
  371. }
  372. .upload-des {
  373. margin-top: 5px;
  374. margin-bottom: 0;
  375. text-align: center;
  376. }
  377. /**充值卡管理**/
  378. .card-manage .mui-content {
  379. background: transparent;
  380. }
  381. .card-manage .card-detail .mui-table-view-cell.mui-active {
  382. background: #fff;
  383. }
  384. .card-manage .group-wrap {
  385. padding: 0 0;
  386. }
  387. .card-manage .card-detail {
  388. border-radius: 2px;
  389. box-shadow: 0 0 10px #ccc;
  390. &.mui-table-view:before, &.mui-table-view:after {
  391. display: none;
  392. }
  393. .expand-info {
  394. display: none;
  395. margin-top: 5px;
  396. }
  397. .expand-info p > span {
  398. max-width: 70%;
  399. word-break: break-all;
  400. }
  401. &.active .expand-info {
  402. display: block;
  403. position: relative;
  404. .title {
  405. max-width: 30%;
  406. display: inline-block;
  407. }
  408. p {
  409. padding: 5px 0;
  410. margin: 0;
  411. font-size: 14px;
  412. color: #000;
  413. overflow: hidden;
  414. position: relative;
  415. }
  416. }
  417. .expand-info.mui-navigate-right {
  418. padding-right: 10px;
  419. }
  420. .expand-info.mui-navigate-right:after {
  421. right: -10px;
  422. font-size: 20px;
  423. opacity: .68;
  424. }
  425. &.active {
  426. border-radius: 6px;
  427. }
  428. .iconCard {
  429. font-size: 100px;
  430. line-height: 100px;
  431. position: absolute;
  432. opacity: .05;
  433. left: 50px;
  434. top: 60%;
  435. -webkit-transform: translateY(-50%);
  436. transform: translateY(-50%);
  437. pointer-events: none;
  438. }
  439. }
  440. .card-dashed-line, .split-line {
  441. position: relative;
  442. }
  443. .card-dashed-line {
  444. padding-bottom: 0;
  445. }
  446. .active .card-dashed-line {
  447. padding-bottom: 5px;
  448. }
  449. .active .card-dashed-line:after, .active .split-line:after {
  450. content: '';
  451. border-bottom: 1px solid #eee;
  452. position: absolute;
  453. bottom: 0;
  454. left: -14px;
  455. right: -14px;
  456. }
  457. .active .split-line:after {
  458. top: 0;
  459. bottom: auto;
  460. right: 0;
  461. left: 0;
  462. }
  463. .record-type-row {
  464. padding-top: 6px;
  465. padding-left: 10px;
  466. }
  467. .btn-outlined-check {
  468. color: #999;
  469. margin-right: 8px;
  470. }
  471. .btn-outlined-check.active {
  472. border: 1px solid $default-color;
  473. color: $default-color;
  474. }
  475. /***过滤筛选样式***/
  476. .filter-btn, .in-row-btn {
  477. color: #666;
  478. line-height: 44px;
  479. text-align: right;
  480. white-space: nowrap;
  481. display: inline-block;
  482. padding: 0 6px;
  483. font-size: 14px;
  484. .icon-triangle-up {
  485. -webkit-transform: rotate(-180deg) scale(.5);
  486. transform: rotate(-180deg) scale(.5);
  487. display: inline-block;
  488. vertical-align: middle;
  489. color: #aaa;
  490. }
  491. &active {
  492. .icon-triangle-up {
  493. -webkit-transform: rotate(0deg) scale(.5);
  494. transform: rotate(0deg) scale(.5);
  495. color: $default-color;
  496. }
  497. }
  498. }
  499. .filter-btn:last-child, .in-row-btn:last-child {
  500. padding-right: 10px;
  501. }
  502. .filter-btn span {
  503. vertical-align: middle;
  504. }
  505. .active.filter-btn {
  506. color: $default-color;
  507. }
  508. .filter-blank {
  509. line-height: 44px;
  510. padding-left: 15px;
  511. }
  512. .filter-list-mask {
  513. position: fixed;
  514. z-index: 11 !important;
  515. top: 54px;
  516. bottom: 0;
  517. width: 100%;
  518. background: rgba(0, 0, 0, .6)
  519. }
  520. .filter-panel {
  521. position: absolute;
  522. background: #fff;
  523. width: 100%;
  524. z-index: 12;
  525. top: 43px;
  526. }
  527. .filter-panel > * {
  528. z-index: 12;
  529. }
  530. .filter-panel-btn {
  531. height: 48px;
  532. text-align: center;
  533. line-height: 48px;
  534. }
  535. .filter-panel-btn .cancel-btn {
  536. color: $default-color;
  537. background: rgba($default-color, .1);
  538. }
  539. .filter-panel-btn .ok-btn {
  540. color: #fff;
  541. background: $default-color;
  542. }
  543. .clear-b-border {
  544. border-bottom: none !important;
  545. }
  546. .clear-b-border:after {
  547. height: 0;
  548. }
  549. .custom-border-fir {
  550. border-bottom: 1px solid #e5e5e5;
  551. }
  552. /*充值、 充卡*/
  553. .topup {
  554. position: fixed;
  555. left: 0;
  556. bottom: 0;
  557. z-index: 102;
  558. width: 100%;
  559. background-color: #fff;
  560. -webkit-transform: translate(0, 100%);
  561. transform: translate(0, 100%);
  562. -webkit-backface-visibility: hidden;
  563. backface-visibility: hidden;
  564. -webkit-transition: -webkit-transform .3s;
  565. transition: -webkit-transform .3s;
  566. transition: transform .3s;
  567. transition: transform .3s, -webkit-transform .3s
  568. }
  569. .topup {
  570. -webkit-transform: translate(0, 110%);
  571. transform: translate(0, 110%)
  572. }
  573. .topup.show {
  574. -webkit-transform: translate(0, 0);
  575. transform: translate(0, 0)
  576. }
  577. /********************************充值面板列表相关********************************************/
  578. .topup-guide {
  579. position: relative;
  580. padding: 10px;
  581. font-size: 14px;
  582. background-color: #eee
  583. }
  584. .topup-guide .guide-tip {
  585. color: $default-color-red;
  586. font-size: .32rem;
  587. text-align: center
  588. }
  589. .topup-guide strong {
  590. padding: .05rem .3rem;
  591. font-weight: 400;
  592. color: #fff;
  593. background-color: $default-color-red;
  594. border-radius: 3px;
  595. margin-top: .1rem;
  596. display: inline-block;
  597. }
  598. .topup-guide .iconfont {
  599. position: absolute;
  600. top: 5px;
  601. right: 5px;
  602. width: 30px;
  603. height: 30px;
  604. color: #aaa;
  605. font-size: 24px;
  606. text-align: center;
  607. line-height: 30px
  608. }
  609. .topup-title {
  610. padding: 10px 10px 0
  611. }
  612. .topup-bd {
  613. max-height: 240px;
  614. padding: 5px;
  615. background-color: #fff;
  616. overflow-y: auto;
  617. -webkit-overflow-scrolling: touch
  618. }
  619. .topup-bd li {
  620. float: left;
  621. width: 33.333333%;
  622. padding: 5px;
  623. text-align: center
  624. }
  625. .topup-bd .cell {
  626. position: relative;
  627. width: 100%;
  628. height: 60px;
  629. color: $wechat-color;
  630. border: 1px solid $wechat-color;
  631. border-radius: 6px
  632. }
  633. .topup-bd .cell section {
  634. position: absolute;
  635. top: 50%;
  636. left: 50%;
  637. width: 100%;
  638. -webkit-transform: translate3d(-50%, -50%, 0);
  639. transform: translate3d(-50%, -50%, 0);
  640. font-size: 13px;
  641. }
  642. .topup-bd .cell span {
  643. display: block;
  644. font-size: 15px
  645. }
  646. .topup-tip {
  647. padding: 10px 5px;
  648. text-align: center;
  649. margin-bottom: 0;
  650. }
  651. .topup-tip:before, .topup-tip:after {
  652. content: "";
  653. display: inline-block;
  654. background: #aaa;
  655. height: 1px;
  656. width: 1.5em;
  657. vertical-align: middle;
  658. -webkit-transform: scaleY(0.5);
  659. transform: scaleY(0.5);
  660. margin-top: -2px;
  661. }
  662. .topup-tip:before {
  663. margin-right: .5em;
  664. }
  665. .topup-tip:after {
  666. margin-left: .5em;
  667. }
  668. /**********附加参数面板***********/
  669. .device-para-grid-title {
  670. font-size: 14px;
  671. line-height: 30px;
  672. color: #666;
  673. }
  674. .device-para-row {
  675. text-align: center;
  676. position: relative;
  677. color: #333;
  678. padding: 0 12px;
  679. .icon-refresh {
  680. position: absolute;
  681. left: 0;
  682. top: 0;
  683. width: 100%;
  684. height: 100%;
  685. line-height: 30px;
  686. z-index: 1;
  687. + span {
  688. filter: blur(1px);
  689. }
  690. }
  691. &:after {
  692. content: " ";
  693. position: absolute;
  694. left: 12px;
  695. bottom: 0;
  696. right: 12px;
  697. height: 1px;
  698. border-bottom: 1px solid #E5E5E5;
  699. color: #E5E5E5;
  700. transform-origin: 0 100%;
  701. transform: scaleY(0.333);
  702. }
  703. }
  704. .device-para-row:last-child {
  705. margin-bottom: 0;
  706. }
  707. .device-para-grid .para-item {
  708. border-radius: 4px;
  709. color: #051B28;
  710. float: left;
  711. margin-bottom: 10px;
  712. font-size: 13px;
  713. position: relative;
  714. background: #F5F5F5;
  715. border: 1px solid transparent;
  716. height: 32px;
  717. line-height: 32px;
  718. white-space: nowrap;
  719. overflow: hidden;
  720. text-overflow: ellipsis;
  721. width: calc(25% - 7.6px);
  722. margin-right: 10px;
  723. }
  724. .device-para-grid .para-item:nth-child(4n) {
  725. margin-right: 0;
  726. }
  727. .device-para-grid .para-item.active {
  728. background: #fff;
  729. }
  730. // 表单提交时,通用底部按钮
  731. .handleBtn {
  732. position: fixed;
  733. bottom: 0;
  734. width: 100%;
  735. padding: .5em;
  736. z-index: 3;
  737. background: #fff;
  738. button {
  739. font-size: 16px;
  740. padding: 6px;
  741. }
  742. }
  743. /* **********
  744. * common 主要是表单提交按钮
  745. * **********/
  746. /*buttons area*/
  747. .custom-fixed-b {
  748. position: fixed;
  749. bottom: 0;
  750. left: 0;
  751. z-index: 10;
  752. width: 100%;
  753. background-color: #efeff4;
  754. }
  755. .custom-subt {
  756. margin-top: 1.25em;
  757. margin-bottom: 1em;
  758. padding-left: 20px;
  759. padding-right: 20px;
  760. }
  761. .custom-subt input[type='button'] {
  762. padding: 11px;
  763. color: #fff;
  764. font-size: 16px;
  765. border: 0;
  766. background-color: $default-color;
  767. }
  768. .subt {
  769. margin-top: 1.5em;
  770. margin-bottom: 1em;
  771. padding-left: 1em;
  772. padding-right: 1em;
  773. }
  774. .subt a {
  775. display: inline-block;
  776. width: 100%;
  777. padding: 10px 12px;
  778. color: $default-color;
  779. border: 1px solid $default-color;
  780. border-radius: 4px;
  781. }
  782. .subt input[type='button'], .subt input[type='submit'] {
  783. padding: 10px 12px;
  784. color: #fff;
  785. font-size: 16px;
  786. border: 0;
  787. background-color: $default-color;
  788. }
  789. .custom-btn-area {
  790. padding: 1.25em 20px 1em;
  791. }
  792. .custom-btn-area .custom-btn + .custom-btn {
  793. margin-top: 15px;
  794. }
  795. .custom-btn {
  796. position: relative;
  797. display: block;
  798. padding-top: 11px;
  799. padding-bottom: 11px;
  800. text-align: center;
  801. border-radius: 5px;
  802. }
  803. .custom-btn:after {
  804. position: absolute;
  805. top: 0;
  806. left: 0;
  807. content: " ";
  808. width: 200%;
  809. height: 200%;
  810. border: .6px solid rgba(0, 0, 0, .2);
  811. border-radius: 10px;
  812. -webkit-transform: scale(.5);
  813. transform: scale(.5);
  814. -webkit-transform-origin: 0 0;
  815. transform-origin: 0 0;
  816. box-sizing: border-box;
  817. }
  818. .custom-btn-primary,
  819. .custom-btn-primary:active {
  820. color: #fff;
  821. background-color: $default-color;
  822. }
  823. .custom-btn-default,
  824. .custom-btn-default:active,
  825. .custom-btn-vertical:active {
  826. color: #000;
  827. background-color: #fff;
  828. }
  829. .custom-btn-vertical {
  830. display: inline-block;
  831. width: 100%;
  832. padding-top: 11px;
  833. padding-bottom: 11px;
  834. text-align: center;
  835. background-color: #fff;
  836. border-top: 1px solid #e0e0e0;
  837. border-bottom: 1px solid #e0e0e0;
  838. border-radius: 0;
  839. }
  840. .custom-btn-vertical.warn {
  841. color: $default-color-red;
  842. }
  843. .custom-margin .custom-btn-vertical ~ .custom-btn-vertical {
  844. border-top: 0;
  845. }
  846. //翻页插件样式
  847. .scrollload-bottom {
  848. color: #888;
  849. }
  850. //纤细的线条,使用before和after实现,如果元素本身占用,则不要用
  851. .custom-border-top:before {
  852. position: absolute;
  853. right: 0;
  854. left: 0;
  855. height: 1px;
  856. content: '';
  857. transform: scaleY(.5);
  858. background-color: #c8c7cc;
  859. top: -1px;
  860. }
  861. .custom-border-bottom:after {
  862. position: absolute;
  863. right: 0;
  864. left: 0;
  865. height: 1px;
  866. content: '';
  867. transform: scaleY(.5);
  868. background-color: #c8c7cc;
  869. bottom: -1px;
  870. }
  871. // 在高分辨率屏幕上的线条
  872. @media (-webkit-min-device-pixel-ratio: 3), (min-device-pixel-ratio: 3) {
  873. .custom-border-top:before {
  874. transform: scaleY(.333);
  875. }
  876. .custom-border-bottom:after {
  877. transform: scaleY(.333);
  878. }
  879. }
  880. // 分割线
  881. .line-t, .line-b, .line-l, .line-r {
  882. position: relative
  883. }
  884. .line-t:before {
  885. position: absolute;
  886. top: 0;
  887. left: 0;
  888. width: 100%;
  889. height: 1px;
  890. content: '';
  891. background-color: #e5e5e5;
  892. -webkit-transform-origin: 0 0;
  893. transform-origin: 0 0;
  894. -webkit-transform: scaleY(.5);
  895. transform: scaleY(.5)
  896. }
  897. .line-b:after {
  898. position: absolute;
  899. bottom: 0;
  900. left: 0;
  901. width: 100%;
  902. height: 1px;
  903. content: '';
  904. background-color: #e5e5e5;
  905. -webkit-transform-origin: 0 100%;
  906. transform-origin: 0 100%;
  907. -webkit-transform: scaleY(.5);
  908. transform: scaleY(.5)
  909. }
  910. .line-l:before {
  911. position: absolute;
  912. top: 50%;
  913. left: 0;
  914. width: 1px;
  915. height: 100%;
  916. content: '';
  917. background-color: #e5e5e5;
  918. -webkit-transform: translateY(-50%) scaleY(.5);
  919. transform: translateY(-50%) scaleY(.5)
  920. }
  921. .line-r:after {
  922. position: absolute;
  923. top: 50%;
  924. right: 0;
  925. width: 1px;
  926. height: 100%;
  927. content: '';
  928. background-color: #e5e5e5;
  929. -webkit-transform: translateY(-50%) scaleY(.5);
  930. transform: translateY(-50%) scaleY(.5)
  931. }