stu-zhb.css 9.0 KB

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