stu-zhb.css 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392
  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 .body {
  164. padding: 10px;
  165. background: #d8e7f9;
  166. background: linear-gradient(174.54deg, rgba(204, 224, 248, 0.76) 0.23%, rgba(242, 249, 255, 0.76) 120.71%);
  167. display: flex;
  168. flex-direction: column;
  169. }
  170. .box .box-body .body .stu {
  171. display: none !important;
  172. }
  173. .box .box-body .body .check-box-icon {
  174. background: url("/Content/Image/ExerciseV2/zhb/zh_icon-checkbox.svg") no-repeat;
  175. background-size: 100% 100%;
  176. }
  177. .box .box-body .body .check .check-box-icon {
  178. background-image: url("/Content/Image/ExerciseV2/zhb/zh_icon-checkbox-selected.svg");
  179. }
  180. .box .box-body .body .select {
  181. justify-content: space-between;
  182. }
  183. .box .box-body .body .select .select-box {
  184. display: flex;
  185. }
  186. .box .box-body .body .select .select-box .select-item {
  187. height: 100px;
  188. margin-left: 15px;
  189. display: flex;
  190. flex-direction: column;
  191. align-items: center;
  192. position: relative;
  193. }
  194. .box .box-body .body .select .select-box .select-item .check-box-icon {
  195. position: absolute;
  196. top: 5px;
  197. left: -8px;
  198. width: 15px;
  199. height: 15px;
  200. }
  201. .box .box-body .body .select .select-box .select-item .icon {
  202. width: 80px;
  203. height: 80px;
  204. display: flex;
  205. justify-content: center;
  206. align-items: center;
  207. background: url("/Content/Image/ExerciseV2/zhb/zh_icon_bg.svg") no-repeat;
  208. background-size: 100% 100%;
  209. }
  210. .box .box-body .body .select .select-box .select-item .icon img {
  211. width: 35px;
  212. height: 35px;
  213. }
  214. .box .box-body .body .select .select-box .select-item .text {
  215. text-align: center;
  216. color: #094B88;
  217. }
  218. .box .box-body .body .select .select-box .select-item.active .icon {
  219. background-image: url("/Content/Image/ExerciseV2/zhb/zh_icon_bg-select.svg");
  220. }
  221. .box .box-body .body .select .select-box .select-item.active .text {
  222. font-weight: 600;
  223. }
  224. .box .box-body .body .select .add-role {
  225. position: relative;
  226. width: 100px;
  227. height: 100px;
  228. display: flex;
  229. flex-direction: column;
  230. align-items: center;
  231. justify-content: center;
  232. background: #4585cc;
  233. border-radius: 8px;
  234. }
  235. .box .box-body .body .select .add-role .icon {
  236. width: 80px;
  237. height: 50px;
  238. display: flex;
  239. justify-content: center;
  240. align-items: center;
  241. }
  242. .box .box-body .body .select .add-role .icon img {
  243. width: 35px;
  244. height: 35px;
  245. }
  246. .box .box-body .body .select .add-role .text {
  247. margin-top: 5px;
  248. text-align: center;
  249. color: #fff;
  250. }
  251. .box .box-body .body .select .add-role:before {
  252. content: "";
  253. position: absolute;
  254. left: -20px;
  255. height: 80%;
  256. border-left: 1px solid #c0dffb;
  257. }
  258. .box .box-body .body .role .content-box {
  259. width: 100%;
  260. height: calc(100vh - 380px);
  261. }
  262. .box .box-body .body .role .role-content {
  263. display: none;
  264. }
  265. .box .box-body .body .role .role-content.active {
  266. display: flex;
  267. flex-direction: column;
  268. }
  269. .box .box-body .body .role .role-select {
  270. height: 35px;
  271. margin-bottom: 10px;
  272. color: #094B88;
  273. padding-left: 20px;
  274. display: flex;
  275. align-items: center;
  276. }
  277. .box .box-body .body .role .role-select .check-box-icon {
  278. margin-right: 10px;
  279. width: 20px;
  280. height: 20px;
  281. }
  282. .box .box-body .body .role .role-select span {
  283. color: #5f8bb6;
  284. font-weight: 400;
  285. padding-left: 3px;
  286. }
  287. .box .box-body .body .role .role-select.check {
  288. font-weight: 600;
  289. }
  290. .box .box-body .body .role .role-box {
  291. display: flex;
  292. flex-wrap: wrap;
  293. }
  294. .box .box-body .body .role .role-box .role-item {
  295. position: relative;
  296. width: 100px;
  297. height: 100px;
  298. margin-left: 15px;
  299. margin-bottom: 15px;
  300. display: flex;
  301. flex-direction: column;
  302. align-items: center;
  303. justify-content: center;
  304. background: #FFFFFF;
  305. border: 1px solid #b2d9f5;
  306. border-radius: 8px;
  307. }
  308. .box .box-body .body .role .role-box .role-item .icon {
  309. width: 100%;
  310. height: 40px;
  311. display: flex;
  312. justify-content: center;
  313. align-items: center;
  314. }
  315. .box .box-body .body .role .role-box .role-item .icon img {
  316. width: 35px;
  317. height: 35px;
  318. }
  319. .box .box-body .body .role .role-box .role-item .text {
  320. width: 100%;
  321. margin-top: 10px;
  322. padding: 0 10px;
  323. line-height: 1.3;
  324. text-align: center;
  325. color: #094B88;
  326. font-size: 14px;
  327. }
  328. .box .box-body .body .role .role-box .role-item .close {
  329. position: absolute;
  330. top: 5px;
  331. right: 8px;
  332. font-size: 1.5rem;
  333. font-weight: 700;
  334. line-height: 1;
  335. color: #094B88;
  336. text-shadow: 0 1px 0 #fff;
  337. opacity: 0.8;
  338. }
  339. .box .box-body .body .role .role-box .role-item.check .text {
  340. font-weight: 600;
  341. }
  342. .box .box-body .body .role .role-box .role-item.add {
  343. flex-direction: column;
  344. background: #FFFFFF;
  345. }
  346. .box .box-body .body .role .role-box .role-item.add .text {
  347. font-size: 12px;
  348. }
  349. .box .box-body .body .add-box {
  350. position: absolute;
  351. display: none;
  352. left: calc(50% - 150px);
  353. top: 100px;
  354. padding: 25px 20px 20px;
  355. width: 300px;
  356. flex-direction: column;
  357. }
  358. .box .box-body .body .add-box input {
  359. padding: 5px 10px;
  360. font-size: 14px;
  361. border: 1px solid #DAEDFF;
  362. border-radius: 5px;
  363. outline: none;
  364. }
  365. .box .box-body .body .add-box input:active, .box .box-body .body .add-box input:focus {
  366. border: 1px solid #DAEDFF;
  367. outline: none;
  368. }
  369. .box .box-body .body .add-box .btn-box {
  370. display: flex;
  371. justify-content: center;
  372. margin-top: 15px;
  373. }
  374. .box .box-body .body .add-box .btn {
  375. margin: 0 10px;
  376. min-width: 80px;
  377. }
  378. .box .box-body .body .add-box .btn.cancel {
  379. background: #DAEDFF;
  380. color: #03AEBC;
  381. border: 1px solid;
  382. }
  383. .box .box-body .btn {
  384. min-width: 150px;
  385. }