addCourseware.module.less 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476
  1. // .btnGroup {
  2. // display: flex;
  3. // align-items: center;
  4. // justify-content: space-between;
  5. // margin-left: 22px !important;
  6. // margin-right: 22px !important;
  7. // // height: 40px;
  8. // padding-bottom: 25px;
  9. // border-bottom: 1px solid #F0F0F0;
  10. // margin-bottom: 10px;
  11. // .btnClassList {
  12. // :global {
  13. // .n-base-selection {
  14. // width: 200px !important;
  15. // }
  16. // .n-base-selection-label {
  17. // &::before {
  18. // margin-left: 12px;
  19. // content: ' ';
  20. // width: max(20px, 14Px);
  21. // height: max(20px, 14Px);
  22. // flex-shrink: 0;
  23. // background: url('../../../images/icon-class-name.png') no-repeat center;
  24. // background-size: contain;
  25. // }
  26. // }
  27. // .n-base-selection-input {
  28. // padding-left: 8px;
  29. // }
  30. // .n-base-selection.n-base-selection--disabled {
  31. // cursor: pointer;
  32. // }
  33. // .n-base-selection.n-base-selection--disabled .n-base-selection-label {
  34. // background-color: #fff;
  35. // cursor: pointer;
  36. // }
  37. // .n-base-selection.n-base-selection--disabled .n-base-selection-label .n-base-selection-input {
  38. // color: var(--n-text-color);
  39. // cursor: pointer;
  40. // }
  41. // .n-base-selection .n-base-selection-overlay {
  42. // left: 24px;
  43. // }
  44. // }
  45. // }
  46. // .btnSubjectList {
  47. // :global {
  48. // .n-base-selection-tag-wrapper .n-tag {
  49. // font-size: max(14px, 12Px);
  50. // }
  51. // }
  52. // }
  53. // :global {
  54. // .n-input,
  55. // .n-base-selection {
  56. // --n-height: max(40px, 36Px) !important;
  57. // width: 200px !important;
  58. // font-size: 15px;
  59. // border-radius: 8px !important;
  60. // }
  61. // .n-base-selection-input__content {
  62. // font-size: max(15px, 13Px);
  63. // }
  64. // .n-button {
  65. // border-radius: 8px;
  66. // height: 38px;
  67. // font-size: max(18px, 13Px);
  68. // font-weight: 600 !important;
  69. // padding: 0 27px;
  70. // }
  71. // .n-button--default-type {
  72. // background: #E8F4FF;
  73. // color: #0378EC;
  74. // &:not(.n-button--disabled):hover {
  75. // background: #E8F4FF;
  76. // }
  77. // .n-button__border {
  78. // border: 1px solid #198CFE;
  79. // }
  80. // }
  81. // .n-button--error-type {
  82. // background: #FDEBED !important;
  83. // color: #EC3A4E !important;
  84. // &:not(.n-button--disabled):hover,
  85. // &:not(.n-button--disabled):active {
  86. // background: #FDEBED;
  87. // color: #EC3A4E;
  88. // }
  89. // .n-button__border {
  90. // border: 1px solid #EC3A4E;
  91. // }
  92. // }
  93. // }
  94. // .btnClassStart {
  95. // background: #F44541 !important;
  96. // color: #fff !important;
  97. // :global {
  98. // .n-button__border {
  99. // border: 1px solid #F44541;
  100. // }
  101. // }
  102. // }
  103. // .btnItem {
  104. // display: flex;
  105. // align-items: center;
  106. // height: max(40px, 36Px) !important;
  107. // .btnTitle {
  108. // flex-shrink: 0;
  109. // font-size: max(18px, 13Px);
  110. // font-weight: 600;
  111. // span {
  112. // color: #EA4132;
  113. // }
  114. // }
  115. // // &:last-child {
  116. // // margin-left: 12px;
  117. // // }
  118. // }
  119. // }
  120. .tipsContainer {
  121. display: flex;
  122. align-items: center;
  123. justify-content: space-between;
  124. flex: 1 auto;
  125. margin-right: 30px;
  126. height: 40px;
  127. padding: 0 16px;
  128. background: #EDF7FF;
  129. border-radius: 9px;
  130. max-width: 600px;
  131. .tipsLeft {
  132. display: flex;
  133. align-items: center;
  134. font-size: max(16px, 12Px);
  135. color: rgba(0, 0, 0, 0.88);
  136. .tips {
  137. line-height: 38px;
  138. }
  139. }
  140. .iconTips {
  141. margin-right: 9px;
  142. width: 18px;
  143. height: 18px;
  144. }
  145. .btnNoTips {
  146. font-size: max(16px, 12Px);
  147. font-weight: 500;
  148. color: #1677FF;
  149. cursor: pointer;
  150. }
  151. }
  152. .btnGroupClass {
  153. padding-top: 10px;
  154. }
  155. .listContainer {
  156. margin: 20px 0 20px;
  157. // // 52 + 28 + 38 + 38 多余10像素空间
  158. // max-height: calc(var(--window-page-lesson-height) - 196px);
  159. // .listSection {
  160. // min-height: calc(var(--window-page-lesson-height) - 196px);
  161. // }
  162. // &.listContainerDrag {
  163. // max-height: calc(var(--window-page-lesson-height) - 148px);
  164. // .listSection {
  165. // min-height: calc(var(--window-page-lesson-height) - 148px);
  166. // }
  167. // }
  168. max-height: calc(var(--window-page-lesson-height) - 40px);
  169. .listSection {
  170. min-height: calc(var(--window-page-lesson-height) - 40px);
  171. }
  172. .emptySection {
  173. display: flex;
  174. align-items: center;
  175. }
  176. }
  177. .listItems {
  178. position: relative;
  179. background: #F8F9FC;
  180. border-radius: 13px;
  181. margin: 0 20px;
  182. &+.listItems {
  183. margin-top: 13px;
  184. }
  185. }
  186. .knowledgePoint {
  187. .btnItem {
  188. padding: 13px 13px 0;
  189. display: flex;
  190. align-items: center;
  191. // height: max(40px, 36Px) !important;
  192. .btnTitle {
  193. flex-shrink: 0;
  194. font-size: max(18px, 13Px);
  195. font-weight: 600;
  196. span {
  197. color: #EA4132;
  198. }
  199. }
  200. }
  201. :global {
  202. .n-input,
  203. .n-base-selection {
  204. --n-height: max(40px, 36Px) !important;
  205. width: 250px !important;
  206. font-size: 15px;
  207. border-radius: 8px !important;
  208. }
  209. }
  210. }
  211. .operationGroup {
  212. position: absolute;
  213. right: 13px;
  214. top: 18px;
  215. i {
  216. display: inline-block;
  217. width: max(27px, 24Px);
  218. height: max(27px, 24Px);
  219. cursor: pointer;
  220. }
  221. .iconCUp {
  222. background: url('../../../images/icon-c-up.png') no-repeat center;
  223. background-size: contain;
  224. &:hover {
  225. background: url('../../../images/icon-c-up-active.png') no-repeat center;
  226. background-size: contain;
  227. }
  228. }
  229. .iconCDown {
  230. background: url('../../../images/icon-c-down.png') no-repeat center;
  231. background-size: contain;
  232. &:hover {
  233. background: url('../../../images/icon-c-down-active.png') no-repeat center;
  234. background-size: contain;
  235. }
  236. }
  237. .iconCRemove {
  238. background: url('../../../images/icon-c-delete.png') no-repeat center;
  239. background-size: contain;
  240. &:hover {
  241. background: url('../../../images/icon-c-delete-active.png') no-repeat center;
  242. background-size: contain;
  243. }
  244. }
  245. }
  246. .addKnowledgePoint {
  247. margin: 20px;
  248. width: calc(100% - 40px) !important;
  249. --n-border-radius: 7px !important;
  250. --n-height: max(40px, 36Px) !important;
  251. font-weight: 600 !important;
  252. --n-font-size: max(14px, 12Px) !important;
  253. color: #0378EC;
  254. background-color: #E8F4FF !important;
  255. .iconCAdd {
  256. width: max(13px, 11Px);
  257. height: max(14px, 12Px);
  258. margin-right: 8px;
  259. background: url('../../../images/icon-c-add.png') no-repeat center;
  260. background-size: contain;
  261. }
  262. }
  263. .list {
  264. display: flex;
  265. flex-flow: row wrap;
  266. justify-content: flex-start;
  267. padding: 17px 7px 17px;
  268. display: flex;
  269. flex-flow: row wrap;
  270. justify-content: flex-start;
  271. gap: 20px 0;
  272. .itemWrap {
  273. width: calc(100% / 4);
  274. padding-bottom: calc(100% / 4 * 0.73333);
  275. position: relative;
  276. .itemWrapBox {
  277. position: absolute;
  278. left: 0;
  279. top: 0;
  280. width: 100%;
  281. height: 100%;
  282. padding: 0 6px;
  283. &:hover {
  284. .itemOperation {
  285. transition: all .2s ease;
  286. opacity: 1;
  287. visibility: visible;
  288. }
  289. }
  290. }
  291. .itemOperation {
  292. position: absolute;
  293. top: 0;
  294. right: 10px;
  295. z-index: 98;
  296. cursor: move;
  297. opacity: 0;
  298. visibility: hidden;
  299. transition: all .2s ease;
  300. }
  301. .iconDelete {
  302. width: 27px;
  303. height: 27px;
  304. margin-top: 8px;
  305. margin-right: 8px;
  306. cursor: pointer;
  307. }
  308. }
  309. :global {
  310. .card-section-container {
  311. width: 100%;
  312. height: 100%;
  313. }
  314. }
  315. }
  316. .attendClassModal {
  317. width: 800px;
  318. border-radius: 16px;
  319. overflow: hidden;
  320. }
  321. .addCourseware {
  322. width: 532px;
  323. :global {
  324. .n-card-header {
  325. font-size: max(22px, 16Px);
  326. }
  327. }
  328. }
  329. .removeVisiable1 {
  330. width: 462px;
  331. :global {
  332. .n-card-header {
  333. font-size: max(22px, 16Px);
  334. }
  335. }
  336. .studentRemove {
  337. padding: 20px 40px 0;
  338. p {
  339. font-size: max(18px, 14Px);
  340. color: #777777;
  341. line-height: 30px;
  342. span {
  343. color: #EA4132;
  344. }
  345. }
  346. }
  347. .btnGroupModal {
  348. padding: 32px 0;
  349. :global {
  350. .n-button {
  351. height: 47px;
  352. min-width: 156px;
  353. }
  354. }
  355. }
  356. }
  357. .addMusicItem {
  358. position: relative;
  359. box-sizing: border-box;
  360. width: 100%;
  361. height: 100%;
  362. border-radius: 14px;
  363. background: #F9FAFD;
  364. display: inline-flex;
  365. transition: all .3s ease-in-out;
  366. border: 1Px solid rgba(209, 216, 235, 1) !important;
  367. cursor: pointer;
  368. display: flex;
  369. align-items: center;
  370. justify-content: center;
  371. flex-direction: column;
  372. background-color: #fff;
  373. img {
  374. width: 30Px;
  375. height: 30Px;
  376. }
  377. .addMusicName {
  378. padding-top: 16px;
  379. font-size: max(16px, 13Px);
  380. color: #131415;
  381. }
  382. // 鼠标经过时样式
  383. &:hover {
  384. transform: scale(1.01);
  385. transition: all .2s ease-in-out;
  386. border: 1px solid rgba(0, 122, 254, 1) !important;
  387. }
  388. }
  389. .addOtherSource {
  390. width: 726px;
  391. }