subscribe.css 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. /* ========== 响应式主卡片与全局 ========== */
  2. body {
  3. background: linear-gradient(135deg, #22293b 0%, #16191d 100%) center top !important;
  4. }
  5. .container {
  6. max-width: 700px;
  7. margin: 0 auto;
  8. }
  9. .panel {
  10. background: #181d25;
  11. box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  12. border-radius: 1.5rem;
  13. padding: 1.5rem 2rem 1.5rem 2rem;
  14. }
  15. @media (max-width: 600px) {
  16. .panel {
  17. max-width: 99vw;
  18. padding: 0.8rem 1.6rem;
  19. }
  20. }
  21. .avatar-big {
  22. width: 44px;
  23. height: 44px;
  24. border-radius: 50%;
  25. object-fit: cover;
  26. margin: 0.3rem 1rem 0.3rem 0;
  27. background: #293651;
  28. }
  29. @media (max-width: 600px) {
  30. .avatar-big {
  31. width: 32px;
  32. height: 32px;
  33. }
  34. }
  35. /* ======== 平台nav与客户端btn ======== */
  36. .nav-platforms {
  37. display: flex;
  38. flex-wrap: wrap;
  39. gap: 0.5rem;
  40. margin-bottom: 1rem;
  41. justify-content: center;
  42. }
  43. .nav-platforms .nav-link {
  44. flex: 1 1 auto;
  45. min-width: 80px;
  46. padding: 0.5rem 0.75rem;
  47. font-size: 0.95rem;
  48. }
  49. .nav-platforms .nav-link.active {
  50. color: #fff !important;
  51. background: linear-gradient(90deg, #19acf4 50%, #13e5ce 150%);
  52. font-weight: 700;
  53. border-radius: 9px;
  54. }
  55. .nav-platforms .nav-link {
  56. color: #2ec2e6 !important;
  57. border-radius: 8px;
  58. margin-right: 4px;
  59. font-weight: 500;
  60. background: #191e2e;
  61. font-size: 1rem;
  62. min-width: 64px;
  63. text-align: center;
  64. }
  65. .info-label {
  66. color: #fff;
  67. }
  68. .info-value {
  69. color: #fff;
  70. }
  71. #apps-tab {
  72. display: flex;
  73. flex-wrap: wrap;
  74. gap: 0.5rem;
  75. justify-content: center;
  76. margin-bottom: 1rem;
  77. }
  78. #apps-tab .btn-app.selected,
  79. #apps-tab .btn-app.btn-primary {
  80. background: linear-gradient(83deg, #24a4fa 20%, #23e1b7 150%) !important;
  81. color: #fff !important;
  82. border: none;
  83. font-weight: 600;
  84. }
  85. #apps-tab .btn-app {
  86. margin-right: 8px;
  87. margin-bottom: 6px;
  88. border: 1.1px solid #1ed6eb40;
  89. background: #1a283b;
  90. color: #65e8fc;
  91. min-width: 96px;
  92. text-align: center;
  93. font-weight: 500;
  94. }
  95. /* ======= stepper主线和icon完美对齐 ======= */
  96. .stepper {
  97. margin-top: 2em;
  98. }
  99. @media (max-width: 600px) {
  100. .stepper {
  101. margin-top: 1em;
  102. }
  103. }
  104. .stepper {
  105. position: relative;
  106. --dot-width: 36px;
  107. --line-width: 4px;
  108. }
  109. .stepper::before {
  110. content: "";
  111. position: absolute;
  112. top: calc(var(--dot-width) / 2);
  113. bottom: calc(var(--dot-width) / 2);
  114. left: calc((var(--dot-width) - var(--line-width)) / 2);
  115. width: var(--line-width);
  116. background: #29dbe236;
  117. border-radius: 3px;
  118. z-index: 0;
  119. }
  120. .step-item {
  121. display: flex;
  122. align-items: flex-start;
  123. position: relative;
  124. margin-bottom: 2.5rem;
  125. }
  126. .step-dot {
  127. width: var(--dot-width);
  128. height: var(--dot-width);
  129. min-width: var(--dot-width);
  130. min-height: var(--dot-width);
  131. display: flex;
  132. align-items: center;
  133. justify-content: center;
  134. border-radius: 50%;
  135. position: relative;
  136. z-index: 2;
  137. margin-right: 1.2rem;
  138. margin-left: 0;
  139. box-shadow: 0 0 8px rgba(34, 202, 236, 0.8);
  140. background: linear-gradient(145deg, #30b1ef 0%, #50edaf 100%);
  141. color: #fff;
  142. font-size: 1.2rem;
  143. font-weight: bold;
  144. }
  145. .step-title {
  146. font-weight: 600;
  147. margin-bottom: 0.2em;
  148. color: #e0f2ff;
  149. font-size: 1.15em;
  150. }
  151. .step-desc {
  152. color: #b1c9de;
  153. font-size: 0.98em;
  154. margin-bottom: 0.33em;
  155. }
  156. .btn-group .btn, .btn-round-sm,
  157. .addsub-btn {
  158. border-radius: 9px !important;
  159. }
  160. .dropdown-menu {
  161. border-radius: 12px;
  162. }
  163. .app-download {
  164. display: flex;
  165. justify-content: center;
  166. }
  167. .addsub-btn {
  168. background: linear-gradient(83deg, #24a4fa 20%, #23e1b7 150%) !important;
  169. color: #fff !important;
  170. border: none;
  171. font-weight: 600;
  172. font-size: 1.12em;
  173. margin-top: 0.5em;
  174. padding: 0.57em 1.55em !important;
  175. }
  176. .addsub-btn:not(.selected):hover,
  177. #apps-tab .btn-app:not(.selected):hover,
  178. .nav-platforms .nav-link:not(.active):hover {
  179. transform: translateY(-2px);
  180. transition: all 0.2s ease-in-out;
  181. }
  182. #apps-tab .btn-app:not(.selected):hover,
  183. .nav-platforms .nav-link:not(.active):hover {
  184. filter: brightness(1.2);
  185. }
  186. @media (max-width: 400px) {
  187. .step-dot {
  188. width: 29px;
  189. height: 29px;
  190. }
  191. }