Debian Codegraph @

pkg/lib/context-menu.scss

raw
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 .contextMenu {
3 position: fixed;
4 /* xterm accessibility tree has z-index 100 and we need to be in front of it
5 * to be able to handle mouse events.
6 */
7 z-index: 101;
8 /* Move the menu under the mouse */
9 transform: translate(calc(-1 * var(--pf-t--global--spacer--sm)), calc(-1 * var(--pf-t--global--spacer--sm)));
10
11 &Option .pf-v6-c-menu__item-text {
12 display: flex;
13 gap: var(--pf-t--global--spacer--sm);
14 justify-content: space-between;
15 min-inline-size: 10rem;
16 }
17
18 &Shortcut {
19 opacity: 0.75;
20 }
21 }