zlwu 5 月之前
父節點
當前提交
cc092a39a3
共有 1 個文件被更改,包括 8 次插入 和 7 次删除
  1. 8 7
      bx/bx-mobile/src/styles/index.css

+ 8 - 7
bx/bx-mobile/src/styles/index.css

@@ -1615,21 +1615,22 @@ a { color: inherit; text-decoration: none }
 .menu-item {
   position: relative;
   border: none;
-  background: transparent;
-  border-radius: 12px;
+  background: var(--surface);
+  border-radius: var(--r);
   padding: 10px 8px 9px;
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 5px;
   cursor: pointer;
-  box-shadow: none;
-  transition: .15s;
+  box-shadow: var(--shadow);
+  transition: background .15s, box-shadow .15s, transform .15s;
 }
 
 .menu-item:active {
   transform: scale(.96);
-  background: rgba(0, 201, 141, .08);
+  background: var(--primary-light);
+  box-shadow: 0 1px 6px rgba(0, 0, 0, .05);
 }
 
 .menu-item .icon {
@@ -1671,8 +1672,8 @@ a { color: inherit; text-decoration: none }
   width: 8px;
   height: 8px;
   border-radius: 50%;
-  background: #ef4444;
-  box-shadow: 0 0 0 2px #fff;
+  background: var(--danger);
+  box-shadow: 0 0 0 2px var(--surface);
 }
 
 /* ----------------------------------------------------------