mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-27 13:12:09 +01:00
Remove the inset bottom shadow from `<kbd>` elements in markup and on keyboard shortcut hints. The skeuomorphic key cap look is not needed, the border alone marks the element as a key.
26 lines
511 B
CSS
26 lines
511 B
CSS
.global-shortcut-wrapper {
|
|
position: relative;
|
|
}
|
|
|
|
kbd {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 18px;
|
|
padding: 2px 4px;
|
|
font-size: 11px;
|
|
line-height: 1;
|
|
color: var(--color-text-light-2);
|
|
background-color: var(--color-box-body);
|
|
border: 1px solid var(--color-secondary);
|
|
border-radius: var(--border-radius);
|
|
}
|
|
|
|
.global-shortcut-wrapper > kbd {
|
|
position: absolute;
|
|
right: 6px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
pointer-events: none;
|
|
}
|