stu-cmd_leader.css 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  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. .box .box-header {
  10. display: flex;
  11. height: 35px;
  12. width: 100%;
  13. /*background: linear-gradient(90deg,#b2d9f5,#c2d8f4);*/
  14. background: linear-gradient(90deg, rgba(82, 197, 233, 0.411765) 0%, rgba(59, 221, 243, 0.12549) 35.99%, rgba(67, 219, 252, 0.00784314) 87.02%);
  15. box-shadow: inset 0px -2px 4px rgba(117, 185, 248, 0.52);
  16. border-bottom: 1px solid rgba(98, 156, 215, 0.05);
  17. position: relative;
  18. }
  19. .box .box-header .title {
  20. --w: 47px;
  21. display: flex;
  22. position: relative;
  23. height: 100%;
  24. padding-left: 5px;
  25. margin-left: var(--w);
  26. font-size: 18px;
  27. font-weight: 600;
  28. color: #094B88;
  29. align-items: center;
  30. }
  31. .box .box-header .title:before {
  32. content: "";
  33. position: absolute;
  34. left: calc(1px - var(--w));
  35. height: 100%;
  36. width: var(--w);
  37. background: url("/Content/Image/ExerciseV2/title_icon.svg") no-repeat;
  38. background-size: 100% 100%;
  39. }
  40. .box {
  41. width: 100%;
  42. position: relative;
  43. font-family: "Source Han Sans";
  44. background: none;
  45. display: flex;
  46. flex-direction: column;
  47. }
  48. .box .box-title {
  49. width: 100%;
  50. text-align: center;
  51. font-weight: 600;
  52. font-size: 38px;
  53. color: #fff;
  54. margin-top: 6px;
  55. }
  56. .box .box-body {
  57. margin: 10px 30px 40px;
  58. border: 2px solid #fff;
  59. border-radius: 5px;
  60. }
  61. .box .body-card {
  62. background: #e9f2fd;
  63. border-radius: 5px;
  64. padding: 10px;
  65. margin-bottom: 10px;
  66. display: flex;
  67. position: relative;
  68. }
  69. .btn {
  70. margin: 5px auto;
  71. padding: 8px 20px;
  72. background: #03AEBC;
  73. border-radius: 8px;
  74. color: #DAEDFF;
  75. font-size: 16px;
  76. }
  77. .btn.btn-small {
  78. font-size: 14px;
  79. padding: 3px 12px;
  80. border-radius: 4px;
  81. }
  82. .btn:hover {
  83. background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
  84. border-color: rgba(0, 0, 0, 0.1);
  85. color: #DAEDFF;
  86. }
  87. .vb-btn {
  88. color: #176bbc;
  89. font-size: 14px;
  90. padding: 5px 10px;
  91. background-image: url("/Content/Image/ExerciseV2/btn.png");
  92. background-repeat: no-repeat;
  93. background-size: 100% 100%;
  94. font-weight: 600;
  95. }
  96. .vb-btn.active {
  97. color: #fff;
  98. background-image: url("/Content/Image/ExerciseV2/btn-active.png");
  99. }
  100. .form .form-control {
  101. background: var(--bgc);
  102. color: var(--tc);
  103. border-radius: 4px;
  104. border: 1px solid #b5cce2;
  105. font-size: 1rem;
  106. }
  107. .form .form-control:active, .form .form-control:focus {
  108. border: 1px solid var(--brc);
  109. }
  110. .select2-container {
  111. --h: 38px;
  112. font-size: 1rem;
  113. }
  114. .select2-container.select2-container--open .select2-selection--single {
  115. border-color: var(--brc);
  116. }
  117. .select2-container .select2-selection--single {
  118. border-radius: 4px !important;
  119. background: var(--bgc);
  120. border: 1px solid #b5cce2;
  121. height: var(--h);
  122. line-height: var(--h);
  123. color: var(--tc);
  124. padding: 0 15px;
  125. }
  126. .select2-container .select2-selection--single .select2-selection__rendered {
  127. color: inherit;
  128. margin: 0;
  129. padding: 0;
  130. line-height: var(--h);
  131. font-size: 1rem;
  132. }
  133. .select2-container .select2-selection--single .select2-selection__arrow {
  134. right: 8px;
  135. height: var(--h);
  136. }
  137. .select2-container .select2-dropdown {
  138. background: #fefefe;
  139. border: 1px solid #b5cce2;
  140. border-radius: 4px;
  141. margin-top: 2px;
  142. }
  143. .select2-container .select2-dropdown .select2-search {
  144. padding: 8px 10px;
  145. }
  146. .select2-container .select2-dropdown .select2-search .select2-search__field {
  147. border: 1px solid var(--brc);
  148. background: var(--bgc);
  149. color: var(--tc);
  150. border-radius: 4px;
  151. }
  152. .select2-container .select2-dropdown .select2-results .select2-results__option {
  153. color: var(--tc);
  154. }
  155. .select2-container .select2-dropdown .select2-results .select2-results__option.select2-results__option--highlighted {
  156. background: #e7edf4;
  157. }
  158. .select2-container .select2-dropdown .select2-results .select2-results__option.select2-results__option[aria-selected=true] {
  159. background: #ecf3fc;
  160. font-weight: 600;
  161. }
  162. .box .box-body {
  163. position: relative;
  164. }
  165. .box .box-body .body {
  166. padding: 10px;
  167. background: #d8e7f9;
  168. background: linear-gradient(174.54deg, rgba(204, 224, 248, 0.76) 0.23%, rgba(242, 249, 255, 0.76) 120.71%);
  169. display: flex;
  170. flex-direction: column;
  171. }
  172. .box .table-box {
  173. display: block;
  174. }
  175. .box .table-box tr {
  176. border-top: 1px solid #36536d;
  177. }
  178. .box .table-box tr:nth-of-type(2n+1) {
  179. background: linear-gradient(rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.02));
  180. }
  181. .box .table-box tr.empty td {
  182. padding: 8px;
  183. }
  184. .box .table-box th {
  185. color: #fff;
  186. background: #4585cc;
  187. text-align: center;
  188. }
  189. .box .table-box td {
  190. color: #36536d;
  191. text-align: center;
  192. padding: 6px 10px;
  193. }
  194. .box .table-box .state {
  195. border: 1px solid #4585cc;
  196. border-radius: 5px;
  197. font-size: 12px;
  198. padding: 2px 5px;
  199. color: #4585cc;
  200. }
  201. .box .table-box .btn {
  202. background: #4585cc;
  203. border-radius: 20px;
  204. padding: 2px 15px;
  205. color: #eee;
  206. }
  207. .box .table-box .send .state {
  208. background: #4585cc;
  209. color: #fff;
  210. }
  211. .question {
  212. display: none;
  213. }
  214. .question button {
  215. --w: 80px;
  216. width: var(--w);
  217. height: var(--w);
  218. border-radius: var(--w);
  219. position: absolute;
  220. left: 50%;
  221. top: 50%;
  222. transform: translateX(-50%) translateY(-50%);
  223. z-index: 5;
  224. color: #fff;
  225. border: none;
  226. outline: none;
  227. }
  228. .question button:hover {
  229. background-color: #bd2130;
  230. }
  231. .question button i {
  232. font-size: 40px;
  233. }
  234. .question button:not(:hover) {
  235. animation: 1s shine ease-in-out infinite;
  236. }
  237. .question button:not(:hover) i {
  238. animation: 1s flashing ease-in-out infinite;
  239. }
  240. .question-text {
  241. font-size: 16px;
  242. margin-bottom: 10px;
  243. font-weight: 600;
  244. color: var(--mc);
  245. }
  246. @keyframes shine {
  247. 0% {
  248. filter: drop-shadow(0 0 12px #dc3545);
  249. }
  250. 50% {
  251. filter: drop-shadow(0 0 12px #bd2130);
  252. }
  253. 100% {
  254. filter: drop-shadow(0 0 12px #dc3545);
  255. }
  256. }
  257. @keyframes flashing {
  258. 0% {
  259. opacity: 1;
  260. transform: scale(1);
  261. }
  262. 50% {
  263. opacity: 0.5;
  264. transform: scale(0.9);
  265. }
  266. 100% {
  267. opacity: 1;
  268. transform: scale(1);
  269. }
  270. }