index.module.less 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  1. .container {
  2. display: flex;
  3. flex-direction: column;
  4. height: 100%;
  5. .iconBack {
  6. width: 36px;
  7. height: 36px;
  8. }
  9. :global {
  10. .n-breadcrumb>ul {
  11. display: flex;
  12. align-items: center;
  13. .n-breadcrumb-item {
  14. display: flex;
  15. align-items: center;
  16. }
  17. .n-breadcrumb-item__separator {
  18. display: none;
  19. }
  20. .n-breadcrumb-item__link {
  21. padding: 5px 18px;
  22. background: #FFFFFF;
  23. border-radius: 16px;
  24. color: #21225D;
  25. line-height: 20px;
  26. }
  27. }
  28. .n-breadcrumb .n-breadcrumb-item:last-child .n-breadcrumb-item__link {
  29. color: #fff;
  30. background: var(--product-color);
  31. }
  32. }
  33. &> :global(.n-space) {
  34. height: 36px;
  35. flex-shrink: 0;
  36. }
  37. .separator {
  38. width: 9px;
  39. height: 15px;
  40. margin: 0 16px;
  41. }
  42. }
  43. .wrap {
  44. padding-top: 15px;
  45. flex: 1;
  46. transition: padding .3s;
  47. overflow: hidden;
  48. &.wrapBottom {
  49. padding-bottom: 108px;
  50. }
  51. }
  52. .contentWrap {
  53. position: relative;
  54. flex: 1;
  55. display: flex;
  56. padding: 0 55px 0 0;
  57. overflow: hidden;
  58. gap: 0 32px;
  59. }
  60. .content {
  61. display: flex;
  62. flex-direction: column;
  63. height: 100%;
  64. border-radius: 20px;
  65. // max-height: 90vh;
  66. }
  67. .contentWrap {
  68. :global {
  69. .n-scrollbar-container {
  70. max-height: 100%;
  71. }
  72. }
  73. .scrollBar {
  74. margin-top: 12px;
  75. padding: 0 20px;
  76. // max-height: calc(100% - 64px - 52px - 36px);
  77. }
  78. .directoryList {
  79. width: 300px;
  80. background: #FFFFFF;
  81. border-radius: 17px;
  82. flex-shrink: 0;
  83. height: 100%;
  84. overflow-x: hidden;
  85. overflow-y: auto;
  86. &::-webkit-scrollbar {
  87. width: 0;
  88. display: none;
  89. }
  90. }
  91. .treeParent {
  92. transition: height 1s ease-in-out;
  93. }
  94. .treeChild {
  95. line-height: 54px;
  96. }
  97. .treeItem {
  98. display: flex;
  99. align-items: center;
  100. line-height: 54px;
  101. border-radius: 10px;
  102. padding: 0 5px;
  103. cursor: pointer;
  104. border-radius: 10px;
  105. font-size: max(17px, 13Px);
  106. &:hover {
  107. background: #F5F6FA;
  108. }
  109. .title {
  110. padding-left: 8px;
  111. overflow: hidden;
  112. white-space: nowrap;
  113. text-overflow: ellipsis;
  114. max-width: 280px !important;
  115. color: rgba(0, 0, 0, .5);
  116. display: flex;
  117. align-items: center;
  118. .dir {
  119. flex-shrink: 1;
  120. display: inline-block;
  121. width: 16px;
  122. height: 18px;
  123. background: url('../../prepare-lessons/components/directory-main/images/icon-d.png') no-repeat center;
  124. background-size: contain;
  125. margin-right: 6px;
  126. }
  127. &.titleSelect {
  128. color: var(--n-color);
  129. font-weight: bold;
  130. .dir {
  131. background: url('../../prepare-lessons/components/directory-main/images/icon-d-active.png') no-repeat center;
  132. background-size: contain;
  133. }
  134. }
  135. }
  136. .arrow {
  137. display: inline-block;
  138. width: 14px;
  139. height: 15px;
  140. background: url('../../prepare-lessons/components/directory-main/images/arrow-default.png') no-repeat center;
  141. background-size: contain;
  142. &.arrowSelect {
  143. background: url('../../prepare-lessons/components/directory-main/images/arrow-active.png') no-repeat center;
  144. background-size: contain;
  145. }
  146. }
  147. .childArrow {
  148. width: 12px;
  149. }
  150. &.childItem {
  151. padding-left: 30px;
  152. font-size: max(15px, 12Px);
  153. .title {
  154. color: #131415;
  155. }
  156. }
  157. &.childSelect {
  158. background: #F5F6FA;
  159. .title {
  160. color: var(--n-color);
  161. font-weight: bold;
  162. }
  163. }
  164. }
  165. }
  166. .musicStaff {
  167. // display: flex;
  168. // flex-direction: column;
  169. // position: relative;
  170. // left: -8px;
  171. flex: 1;
  172. background-color: #fff;
  173. border-radius: 16px;
  174. // height: 100%;
  175. z-index: 1;
  176. overflow: hidden;
  177. padding: 27px 0 27px 27px;
  178. &::-webkit-scrollbar {
  179. width: 0;
  180. display: none;
  181. }
  182. :global {
  183. .n-spin-container {
  184. overflow-y: auto;
  185. height: 100%;
  186. }
  187. }
  188. .musicTitle {
  189. padding: 27px 27px 13px;
  190. font-size: 20px;
  191. font-weight: 600;
  192. color: #000000;
  193. line-height: 30px;
  194. text-align: center;
  195. }
  196. .musicContent {
  197. flex: 1;
  198. // overflow-y: auto;
  199. // height: 100%;
  200. // padding: 27px;
  201. padding-right: 27px;
  202. &>img {
  203. width: 100%;
  204. }
  205. section,
  206. &>div {
  207. font-size: inherit !important;
  208. }
  209. }
  210. }
  211. .changeSizeSection {
  212. position: absolute;
  213. right: 10px;
  214. bottom: 50%;
  215. width: 35px;
  216. transform: translate(0, 50%);
  217. background: #fff;
  218. border-radius: 7px;
  219. display: flex;
  220. align-items: center;
  221. flex-direction: column;
  222. padding: 13px 0;
  223. .iconT {
  224. width: 15px;
  225. height: 15px;
  226. }
  227. .iconAddT,
  228. .iconPlusT {
  229. width: 23px;
  230. height: 23px;
  231. }
  232. .iconAddT {
  233. margin-top: 13px;
  234. margin-bottom: 8px;
  235. }
  236. .iconPlusT {
  237. margin-top: 8px;
  238. }
  239. :global {
  240. .n-slider {
  241. height: 125px;
  242. --n-handle-size: 15px !important;
  243. --n-rail-height: 0 !important;
  244. }
  245. }
  246. }