Переглянути джерело

Merge branch 'iteration-20240506' into jenkins

lex 1 рік тому
батько
коміт
6cded0a8cb

+ 133 - 129
src/views/prepare-lessons/components/lesson-main/index.module.less

@@ -1,130 +1,134 @@
-.coursewareSection {
-  display: flex;
-  height: 100%;
-
-  .coursewareHeader {
-    flex: 0 0 360px;
-    background-color: #fff;
-    border-radius: 20px;
-
-    padding-bottom: 40px;
-  }
-
-  .lesson-main {
-    flex: 1;
-    margin-left: 20px
-  }
-
-  :global {
-    .listContainerWrap {
-      max-height: calc(var(--window-page-lesson-height) - 40px - 20px);
-
-      .listSectionWrap {
-        min-height: calc(var(--window-page-lesson-height) - 40px - 20px);
-      }
-    }
-  }
-}
-
-:global {
-  .listContainerResource {
-    max-height: calc(var(--window-page-lesson-height) - 244px - 100px) !important;
-    // overflow-x: auto;
-
-    &.listNoMusicResource {
-      max-height: calc(var(--window-page-lesson-height) - 184px - 100px) !important;
-
-      .listSectionResource {
-        min-height: calc(var(--window-page-lesson-height) - 184px - 100px) !important;
-      }
-    }
-
-    .listSectionResource {
-      min-height: calc(var(--window-page-lesson-height) - 204px - 100px) !important;
-    }
-  }
-}
-
-.lesson-main {
-  height: 100%;
-  background-color: #fff;
-  border-radius: 20px;
-
-  :global {
-    .n-tabs-tab-pad {
-      width: 64px !important;
-    }
-
-    .n-tabs-nav {
-      padding: 12px 20px 20px;
-    }
-
-    .n-tabs-tab {
-      color: #8B8D98;
-      font-size: max(20px, 14Px);
-      padding-top: 12px;
-      padding-bottom: 8px;
-      line-height: 28px;
-
-      &.n-tabs-tab--active {
-        font-weight: 600 !important;
-        color: #131415 !important;
-      }
-    }
-
-    .n-tabs-tab__label {
-      z-index: 10;
-    }
-
-    .n-tabs-bar {
-      height: 10px;
-      background: linear-gradient(90deg, #77BBFF 0%, rgba(163, 231, 255, 0.22) 100%);
-      z-index: 0;
-      bottom: 8px;
-      transition-duration: 0.03;
-    }
-
-    .n-tab-pane {
-      padding-top: 4px !important;
-    }
-  }
-}
-
-.coursewareFooter {
-  position: absolute;
-  bottom: 0;
-  left: 100px;
-  right: 0;
-  z-index: 100;
-  background: #FFFFFF;
-  box-shadow: 0 2px 10px 0px rgba(0, 0, 0, 0.12);
-  height: 68px;
-  display: flex;
-  align-items: center;
-  justify-content: center;
-
-  :global {
-    .n-button {
-      border-radius: 8px;
-      height: 42px;
-      font-size: max(18px, 14Px);
-      font-weight: 600 !important;
-      padding: 0 32px;
-    }
-
-    .n-button--error-type {
-      background: #FDEBED !important;
-      color: #EC3A4E !important;
-
-      &:not(.n-button--disabled):hover,
-      &:not(.n-button--disabled):active {
-        background: #FDEFF0;
-        color: #EF6171;
-      }
-
-      .n-button__border {
-        border: 1px solid #EC3A4E;
-      }
-    }
-  }
+.coursewareSection {
+  display: flex;
+  height: 100%;
+
+  .coursewareHeader {
+    flex: 0 0 360px;
+    background-color: #fff;
+    border-radius: 20px;
+
+    padding-bottom: 40px;
+  }
+
+  .lesson-main {
+    flex: 1;
+    margin-left: 20px
+  }
+
+  :global {
+    .listContainerWrap {
+      max-height: calc(var(--window-page-lesson-height) - 40px - 20px);
+
+      .listSectionWrap {
+        min-height: calc(var(--window-page-lesson-height) - 40px - 20px);
+      }
+    }
+  }
+}
+
+:global {
+  .listContainerResource {
+    max-height: calc(var(--window-page-lesson-height) - 244px - 100px) !important;
+    // overflow-x: auto;
+
+    &.listNoMusicResource {
+      max-height: calc(var(--window-page-lesson-height) - 184px - 100px) !important;
+
+      .listSectionResource {
+        min-height: calc(var(--window-page-lesson-height) - 184px - 100px) !important;
+      }
+    }
+
+    .listSectionResource {
+      min-height: calc(var(--window-page-lesson-height) - 204px - 100px) !important;
+    }
+  }
+}
+
+.lesson-main {
+  height: 100%;
+  background-color: #fff;
+  border-radius: 20px;
+
+  :global {
+    .n-tabs-tab-pad {
+      width: 64px !important;
+    }
+
+    .n-tabs-nav {
+      padding: 12px 20px 20px;
+    }
+
+    .n-tabs-tab {
+      color: #8B8D98;
+      font-size: max(20px, 14Px);
+      padding-top: 12px;
+      padding-bottom: 8px;
+      line-height: 28px;
+
+      &.n-tabs-tab--active {
+        font-weight: 600 !important;
+        color: #131415 !important;
+      }
+    }
+
+    .n-tabs-tab__label {
+      z-index: 10;
+    }
+
+    .n-tabs-bar {
+      height: 10px;
+      background: linear-gradient(90deg, #77BBFF 0%, rgba(163, 231, 255, 0.22) 100%);
+      z-index: 0;
+      bottom: 8px;
+      transition-duration: 0.03;
+    }
+
+    .n-tabs-bar--disabled {
+      background-color: #fff !important;
+    }
+
+    .n-tab-pane {
+      padding-top: 4px !important;
+    }
+  }
+}
+
+.coursewareFooter {
+  position: absolute;
+  bottom: 0;
+  left: 100px;
+  right: 0;
+  z-index: 100;
+  background: #FFFFFF;
+  box-shadow: 0 2px 10px 0px rgba(0, 0, 0, 0.12);
+  height: 68px;
+  display: flex;
+  align-items: center;
+  justify-content: center;
+
+  :global {
+    .n-button {
+      border-radius: 8px;
+      height: 42px;
+      font-size: max(18px, 14Px);
+      font-weight: 600 !important;
+      padding: 0 32px;
+    }
+
+    .n-button--error-type {
+      background: #FDEBED !important;
+      color: #EC3A4E !important;
+
+      &:not(.n-button--disabled):hover,
+      &:not(.n-button--disabled):active {
+        background: #FDEFF0;
+        color: #EF6171;
+      }
+
+      .n-button__border {
+        border: 1px solid #EC3A4E;
+      }
+    }
+  }
 }