31 lines
704 B
CSS
31 lines
704 B
CSS
/* Adapted from HeroUI v3, ce90ea3. Copyright 2025 NextUI Inc.
|
|
* See third-party/HEROUI-LICENSE. Modified: hv- class prefix. */
|
|
|
|
/* Base styles */
|
|
.hv-kbd {
|
|
@apply inline-flex h-6 items-center space-x-0.5 rounded-lg bg-default px-2 text-center font-sans text-sm font-medium whitespace-nowrap text-muted rtl:space-x-reverse;
|
|
word-spacing: -0.25rem;
|
|
}
|
|
|
|
/* Key abbreviation styles */
|
|
.hv-kbd__abbr {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* Content wrapper */
|
|
.hv-kbd__content {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
/* Variant styles */
|
|
.hv-kbd--light {
|
|
@apply bg-transparent;
|
|
}
|