index.module.less 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  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. &.empty {
  78. display: flex;
  79. align-items: center;
  80. justify-content: center;
  81. }
  82. }
  83. .directoryList {
  84. width: 300px;
  85. background: #FFFFFF;
  86. border-radius: 17px;
  87. flex-shrink: 0;
  88. height: 100%;
  89. overflow-x: hidden;
  90. overflow-y: auto;
  91. &::-webkit-scrollbar {
  92. width: 0;
  93. display: none;
  94. }
  95. }
  96. .treeParent {
  97. transition: height 1s ease-in-out;
  98. }
  99. .treeChild {
  100. line-height: 54px;
  101. }
  102. .treeItem {
  103. display: flex;
  104. align-items: center;
  105. line-height: 54px;
  106. border-radius: 10px;
  107. padding: 0 5px;
  108. cursor: pointer;
  109. border-radius: 10px;
  110. font-size: max(17px, 13Px);
  111. &:hover {
  112. background: #F5F6FA;
  113. }
  114. .title {
  115. padding-left: 8px;
  116. overflow: hidden;
  117. white-space: nowrap;
  118. text-overflow: ellipsis;
  119. max-width: 280px !important;
  120. color: rgba(0, 0, 0, .5);
  121. display: flex;
  122. align-items: center;
  123. .dir {
  124. flex-shrink: 1;
  125. display: inline-block;
  126. width: 16px;
  127. height: 18px;
  128. background: url('../../prepare-lessons/components/directory-main/images/icon-d.png') no-repeat center;
  129. background-size: contain;
  130. margin-right: 6px;
  131. }
  132. &.titleSelect {
  133. color: var(--n-color);
  134. font-weight: bold;
  135. .dir {
  136. background: url('../../prepare-lessons/components/directory-main/images/icon-d-active.png') no-repeat center;
  137. background-size: contain;
  138. }
  139. }
  140. }
  141. .arrow {
  142. display: inline-block;
  143. width: 14px;
  144. height: 15px;
  145. background: url('../../prepare-lessons/components/directory-main/images/arrow-default.png') no-repeat center;
  146. background-size: contain;
  147. &.arrowSelect {
  148. background: url('../../prepare-lessons/components/directory-main/images/arrow-active.png') no-repeat center;
  149. background-size: contain;
  150. }
  151. }
  152. .childArrow {
  153. width: 12px;
  154. }
  155. &.childItem {
  156. padding-left: 30px;
  157. font-size: max(15px, 12Px);
  158. .title {
  159. color: #131415;
  160. }
  161. }
  162. &.childSelect {
  163. background: #F5F6FA;
  164. .title {
  165. color: var(--n-color);
  166. font-weight: bold;
  167. }
  168. }
  169. }
  170. }
  171. .musicStaff {
  172. // display: flex;
  173. // flex-direction: column;
  174. // position: relative;
  175. // left: -8px;
  176. flex: 1;
  177. background-color: #fff;
  178. border-radius: 16px;
  179. // height: 100%;
  180. z-index: 1;
  181. overflow: hidden;
  182. padding: 27px 0 27px 27px;
  183. &::-webkit-scrollbar {
  184. width: 0;
  185. display: none;
  186. }
  187. .empty {
  188. :global {
  189. .n-spin-content {
  190. min-height: 100%;
  191. display: flex;
  192. align-items: center;
  193. justify-content: center;
  194. }
  195. }
  196. }
  197. :global {
  198. .n-spin-container {
  199. overflow-y: auto;
  200. height: 100%;
  201. }
  202. }
  203. .musicTitle {
  204. padding: 27px 27px 13px;
  205. font-size: 20px;
  206. font-weight: 600;
  207. color: #000000;
  208. line-height: 30px;
  209. text-align: center;
  210. }
  211. .musicContent {
  212. flex: 1;
  213. // overflow-y: auto;
  214. // height: 100%;
  215. // padding: 27px;
  216. padding-right: 27px;
  217. &>img {
  218. width: 100%;
  219. }
  220. section,
  221. &>div {
  222. font-size: inherit !important;
  223. }
  224. }
  225. }
  226. .changeSizeSection {
  227. position: absolute;
  228. right: 10px;
  229. bottom: 50%;
  230. width: 35px;
  231. transform: translate(0, 50%);
  232. background: #fff;
  233. border-radius: 7px;
  234. display: flex;
  235. align-items: center;
  236. flex-direction: column;
  237. padding: 13px 0;
  238. .iconT {
  239. width: 15px;
  240. height: 15px;
  241. }
  242. .iconAddT,
  243. .iconPlusT {
  244. width: 23px;
  245. height: 23px;
  246. }
  247. .iconAddT {
  248. margin-top: 13px;
  249. margin-bottom: 8px;
  250. }
  251. .iconPlusT {
  252. margin-top: 8px;
  253. }
  254. :global {
  255. .n-slider {
  256. height: 125px;
  257. --n-handle-size: 15px !important;
  258. --n-rail-height: 0 !important;
  259. }
  260. }
  261. }