File: context-menu.css

package info (click to toggle)
cockpit 239-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 67,268 kB
  • sloc: javascript: 245,474; ansic: 72,273; python: 23,634; xml: 6,155; sh: 2,919; makefile: 923; sed: 5
file content (27 lines) | stat: -rw-r--r-- 641 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
.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;
    background: white;
    padding-top: 2px;
    padding-bottom: 2px;
    box-shadow: 0px 2px 10px var(--ct-color-subtle-copy);
}

.contextMenuOption {
    padding: 5px 15px 5px 15px;
    min-width: 220px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    background-color: transparent;
    border: none;
}

.contextMenuOption:hover,
.contextMenuOption:active {
    background-color: var(--ct-color-link);
    color: white;
}