common.less 3.5 KB

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