.skeleton { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; padding: 20px 30px; background-color: #fff; z-index: 1000; --van-skeleton-paragraph-height: .8rem; } .detail { position: relative; width: 100vw; height: 100vh; overflow: hidden; --header-height: 80px; --pc-header-height: 72px; &.practise{ background: url("./images/bg1.png") no-repeat; background-size: 100% 100%; } .headHeight { position: absolute; bottom: 0; width: 100%; height: var(--header-height); transition: all .3s; z-index: 10; &.headHide { margin-bottom: calc(0Px - var(--header-height)); } } .container { position: sticky; top: var(--header-height); height: calc(100vh - var(--header-height)); margin: 0 10px; border-radius: 10px; transition: height .2s; transition: padding-bottom .2s; overflow: hidden; } .pcContainer { height: calc(100vh - var(--header-height) - var(--pc-header-height)); margin: 0 24px; } } :global { #cursorImg-0, #cursor-copy { width: 2PX !important; min-height: 58PX; height: 58PX; content: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); margin-top: -13PX; border-radius: 4Px; background-color: rgba(25, 140, 254, 0.7); opacity: var(--corsor-opacity); //transform: translateX(10PX); z-index: 1 !important; } .staff { #cursorImg-0, #cursor-copy { width: 14Px; transform: translateX(11Px); } #cursor-copy { transform: translate(0, -34%); } } .jianpuTone { #cursorImg-0, #cursor-copy { width: 18Px; transform: translateX(6.3Px) !important; } } .eyeProtection { #cursorImg-0, #cursor-copy { background-color: rgb(255, 159, 88); } } #osmdCanvasPage1 { padding-bottom: 60px; } } .xiaomi { :global { #cursorImg-0, #cursor-copy { height: 58PX !important; min-height: auto !important; } } } .PC { :global { #cursorImg-0, #cursor-copy { margin-top: -18PX; min-height: 94Px; border-radius: 10Px; } .staff { #cursorImg-0, #cursor-copy { width: 35Px; transform: translateX(21Px) !important; } } .jianpuTone { #cursorImg-0, #cursor-copy { width: 29Px; transform: translateX(13Px) !important; } } .headTopBackBtn { display: none; } .pcTitle { position: absolute; left: 20%; top: 50%; transform: translate(-50%, -50%); .van-notice-bar__wrap { justify-content: center; } } } .headHeight.headHide { // margin-top: 0 !important; } } .preViewDetail { background: #fff !important; .headHeight { background: #fff !important; } .container { height: 100%; padding-bottom: 0 !important; padding-right: 0 !important; } :global { #osmdCanvasPage1 { padding-bottom: 0 !important; } #cursorImg-0, #cursor-copy { opacity: 0 !important; } } } .preJson { width: 1px; height: 1px; visibility: hidden; background: transparent; opacity: 0; } .singleLineDetail { :global { #cursorImg-0 { display: none; } .staveBox { display: none !important; } .cursorAnimate { animation: cnimate 1s ease-in-out infinite; } .leftNoteBg { position: sticky; background: rgba(0, 0, 0, 0.3); ::before { content: ""; position: absolute; left: 0; top: 0; width: 200px; height: 100px; background: rgba(0,0,0,0.4); z-index: 999; display: block; } } #cursor-copy { &::after { content: ""; position: sticky; left: 0; top: 0; width: 200px; height: 200px; background: rgba(0,0,0,0.4); z-index: 999; display: block; } } } } @keyframes headerDown { 100% { transform: translateY(0%); } } .modeView { position: fixed; z-index: 99; top: 0; left: 0; width: 100vw; height: 100vh; background: url(./images/bg.png) no-repeat; background-size: 100% 100%; .back { position: absolute; width: 38px; height: 38px; left: 27px; top: 17px; } .name { position: absolute; left: 50%; top: 23px; transform: translateX(-50%); width: 87px; height: 21px; } .modeBox { width: 100%; margin-top: 90px; display: flex; justify-content: space-between; padding: 0 36px; > img { width: calc((100% - 2*40px)/3); } } }