File: context-menu.scss

package info (click to toggle)
cockpit-podman 121-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 277,516 kB
  • sloc: javascript: 695,995; cpp: 11,141; python: 7,835; sh: 923; makefile: 156; xml: 90
file content (21 lines) | stat: -rw-r--r-- 585 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: LGPL-2.1-or-later */
.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-t--global--spacer--sm)), calc(-1 * var(--pf-t--global--spacer--sm)));

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

  &Shortcut {
    opacity: 0.75;
  }
}