stu-leader.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505
  1. body {
  2. --mc: #11998e;
  3. }
  4. .body {
  5. background: #f3f3f3;
  6. display: flex;
  7. flex-direction: column;
  8. width: 100vw;
  9. box-sizing: padding-box;
  10. padding: 30px;
  11. }
  12. .select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[aria-selected]:hover {
  13. background-color: var(--mc);
  14. color: #eee;
  15. outline: none;
  16. }
  17. .select2-container--default .select2-results__option--highlighted[aria-selected]:focus, .select2-container--default .select2-results__option--highlighted[aria-selected]:active, .select2-container--default .select2-results__option--highlighted[aria-selected]:focus, .select2-container--default .select2-results__option--highlighted[aria-selected]:active, .select2-container--default .select2-results__option--highlighted[aria-selected]:hover:focus, .select2-container--default .select2-results__option--highlighted[aria-selected]:hover:active {
  18. outline: none;
  19. }
  20. .select2-container--default .select2-results__option[aria-selected=true] {
  21. background-color: var(--mc);
  22. color: #fff;
  23. }
  24. .select2-search {
  25. display: none;
  26. }
  27. .box {
  28. width: 100%;
  29. background: #fff;
  30. border-radius: 8px;
  31. padding: 15px 30px;
  32. }
  33. .box .btn {
  34. cursor: pointer;
  35. }
  36. .box .btn.btn-submit {
  37. background: var(--mc);
  38. color: #fff;
  39. }
  40. .box .btn.btn-submit:hover {
  41. background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
  42. }
  43. .box .btn.btn-lg {
  44. width: 120px;
  45. font-size: 20px !important;
  46. }
  47. .box .left-box, .box .right-box {
  48. display: flex;
  49. flex-direction: row;
  50. justify-content: flex-start;
  51. align-items: center;
  52. height: 100%;
  53. }
  54. .box.title-box {
  55. height: 80px;
  56. display: flex;
  57. flex-direction: row;
  58. align-items: center;
  59. justify-content: space-between;
  60. }
  61. .box.title-box .line {
  62. width: 5px;
  63. height: 100%;
  64. background: var(--mc);
  65. border-radius: 3px;
  66. }
  67. .box.title-box .title {
  68. font-size: 30px;
  69. font-weight: 600;
  70. color: var(--mc);
  71. padding-left: 15px;
  72. }
  73. .box.group-box {
  74. margin-top: 20px;
  75. height: 120px;
  76. display: flex;
  77. flex-direction: row;
  78. justify-content: space-between;
  79. align-items: center;
  80. overflow-x: auto;
  81. }
  82. .box.group-box .group-info {
  83. display: flex;
  84. flex-direction: column;
  85. justify-content: space-between;
  86. align-items: center;
  87. margin-right: 20px;
  88. height: 100%;
  89. position: relative;
  90. }
  91. .box.group-box .group-info .img-box {
  92. width: 60px;
  93. height: 60px;
  94. border-radius: 5px;
  95. border: 3px solid #bfbfbf;
  96. display: flex;
  97. justify-content: center;
  98. align-items: center;
  99. transition: all 0.3s ease-in-out;
  100. }
  101. .box.group-box .group-info .img-box .img {
  102. width: 40px;
  103. height: 40px;
  104. /*width: 64px;
  105. height: 66px;*/
  106. overflow: hidden;
  107. /*.img {
  108. width: 100%;
  109. height: 100%;
  110. }*/
  111. }
  112. .box.group-box .group-info .img-box .img img {
  113. width: 100%;
  114. height: 100%;
  115. }
  116. .box.group-box .group-info .name {
  117. font-weight: 600;
  118. color: #bfbfbf;
  119. font-size: 16px;
  120. white-space: nowrap;
  121. }
  122. .box.group-box .group-info .gou {
  123. position: absolute;
  124. top: 6px;
  125. left: 6px;
  126. width: 18px;
  127. height: 14px;
  128. overflow: hidden;
  129. }
  130. .box.group-box .group-info.active .img-box, .box.group-box .group-info.check .img-box {
  131. border-color: var(--mc);
  132. background: #f3f3f3;
  133. /*.img{}*/
  134. /*.img .img {
  135. position: relative;
  136. left: -64px;
  137. border-right: 64px solid transparent;
  138. filter: drop-shadow(64px 0 var(--mc));
  139. }*/
  140. }
  141. .box.group-box .group-info.active .name, .box.group-box .group-info.check .name {
  142. color: var(--mc);
  143. }
  144. .box.group-box .group-info.active .img-box {
  145. background: #f3fbf9;
  146. }
  147. .box.group-box .group-info.check .gou .img {
  148. width: 100%;
  149. height: 100%;
  150. /*position: relative;
  151. left: -18px;
  152. border-right: 18px solid transparent;
  153. filter: drop-shadow(18px 0 var(--mc));*/
  154. background-image: url("../../Image/Stu/zhb/gou.png");
  155. background-size: 100% 100%;
  156. }
  157. .box.group-box.stu .group-info .gou {
  158. display: none;
  159. }
  160. .box.group-box.stu .group-info.active .img-box {
  161. border-color: var(--mc);
  162. background: #f3f3f3;
  163. }
  164. .box.group-box.stu .group-info.active .img-box .img .img {
  165. position: relative;
  166. left: -64px;
  167. border-right: 64px solid transparent;
  168. filter: drop-shadow(64px 0 var(--mc));
  169. }
  170. .box.group-box.stu .group-info.active .name {
  171. color: var(--mc);
  172. }
  173. .box.role-box {
  174. margin-top: 10px;
  175. height: calc(100vh - 310px);
  176. overflow: hidden;
  177. position: relative;
  178. min-height: 300px;
  179. }
  180. .box.role-box .content-box {
  181. height: calc(100% - 30px);
  182. width: calc(100% - 60px);
  183. position: absolute;
  184. }
  185. .box.role-box .content-box .role-content {
  186. position: absolute;
  187. top: -200%;
  188. width: 100%;
  189. height: 100%;
  190. display: flex;
  191. flex-direction: column;
  192. /*justify-content: center;*/
  193. align-items: center;
  194. display: flex;
  195. flex-wrap: wrap;
  196. opacity: 0;
  197. transition: all 1s ease-in-out;
  198. }
  199. .box.role-box .content-box .role-content.active {
  200. top: 0;
  201. display: flex;
  202. opacity: 1;
  203. transition: all 1s ease-in-out;
  204. }
  205. .box.role-box .content-box .role-content .top {
  206. width: 100%;
  207. height: 50px;
  208. line-height: 50px;
  209. font-size: 20px;
  210. color: #3c3c3c;
  211. border-bottom: 2px solid #bfbfbf;
  212. }
  213. .box.role-box .content-box .role-content .top span {
  214. color: #bfbfbf;
  215. padding-left: 15px;
  216. }
  217. .box.role-box .content-box .role-content.check .top {
  218. color: var(--mc);
  219. border-bottom-color: var(--mc);
  220. }
  221. .box.role-box .content-box .role-content .bottom {
  222. width: 100%;
  223. height: calc(100% - 80px);
  224. padding: 15px 0;
  225. float: left;
  226. position: relative;
  227. }
  228. .box.role-box .content-box .role-content.self .bottom {
  229. height: 100%;
  230. }
  231. .box.role-box .content-box .role-content .role-info {
  232. position: relative;
  233. display: flex;
  234. flex-direction: column;
  235. justify-content: space-between;
  236. align-items: center;
  237. height: 100px;
  238. width: 100px;
  239. border: 1px solid var(--mc);
  240. border-radius: 10px;
  241. background: #f3fbf9;
  242. padding: 10px 5px 15px;
  243. margin-bottom: 10px;
  244. margin-right: 20px;
  245. float: left;
  246. }
  247. .box.role-box .content-box .role-content .role-info .name {
  248. height: 30px;
  249. color: var(--mc);
  250. text-align: center;
  251. white-space: normal;
  252. font-size: 14px;
  253. }
  254. .box.role-box .content-box .role-content .role-info .user-icon {
  255. display: flex;
  256. width: 50px;
  257. height: 50px;
  258. justify-content: center;
  259. align-items: center;
  260. background-image: url("../../Image/Stu/zhb/user.png");
  261. background-size: 100% 100%;
  262. }
  263. .box.role-box .content-box .role-content .role-info .add-icon {
  264. width: 50px;
  265. height: 50px;
  266. border-radius: 50px;
  267. overflow: hidden;
  268. /*.add {
  269. width: 100%;
  270. height: 100%;
  271. background: url('../../Image/Stu/zhb/add.png');
  272. /*&.add-dl {
  273. position: relative;
  274. left: -50px;
  275. border-right: 50px solid transparent;
  276. filter: drop-shadow(50px 0 var(--mc));
  277. }
  278. }*/
  279. }
  280. .box.role-box .content-box .role-content .role-info .close {
  281. position: absolute;
  282. right: 5px;
  283. top: 0;
  284. color: var(--mc);
  285. }
  286. .box.role-box .content-box .role-content .role-info.add-box {
  287. display: none;
  288. left: calc(50% - 150px);
  289. top: 100px;
  290. padding: 25px 20px 20px;
  291. position: absolute;
  292. width: 300px;
  293. }
  294. .box.role-box .content-box .role-content .role-info input {
  295. width: 90%;
  296. padding: 5px 10px;
  297. font-size: 14px;
  298. border: 1px solid var(--mc);
  299. border-radius: 4px;
  300. outline: none;
  301. }
  302. .box.role-box .content-box .role-content .role-info input:active, .box.role-box .content-box .role-content .role-info input:focus {
  303. border: 1px solid var(--mc);
  304. outline: none;
  305. }
  306. .box.role-box.stu .top {
  307. display: none;
  308. }
  309. .box.role-box.stu .bottom {
  310. height: 100%;
  311. }
  312. .box.role-box.build {
  313. margin-top: 20px;
  314. height: calc(100vh - 160px);
  315. }
  316. .box.role-box.build .content-box .role-content {
  317. display: flex;
  318. flex-direction: row;
  319. justify-content: flex-start;
  320. top: 0;
  321. opacity: 1;
  322. }
  323. .box.handle-box {
  324. margin-top: 20px;
  325. display: flex;
  326. flex-direction: column;
  327. height: calc(100vh - 130px);
  328. }
  329. .box.handle-box .form-box {
  330. display: flex;
  331. flex-direction: column;
  332. position: relative;
  333. padding: 5px 10px;
  334. height: 50%;
  335. }
  336. .box.handle-box .form-box:not(:first-child) {
  337. margin-top: 10px;
  338. }
  339. .box.handle-box .form-box .help-box {
  340. position: absolute;
  341. width: 250px;
  342. left: 20px;
  343. bottom: 20px;
  344. }
  345. .box.handle-box .form-box .role, .box.handle-box .form-box .help-box {
  346. /*width: 250px;*/
  347. display: flex;
  348. justify-content: center;
  349. align-items: center;
  350. }
  351. .box.handle-box .form-box .role .select2-container .select2-selection--single, .box.handle-box .form-box .help-box .select2-container .select2-selection--single {
  352. height: 38px;
  353. border: 2px solid var(--mc);
  354. margin-bottom: 8px;
  355. }
  356. .box.handle-box .form-box .role .select2-container--default .select2-selection--single .select2-selection__arrow, .box.handle-box .form-box .help-box .select2-container--default .select2-selection--single .select2-selection__arrow {
  357. top: 6px;
  358. }
  359. .box.handle-box .form-box .form-control {
  360. width: 100%;
  361. padding: 8px 10px;
  362. border: 2px solid var(--mc);
  363. border-radius: 5px;
  364. font-size: 1rem;
  365. margin: 8px 0;
  366. }
  367. .box.handle-box .form-box .form-control.txt {
  368. padding: 8px 15px;
  369. height: 100%;
  370. }
  371. .box.handle-box .form-box .btn {
  372. width: 100px;
  373. position: absolute;
  374. right: 25px;
  375. bottom: 20px;
  376. }
  377. .box.leader-box {
  378. margin-top: 20px;
  379. display: flex;
  380. flex-direction: column;
  381. height: calc(100vh - 130px);
  382. }
  383. .box.leader-box .table tr td, .box.leader-box .table tr th {
  384. text-align: center;
  385. border: none;
  386. font-size: 14px;
  387. padding: 0;
  388. height: 45px;
  389. }
  390. .box.leader-box .table tr th {
  391. background: var(--mc);
  392. color: #fff;
  393. font-size: 16px;
  394. line-height: 45px;
  395. }
  396. .box.leader-box .table tbody tr {
  397. color: #bfbfbf;
  398. }
  399. .box.leader-box .table tbody tr:nth-of-type(2n+1) {
  400. background: #fafafa;
  401. }
  402. .box.leader-box .table tbody tr:nth-of-type(2n) {
  403. background: #f3fbf9;
  404. }
  405. .box.leader-box .table tbody tr.wait {
  406. color: #262626;
  407. }
  408. .box.leader-box .table tbody tr.wait .state {
  409. color: var(--mc);
  410. font-weight: 600;
  411. }
  412. .box.leader-box .table tbody tr td.action .btn.btn-submit {
  413. cursor: pointer;
  414. width: 90px;
  415. padding: 5px;
  416. border-radius: 25px;
  417. font-size: 10px !important;
  418. }
  419. .box.leader-box .table tbody tr.empty {
  420. font-size: 16px;
  421. font-weight: 600;
  422. color: var(--mc);
  423. }
  424. .question {
  425. display: none;
  426. }
  427. .question button {
  428. --w: 80px;
  429. width: var(--w);
  430. height: var(--w);
  431. border-radius: var(--w);
  432. position: absolute;
  433. left: 50%;
  434. top: 50%;
  435. transform: translateX(-50%) translateY(-50%);
  436. z-index: 5;
  437. color: #fff;
  438. border: none;
  439. outline: none;
  440. }
  441. .question button:hover {
  442. background-color: #bd2130;
  443. }
  444. .question button i {
  445. font-size: 40px;
  446. }
  447. .question button:not(:hover) {
  448. animation: 1s shine ease-in-out infinite;
  449. }
  450. .question button:not(:hover) i {
  451. animation: 1s flashing ease-in-out infinite;
  452. }
  453. .question-text {
  454. font-size: 16px;
  455. margin-bottom: 10px;
  456. font-weight: 600;
  457. color: var(--mc);
  458. }
  459. @keyframes shine {
  460. 0% {
  461. filter: drop-shadow(0 0 12px #dc3545);
  462. }
  463. 50% {
  464. filter: drop-shadow(0 0 12px #bd2130);
  465. }
  466. 100% {
  467. filter: drop-shadow(0 0 12px #dc3545);
  468. }
  469. }
  470. @keyframes flashing {
  471. 0% {
  472. opacity: 1;
  473. transform: scale(1);
  474. }
  475. 50% {
  476. opacity: 0.5;
  477. transform: scale(0.9);
  478. }
  479. 100% {
  480. opacity: 1;
  481. transform: scale(1);
  482. }
  483. }
  484. @keyframes fadeIn {
  485. from {
  486. visibility: hidden;
  487. /*opacity: 1;*/
  488. }
  489. to {
  490. visibility: visible;
  491. /*opacity: 0;*/
  492. }
  493. }