mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-19 08:22:53 +00:00
41 lines
617 B
SCSS
41 lines
617 B
SCSS
kbd {
|
|
--bg-color: color-mix(
|
|
in srgb,
|
|
var(--md-sys-color-surface-variant) 50%,
|
|
transparent
|
|
);
|
|
--border-radius: 4px;
|
|
|
|
display: inline-flex;
|
|
position: relative;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin-block: 6px;
|
|
border-radius: var(--border-radius);
|
|
background: var(--bg-color);
|
|
padding: 4px;
|
|
height: 20px;
|
|
color: currentcolor;
|
|
font-weight: normal;
|
|
font-size: 14px;
|
|
|
|
&.icon {
|
|
padding: 2px;
|
|
font-size: 18px;
|
|
}
|
|
|
|
&:has(> kbd) {
|
|
gap: 4px;
|
|
border: none;
|
|
padding: 0;
|
|
}
|
|
|
|
> kbd {
|
|
padding: 2px;
|
|
|
|
&.icon {
|
|
padding: 0;
|
|
}
|
|
}
|
|
}
|