index.module.less 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436
  1. .coursewarePresetsContainer {
  2. // padding-bottom: 20px;
  3. height: 100%;
  4. display: flex;
  5. // position: relative;
  6. // overflow: hidden;
  7. &.rightLineShow {
  8. .presetsRight {
  9. transition: all .1s ease;
  10. opacity: 1;
  11. position: relative;
  12. transform: none;
  13. }
  14. // .list {
  15. // .itemWrap {
  16. // // width: calc(100% / 3);
  17. // width: 336px;
  18. // }
  19. // }
  20. }
  21. :global {
  22. .n-base-selection {
  23. --n-height: max(36px, 32Px) !important;
  24. width: 220px;
  25. font-size: max(13px, 12Px);
  26. border-radius: 7px !important;
  27. }
  28. .n-base-selection-input__content {
  29. font-size: max(15px, 13Px);
  30. }
  31. .n-tabs-tab {
  32. font-weight: 500 !important;
  33. }
  34. .n-tabs-tab-pad {
  35. width: 33px !important;
  36. }
  37. .n-tabs-tab.n-tabs-tab--disabled {
  38. color: #8B8D98 !important;
  39. }
  40. .n-tabs-nav {
  41. padding-top: 20px;
  42. padding-bottom: 10px;
  43. padding-left: 30px;
  44. padding-right: 30px;
  45. }
  46. }
  47. .presetsLeft {
  48. flex: 1;
  49. transition: all .1s ease;
  50. }
  51. .presetsRight {
  52. position: relative;
  53. background: #FFFFFF;
  54. box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.1);
  55. border-radius: 0px 17px 17px 0px;
  56. flex: 0 0 340px;
  57. transition: all .1s ease;
  58. position: absolute;
  59. right: 0;
  60. top: 0;
  61. bottom: 0;
  62. transform: translateX(100%);
  63. .presetsArrar {
  64. position: absolute;
  65. left: -23px;
  66. top: 50%;
  67. margin-top: -30px;
  68. width: 23px;
  69. height: 50px;
  70. line-height: 50px;
  71. cursor: pointer;
  72. background-color: #F5F6FA;
  73. border-radius: 10px 0 0 10px;
  74. color: #ABAEB0;
  75. display: flex;
  76. align-items: center;
  77. justify-content: center;
  78. svg {
  79. transform: rotate(180deg);
  80. }
  81. &:hover {
  82. color: #198CFE;
  83. }
  84. &.presetsArrarActive {
  85. svg {
  86. transform: rotate(0deg);
  87. }
  88. }
  89. }
  90. }
  91. }
  92. .openLoading {
  93. min-height: 200px;
  94. }
  95. .coursewarePresets {
  96. max-height: calc(var(--window-page-lesson-height) - 100px);
  97. min-height: calc(var(--window-page-lesson-height) - 100px);
  98. // padding: 0 20px 0px;
  99. }
  100. .btnSubjectList {
  101. :global {
  102. .n-base-selection-input {
  103. padding-left: 8px;
  104. }
  105. }
  106. }
  107. .addBtnIcon {
  108. width: 18px !important;
  109. height: 18px !important;
  110. margin-right: 8px;
  111. }
  112. .addBtn {
  113. // height: max(36px, 32Px) !important;
  114. background: linear-gradient(312deg, #1B7AF8 0%, #3CBBFF 100%) !important;
  115. border-radius: 7Px !important;
  116. padding: 0 16Px !important;
  117. border-radius: 8px;
  118. height: max(38px, 32Px);
  119. font-size: max(18px, 13Px) !important;
  120. font-weight: 600 !important;
  121. position: relative;
  122. z-index: 9;
  123. &::after {
  124. content: '';
  125. position: absolute;
  126. left: 10%;
  127. bottom: -1px;
  128. display: inline-block;
  129. width: 80%;
  130. height: 8px;
  131. background: linear-gradient(136deg, #31ABFF 0%, #1A7BF8 100%);
  132. opacity: 0.6;
  133. filter: blur(7px);
  134. }
  135. &:hover {
  136. // &::after {
  137. background: linear-gradient(135deg, #62C7FF 0%, #4995FA 100%) !important;
  138. // }
  139. }
  140. }
  141. .title {
  142. display: flex;
  143. align-items: center;
  144. justify-content: space-between;
  145. font-weight: 600;
  146. font-size: max(17px, 14Px);
  147. color: #000000;
  148. line-height: 23px;
  149. height: 23px;
  150. text-align: left;
  151. padding-bottom: 20px;
  152. box-sizing: content-box;
  153. .titleLeft {
  154. display: flex;
  155. align-items: center;
  156. }
  157. .icon {
  158. display: inline-block;
  159. width: 20px;
  160. height: 20px;
  161. margin-right: 3px;
  162. }
  163. .iconWork {
  164. background: url('../../../images/icon-knowlage.png') no-repeat center center;
  165. background-size: contain;
  166. }
  167. .iconCourseware {
  168. background: url('../../../images/icon-courseware.png') no-repeat center center;
  169. background-size: contain;
  170. }
  171. &.line {
  172. margin-top: 25px;
  173. border-top: 1px solid #F2F2F2;
  174. padding-top: 35px;
  175. .more {
  176. display: flex;
  177. align-items: center;
  178. cursor: pointer;
  179. padding-left: 10px;
  180. font-weight: 400;
  181. font-size: max(13px, 12Px);
  182. color: #999999;
  183. &:hover {
  184. color: #1677FF;
  185. .iconP {
  186. background: url('../../../images/icon-arrow-p-active.png') no-repeat center;
  187. background-size: contain;
  188. }
  189. }
  190. }
  191. .iconP {
  192. width: 8px;
  193. height: 11px;
  194. display: inline-block;
  195. background: url('../../../images/icon-arrow-p.png') no-repeat center;
  196. background-size: contain;
  197. margin-left: 4px;
  198. }
  199. .swipeControll {
  200. height: 25px;
  201. .leftIcon {
  202. transform: rotate(180deg);
  203. }
  204. img {
  205. cursor: pointer;
  206. width: 25px;
  207. height: 25px;
  208. }
  209. .disabled {
  210. opacity: 0.4;
  211. cursor: not-allowed;
  212. }
  213. }
  214. }
  215. }
  216. .listLoading {}
  217. .list {
  218. display: flex;
  219. flex-flow: row wrap;
  220. justify-content: flex-start;
  221. padding: 10px 20px 12px;
  222. // padding: 0 20px 0px;
  223. gap: 10px 0;
  224. margin: 0 -10px 0;
  225. // height: 313px;
  226. &.listEmpty {
  227. min-height: calc(var(--window-page-lesson-height) - 100px);
  228. align-items: center;
  229. }
  230. &.listSame {
  231. margin-top: 0;
  232. padding-top: 0;
  233. }
  234. .empty1 {
  235. // padding: 10px 0;
  236. }
  237. .itemWrap {
  238. // width: calc(100% / 4);
  239. width: 336px;
  240. // padding-bottom: calc(100% / 3 * 0.73333);
  241. // position: relative;
  242. .itemWrapBox {
  243. // position: absolute;
  244. // left: 0;
  245. // top: 0;
  246. // width: 100%;
  247. // height: 100%;
  248. padding: 0 10px;
  249. }
  250. }
  251. }
  252. .itemWrapBox {
  253. padding: 0 10px;
  254. }
  255. .attendClassModal1 {
  256. width: 1360px;
  257. border-radius: 16px;
  258. overflow: hidden;
  259. }
  260. .removeVisiable1 {
  261. width: 432px;
  262. :global {
  263. .n-card-header {
  264. font-size: max(22px, 16Px);
  265. }
  266. }
  267. .studentRemove {
  268. padding: 20px 40px 0;
  269. p {
  270. font-size: max(18px, 14Px);
  271. color: #777777;
  272. line-height: 30px;
  273. span {
  274. color: #EA4132;
  275. }
  276. }
  277. }
  278. .btnGroupModal {
  279. padding: 32px 0;
  280. :global {
  281. .n-button {
  282. height: 47px;
  283. min-width: 156px;
  284. }
  285. }
  286. }
  287. }
  288. .attendClassModal {
  289. width: 800px;
  290. border-radius: 16px;
  291. overflow: hidden;
  292. }
  293. .workVisiable {
  294. width: 1258px;
  295. }
  296. .workContainer {
  297. display: flex;
  298. align-items: center;
  299. .workTrain {
  300. flex: 1;
  301. height: 75vh;
  302. &>div {
  303. padding-top: 15px;
  304. }
  305. }
  306. :global {
  307. .train-container {
  308. // max-height: calc(var(--window-page-lesson-height) - 135px) !important;
  309. max-height: calc(var(--window-page-lesson-height) - 100px) !important;
  310. .train-listSection {
  311. min-height: calc(var(--window-page-lesson-height) - 100px) !important;
  312. }
  313. }
  314. }
  315. .resourceMain {
  316. flex: 0 0 360px;
  317. height: 75vh;
  318. box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
  319. }
  320. }
  321. .popSelect {
  322. font-size: 16px;
  323. width: 200px;
  324. box-shadow: 0px 2 16px 0px rgba(0, 0, 0, 0.08);
  325. border-radius: 11px;
  326. --n-option-height: 34px;
  327. :global {
  328. .n-base-select-option__content {
  329. width: 80% !important;
  330. }
  331. }
  332. }
  333. .textBtn {
  334. // background: #fff;
  335. // border-radius: 8Px;
  336. // padding: 4Px 0;
  337. // font-size: max(16px, 13Px);
  338. // color: rgba(0, 0, 0, 0.6);
  339. position: relative;
  340. cursor: pointer;
  341. display: flex;
  342. align-items: center;
  343. font-weight: 500;
  344. .iconArrow {
  345. display: inline-block;
  346. margin-left: 8px;
  347. width: 8px;
  348. height: 5px;
  349. background: url('@/views/prepare-lessons/images/icon-arrow-1.png') no-repeat center center / contain;
  350. // transform: rotate(180deg);
  351. }
  352. &:hover,
  353. &.textBtnActive {
  354. // background: #D2ECFF;
  355. font-weight: 600;
  356. color: #131415;
  357. }
  358. &:hover {
  359. color: #198CFE;
  360. .iconArrow {
  361. // transform: rotate(0deg);
  362. background: url('@/views/prepare-lessons/images/icon-arrow-2.png') no-repeat center center / contain;
  363. }
  364. }
  365. }