common.less 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. html,
  2. body {
  3. height: 100%;
  4. }
  5. body {
  6. padding-top: 50px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
  7. -webkit-font-smoothing: antialiased;
  8. -moz-osx-font-smoothing: grayscale;
  9. font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  10. }
  11. .img-addon {
  12. margin-bottom: 10px;
  13. width: 100%;
  14. }
  15. .img-hover:hover {
  16. opacity: 0.8;
  17. }
  18. .display-1 {
  19. font-size: 44px;
  20. }
  21. .display-4 {
  22. font-size: 24px;
  23. line-height: 32px;
  24. }
  25. /* Home Page Carousel */
  26. header.carousel {
  27. height: 50%;
  28. }
  29. header.carousel .item,
  30. header.carousel .item.active,
  31. header.carousel .carousel-inner {
  32. height: 100%;
  33. }
  34. header.carousel .fill {
  35. width: 100%;
  36. height: 100%;
  37. }
  38. .error-404 {
  39. font-size: 100px;
  40. }
  41. /* Pricing Page Styles */
  42. .price {
  43. display: block;
  44. font-size: 50px;
  45. line-height: 50px;
  46. }
  47. .price sup {
  48. top: -20px;
  49. left: 2px;
  50. font-size: 20px;
  51. }
  52. .period {
  53. display: block;
  54. font-style: italic;
  55. }
  56. /* Footer Styles */
  57. footer {
  58. }
  59. /* Responsive Styles */
  60. @media (max-width: 991px) {
  61. .customer-img,
  62. .img-related {
  63. margin-bottom: 30px;
  64. }
  65. }
  66. @media (max-width: 767px) {
  67. .img-addon {
  68. margin-bottom: 15px;
  69. }
  70. header.carousel .carousel {
  71. height: 70%;
  72. }
  73. }
  74. .carousel-body {
  75. position: absolute;
  76. width: 100%;
  77. top: 25%;
  78. text-align: center;
  79. color: #fff;
  80. }
  81. .addonlist a > p {
  82. margin-bottom: 15px;
  83. }
  84. /* PC扫码支付 */
  85. .scanpay {
  86. margin-top: 20px;
  87. }
  88. .scanpay-title {
  89. margin: 30px 0 15px 0;
  90. padding-bottom: 15px;
  91. border-bottom: 1px solid #eee;
  92. position: relative;
  93. }
  94. .scanpay-qrcode {
  95. margin-bottom: 20px;
  96. position: relative;
  97. img {
  98. width: 100%;
  99. border: 1px solid #eee;
  100. }
  101. .expired {
  102. position: absolute;
  103. top: 0;
  104. left: 0;
  105. height: 100%;
  106. width: 100%;
  107. opacity: .95;
  108. background: #fff url(../images/expired.png) center center no-repeat;
  109. }
  110. .paid {
  111. position: absolute;
  112. top: 0;
  113. left: 0;
  114. height: 100%;
  115. width: 100%;
  116. opacity: .95;
  117. background: #fff url(../images/paid.png) center center no-repeat;
  118. }
  119. }
  120. .scanpay-screenshot {
  121. padding: 0;
  122. img {
  123. width: 100%;
  124. }
  125. }
  126. .scanpay-tips {
  127. height: 60px;
  128. padding: 8px 0 8px 125px;
  129. background: #00c800 url(../images/scan.png) 50px 12px no-repeat;
  130. background-size: 36px 36px;
  131. p {
  132. margin: 0;
  133. font-size: 14px;
  134. line-height: 22px;
  135. color: #fff;
  136. font-weight: 700
  137. }
  138. }
  139. .scanpay-time {
  140. font-size: 14px;
  141. margin-bottom: 15px;
  142. position: absolute;
  143. top: 15px;
  144. right: 10px;
  145. font-weight: normal;
  146. display: none;
  147. span {
  148. color: red;
  149. }
  150. }
  151. .scanpay-order {
  152. margin-bottom: 5px;
  153. em {
  154. font-style: normal;
  155. color: #666;
  156. &.scanpay-price {
  157. color: #ff3333;
  158. font-weight: bold;
  159. }
  160. }
  161. }
  162. .scanpay-alipay {
  163. .scanpay-tips {
  164. background-color: #4290e8;
  165. }
  166. }
  167. @media (max-width: 767px) {
  168. .scanpay {
  169. margin-top: 20px;
  170. }
  171. }
  172. @media (max-height: 855px) and (min-width: 767px) {
  173. .scanpay {
  174. width: calc(~ '130vh');
  175. min-width: 760px;
  176. }
  177. }
  178. .qrcode canvas, .qrcode img {
  179. width: 100%;
  180. }