index.module.less 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. .fingeringContainer {
  2. width: 100%;
  3. height: 100%;
  4. display: flex;
  5. justify-content: space-evenly;
  6. align-items: center;
  7. padding: 0 10px 4px 10px;
  8. overflow: hidden;
  9. }
  10. .vertical {
  11. position: relative;
  12. padding: 10px 0 10px 0;
  13. box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 10px;
  14. .imgs {
  15. flex: 1;
  16. }
  17. // &::before {
  18. // content: '';
  19. // position: absolute;
  20. // left: 0;
  21. // top: 0;
  22. // right: 0;
  23. // height: 30px;
  24. // background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
  25. // z-index: 1;
  26. // }
  27. // &::after {
  28. // content: '';
  29. // position: absolute;
  30. // left: 0;
  31. // bottom: 0;
  32. // right: 0;
  33. // height: 30px;
  34. // background: linear-gradient(360deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
  35. // z-index: 1;
  36. // }
  37. &.hulusiTop {
  38. padding-top: 20px;
  39. }
  40. }
  41. .imgs {
  42. position: relative;
  43. width: 84%;
  44. height: 100%;
  45. &>img {
  46. position: absolute;
  47. left: 50%;
  48. top: 50%;
  49. transform: translate(-50%, -50%);
  50. display: block;
  51. max-width: 100%;
  52. max-height: 100%;
  53. }
  54. }
  55. .rightContent {
  56. display: flex;
  57. flex-direction: column;
  58. justify-content: space-evenly;
  59. align-items: center;
  60. height: 100%;
  61. flex-shrink: 0;
  62. }
  63. // 萨克斯
  64. :global(.saxophone) {
  65. padding: 10px 0;
  66. .imgs {
  67. width: 100%;
  68. }
  69. .rightContent {
  70. position: absolute;
  71. right: 6px;
  72. height: 90%;
  73. }
  74. }
  75. //圆号
  76. :global(.horn) {
  77. padding: 10px 4px;
  78. .imgs {
  79. width: 100%;
  80. }
  81. .rightContent {
  82. position: absolute;
  83. right: 10px;
  84. height: 100%;
  85. }
  86. }
  87. //上低音号
  88. :global(.up-bass-horn),
  89. :global(.tuba) {
  90. padding: 10px 4px;
  91. .imgs {
  92. width: 100%;
  93. }
  94. .rightContent {
  95. position: absolute;
  96. right: 10px;
  97. height: 100%;
  98. }
  99. }
  100. .yidiao {
  101. width: 30px;
  102. color: var(--van-primary-color);
  103. font-size: 12Px;
  104. text-align: center;
  105. opacity: 0;
  106. }
  107. .tizhi {
  108. width: 30px;
  109. height: 30px;
  110. text-align: center;
  111. line-height: 30px;
  112. border-radius: 100%;
  113. background-color: var(--van-primary-color);
  114. color: #fff;
  115. box-shadow: 0 0 10px rgba(0, 0, 0, .05);
  116. font-size: 12Px;
  117. opacity: 0;
  118. pointer-events: none;
  119. &:active {
  120. opacity: .8;
  121. }
  122. }
  123. .canDisplay {
  124. opacity: 1;
  125. pointer-events: initial;
  126. }
  127. @keyframes activeopacity {
  128. 0% {
  129. transforopacitym: 0;
  130. }
  131. 100% {
  132. opacity: 1;
  133. }
  134. }
  135. @keyframes leftrotates {
  136. 0% {
  137. transform: rotate(0deg);
  138. }
  139. 50% {
  140. transform: rotate(-10deg);
  141. }
  142. 100% {
  143. transform: rotate(-10deg);
  144. }
  145. }
  146. @keyframes rightrotates {
  147. 0% {
  148. transform: rotate(0deg);
  149. }
  150. 50% {
  151. transform: rotate(5deg);
  152. }
  153. 100% {
  154. transform: rotate(5deg);
  155. }
  156. }
  157. :global {
  158. .small-drum {
  159. // transform: ;
  160. img[data-index="active"] :local {
  161. animation: activeopacity .2s;
  162. animation-delay: .3s;
  163. transform-origin: 0px 0px;
  164. }
  165. img[data-index="left"] :local {
  166. // transform: rotate(-10deg);
  167. animation: leftrotates .5s;
  168. transform-origin: 0px 0px;
  169. }
  170. img[data-index="right"] :local {
  171. // transform: rotate(5deg);
  172. animation: rightrotates .5s;
  173. transform-origin: 0px 0px;
  174. }
  175. }
  176. }
  177. :global {
  178. .piccolo {
  179. margin-top: 0;
  180. // padding: 0 10px;
  181. // padding-right: 40px;
  182. >.piccolo {
  183. // padding: 0!important;
  184. }
  185. }
  186. }