Browse Source

速度样式调整

黄琪勇 1 năm trước cách đây
mục cha
commit
5b393b3d98

BIN
src/page-instrument/header-top/image/speed.png


+ 9 - 7
src/page-instrument/header-top/index.module.less

@@ -69,7 +69,7 @@
         flex-direction: column;
         align-items: center;
         cursor: pointer;
-        margin-right: 40px;
+        margin-right: 30px;
         &:last-child{
             margin-right: 0;
         }
@@ -88,23 +88,25 @@
     .metronomeBtn{
         position: relative;
         .speedCon{
-            padding: 1px 2px;
+            transform: scale(0.83);
+            transform-origin: left bottom;
+            padding: 2px;
             position: absolute;
             left: 14px;
-            top: -4px;
+            top: -9px;
             display: flex;
             align-items: center;
             background: #FFC121;
-            border-radius: 100px 100px 100px 1px;
+            border-radius: 120px 120px 120px 1px;
             border: 1px solid #FFFFFF;
             >img{
-                width: 12px;
-                height: 10px;
+                width: 15px;
+                height: 11px;
             }
             >div{
                 margin-left: 1px;
                 font-weight: 600;
-                font-size: 10px;
+                font-size: 12px;
                 color: #673207;
                 line-height: 1;
             }