index.module.less 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  1. .attendClassSearch {
  2. width: 100%;
  3. // display: flex;
  4. // align-items: center;
  5. // gap: 0 24px;
  6. margin-bottom: 6px;
  7. padding: 30px 40px 0;
  8. :global {
  9. .n-base-selection,
  10. .n-input {
  11. height: 52px;
  12. min-height: 52px;
  13. --n-height: 52px !important;
  14. font-size: 18px;
  15. border-radius: 8px !important;
  16. }
  17. .n-cascader {
  18. min-width: 240px;
  19. }
  20. .n-form {
  21. position: relative;
  22. }
  23. .n-form-item {
  24. .n-form-item-label {
  25. font-size: max(17px, 13px);
  26. font-weight: 600;
  27. color: #131415;
  28. line-height: 24px;
  29. }
  30. .n-button {
  31. height: 32px;
  32. font-size: max(17px, 12px);
  33. border-radius: 8px;
  34. color: rgba(0, 0, 0, 0.6);
  35. }
  36. .n-button--primary-type {
  37. color: #131415;
  38. background-color: #d2ecff !important;
  39. }
  40. }
  41. .n-form-item-feedback-wrapper {
  42. min-height: 14px;
  43. }
  44. }
  45. .iconSearch {
  46. width: 16px;
  47. height: 17px;
  48. }
  49. .spaceSection {
  50. width: 98%;
  51. transition: 1s all ease-in;
  52. &>div {
  53. height: 34Px !important;
  54. display: flex !important;
  55. align-items: center;
  56. line-height: var(--n-blank-height);
  57. }
  58. }
  59. }
  60. .popSelect {
  61. font-size: 16px;
  62. width: 200px;
  63. box-shadow: 0px 2px 16px 0px rgba(0, 0, 0, 0.08);
  64. border-radius: 11px;
  65. --n-option-height: 34px;
  66. :global {
  67. .n-base-select-option__content {
  68. width: 80% !important;
  69. }
  70. }
  71. }
  72. .classList {
  73. min-height: 70vh;
  74. max-height: 70vh;
  75. .content {
  76. // min-height: 60vh;
  77. padding: 22px 40px;
  78. }
  79. .teachingSpace {
  80. gap: 50px 50px !important;
  81. }
  82. }
  83. .item {
  84. position: relative;
  85. width: 214px;
  86. cursor: pointer;
  87. transition: all 0.3s;
  88. .cover {
  89. position: relative;
  90. overflow: hidden;
  91. &::before {
  92. content: '';
  93. position: absolute;
  94. top: 107px;
  95. left: 0;
  96. width: 214px;
  97. height: 214px;
  98. background: #ddf2ff;
  99. border-radius: 50%;
  100. }
  101. }
  102. .iconCustom {
  103. position: absolute;
  104. top: -8px;
  105. left: -7px;
  106. width: 80px;
  107. height: 81px;
  108. background: url('../images/icon-custom.svg') no-repeat center;
  109. background-size: contain;
  110. z-index: 9;
  111. }
  112. .editContainer {
  113. // opacity: 0;
  114. position: absolute;
  115. top: 0;
  116. left: 0;
  117. width: 100%;
  118. height: 100%;
  119. // background-color: rgba(0, 0, 0, 0.5);
  120. z-index: 8;
  121. display: flex;
  122. align-items: flex-end;
  123. justify-content: flex-end;
  124. .editBtnGroup {
  125. padding-bottom: 7px;
  126. line-height: 0;
  127. }
  128. .imgBtn {
  129. width: 32px;
  130. height: 32px;
  131. cursor: pointer;
  132. opacity: 1;
  133. margin-right: 10px;
  134. }
  135. // .delBtn,
  136. // .editBtn {
  137. // height: 30px;
  138. // font-size: 16px;
  139. // font-weight: 600;
  140. // border: none;
  141. // border-radius: 4px;
  142. // }
  143. // .delBtn {
  144. // color: #fff;
  145. // background: #EA4132;
  146. // border: 1px solid #EA4132;
  147. // margin-right: 9px;
  148. // }
  149. // .editBtn {
  150. // color: #131415;
  151. // }
  152. }
  153. &:hover {
  154. transform: scale(1.05);
  155. // .editContainer {
  156. // display: flex;
  157. // opacity: 1;
  158. // }
  159. }
  160. .itemImg {
  161. position: relative;
  162. width: 158px;
  163. height: 223px;
  164. margin: auto;
  165. background-color: #edeff2;
  166. background-image: url('../images/icon_default.svg');
  167. background-repeat: no-repeat;
  168. background-position: center center;
  169. margin-top: 10px;
  170. &::before {
  171. content: '';
  172. position: absolute;
  173. top: 4px;
  174. right: -4px;
  175. width: 4px;
  176. height: calc(100% - 8px);
  177. background-color: #c5c5c5;
  178. z-index: 1;
  179. }
  180. &::after {
  181. content: '';
  182. position: absolute;
  183. top: 2px;
  184. right: -2px;
  185. width: 4px;
  186. height: calc(100% - 4px);
  187. background-color: #e7e7e7;
  188. z-index: 2;
  189. }
  190. .itemBg {
  191. position: absolute;
  192. top: 0;
  193. left: 0;
  194. width: 100%;
  195. height: 100%;
  196. z-index: 4;
  197. background-repeat: no-repeat;
  198. background-image: linear-gradient(
  199. to right,
  200. rgba(0, 0, 0, 0.2) 0,
  201. rgba(255, 255, 255, 0.08) 0%,
  202. transparent 0.5%
  203. ),
  204. linear-gradient(
  205. to right,
  206. rgba(0, 0, 0, 0.1) 0.3%,
  207. rgba(255, 255, 255, 0.09) 1.1%,
  208. transparent 1.3%
  209. );
  210. background-size: 50% 100%, 50% 100%;
  211. background-position: 0% top, 9% top;
  212. }
  213. :global {
  214. .n-image {
  215. position: relative;
  216. width: 100%;
  217. height: 100%;
  218. z-index: 3;
  219. }
  220. }
  221. img {
  222. transition: opacity 0.3s;
  223. opacity: 0;
  224. }
  225. img[data-loaded='true'] {
  226. opacity: 1;
  227. }
  228. }
  229. .itemName {
  230. margin-top: 16px;
  231. font-size: max(16px, 13Px);
  232. font-weight: 600;
  233. color: #131415;
  234. text-align: center;
  235. }
  236. }
  237. .teachingModal {
  238. width: 1100px;
  239. }
  240. .removeVisiable {
  241. width: 432px;
  242. :global {
  243. .n-card-header {
  244. font-size: max(22px, 16px);
  245. }
  246. }
  247. .studentRemove {
  248. padding: 20px 40px 0;
  249. p {
  250. font-size: max(18px, 14px);
  251. color: #777777;
  252. line-height: 30px;
  253. text-align: center;
  254. span {
  255. color: #ea4132;
  256. }
  257. }
  258. }
  259. .btnGroup {
  260. padding: 32px 0;
  261. :global {
  262. .n-button {
  263. height: 47px;
  264. min-width: 156px;
  265. }
  266. }
  267. }
  268. }
  269. .textBtn {
  270. background: #fff;
  271. border-radius: 8px;
  272. padding: 4px 20px;
  273. font-size: max(17px, 13Px);
  274. color: rgba(0, 0, 0, 0.6);
  275. cursor: pointer;
  276. display: flex;
  277. align-items: center;
  278. font-weight: 500;
  279. line-height: max(24px, 20Px);
  280. .iconArrow {
  281. display: inline-block;
  282. margin-left: 8px;
  283. width: 8px;
  284. height: 5px;
  285. background: url('../../../../content-information/images/icon-arrow2.png')
  286. no-repeat center center / contain;
  287. transform: rotate(180deg);
  288. }
  289. &:hover,
  290. &.textBtnActive {
  291. background: #d2ecff;
  292. font-weight: 500;
  293. color: #131415;
  294. }
  295. &:hover {
  296. .iconArrow {
  297. transform: rotate(0deg);
  298. }
  299. }
  300. }