stu-cmd_leader.css 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  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. font-weight: 600;
  87. }
  88. .vb-btn {
  89. color: #176bbc;
  90. font-size: 14px;
  91. padding: 5px 10px;
  92. background-image: url("/Content/Image/ExerciseV2/btn.png");
  93. background-repeat: no-repeat;
  94. background-size: 100% 100%;
  95. font-weight: 600;
  96. }
  97. .vb-btn.active {
  98. color: #fff;
  99. background-image: url("/Content/Image/ExerciseV2/btn-active.png");
  100. }
  101. .form .form-control {
  102. background: var(--bgc);
  103. color: var(--tc);
  104. border-radius: 4px;
  105. border: 1px solid #b5cce2;
  106. font-size: 1rem;
  107. }
  108. .form .form-control:active, .form .form-control:focus {
  109. border: 1px solid var(--brc);
  110. }
  111. .select2-container {
  112. --h: 38px;
  113. font-size: 1rem;
  114. }
  115. .select2-container.select2-container--open .select2-selection--single {
  116. border-color: var(--brc);
  117. }
  118. .select2-container .select2-selection--single {
  119. border-radius: 4px !important;
  120. background: var(--bgc);
  121. border: 1px solid #b5cce2;
  122. height: var(--h);
  123. line-height: var(--h);
  124. color: var(--tc);
  125. padding: 0 15px;
  126. }
  127. .select2-container .select2-selection--single .select2-selection__rendered {
  128. color: inherit;
  129. margin: 0;
  130. padding: 0;
  131. line-height: var(--h);
  132. font-size: 1rem;
  133. }
  134. .select2-container .select2-selection--single .select2-selection__arrow {
  135. right: 8px;
  136. height: var(--h);
  137. }
  138. .select2-container .select2-dropdown {
  139. background: #fefefe;
  140. border: 1px solid #b5cce2;
  141. border-radius: 4px;
  142. margin-top: 2px;
  143. }
  144. .select2-container .select2-dropdown .select2-search {
  145. padding: 8px 10px;
  146. }
  147. .select2-container .select2-dropdown .select2-search .select2-search__field {
  148. border: 1px solid var(--brc);
  149. background: var(--bgc);
  150. color: var(--tc);
  151. border-radius: 4px;
  152. }
  153. .select2-container .select2-dropdown .select2-results .select2-results__option {
  154. color: var(--tc);
  155. }
  156. .select2-container .select2-dropdown .select2-results .select2-results__option.select2-results__option--highlighted {
  157. background: #e7edf4;
  158. }
  159. .select2-container .select2-dropdown .select2-results .select2-results__option.select2-results__option[aria-selected=true] {
  160. background: #ecf3fc;
  161. font-weight: 600;
  162. }
  163. .box .box-body {
  164. position: relative;
  165. }
  166. .box .box-body .body {
  167. padding: 10px;
  168. background: #d8e7f9;
  169. background: linear-gradient(174.54deg, rgba(204, 224, 248, 0.76) 0.23%, rgba(242, 249, 255, 0.76) 120.71%);
  170. display: flex;
  171. flex-direction: column;
  172. }
  173. .box .logs-box {
  174. width: 100%;
  175. display: flex;
  176. flex-direction: column;
  177. }
  178. .box .logs-box .log-box {
  179. display: flex;
  180. padding: 10px;
  181. background: rgba(255, 255, 255, 0.6);
  182. border-radius: 8px;
  183. margin: 5px 0;
  184. }
  185. .box .logs-box .log-box .content {
  186. width: 100%;
  187. display: flex;
  188. flex-direction: column;
  189. padding: 5px;
  190. padding-right: 15px;
  191. }
  192. .box .logs-box .log-box .content .title {
  193. font-weight: 600;
  194. color: #03AEBC;
  195. font-size: 14px;
  196. }
  197. .box .logs-box .log-box .content .text {
  198. color: #36536D;
  199. }
  200. .box .logs-box .log-box .btn-box {
  201. display: flex;
  202. justify-content: center;
  203. align-items: center;
  204. padding: 5px;
  205. }
  206. .box .logs-box .log-box .btn-box .btn {
  207. font-size: 14px;
  208. width: 90px;
  209. }
  210. .box .logs-box .log-box.send .btn {
  211. background: #DE5E5E;
  212. }
  213. .box .logs-box .empty {
  214. width: 100%;
  215. height: 100%;
  216. display: flex;
  217. justify-content: center;
  218. align-items: center;
  219. color: #36536D;
  220. font-size: 16px;
  221. opacity: 0.4;
  222. }
  223. .question {
  224. display: none;
  225. }
  226. .question button {
  227. --w: 80px;
  228. width: var(--w);
  229. height: var(--w);
  230. border-radius: var(--w);
  231. position: absolute;
  232. left: 50%;
  233. top: 50%;
  234. transform: translateX(-50%) translateY(-50%);
  235. z-index: 5;
  236. color: #fff;
  237. border: none;
  238. outline: none;
  239. }
  240. .question button:hover {
  241. background-color: #bd2130;
  242. }
  243. .question button i {
  244. font-size: 40px;
  245. }
  246. .question button:not(:hover) {
  247. animation: 1s shine ease-in-out infinite;
  248. }
  249. .question button:not(:hover) i {
  250. animation: 1s flashing ease-in-out infinite;
  251. }
  252. .question-text {
  253. font-size: 16px;
  254. margin-bottom: 10px;
  255. font-weight: 600;
  256. color: var(--mc);
  257. }
  258. @keyframes shine {
  259. 0% {
  260. filter: drop-shadow(0 0 12px #dc3545);
  261. }
  262. 50% {
  263. filter: drop-shadow(0 0 12px #bd2130);
  264. }
  265. 100% {
  266. filter: drop-shadow(0 0 12px #dc3545);
  267. }
  268. }
  269. @keyframes flashing {
  270. 0% {
  271. opacity: 1;
  272. transform: scale(1);
  273. }
  274. 50% {
  275. opacity: 0.5;
  276. transform: scale(0.9);
  277. }
  278. 100% {
  279. opacity: 1;
  280. transform: scale(1);
  281. }
  282. }