index.module.less 6.3 KB

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