stu-zhb.scss 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. @import "./_stu-body";
  2. @import "./_stu-box";
  3. @import "./_stu-form";
  4. .box {
  5. .box-body {
  6. .body {
  7. padding: 10px;
  8. background: #d8e7f9;
  9. background: linear-gradient(174.54deg, rgba(204, 224, 248, 0.76) 0.23%, rgba(242, 249, 255, 0.76) 120.71%);
  10. display: flex;
  11. flex-direction: column;
  12. .stu {
  13. display: none !important;
  14. }
  15. .check-box-icon {
  16. background: url("/Content/Image/ExerciseV2/zhb/zh_icon-checkbox.svg") no-repeat;
  17. background-size: 100% 100%;
  18. }
  19. .check {
  20. .check-box-icon {
  21. background-image: url("/Content/Image/ExerciseV2/zhb/zh_icon-checkbox-selected.svg");
  22. }
  23. }
  24. .select {
  25. justify-content: space-between;
  26. .select-box {
  27. display: flex;
  28. .select-item {
  29. height: 100px;
  30. margin-left: 15px;
  31. display: flex;
  32. flex-direction: column;
  33. align-items: center;
  34. position: relative;
  35. .check-box-icon {
  36. position: absolute;
  37. top: 5px;
  38. left: -8px;
  39. width: 15px;
  40. height: 15px;
  41. }
  42. .icon {
  43. width: 80px;
  44. height: 80px;
  45. display: flex;
  46. justify-content: center;
  47. align-items: center;
  48. background: url("/Content/Image/ExerciseV2/zhb/zh_icon_bg.svg") no-repeat;
  49. background-size: 100% 100%;
  50. img {
  51. width: 35px;
  52. height: 35px;
  53. }
  54. }
  55. .text {
  56. text-align: center;
  57. color: #094B88;
  58. }
  59. &.active {
  60. .icon {
  61. background-image: url("/Content/Image/ExerciseV2/zhb/zh_icon_bg-select.svg")
  62. }
  63. .text {
  64. font-weight: 600;
  65. }
  66. }
  67. }
  68. }
  69. .add-role {
  70. position: relative;
  71. width: 100px;
  72. height: 100px;
  73. display: flex;
  74. flex-direction: column;
  75. align-items: center;
  76. justify-content: center;
  77. background: #4585cc;
  78. border-radius: 8px;
  79. .icon {
  80. width: 80px;
  81. height: 50px;
  82. display: flex;
  83. justify-content: center;
  84. align-items: center;
  85. img {
  86. width: 35px;
  87. height: 35px;
  88. }
  89. }
  90. .text {
  91. margin-top: 5px;
  92. text-align: center;
  93. color: #fff;
  94. }
  95. &:before {
  96. content: "";
  97. position: absolute;
  98. left: -20px;
  99. height: 80%;
  100. border-left: 1px solid #c0dffb;
  101. }
  102. }
  103. }
  104. .role {
  105. .content-box {
  106. width: 100%;
  107. height: calc(100vh - 380px);
  108. }
  109. .role-content {
  110. display: none;
  111. &.active {
  112. display: flex;
  113. flex-direction: column;
  114. }
  115. }
  116. .role-select {
  117. height: 35px;
  118. margin-bottom: 10px;
  119. color: #094B88;
  120. padding-left: 20px;
  121. display: flex;
  122. align-items: center;
  123. .check-box-icon {
  124. margin-right: 10px;
  125. width: 20px;
  126. height: 20px;
  127. }
  128. span {
  129. color: #5f8bb6;
  130. font-weight: 400;
  131. padding-left: 3px;
  132. }
  133. &.check {
  134. font-weight: 600;
  135. }
  136. }
  137. .role-box {
  138. display: flex;
  139. flex-wrap: wrap;
  140. .role-item {
  141. position: relative;
  142. width: 100px;
  143. height: 100px;
  144. margin-left: 15px;
  145. margin-bottom: 15px;
  146. display: flex;
  147. flex-direction: column;
  148. align-items: center;
  149. justify-content: center;
  150. background: #FFFFFF;
  151. border: 1px solid #b2d9f5;
  152. border-radius: 8px;
  153. .icon {
  154. width: 100%;
  155. height: 40px;
  156. display: flex;
  157. justify-content: center;
  158. align-items: center;
  159. img {
  160. width: 35px;
  161. height: 35px;
  162. }
  163. }
  164. .text {
  165. width: 100%;
  166. margin-top: 10px;
  167. padding: 0 10px;
  168. line-height: 1.3;
  169. text-align: center;
  170. color: #094B88;
  171. font-size: 14px;
  172. }
  173. .close {
  174. position: absolute;
  175. top: 5px;
  176. right: 8px;
  177. font-size: 1.5rem;
  178. font-weight: 700;
  179. line-height: 1;
  180. color: #094B88;
  181. text-shadow: 0 1px 0 #fff;
  182. opacity: 0.8;
  183. }
  184. &.check {
  185. .text {
  186. font-weight: 600;
  187. }
  188. }
  189. &.add {
  190. flex-direction: column;
  191. background: #FFFFFF;
  192. .text {
  193. font-size: 12px;
  194. }
  195. }
  196. }
  197. }
  198. }
  199. .add-box {
  200. position: absolute;
  201. display: none;
  202. left: calc(50% - 150px);
  203. top: 100px;
  204. padding: 25px 20px 20px;
  205. width: 300px;
  206. flex-direction: column;
  207. input {
  208. padding: 5px 10px;
  209. font-size: 14px;
  210. border: 1px solid #DAEDFF;
  211. border-radius: 5px;
  212. outline: none;
  213. &:active, &:focus {
  214. border: 1px solid #DAEDFF;
  215. outline: none;
  216. }
  217. }
  218. .btn-box {
  219. display: flex;
  220. justify-content: center;
  221. margin-top: 15px
  222. }
  223. .btn {
  224. margin: 0 10px;
  225. min-width: 80px;
  226. &.cancel {
  227. background: #DAEDFF;
  228. color: #03AEBC;
  229. border: 1px solid;
  230. }
  231. }
  232. }
  233. }
  234. .btn {
  235. min-width: 150px;
  236. }
  237. }
  238. }