Skip to content

Commit 1d1052f

Browse files
committed
style: 统一分段控件按钮的圆角样式
1 parent de4bbce commit 1d1052f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

assets/css/styles.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@ body { margin: 0; font-family: system-ui, sans-serif; background: linear-gradien
6969

7070
/* 测试场景胶囊按钮 */
7171
#testType { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
72-
#testType .seg-btn { border: 1px solid #e2e8f0; background: #ffffff; color: #475569; padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; transition: all 0.2s ease; }
72+
#testType .seg-btn { border: 1px solid #e2e8f0; background: #ffffff; color: #475569; padding: 6px 16px; border-radius: 10px; font-size: 13px; font-weight: 500; transition: all 0.2s ease; }
7373
#testType .seg-btn:hover { border-color: #cbd5e1; background: #f8fafc; color: #334155; }
7474
#testType .seg-btn.active { background: #eff6ff; border-color: #bfdbfe; color: #1e90ff; font-weight: 600; box-shadow: 0 1px 2px rgba(30,144,255,0.05); }
7575

7676
/* 其他用途的通用分段控件 */
7777
.segmented { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 12px; }
78-
.segmented:not(#vendorType):not(#testType) .seg-btn { border: 1px solid #cfe6ff; background: #ffffff; color: #0f172a; padding: 8px 12px; border-radius: 8px; cursor: pointer; font-weight: 600; }
78+
.segmented:not(#vendorType):not(#testType) .seg-btn { border: 1px solid #cfe6ff; background: #ffffff; color: #0f172a; padding: 8px 12px; border-radius: 10px; cursor: pointer; font-weight: 600; }
7979
.segmented:not(#vendorType):not(#testType) .seg-btn:hover { background: #f4f9ff; }
8080
.segmented:not(#vendorType):not(#testType) .seg-btn.active { background: #1e90ff; color: #ffffff; border-color: #1e90ff; }
8181

0 commit comments

Comments
 (0)