.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 { .highlight { color: #0378EC; background-color: #E1F0FF; } .speak-label { cursor: pointer; } } } .wrap { flex: 1; transition: padding .3s; overflow: hidden; &.wrapBottom { padding-bottom: 108px; } } .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 20px; overflow: hidden; gap: 0 32px; } .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%; } .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: 50vh; // height: 100%; } } .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; // box-shadow: 0 0 10px 4px rgba(27, 35, 55, .1); 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: -8px; flex: 1; background-color: #fff; border-radius: 16px; padding-bottom: 18px; 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; .icon1 { display: inline-block; width: 23px; height: 23px; margin-right: 8px; background: url('../../../content-information/images/icon-1.png') no-repeat center; background-size: contain; } display: flex; align-items: center; justify-content: space-between; .musicTitleLeft { display: flex; align-items: center; } .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; } } } } .musicContent { flex: 1; overflow-y: auto; height: 100%; padding: 0 27px; user-select: text; position: relative; ::selection { background-color: #E1F0FF; } &>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; } } } .musicTop, .musicInfo { display: flex; align-items: center; flex-direction: column; padding-top: 36px; padding-bottom: 22px; } .musicInfo { flex-direction: row; } .musicImg { position: relative; width: 100px; height: 100px; border-radius: 2px; z-index: 9; margin-right: 54px; margin-left: 31px; .img { position: relative; z-index: 9; width: 100px; height: 100px; border-radius: 2px; } .panSection { position: absolute; right: -44px; top: 5px; width: 95px; height: 95px; z-index: 0; display: flex; align-items: center; justify-content: center; .img2 { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; } } .iconPan { position: absolute; left: 0; right: 0; width: 95px; height: 95px; z-index: 0; } &::before { content: ' '; position: absolute; top: 0; left: 0; z-index: 10; display: inline-block; width: 5px; height: 100px; background: linear-gradient(270deg, rgba(0, 0, 0, 0.18) 0%, rgba(255, 255, 255, 0) 100%); } &::after { content: ' '; position: absolute; left: -31px; bottom: 0; z-index: 8; width: 148px; height: 16px; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%); filter: blur(2.3328px); border-radius: 50%; } } .info { text-align: left; } .musicInfo { // width: 500px; .name { font-size: max(21px, 15Px); font-weight: 600; color: #131415; line-height: 25px; padding-bottom: 8px; max-width: 220px; } .c { font-size: max(13px, 12Px); color: #777777; line-height: 18px; span { flex-shrink: 0; } &>div { display: flex; margin-right: 20px; max-width: 220px; } } } .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; } } }