.container { display: flex; flex-direction: column; height: 100%; .iconBack { width: 36px; height: 36px; } :global { .n-breadcrumb>ul { display: flex; align-items: center; .n-breadcrumb-item { display: flex; align-items: center; } .n-breadcrumb-item__separator { display: none; } .n-breadcrumb-item__link { padding: 5px 18px; background: #FFFFFF; border-radius: 16px; color: #21225D; line-height: 20px; } } .n-breadcrumb .n-breadcrumb-item:last-child .n-breadcrumb-item__link { color: #fff; background: var(--product-color); } // .highlight { // color: #0378EC; // background-color: #E1F0FF; // } .speak-label { cursor: pointer; } } &> :global(.n-space) { height: 36px; flex-shrink: 0; } .separator { width: 9px; height: 15px; margin: 0 16px; } } .wrap { padding-top: 15px; flex: 1; transition: padding .3s; overflow: hidden; &.wrapBottom { padding-bottom: 108px; } } .contentWrap { position: relative; flex: 1; display: flex; padding: 0 55px 0 0; overflow: hidden; gap: 0 24px; } .content { display: flex; flex-direction: column; height: 100%; border-radius: 20px; // max-height: 90vh; } .contentWrap { :global { .n-scrollbar-container { max-height: 100%; } } .scrollBar { margin-top: 12px; padding: 0 20px; // max-height: calc(100% - 64px - 52px - 36px); &.empty { display: flex; align-items: center; justify-content: center; } } .directoryList { width: 360px; background: #FFFFFF; border-radius: 17px; flex-shrink: 0; height: 100%; overflow-x: hidden; overflow-y: auto; &::-webkit-scrollbar { width: 0; display: none; } } .treeParent { transition: height 1s ease-in-out; } .treeChild { line-height: 54px; } .treeItem { display: flex; align-items: center; line-height: 54px; border-radius: 10px; padding: 0 5px; cursor: pointer; border-radius: 10px; font-size: max(17px, 13Px); // &:hover { // background: #F5F6FA; // } &.childItem:hover { // background: #E8F4FF; .title { color: var(--n-color); } } .title { padding-left: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 280px !important; color: rgba(0, 0, 0, .5); display: flex; align-items: center; .dir { flex-shrink: 1; display: inline-block; width: 16px; height: 18px; background: url('../../prepare-lessons/components/directory-main/images/icon-d.png') no-repeat center; background-size: contain; margin-right: 6px; } &.titleSelect { color: var(--n-color); font-weight: bold; .dir { background: url('../../prepare-lessons/components/directory-main/images/icon-d-active.png') no-repeat center; background-size: contain; } } } .arrow { display: inline-block; width: 14px; height: 15px; background: url('../../prepare-lessons/components/directory-main/images/arrow-default.png') no-repeat center; background-size: contain; &.arrowSelect { background: url('../../prepare-lessons/components/directory-main/images/arrow-active.png') no-repeat center; background-size: contain; } } .childArrow { width: 12px; } &.childItem { padding-left: 30px; font-size: max(15px, 12Px); .title { color: #131415; } } &.childSelect { background: #E8F4FF; .title { color: var(--n-color); font-weight: bold; } } } } .musicStaff { // display: flex; // flex-direction: column; // position: relative; // left: -8px; flex: 1; background-color: #fff; border-radius: 16px; // height: 100%; z-index: 1; overflow: hidden; padding: 54px 0 27px 27px; position: relative; &::-webkit-scrollbar { width: 0; display: none; } .empty { :global { .n-spin-content { min-height: 100%; display: flex; align-items: center; justify-content: center; } } } :global { .n-spin-container { overflow-y: auto; height: 100%; } } .musicTitle { padding: 27px 27px 13px; font-size: 20px; font-weight: 600; color: #000000; line-height: 30px; text-align: center; } .musicContent { flex: 1; // overflow-y: auto; // height: 100%; // padding: 27px; padding-right: 27px; user-select: text; position: relative; ::selection { background-color: #E1F0FF; } &>img { width: 100%; } section, &>div { font-size: inherit !important; } } .musicTitleRight { position: absolute; top: 15px; right: 15px; z-index: 9; .textRead, .textClose { padding: 7px 8px; background: #E8F4FF; border-radius: 13px; font-weight: 500; font-size: max(13px, 12Px); color: #0378EC; line-height: 18px; display: flex; align-items: center; cursor: pointer; } .icon { display: inline-block; margin-right: 5px; width: 15px; height: 15px; } .textRead { .icon { background: url('../images/icon-speak-sound.png'); background-size: contain; } } .textClose { .icon { background: url('../images/icon-speak-close.png'); background-size: contain; } } } } .changeSizeSection { position: absolute; right: 10px; bottom: 50%; width: 35px; transform: translate(0, 50%); background: #fff; border-radius: 7px; display: flex; align-items: center; flex-direction: column; padding: 13px 0; .iconT { width: 15px; height: 15px; } .iconAddT, .iconPlusT { width: 23px; height: 23px; cursor: pointer; } .iconAddT { margin-top: 13px; margin-bottom: 8px; } .iconPlusT { margin-top: 8px; } :global { .n-slider { height: 125px; --n-handle-size: 15px !important; --n-rail-height: 0 !important; } .n-slider.n-slider--vertical .n-slider-rail { border-radius: 10px; } .n-slider .n-slider-rail .n-slider-rail__fill { border-radius: 10px; } .n-slider.n-slider--vertical .n-slider-handles { top: 3px !important; bottom: 3px !important; } } } .selectionCouser { display: flex; align-items: center; position: absolute; &.hide { opacity: 0; visibility: hidden; } .textStart, .textReadOnly { cursor: pointer; background: #1A8CFF; border-radius: 13px; font-weight: 600; font-size: max(13px, 12Px); color: #FFFFFF; line-height: 18px; display: inline-flex; align-items: center; padding: 3px 8px; flex-shrink: 0; .icon { margin-left: 4px; display: inline-block; } } .textStart { .icon { width: 8px; height: 10px; background: url('../images/icon-speak-arrow.png') no-repeat center; background-size: contain; } } .textReadOnly { margin-left: 10px; .icon { width: 9px; height: 9px; background: url('../images/icon-speak-line.png') no-repeat center; background-size: contain; } } }