.container { display: flex; flex-direction: column; height: 100%; &.containerPreview { padding: 68px 78px 68px 68px; // height: calc(100% - 136px); background-color: #fff; .wrapBottom { padding-bottom: 60px !important; } } &.containerModal { .content { border-top-left-radius: 0; border-top-right-radius: 0; } } &> :global(.n-space) { height: 36px; flex-shrink: 0; } .separator { width: 9px; height: 15px; margin: 0 16px; } :global { .highlight { color: #0378EC; } } } .wrap { // padding-top: 15px; flex: 1; transition: padding .3s; overflow: hidden; &.wrapBottom { padding-bottom: 128px; } } .content { display: flex; flex-direction: column; height: 100%; background: #DDF2FF; border-radius: 20px; // max-height: 90vh; } .tools { padding: 20px; display: flex; align-items: center; flex-shrink: 0; :global { .n-input { margin-left: auto; width: 361px; } .n-input__input-el { height: 100%; line-height: 100%; } } } .contentWrap { position: relative; flex: 1; display: flex; padding: 20px 55px 20px 30px; overflow: hidden; gap: 0 20px; } .musicList { background-color: #fff; border-radius: 16px; width: 470px; min-width: 294px; height: 100%; overflow-x: hidden; overflow-y: auto; min-width: 330Px; &::-webkit-scrollbar { width: 0; display: none; } .instrumentGroup { padding-top: 27px; padding-bottom: 20px; display: flex; align-items: center; justify-content: center; flex-direction: column; .instrumentImg { width: 125px; height: 125px; overflow: hidden; border-radius: 50%; &.otherImg { width: 125px; height: 143px; } img { width: 100%; } } .instrumentName { padding: 13px 0 5px; font-size: max(18px, 14Px); font-weight: 600; color: #131415; line-height: 25px; letter-spacing: 1px; } .instrumentTag { font-size: max(13px, 12Px); color: #777777; line-height: 18px; } } .wrapList { width: 470px; padding: 0 17px; min-width: 294px; min-height: 100%; // background: #fff; border-radius: 16px; :global { .n-empty .n-empty__description { font-size: calc(14px, 12Px); } } .titlec { padding: 20px 0; font-size: max(18px, 14Px); font-weight: 600; color: #000000; line-height: 25px; border-top: 1px solid #F2F2F2; display: flex; align-items: center; } .icon2 { width: 23px; height: 23px; margin-right: 8px; background: url('../../../content-information/images/icon-2.png') no-repeat center; background-size: contain; } } .empty { display: flex; align-items: center; justify-content: center; height: 40vh; } } .itemContainer { width: 100%; border-radius: 16px; padding: 4px 8px; // background-color: #fff; &:first-child { padding-top: 8px; } &:last-child { // border-radius: 0 0 16px 16px; padding-bottom: 8px; } } .item { position: relative; display: flex; align-items: center; padding: 10px; border-radius: 12px; cursor: pointer; &:hover { background-color: rgba(0, 0, 0, .05); } &.active { background-color: #DDF2FF; .arrow { opacity: 1; } } .img { position: relative; width: 60px; height: 60px; border-radius: 18px; margin-right: 12px; overflow: hidden; flex-shrink: 0; :global { .n-image { width: 60px; height: 60px; } } img { transition: opacity .3s; opacity: 0; height: 100%; width: 100%; } img[data-loaded="true"] { opacity: 1; } } .title { flex: 1; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; .titleName { font-size: calc(17px, 12Px); font-weight: 600; color: #131415; line-height: 28px; width: 100%; } .titleDes { font-size: 14px; font-weight: 400; color: #777777; line-height: 20px; max-width: 100%; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } } .btn { margin-left: auto; width: 84px; height: 40px; background: linear-gradient(to right, #44CAFF, #259DFE); border: none; padding: 0; font-weight: bold !important; flex-shrink: 0; min-width: 62px; min-height: 30px; :global { .n-button__content { &>img { margin-left: 10px; width: 9px; height: 12px; } } } } .arrow { position: absolute; top: 50%; right: 12px; transform: translate(124%, -50%); opacity: 0; } .showPlayLoading { opacity: 0; } } .loadingWrap { display: flex; justify-content: center; min-height: 80px; } .musicStaff { display: flex; flex-direction: column; position: relative; left: 0; flex: 1; background-color: #fff; border-radius: 16px; // height: 100%; z-index: 1; overflow: hidden; &::-webkit-scrollbar { width: 0; display: none; } .musicTitle { padding: 27px 27px 13px; font-size: max(18px, 14Px); font-weight: 600; color: #000000; line-height: 25px; display: flex; align-items: center; justify-content: space-between; .musicTitleLeft { display: flex; align-items: center; } .icon1, .icon3 { display: inline-block; width: 23px; height: 23px; margin-right: 8px; background: url('../../../content-information/images/icon-1.png') no-repeat center; background-size: contain; } .icon3 { background: url('../../../content-information/images/icon-3.png') no-repeat center; background-size: contain; } .musicTitleRight { .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('../../../content-information/images/icon-speak-sound.png'); background-size: contain; } } .textClose { .icon { background: url('../../../content-information/images/icon-speak-close.png'); background-size: contain; } } } } // .musicTitle { // padding: 27px 27px 13px; // font-size: max(18px, 14Px); // font-weight: 600; // color: #000000; // line-height: 25px; // display: flex; // align-items: center; // .icon1, // .icon3 { // display: inline-block; // width: 23px; // height: 23px; // margin-right: 8px; // background: url('../../../content-information/images/icon-1.png') no-repeat center; // background-size: contain; // } // .icon3 { // background: url('../../../content-information/images/icon-3.png') no-repeat center; // background-size: contain; // } // } .musicContent { flex: 1; overflow-y: auto; height: 100%; padding: 0 27px; user-select: text; position: relative; &::selection { background-color: #dfdfdf; } &>img { width: 100%; } section, &>div { font-size: inherit !important; } } } .staffImgs { flex: 1; overflow-y: auto; height: 100%; padding: 0 30px; &>img { width: 100%; } } :global { .van-fade-enter-active, .van-fade-leave-active { transition: all 0.3s; } .van-fade-enter-from, .van-fade-leave-to { opacity: 0; } } .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('../../../content-information/images/icon-speak-arrow.png') no-repeat center; background-size: contain; } } .textReadOnly { margin-left: 10px; .icon { width: 9px; height: 9px; background: url('../../../content-information/images/icon-speak-line.png') no-repeat center; background-size: contain; } } }