index.module.less 6.2 KB

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