plane/web/styles/command-pallette.css

40 lines
774 B
CSS
Raw Permalink Normal View History

[cmdk-group]:not(:first-child) {
margin-top: 0.5rem;
}
[cmdk-group-heading] {
color: rgb(var(--color-text-secondary));
font-size: 0.75rem;
margin: 0 0 0.25rem 0.25rem;
}
[cmdk-item] {
display: flex;
align-items: center;
justify-content: space-between;
border-radius: 0.375rem;
padding: 0.5rem;
font-size: 0.825rem;
line-height: 1.25rem;
cursor: pointer;
}
[cmdk-item] kbd {
height: 1.25rem;
width: 1.25rem;
display: grid;
place-items: center;
font-size: 0.75rem;
line-height: 1rem;
border-radius: 0.25rem;
background-color: rgba(var(--color-background-100));
}
[cmdk-item]:hover {
background-color: rgba(var(--color-background-80));
}
2023-04-03 18:22:39 +00:00
[cmdk-item][aria-selected="true"] {
background-color: rgba(var(--color-background-80));
2023-04-03 18:22:39 +00:00
}