-
Notifications
You must be signed in to change notification settings - Fork 353
Expand file tree
/
Copy pathcontext-menu.module.scss
More file actions
61 lines (56 loc) · 1.29 KB
/
context-menu.module.scss
File metadata and controls
61 lines (56 loc) · 1.29 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
.container {
max-width: calc(-24px + 100vw);
max-height: calc(-24px + 100vh);
position: fixed;
background-color: var(--color_bg_layer);
border: 1px solid var(--color_border_default);
font-size: 0.875rem;
z-index: 9009;
cursor: default;
border-radius: 1rem;
overflow: hidden;
padding: 0.25rem;
min-width: 180px;
box-shadow:
0 1px 1px -0.5px rgba(0, 0, 0, 0.04),
0 3px 3px -1.5px rgba(0, 0, 0, 0.04),
0 6px 6px -3px rgba(0, 0, 0, 0.04),
0 12px 12px -6px rgba(0, 0, 0, 0.04),
inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}
.groupLabel {
width: 100%;
padding: 0.5rem 0.75rem 0.25rem;
font-size: 0.8125rem;
color: var(--color_fg_default);
}
.list {
display: flex;
align-items: center;
list-style-type: none;
flex-direction: column;
}
.menuItem {
width: 100%;
justify-content: flex-start;
position: relative;
padding: 0.5rem 0.75rem;
border-radius: 0.75rem;
color: var(--color_fg_bold);
gap: 0.5rem;
font-family: var(--font-primary);
border: none;
background-color: var(--color_bg_layer);
display: flex;
align-items: center;
&:hover {
cursor: pointer;
background-color: var(--color_bg_layer_alternate-bold);
}
}
.separator {
width: 100%;
height: 1px;
background-color: var(--color_border_default);
margin: 0.25rem 0;
}