forked from TurboWarp/scratch-gui
-
Notifications
You must be signed in to change notification settings - Fork 188
Expand file tree
/
Copy pathmenu.css
More file actions
50 lines (43 loc) · 896 Bytes
/
menu.css
File metadata and controls
50 lines (43 loc) · 896 Bytes
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
@import "../../css/colors.css";
.menu {
position: absolute;
border: 1px solid $ui-black-transparent;
border-radius: 0 0 8px 8px;
background-color: $motion-primary;
padding: 0;
margin: 0;
min-width: 186px;
/* tw: no max width */
/* max-width: 260px; */
overflow: visible;
color: $text-menubar;;
box-shadow: 0 8px 8px 0 $ui-black-transparent-default;
}
[theme="dark"] .menu {
background-color: $motion-primary-dark;
}
.menu.left {
right: 0;
}
.menu.right {
left: 0;
}
.menu-item {
display: block;
line-height: 34px;
white-space: nowrap;
padding: 0 10px;
font-size: .75rem;
margin: 0;
font-weight: bold;
}
.menu-item.active,
.menu-item:hover {
background-color: $ui-black-transparent;
}
.menu-item.hoverable {
cursor: pointer;
}
.menu-section {
border-top: 1px solid $ui-black-transparent;
}