summaryrefslogtreecommitdiffstats
path: root/pkg/lib/context-menu.scss
blob: 1f1c7df2490e158251b3fdcef81c7e920546a7b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.contextMenu {
  position: fixed;
  /* xterm accessibility tree has z-index 100 and we need to be in front of it
     * to be able to handle mouse events.
     */
  z-index: 101;
  /* Move the menu under the mouse */
  transform: translate(calc(-1 * var(--pf-v5-global--spacer--sm)), calc(-1 * var(--pf-v5-global--spacer--sm)));

  &Option .pf-v5-c-menu__item-text {
    display: flex;
    gap: var(--pf-v5-global--spacer--sm);
    justify-content: space-between;
    min-inline-size: 10rem;
  }

  &Shortcut {
    opacity: 0.75;
  }
}