.tempoPractice { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; overflow: hidden; display: flex; flex-direction: column; background: url("./images/bg.png") no-repeat center center / cover; display: flex; &.modal { .iconBack { opacity: 0; pointer-events: none; visibility: hidden; } } &.courseware { .head { justify-content: center; } } } .conCon { flex: 1 auto; display: flex; align-items: center; } .pc { .container { max-width: 1200px; gap: 30px 0; } .beatSection { .beat { width: 206px; height: 284px; img { width: 140px; } } &.small { .beat { width: 139px !important; height: 191px !important; // width: 65px; // height: 86px; img { width: 108px; } } } } .footer { padding-bottom: 36px; } } .head { position: relative; display: flex; align-items: flex-start; justify-content: space-between; padding: 0 23px 8px 41px; transition: opacity 0.3s ease-in-out; .back { padding-top: 17px; img { width: 46px; height: 46px; display: block; } } .title { img { width: 173px; height: 75px; display: block; } } } .container { display: flex; align-items: center; justify-content: center; flex: 1 auto; flex-wrap: wrap; gap: 15px 0; max-width: 900px; margin: 0 auto; } .beatSection { display: flex; align-items: center; justify-content: center; &.small { width: 50%; // margin: 0 16px; &:nth-child(2n + 1) { justify-content: flex-end; padding-right: 12px; } &:nth-child(2n + 2) { justify-content: flex-start; padding-left: 12px; } .beat { border: 2px solid #fff; width: 65px; height: 86px; cursor: pointer; margin: 0 7px; &::before, &::after { width: 19px; height: 5px; } img { width: 48px; } } } .beat { display: flex; align-items: center; flex-direction: column; margin: 0 13px; width: 118px; height: 156px; box-shadow: 0px 2px 16px 0px #76C3D2; border-radius: 14px; border: 3px solid #fff; background: #FFFFFF; position: relative; .direction { position: absolute; left: 0; right: 0; bottom: 0; top: 0; display: flex; align-items: center; flex-direction: column; z-index: 9; &>div { width: 100%; flex: 1; } } &.active { border: 3px solid rgba(255, 167, 0, 1); } .imgSection { display: flex; align-items: center; justify-content: center; flex: 1; } img { width: 96px; } &::before, &::after { content: ''; display: block; width: 30px; height: 7px; background: url('./images/icon-arrow.png') no-repeat center center / contain; margin: 0 auto; } &::before { margin-top: 3px; } &::after { margin-bottom: 3px; transform: rotate(180deg); } } } .footer { padding: 12px 0 20px; display: flex; align-items: center; justify-content: center; &>div { margin: 0 9px; cursor: pointer; img { width: inherit; height: inherit; display: block; } } .play { width: 54px; height: 55px; } .playType { width: 175px; height: 39px; } .randomTempo { width: 90px; height: 39px; } .speedChange { width: 110px; height: 39px; background: url('./images/btn-4.png') no-repeat center center / contain; display: flex; align-items: center; padding: 9px; display: flex; align-items: center; :global { .van-popover__wrapper { flex: 1; } } .speedNum { flex: 1; font-size: 16px; font-weight: 600; color: #6B3B19; display: flex; align-items: center; justify-content: center; &::after { content: ''; display: inline-block; width: 8px; height: 5px; margin-left: 4px; background: url('./images/icon-arrow2.png') no-repeat center center / contain; } } } .speedPlus, .speedAdd { width: 21px; height: 21px; } } .settingPopup { background: transparent; overflow: visible; } .popupContainer { margin-top: -10px !important; --van-popover-action-height: 32px; --van-popover-action-font-size: 14px; --van-popover-radius: 12px; --van-popover-action-width: 85px; padding: 4Px 0; border-radius: 12px; background-color: #fff; box-shadow: 0 0.05333rem 0.32rem rgba(50, 50, 51, .12); :global { .van-popover__content { max-height: 200px; box-shadow: none; overflow-y: auto; &::-webkit-scrollbar { width: 4px; } &::-webkit-scrollbar-thumb { border-radius: 10px; background: rgba(0, 0, 0, 0.2); } &::-webkit-scrollbar-track { border-radius: 0; background: rgba(0, 0, 0, 0.1); } } .van-popover__action { padding: 0 9px; } } }