123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217 |
- .playCreation{
- width: 100vw;
- height: 100vh;
- position: relative;
- &.landscapeScreen{
- width: 100vh;
- height: 100vw;
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%) rotate(90deg);
- transform-origin: center;
- :global{
- .plyr .plyr__controls__item.plyr__progress__container input{
- pointer-events: none;
- }
- }
- }
- &.notLoaded{
- :global{
- .plyr .plyr__controls {
- display: none;
- }
- }
- }
- :global {
- .plyr {
- width: 100%;
- height: 100%;
- z-index: initial;
- .plyr__controls{
- background: initial;
- padding: 0 20px 20px;
- opacity: 1 !important;
- transform: translateY(0) !important;
- pointer-events: initial !important;
- .plyr__controls__item.plyr__control{
- padding: 0;
- width: 18px;
- height: 18px;
- &:hover{
- background: initial;
- }
- .icon--pressed{
- width: 100%;
- height: 100%;
- background: url("../images/pause1.png") no-repeat;
- background-size: 100% 100%;
- use{
- display: none;
- }
- }
- .icon--not-pressed{
- width: 100%;
- height: 100%;
- background: url("../images/play1.png") no-repeat;
- background-size: 100% 100%;
- use{
- display: none;
- }
- }
- }
- .plyr__controls__item.plyr__progress__container{
- margin-left: 9px;
- input[type=range]{
- color: #73C1FF;
- height: 20px;
- }
- input[type="range"]::-webkit-slider-runnable-track {
- height: 4px;
- }
- input[type="range"]::-webkit-slider-thumb {
- width: 12px;
- height: 12px;
- margin-top: -4px;
- box-shadow: initial;
- }
- .plyr__progress__buffer{
- height: 4px;
- color: rgba(115,193,255,0.8);
- background-color: #fff;
- margin-top: -2px;
- }
- }
- .plyr__controls__item.plyr__time{
- font-weight: 500;
- font-size: 14px;
- color: #FFFFFF;
- display: initial;
- &.plyr__time--current{
- margin-left: 9px;
- }
- }
- }
- .plyr__tooltip{
- display: none;
- }
- }
- }
- .videoBox{
- width: 100%;
- height: 100%;
- }
- .audioBox{
- width: 100%;
- height: 100%;
- background: url("../images/audioBg.png") no-repeat;
- background-size: 100% 100%;
- position: relative;
- .audioBga {
- position: absolute;
- left: 0;
- top: 0;
- width: 100%;
- height: 82%;
- }
- .audioBga1 {
- position: absolute;
- left: 0;
- top: 60px;
- width: 146px;
- }
- .audioBga2 {
- width: 268px;
- position: absolute;
- right: -24px;
- top: 0;
- }
- :global {
- .plyr {
- position: absolute;
- height: initial;
- left: 0;
- bottom: 0;
- z-index: 2;
- }
- }
- .audioVisualizer{
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%,-50%);
- width: 370px;
- height: 66px;
- }
- }
- .playLarge{
- position: absolute;
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%);
- width: 48px;
- height: 48px;
- background: url("../images/midPlay.png") no-repeat;
- background-size: 100% 100%;
- z-index: 12;
- display: none;
- &.playIngShow{
- display: initial;
- }
- }
- .backBox{
- position: absolute;
- left: 30px;
- top: 20px;
- display: flex;
- z-index: 10;
- .backImg{
- width: 32px;
- height: 32px;
- }
- .musicDetail{
- margin-left: 10px;
- .musicSheetName{
- margin-top: 4px;
- font-weight: 600;
- font-size: 18px;
- color: #FFFFFF;
- line-height: 20px;
- }
- .username{
- margin-top: 2px;
- font-weight: 400;
- font-size: 12px;
- color: rgba(255, 255, 255, 0.7);
- line-height: 18px
- }
- }
- }
- .staffBox{
- width: 100%;
- height: calc(var(--staffBoxHeight) + 44px);
- position: absolute;
- bottom: 0;
- padding-bottom: 44px;
- visibility: hidden;
- background: linear-gradient( 180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
- z-index: 1;
- &.staffBoxShow{
- visibility: initial;
- }
- .staff{
- width: 100%;
- height: 100%;
- padding-left: 10px;
- }
- .mask{
- position: absolute;
- z-index: 6;
- width: 100%;
- height: 100%;
- }
- }
- }
|