Files
aurora-admin/frameworks/Dropdown.css
T

21 lines
1.1 KiB
CSS

/* Aurora Admin Dropdown 样式 — 对齐 组件2.txt Dropdown 规范 */
.aa-dropdown { position: relative; display: inline-block; }
.aa-dropdown-trigger {
border: 1px solid #E8ECF1; background: #fff; border-radius: 4px; height: 32px; padding: 0 12px;
cursor: pointer; font-size: 14px; color: #262626; display: inline-flex; align-items: center; gap: 4px;
}
.aa-dropdown-trigger:hover { border-color: #2F54EB; }
.aa-dropdown-panel {
position: absolute; z-index: 20; top: calc(100% + 4px); left: 0; min-width: 120px;
background: #fff; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); padding: 4px 0;
}
.aa-dropdown-item {
display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; cursor: pointer;
font-size: 14px; color: #262626; white-space: nowrap;
}
.aa-dropdown-item:hover { background: #F5F7FA; }
.aa-dropdown-item.is-danger { color: #F5222D; }
.aa-dropdown-item.is-disabled { color: #BFBFBF; cursor: not-allowed; }
.aa-dropdown-item.is-disabled:hover { background: transparent; }
.aa-dropdown-divider { height: 1px; background: #F0F0F0; margin: 4px 0; }