index.module.less 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  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. .rightContent {
  65. display: flex;
  66. flex-direction: column;
  67. justify-content: space-evenly;
  68. align-items: center;
  69. height: 100%;
  70. flex-shrink: 0;
  71. }
  72. // 萨克斯
  73. :global(.saxophone) {
  74. padding: 10px 0;
  75. .imgs {
  76. width: 100%;
  77. }
  78. .rightContent {
  79. position: absolute;
  80. right: 6px;
  81. height: 90%;
  82. }
  83. }
  84. //圆号
  85. :global(.horn) {
  86. padding: 10px 4px;
  87. .imgs {
  88. width: 100%;
  89. }
  90. .rightContent {
  91. position: absolute;
  92. right: 10px;
  93. height: 100%;
  94. }
  95. }
  96. //上低音号
  97. :global(.up-bass-horn),
  98. :global(.tuba) {
  99. padding: 10px 4px;
  100. .imgs {
  101. width: 100%;
  102. }
  103. .rightContent {
  104. position: absolute;
  105. right: 10px;
  106. height: 100%;
  107. }
  108. }
  109. .yidiao {
  110. width: 30px;
  111. color: var(--van-primary-color);
  112. font-size: 12Px;
  113. text-align: center;
  114. opacity: 0;
  115. }
  116. .tizhi {
  117. width: 30px;
  118. height: 30px;
  119. text-align: center;
  120. line-height: 30px;
  121. border-radius: 100%;
  122. background-color: var(--van-primary-color);
  123. color: #fff;
  124. box-shadow: 0 0 10px rgba(0, 0, 0, .05);
  125. font-size: 12Px;
  126. opacity: 0;
  127. pointer-events: none;
  128. &:active {
  129. opacity: .8;
  130. }
  131. }
  132. .transTizhi {
  133. position: absolute;
  134. top: -20px;
  135. }
  136. .canDisplay {
  137. opacity: 1;
  138. pointer-events: initial;
  139. }
  140. @keyframes activeopacity {
  141. 0% {
  142. transforopacitym: 0;
  143. }
  144. 100% {
  145. opacity: 1;
  146. }
  147. }
  148. @keyframes leftrotates {
  149. 0% {
  150. transform: rotate(0deg);
  151. }
  152. 50% {
  153. transform: rotate(-10deg);
  154. }
  155. 100% {
  156. transform: rotate(-10deg);
  157. }
  158. }
  159. @keyframes rightrotates {
  160. 0% {
  161. transform: rotate(0deg);
  162. }
  163. 50% {
  164. transform: rotate(5deg);
  165. }
  166. 100% {
  167. transform: rotate(5deg);
  168. }
  169. }
  170. :global {
  171. .small-drum {
  172. // transform: ;
  173. img[data-index="active"] :local {
  174. animation: activeopacity .2s;
  175. animation-delay: .3s;
  176. transform-origin: 0px 0px;
  177. }
  178. img[data-index="left"] :local {
  179. // transform: rotate(-10deg);
  180. animation: leftrotates .5s;
  181. transform-origin: 0px 0px;
  182. }
  183. img[data-index="right"] :local {
  184. // transform: rotate(5deg);
  185. animation: rightrotates .5s;
  186. transform-origin: 0px 0px;
  187. }
  188. }
  189. }
  190. :global {
  191. .piccolo {
  192. margin-top: 0;
  193. // padding: 0 10px;
  194. // padding-right: 40px;
  195. >.piccolo {
  196. // padding: 0!important;
  197. }
  198. }
  199. }