Skip to content

Commit 957159f

Browse files
author
Wesley
committed
update popupmenu styles
1 parent 80dbe0c commit 957159f

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

styles/web/sass/core/widgets/_popupmenu.scss

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
}
1717

1818
.popupmenu-trigger {
19+
cursor: pointer;
1920
}
2021

2122
.popupmenu-menu {
@@ -27,14 +28,17 @@
2728
border: 1px solid $border-color-default;
2829
border-radius: 8px;
2930
background-color: $bg-color;
30-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
31+
box-shadow: 0 3px 14px 2px rgba(0, 0, 0, 0.02), 0 8px 10px 1px rgba(0, 0, 0, 0.04),
32+
0 5px 5px -3px rgba(0, 0, 0, 0.08);
3133

3234
&.popupmenu-position-left {
35+
top: 0;
3336
left: 0;
3437
transform: translateX(-100%);
3538
}
3639

3740
&.popupmenu-position-right {
41+
top: 0;
3842
right: 0;
3943
transform: translateX(100%);
4044
}
@@ -49,11 +53,13 @@
4953
transform: translateY(100%);
5054
}
5155

56+
.popupmenu-basic-item:first-child,
5257
.popupmenu-custom-item:first-child {
5358
border-top-left-radius: 8px;
5459
border-top-right-radius: 8px;
5560
}
5661

62+
.popupmenu-basic-item:last-child,
5763
.popupmenu-custom-item:last-child {
5864
border-bottom-right-radius: 8px;
5965
border-bottom-left-radius: 8px;
@@ -67,7 +73,7 @@
6773
}
6874

6975
.popupmenu-basic-item {
70-
padding: 8px 16px;
76+
padding: 12px 16px;
7177
color: $font-color-default;
7278
font-size: 14px;
7379

0 commit comments

Comments
 (0)