stu-leader.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364
  1. body {
  2. --mc: #11998e; }
  3. .body {
  4. background: #f3f3f3;
  5. display: flex;
  6. flex-direction: column;
  7. height: 100vh;
  8. width: 100vw;
  9. box-sizing: padding-box;
  10. padding: 30px; }
  11. .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 {
  12. background-color: var(--mc);
  13. color: #eee;
  14. outline: none; }
  15. .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 {
  16. outline: none; }
  17. .select2-container--default .select2-results__option[aria-selected=true] {
  18. background-color: var(--mc);
  19. color: #fff; }
  20. .select2-search {
  21. display: none; }
  22. .box {
  23. width: 100%;
  24. background: #fff;
  25. border-radius: 8px;
  26. padding: 15px 30px; }
  27. .box .btn {
  28. cursor: pointer; }
  29. .box .btn.btn-submit {
  30. background: var(--mc);
  31. color: #fff; }
  32. .box .btn.btn-submit:hover {
  33. background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)); }
  34. .box .btn.btn-lg {
  35. width: 120px;
  36. font-size: 20px !important; }
  37. .box .left-box, .box .right-box {
  38. display: flex;
  39. flex-direction: row;
  40. justify-content: flex-start;
  41. align-items: center;
  42. height: 100%; }
  43. .box.title-box {
  44. height: 80px;
  45. display: flex;
  46. flex-direction: row;
  47. align-items: center;
  48. justify-content: space-between; }
  49. .box.title-box .line {
  50. width: 5px;
  51. height: 100%;
  52. background: var(--mc);
  53. border-radius: 3px; }
  54. .box.title-box .title {
  55. font-size: 30px;
  56. font-weight: 600;
  57. color: var(--mc);
  58. padding-left: 15px; }
  59. .box.group-box {
  60. margin-top: 20px;
  61. height: 160px;
  62. display: flex;
  63. flex-direction: row;
  64. justify-content: space-between;
  65. align-items: center; }
  66. .box.group-box .group-info {
  67. display: flex;
  68. flex-direction: column;
  69. justify-content: space-between;
  70. align-items: center;
  71. margin-right: 20px;
  72. height: 100%;
  73. position: relative; }
  74. .box.group-box .group-info .img-box {
  75. width: 100px;
  76. height: 100px;
  77. border-radius: 5px;
  78. border: 3px solid #bfbfbf;
  79. display: flex;
  80. justify-content: center;
  81. align-items: center;
  82. transition: all 0.3s ease-in-out; }
  83. .box.group-box .group-info .img-box .img {
  84. width: 60px;
  85. height: 60px;
  86. /*width: 64px;
  87. height: 66px;*/
  88. overflow: hidden;
  89. /*.img {
  90. width: 100%;
  91. height: 100%;
  92. }*/ }
  93. .box.group-box .group-info .img-box .img img {
  94. width: 100%;
  95. height: 100%; }
  96. .box.group-box .group-info .name {
  97. font-weight: 600;
  98. color: #bfbfbf;
  99. font-size: 16px; }
  100. .box.group-box .group-info .gou {
  101. position: absolute;
  102. top: 6px;
  103. left: 6px;
  104. width: 18px;
  105. height: 14px;
  106. overflow: hidden; }
  107. .box.group-box .group-info.active .img-box, .box.group-box .group-info.check .img-box {
  108. border-color: var(--mc);
  109. background: #f3f3f3;
  110. /*.img{}*/
  111. /*.img .img {
  112. position: relative;
  113. left: -64px;
  114. border-right: 64px solid transparent;
  115. filter: drop-shadow(64px 0 var(--mc));
  116. }*/ }
  117. .box.group-box .group-info.active .name, .box.group-box .group-info.check .name {
  118. color: var(--mc); }
  119. .box.group-box .group-info.active .img-box {
  120. background: #f3fbf9; }
  121. .box.group-box .group-info.check .gou .img {
  122. width: 100%;
  123. height: 100%;
  124. /*position: relative;
  125. left: -18px;
  126. border-right: 18px solid transparent;
  127. filter: drop-shadow(18px 0 var(--mc));*/
  128. background-image: url("../../Image/Stu/zhb/gou.png");
  129. background-size: 100% 100%; }
  130. .box.group-box.stu .group-info .gou {
  131. display: none; }
  132. .box.group-box.stu .group-info.active .img-box {
  133. border-color: var(--mc);
  134. background: #f3f3f3; }
  135. .box.group-box.stu .group-info.active .img-box .img .img {
  136. position: relative;
  137. left: -64px;
  138. border-right: 64px solid transparent;
  139. filter: drop-shadow(64px 0 var(--mc)); }
  140. .box.group-box.stu .group-info.active .name {
  141. color: var(--mc); }
  142. .box.role-box {
  143. margin-top: 10px;
  144. height: calc(100vh - 310px);
  145. overflow: hidden;
  146. position: relative; }
  147. .box.role-box .content-box {
  148. height: calc(100% - 30px);
  149. width: calc(100% - 60px);
  150. position: absolute; }
  151. .box.role-box .content-box .role-content {
  152. position: absolute;
  153. top: -200%;
  154. width: 100%;
  155. height: 100%;
  156. display: flex;
  157. flex-direction: column;
  158. justify-content: center;
  159. align-items: center;
  160. display: flex;
  161. flex-wrap: wrap;
  162. opacity: 0;
  163. transition: all 1s ease-in-out; }
  164. .box.role-box .content-box .role-content.active {
  165. top: 0;
  166. display: flex;
  167. opacity: 1;
  168. transition: all 1s ease-in-out; }
  169. .box.role-box .content-box .role-content .top {
  170. width: 100%;
  171. height: 50px;
  172. line-height: 50px;
  173. font-size: 20px;
  174. color: #3c3c3c;
  175. border-bottom: 2px solid #bfbfbf; }
  176. .box.role-box .content-box .role-content .top span {
  177. color: #bfbfbf;
  178. padding-left: 15px; }
  179. .box.role-box .content-box .role-content.check .top {
  180. color: var(--mc);
  181. border-bottom-color: var(--mc); }
  182. .box.role-box .content-box .role-content .bottom {
  183. width: 100%;
  184. height: calc(100% - 80px);
  185. padding: 15px 0;
  186. float: left;
  187. position: relative; }
  188. .box.role-box .content-box .role-content.self .bottom {
  189. height: 100%; }
  190. .box.role-box .content-box .role-content .role-info {
  191. position: relative;
  192. display: flex;
  193. flex-direction: column;
  194. justify-content: space-between;
  195. align-items: center;
  196. height: 120px;
  197. width: 120px;
  198. border: 1px solid var(--mc);
  199. border-radius: 10px;
  200. background: #f3fbf9;
  201. padding: 10px 5px 15px;
  202. margin-bottom: 10px;
  203. margin-right: 20px;
  204. float: left; }
  205. .box.role-box .content-box .role-content .role-info .name {
  206. height: 30px;
  207. color: var(--mc);
  208. text-align: center;
  209. white-space: normal;
  210. font-size: 14px; }
  211. .box.role-box .content-box .role-content .role-info .user-icon {
  212. display: flex;
  213. width: 50px;
  214. height: 50px;
  215. justify-content: center;
  216. align-items: center;
  217. background-image: url("../../Image/Stu/zhb/user.png");
  218. background-size: 100% 100%; }
  219. .box.role-box .content-box .role-content .role-info .add-icon {
  220. width: 50px;
  221. height: 50px;
  222. border-radius: 50px;
  223. overflow: hidden;
  224. /*.add {
  225. width: 100%;
  226. height: 100%;
  227. background: url('../../Image/Stu/zhb/add.png');
  228. /*&.add-dl {
  229. position: relative;
  230. left: -50px;
  231. border-right: 50px solid transparent;
  232. filter: drop-shadow(50px 0 var(--mc));
  233. }
  234. }*/ }
  235. .box.role-box .content-box .role-content .role-info .close {
  236. position: absolute;
  237. right: 5px;
  238. top: 0;
  239. color: var(--mc); }
  240. .box.role-box .content-box .role-content .role-info.add-box {
  241. display: none;
  242. left: calc(50% - 150px);
  243. top: 100px;
  244. padding: 25px 20px 20px;
  245. position: absolute;
  246. width: 300px; }
  247. .box.role-box .content-box .role-content .role-info input {
  248. width: 90%;
  249. padding: 5px 10px;
  250. font-size: 14px;
  251. border: 1px solid var(--mc);
  252. border-radius: 4px;
  253. outline: none; }
  254. .box.role-box .content-box .role-content .role-info input:active, .box.role-box .content-box .role-content .role-info input:focus {
  255. border: 1px solid var(--mc);
  256. outline: none; }
  257. .box.role-box.stu .top {
  258. display: none; }
  259. .box.role-box.stu .bottom {
  260. height: 100%; }
  261. .box.role-box.build {
  262. margin-top: 20px;
  263. height: calc(100vh - 160px); }
  264. .box.role-box.build .content-box .role-content {
  265. display: flex;
  266. flex-direction: row;
  267. justify-content: flex-start;
  268. top: 0;
  269. opacity: 1; }
  270. .box.handle-box {
  271. margin-top: 20px;
  272. display: flex;
  273. flex-direction: column;
  274. height: calc(100vh - 130px); }
  275. .box.handle-box .form-box {
  276. display: flex;
  277. flex-direction: column;
  278. position: relative;
  279. padding: 5px 10px;
  280. height: 50%; }
  281. .box.handle-box .form-box:not(:first-child) {
  282. margin-top: 10px; }
  283. .box.handle-box .form-box .role {
  284. /*width: 250px;*/
  285. display: flex;
  286. justify-content: center;
  287. align-items: center; }
  288. .box.handle-box .form-box .role .select2-container .select2-selection--single {
  289. height: 38px;
  290. border: 2px solid var(--mc);
  291. margin-bottom: 8px; }
  292. .box.handle-box .form-box .role .select2-container--default .select2-selection--single .select2-selection__arrow {
  293. top: 6px; }
  294. .box.handle-box .form-box .form-control {
  295. width: 100%;
  296. padding: 8px 10px;
  297. border: 2px solid var(--mc);
  298. border-radius: 5px;
  299. font-size: 1rem;
  300. margin: 8px 0; }
  301. .box.handle-box .form-box .form-control.txt {
  302. padding: 8px 15px;
  303. height: 100%; }
  304. .box.handle-box .form-box .btn {
  305. width: 100px;
  306. position: absolute;
  307. right: 25px;
  308. bottom: 20px; }
  309. .box.leader-box {
  310. margin-top: 20px;
  311. display: flex;
  312. flex-direction: column;
  313. height: calc(100vh - 130px); }
  314. .box.leader-box .table tr td, .box.leader-box .table tr th {
  315. text-align: center;
  316. border: none;
  317. font-size: 14px;
  318. padding: 0;
  319. height: 45px; }
  320. .box.leader-box .table tr th {
  321. background: var(--mc);
  322. color: #fff;
  323. font-size: 16px;
  324. line-height: 45px; }
  325. .box.leader-box .table tbody tr {
  326. color: #bfbfbf; }
  327. .box.leader-box .table tbody tr:nth-of-type(2n+1) {
  328. background: #fafafa; }
  329. .box.leader-box .table tbody tr:nth-of-type(2n) {
  330. background: #f3fbf9; }
  331. .box.leader-box .table tbody tr.wait {
  332. color: #262626; }
  333. .box.leader-box .table tbody tr.wait .state {
  334. color: var(--mc);
  335. font-weight: 600; }
  336. .box.leader-box .table tbody tr td.action .btn.btn-submit {
  337. cursor: pointer;
  338. width: 90px;
  339. padding: 5px;
  340. border-radius: 25px;
  341. font-size: 10px !important; }
  342. .box.leader-box .table tbody tr.empty {
  343. font-size: 16px;
  344. font-weight: 600;
  345. color: var(--mc); }
  346. @keyframes fadeIn {
  347. from {
  348. visibility: hidden;
  349. /*opacity: 1;*/ }
  350. to {
  351. visibility: visible;
  352. /*opacity: 0;*/ } }