index.module.less 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. .coursewareSection {
  2. display: flex;
  3. height: 100%;
  4. .coursewareHeader {
  5. flex: 0 0 360px;
  6. background-color: #fff;
  7. border-radius: 20px;
  8. padding-bottom: 40px;
  9. }
  10. .lesson-main {
  11. flex: 1;
  12. margin-left: 20px
  13. }
  14. :global {
  15. .listContainerWrap {
  16. max-height: calc(var(--window-page-lesson-height) - 40px - 20px);
  17. .listSectionWrap {
  18. min-height: calc(var(--window-page-lesson-height) - 40px - 20px);
  19. }
  20. }
  21. }
  22. }
  23. :global {
  24. .listContainerResource {
  25. max-height: calc(var(--window-page-lesson-height) - 244px - 40px) !important;
  26. // overflow-x: auto;
  27. &.listNoMusicResource {
  28. max-height: calc(var(--window-page-lesson-height) - 184px - 40px) !important;
  29. .listSectionResource {
  30. min-height: calc(var(--window-page-lesson-height) - 184px - 40px) !important;
  31. }
  32. }
  33. .listSectionResource {
  34. min-height: calc(var(--window-page-lesson-height) - 204px - 40px) !important;
  35. }
  36. }
  37. }
  38. .lesson-main {
  39. height: 100%;
  40. background-color: #fff;
  41. border-radius: 20px;
  42. :global {
  43. .n-tabs-tab-pad {
  44. width: 64px !important;
  45. }
  46. .n-tabs-nav {
  47. padding: 12px 20px 20px;
  48. }
  49. .n-tabs-tab {
  50. color: #8B8D98;
  51. font-size: max(20px, 14Px);
  52. padding-top: 12px;
  53. padding-bottom: 8px;
  54. line-height: 28px;
  55. &.n-tabs-tab--active {
  56. font-weight: 600 !important;
  57. color: #131415 !important;
  58. }
  59. }
  60. .n-tabs-tab__label {
  61. z-index: 10;
  62. }
  63. .n-tabs-bar {
  64. height: 10px;
  65. background: linear-gradient(90deg, #77BBFF 0%, rgba(163, 231, 255, 0.22) 100%);
  66. z-index: 0;
  67. bottom: 8px;
  68. }
  69. .n-tab-pane {
  70. padding-top: 4px !important;
  71. }
  72. }
  73. }
  74. .coursewareFooter {
  75. position: absolute;
  76. bottom: 0;
  77. left: 100px;
  78. right: 0;
  79. z-index: 100;
  80. background: #FFFFFF;
  81. box-shadow: 0 2px 10px 0px rgba(0, 0, 0, 0.12);
  82. height: 68px;
  83. display: flex;
  84. align-items: center;
  85. justify-content: center;
  86. :global {
  87. .n-button {
  88. border-radius: 8px;
  89. height: 42px;
  90. font-size: max(18px, 14Px);
  91. font-weight: 600 !important;
  92. padding: 0 32px;
  93. }
  94. .n-button--error-type {
  95. background: #FDEBED !important;
  96. color: #EC3A4E !important;
  97. &:not(.n-button--disabled):hover,
  98. &:not(.n-button--disabled):active {
  99. background: #FDEBED;
  100. color: #EC3A4E;
  101. }
  102. .n-button__border {
  103. border: 1px solid #EC3A4E;
  104. }
  105. }
  106. }
  107. }