stu-bg.css 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. body {
  2. --mc: #03AEBC;
  3. --tc: #36536D;
  4. --brc: #80BAEF;
  5. --bgc: #e9f2fd;
  6. --bg: rgba(255,255,255,0.4);
  7. font-family: "Source Han Sans";
  8. }
  9. .btn {
  10. margin: 5px auto;
  11. padding: 8px 20px;
  12. background: #03AEBC;
  13. border-radius: 8px;
  14. color: #DAEDFF;
  15. font-size: 16px;
  16. }
  17. .btn.btn-small {
  18. font-size: 14px;
  19. padding: 3px 12px;
  20. border-radius: 4px;
  21. }
  22. .btn:hover {
  23. background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
  24. border-color: rgba(0, 0, 0, 0.1);
  25. color: #DAEDFF;
  26. }
  27. .vb-btn {
  28. color: #176bbc;
  29. font-size: 14px;
  30. padding: 5px 10px;
  31. background-image: url("/Content/Image/ExerciseV2/btn.png");
  32. background-repeat: no-repeat;
  33. background-size: 100% 100%;
  34. font-weight: 600;
  35. }
  36. .vb-btn.active {
  37. color: #fff;
  38. background-image: url("/Content/Image/ExerciseV2/btn-active.png");
  39. }
  40. .form .form-control {
  41. background: var(--bgc);
  42. color: var(--tc);
  43. border-radius: 4px;
  44. border: 1px solid #b5cce2;
  45. font-size: 1rem;
  46. }
  47. .form .form-control:active, .form .form-control:focus {
  48. border: 1px solid var(--brc);
  49. }
  50. .select2-container {
  51. --h: 38px;
  52. font-size: 1rem;
  53. }
  54. .select2-container.select2-container--open .select2-selection--single {
  55. border-color: var(--brc);
  56. }
  57. .select2-container .select2-selection--single {
  58. border-radius: 4px !important;
  59. background: var(--bgc);
  60. border: 1px solid #b5cce2;
  61. height: var(--h);
  62. line-height: var(--h);
  63. color: var(--tc);
  64. padding: 0 15px;
  65. }
  66. .select2-container .select2-selection--single .select2-selection__rendered {
  67. color: inherit;
  68. margin: 0;
  69. padding: 0;
  70. line-height: var(--h);
  71. font-size: 1rem;
  72. }
  73. .select2-container .select2-selection--single .select2-selection__arrow {
  74. right: 8px;
  75. height: var(--h);
  76. }
  77. .select2-container .select2-dropdown {
  78. background: #fefefe;
  79. border: 1px solid #b5cce2;
  80. border-radius: 4px;
  81. margin-top: 2px;
  82. }
  83. .select2-container .select2-dropdown .select2-search {
  84. padding: 8px 10px;
  85. }
  86. .select2-container .select2-dropdown .select2-search .select2-search__field {
  87. border: 1px solid var(--brc);
  88. background: var(--bgc);
  89. color: var(--tc);
  90. border-radius: 4px;
  91. }
  92. .select2-container .select2-dropdown .select2-results .select2-results__option {
  93. color: var(--tc);
  94. }
  95. .select2-container .select2-dropdown .select2-results .select2-results__option.select2-results__option--highlighted {
  96. background: #e7edf4;
  97. }
  98. .select2-container .select2-dropdown .select2-results .select2-results__option.select2-results__option[aria-selected=true] {
  99. background: #ecf3fc;
  100. font-weight: 600;
  101. }
  102. .box {
  103. width: 100%;
  104. position: relative;
  105. font-family: "Source Han Sans";
  106. background: none;
  107. }
  108. .box .body {
  109. width: 100%;
  110. height: calc(100vh - 100px);
  111. display: flex;
  112. flex-direction: column;
  113. align-items: center;
  114. justify-content: center;
  115. }
  116. .box .body .icon {
  117. --w: 240px;
  118. width: var(--w);
  119. height: var(--w);
  120. position: relative;
  121. margin-bottom: 50px;
  122. background: url("/Content/Image/ExerciseV2/timer_1.png") no-repeat 100%/100%;
  123. }
  124. .box .body .icon:after {
  125. content: "";
  126. display: block;
  127. position: absolute;
  128. top: 0;
  129. left: 0;
  130. width: var(--w);
  131. height: var(--w);
  132. background: url("/Content/Image/ExerciseV2/timer_2.png") no-repeat 100%/100%;
  133. animation: spin 4s linear infinite;
  134. }
  135. .box .body .icon .ico {
  136. position: absolute;
  137. width: 90px;
  138. height: 90px;
  139. left: 50%;
  140. top: 50%;
  141. transform: translate(-50%, -50%);
  142. }
  143. .box .body .name {
  144. font-weight: 500;
  145. font-size: 40px;
  146. display: flex;
  147. color: #094B88;
  148. letter-spacing: 5px;
  149. padding-left: 5px;
  150. margin-bottom: 20px;
  151. }
  152. .box .body .group {
  153. width: 150px;
  154. padding: 8px;
  155. text-align: center;
  156. font-size: 18px;
  157. color: #fff;
  158. background: #094B88;
  159. letter-spacing: 2px;
  160. opacity: 0.6;
  161. border-radius: 40px;
  162. }
  163. .box.public .title {
  164. letter-spacing: 5px;
  165. padding-left: 5px;
  166. }
  167. .box.public .body .icon {
  168. --w: 300px;
  169. }
  170. .box.public .body .icon .ico {
  171. width: 120px;
  172. height: 120px;
  173. }
  174. .box.public .body .name {
  175. font-size: 90px;
  176. letter-spacing: 10px;
  177. padding-left: 10px;
  178. }
  179. @keyframes spin {
  180. 0% {
  181. transform: rotate(0deg);
  182. }
  183. 50% {
  184. transform: rotate(180deg);
  185. }
  186. 100% {
  187. transform: rotate(360deg);
  188. }
  189. }