123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612 |
- .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;
- .containerLeft {
- height: 100%;
- }
- &.modal {
- .head {
- padding: 0 23px 8px 23px;
- }
- .iconBack {
- opacity: 0;
- pointer-events: none;
- visibility: hidden;
- }
- .head {
- padding: 0 23px 8px 23px;
- }
- }
- &.courseware {
- .head {
- justify-content: center;
- }
- }
- }
- .conCon {
- flex: 1 auto;
- display: flex;
- align-items: center;
- }
- .pc {
- .container {
- max-width: 1200px;
- gap: 20px 0;
- }
- .beatSection {
- .beat {
- width: 206px;
- height: 284px;
- img {
- width: 140px;
- }
- }
- &.small {
- .beat {
- width: 117px !important;
- height: 161px !important;
- img {
- width: 80px;
- }
- }
- }
- }
- .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;
- width: 46px;
- height: 46px;
- 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;
- // margin-bottom: 15px;
- max-width: 900px;
- margin: 0 auto;
- }
- .beatSection {
- display: flex;
- align-items: center;
- justify-content: center;
- // margin-bottom: 15px;
- margin: 7px 0;
- &.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;
- width: 60px;
- height: 72px;
- cursor: pointer;
- margin: 0 7px;
- border-radius: 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;
- &>div {
- display: flex;
- align-items: center;
- justify-content: center;
- flex: 1;
- }
- :global {
- .sortable-chosen.sortable-ghost {
- display: none !important;
- }
- }
- .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;
- }
- &.disabledChange {
- &::before,
- &::after {
- display: none;
- }
- }
- &::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);
- }
- }
- :global {
- .onstart {
- .sortable-chosen.sortable-ghost {
- display: inherit !important;
- }
- }
- }
- }
- .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;
- }
- .setting {
- width: 74px;
- 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;
- :global {
- .bom_drag {
- pointer-events: none;
- }
- .bom_drag_point {
- opacity: 0.3;
- }
- .bom_drag_point,
- .bom_drag_point_right {
- pointer-events: all;
- }
- }
- }
- .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);
- border-radius: var(--van-popover-radius);
- overflow: hidden;
- :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;
- }
- }
- }
- :global {
- .settingBoxClass_drag .settingContainer_pc {
- border-radius: 16px;
- height: 60vh !important;
- }
- }
- .containerLeft {
- flex: 1;
- display: flex;
- flex-direction: column;
- &.leftShow {
- .beatSection {
- .beat {
- width: 80px;
- height: 100px;
- margin: 0 8px;
- img {
- width: 64px;
- }
- }
- &.small {
- &:nth-child(2n + 1) {
- justify-content: flex-end;
- padding-right: 4px;
- }
- &:nth-child(2n + 2) {
- justify-content: flex-start;
- padding-left: 4px;
- }
- .beat {
- width: 44px !important;
- height: 58px !important;
- margin: 0 3px;
- img {
- width: 28px;
- }
- }
- }
- }
- .footer {
- &>div {
- margin: 0 4px;
- }
- .play {
- width: 42px;
- height: 42px;
- }
- .playType {
- width: 147px;
- height: 33px;
- }
- .randomTempo {
- width: 75px;
- height: 33px;
- }
- .speedChange {
- width: 92px;
- height: 33px;
- .speedNum {
- font-size: 13px;
- }
- .speedPlus,
- .speedAdd {
- width: 18px;
- height: 18px;
- }
- }
- }
- }
- }
- .containerRight {
- width: 281px;
- transition: all .1s ease;
- &.rightHide {
- transform: translateX(100%);
- width: 0;
- transition: all .1s ease;
- .settingModalShow {
- display: none;
- }
- }
- }
- .settingModalShow {
- height: 100% !important;
- width: 281px !important;
- }
- @media all and (max-width: 720px) {
- .containerLeft {
- flex: 1;
- display: flex;
- flex-direction: column;
- &.leftShow {
- .beatSection {
- .beat {
- width: 70px;
- height: 90px;
- margin: 0 8px;
- img {
- width: 64px;
- }
- }
- &.small {
- &:nth-child(2n + 1) {
- justify-content: flex-end;
- padding-right: 4px;
- }
- &:nth-child(2n + 2) {
- justify-content: flex-start;
- padding-left: 4px;
- }
- .beat {
- width: 35px !important;
- height: 46px !important;
- margin: 0 3px;
- img {
- width: 28px;
- }
- }
- }
- }
- .footer {
- &>div {
- margin: 0 4px;
- }
- .play {
- width: 35px;
- height: 35px;
- }
- .playType {
- width: 129px;
- height: 29px;
- }
- .randomTempo {
- width: 67px;
- height: 29px;
- }
- .speedChange {
- width: 81px;
- height: 29px;
- .speedNum {
- font-size: 12px;
- }
- .speedPlus,
- .speedAdd {
- width: 16px;
- height: 16px;
- }
- }
- }
- }
- }
- .containerRight {
- width: 245px;
- transition: all 0.03s ease;
- }
- .settingModalShow {
- height: 100% !important;
- width: 245px !important;
- }
- .containerRight {
- width: 245px;
- transition: all 0.03s ease;
- &.rightHide {
- transform: translateX(100%);
- width: 0;
- transition: all 0.03s ease;
- }
- }
- }
|