iter: d25 menu 条目支持快捷键提示
This commit is contained in:
+18
-1
@@ -360,8 +360,11 @@
|
||||
visibility: visible;
|
||||
}
|
||||
.ua-menu-item {
|
||||
display: block;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: var(--ua-space-4);
|
||||
text-align: left;
|
||||
padding: 6px 10px;
|
||||
border: none;
|
||||
@@ -381,6 +384,20 @@
|
||||
.ua-menu-item.is-danger:hover:not(:disabled) {
|
||||
background: color-mix(in srgb, var(--ua-color-danger) 10%, transparent);
|
||||
}
|
||||
.ua-menu-label {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.ua-menu-key {
|
||||
flex: none;
|
||||
color: var(--ua-color-text-muted);
|
||||
font-family: inherit;
|
||||
font-size: var(--ua-font-size-sm);
|
||||
opacity: 0.8;
|
||||
}
|
||||
.ua-menu-item:disabled {
|
||||
opacity: 0.45;
|
||||
cursor: not-allowed;
|
||||
|
||||
Reference in New Issue
Block a user