student.scss 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  1. $main-color: #049e9a;
  2. .stu-box {
  3. --h: 128px;
  4. display: flex;
  5. flex-direction: column;
  6. .box-h {
  7. color: #fff;
  8. height: var(--h);
  9. width: 100%;
  10. background-image: linear-gradient(45deg,#005f61,#007f61);
  11. /*background-image: url('../Image/Stu/bg-2.png');
  12. background-size: 100% 100%;
  13. background-repeat: no-repeat;*/
  14. display: flex;
  15. justify-content: center;
  16. align-items: center;
  17. .title {
  18. width: 100%;
  19. h3 {
  20. text-align: center;
  21. }
  22. button {
  23. margin-top: 10px;
  24. min-width: 250px;
  25. border-radius: 25px;
  26. display: flex;
  27. justify-content: center;
  28. align-items: center;
  29. margin: 5px auto;
  30. }
  31. }
  32. }
  33. .box-b {
  34. background: #f0faf9;
  35. width: 100%;
  36. height: calc(100vh - var(--h));
  37. .card {
  38. .card-header {
  39. a {
  40. color: $main-color;
  41. &.active {
  42. color: #fff;
  43. background: $main-color;
  44. & + .iwb-checkbox {
  45. color: #fff;
  46. }
  47. }
  48. }
  49. }
  50. .card-body {
  51. height: calc(100vh - var(--h) - 40px);
  52. padding: 10px;
  53. .content-box {
  54. display: flex;
  55. flex-wrap: wrap;
  56. }
  57. .role-info {
  58. border: 1px solid $main-color;
  59. background: #e2ebd7;
  60. border-radius: 4px;
  61. --h: 50px;
  62. height: var(--h);
  63. min-width: 150px;
  64. max-width: 190px;
  65. margin: 5px;
  66. padding: 0;
  67. display: flex;
  68. cursor: none;
  69. .image {
  70. width: var(--h);
  71. height: var(--h);
  72. padding: 8px;
  73. img {
  74. width: 100%;
  75. height: 100%;
  76. border-radius: 50%;
  77. }
  78. }
  79. .name {
  80. color: #3cb371;
  81. width: calc(100% - var(--h));
  82. padding: 0 8px;
  83. white-space: normal;
  84. display: flex;
  85. justify-content: center;
  86. align-items: center;
  87. }
  88. &.self {
  89. max-width: 200px;
  90. .input {
  91. width: calc(100% - 100px);
  92. input {
  93. color: #3cb371;
  94. width: 100%;
  95. background: transparent;
  96. line-height: var(--h);
  97. padding: 0 0 0 5px;
  98. border: none;
  99. outline: none;
  100. }
  101. }
  102. .image {
  103. &.add {
  104. cursor: pointer;
  105. }
  106. }
  107. }
  108. }
  109. }
  110. .check-group {
  111. color: red;
  112. background: #e2ebd7;
  113. border: 1px solid $main-color;
  114. border-radius: 20px;
  115. text-align: center;
  116. margin: 0 auto 5px;
  117. width: 60%;
  118. line-height: 30px;
  119. transition: background-color .5s;
  120. &.hasCheck {
  121. color: #fff;
  122. background: $main-color;
  123. }
  124. }
  125. }
  126. .handle-box {
  127. display: flex;
  128. border: 1px solid $main-color;
  129. border-radius: 5px;
  130. padding: 5px;
  131. margin: 15px 10px;
  132. background: rgba(255,255,255,.4);
  133. .handle-role, .handle-content, .handle-button {
  134. padding: 5px 8px;
  135. display: flex;
  136. justify-content: center;
  137. align-items: center;
  138. .text {
  139. user-select: none;
  140. }
  141. }
  142. .handle-role {
  143. width: 200px;
  144. &.text-role {
  145. width: 150px;
  146. }
  147. .form-control {
  148. font-size: 0.875rem;
  149. }
  150. .text {
  151. text-align: right;
  152. width: 100%;
  153. font-size: 18px;
  154. font-weight: 600;
  155. word-break: break-word;
  156. }
  157. }
  158. .handle-content {
  159. width: calc(100% - 350px);
  160. padding: 5px;
  161. .form-control {
  162. border: 1px solid $main-color;
  163. border-radius: 5px;
  164. font-size: 0.875rem;
  165. }
  166. }
  167. .handle-button {
  168. padding: 10px 5px;
  169. width: 150px;
  170. .btn {
  171. min-height: 50px;
  172. border-radius: 5px;
  173. }
  174. }
  175. &.leader {
  176. margin: 5px 10px;
  177. &.has-send {
  178. .role-text, .text, .content-text {
  179. color: #666;
  180. }
  181. }
  182. .handle-content {
  183. width: calc(100% - 150px);
  184. padding: 5px 10px 5px 5px;
  185. justify-content: left;
  186. color: #3c3c3c;
  187. .role-text, .text {
  188. font-size: 18px;
  189. font-weight: 600;
  190. white-space: nowrap;
  191. }
  192. .text {
  193. padding: 0 5px;
  194. }
  195. .content-text {
  196. font-size: 16px;
  197. word-break: break-word;
  198. }
  199. }
  200. .handle-button {
  201. padding: 6px 5px;
  202. width: 150px;
  203. .btn {
  204. min-height: 30px;
  205. border-radius: 5px;
  206. }
  207. }
  208. }
  209. .select2-container .select2-selection--single {
  210. height: 38px;
  211. }
  212. .select2-container--default .select2-selection--single .select2-selection__arrow {
  213. top: 6px;
  214. }
  215. }
  216. }
  217. }