stu-cmd.css 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  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 .body {
  163. padding: 10px;
  164. background: #d8e7f9;
  165. background: linear-gradient(174.54deg, rgba(204, 224, 248, 0.76) 0.23%, rgba(242, 249, 255, 0.76) 120.71%);
  166. display: flex;
  167. flex-direction: column;
  168. }
  169. .box .role-box {
  170. display: flex;
  171. /* .form-control, .select2-selection--single {
  172. border: none;
  173. }*/
  174. }
  175. .box .role-box > div {
  176. width: 100%;
  177. padding: 0;
  178. }
  179. .box .select-box, .box .input-box, .box .cmd-box {
  180. background: none;
  181. }
  182. .box .input-box {
  183. display: none;
  184. margin-left: 15px;
  185. }
  186. .box .cmd-box {
  187. position: relative;
  188. padding: 0;
  189. }
  190. .box .cmd-box .txt {
  191. padding: 10px;
  192. }
  193. .box .cmd-box .btn {
  194. position: absolute;
  195. right: 15px;
  196. bottom: 15px;
  197. margin: 5px auto;
  198. width: 120px;
  199. }
  200. .box .cmd-box .help-box {
  201. position: absolute;
  202. left: 15px;
  203. bottom: 15px;
  204. width: 300px;
  205. }