feat(S9-P7): CSS 端接线为样式底座——11 页 H5 内联组件样式并入 CSS 文件并 link 接线(单一样式真源);PLATFORMS 将 css 列重定义为样式层/交付物;值冲突按 components.css 裁决(令牌/逻辑属性优先),顺带修复 Select 定位与选择列居中两处内联版缺陷
This commit is contained in:
+8
-10
@@ -5,9 +5,9 @@
|
||||
white-space: nowrap; font-size: 14px; line-height: 22px;
|
||||
border-radius: 4px; min-width: 64px; padding: 0 12px;
|
||||
box-sizing: border-box; transition: background .15s, border-color .15s;
|
||||
font-family: "PingFang SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
|
||||
}
|
||||
.btn:focus-visible { outline: 2px solid rgba(47,84,235,0.2); outline-offset: 2px; }
|
||||
font-family: var(--kole-font-family);
|
||||
flex-shrink: 0;}
|
||||
.btn:focus-visible { outline: 2px solid var(--kole-color-focus-ring); outline-offset: 2px; }
|
||||
|
||||
.btn-primary { background: var(--kole-color-brand); color: var(--kole-color-text-inverse); }
|
||||
.btn-primary:hover { background: var(--kole-color-brand-hover); }
|
||||
@@ -25,13 +25,11 @@
|
||||
.btn-danger { background: var(--kole-color-error); color: var(--kole-color-text-inverse); }
|
||||
.btn-danger:hover { filter: brightness(.92); }
|
||||
|
||||
.btn-lg { height: 40px; }
|
||||
.btn-md { height: 32px; }
|
||||
.btn-sm { height: 24px; }
|
||||
.btn-lg { height: var(--kole-control-height-large); }
|
||||
.btn-md { height: var(--kole-control-height-default); }
|
||||
.btn-sm { height: var(--kole-control-height-small); }
|
||||
|
||||
.btn-disabled, .btn:disabled {
|
||||
background: var(--kole-color-disabled-bg); border-color: transparent; color: var(--kole-color-text-disabled); cursor: not-allowed;
|
||||
}
|
||||
.btn-disabled, .btn:disabled { background: var(--kole-color-disabled-bg); border-color: transparent; color: var(--kole-color-text-placeholder); cursor: not-allowed; }
|
||||
.btn-disabled:hover, .btn:disabled:hover { background: var(--kole-color-disabled-bg); filter: none; }
|
||||
|
||||
.btn .btn-icon { flex-shrink: 0; }
|
||||
@@ -41,5 +39,5 @@
|
||||
.btn .spinner {
|
||||
width: 14px; height: 14px; border: 2px solid currentColor; border-top-color: transparent;
|
||||
border-radius: 50%; animation: kole-btn-spin .6s linear infinite;
|
||||
}
|
||||
display: inline-block;}
|
||||
@keyframes kole-btn-spin { to { transform: rotate(360deg); } }
|
||||
|
||||
Reference in New Issue
Block a user