index.module.less 3.6 KB

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