Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit f773a15

Browse files
committed
[design] restore menu transparency when edge is shown
1 parent 750b92c commit f773a15

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/css/menu.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
width: 100%;
77
height: 80vh;
88
transform: translateY(calc(-100% - 2em));
9-
transition: transform var(--layout-timing-extra-fast);
109
z-index: var(--z-index-menu);
1110
pointer-events: none;
11+
transition: transform var(--layout-timing-extra-fast);
1212
}
1313

1414
.menu:focus {
@@ -22,14 +22,18 @@
2222
.menu-area {
2323
background-color: rgb(var(--theme-gray-01));
2424
border-radius: var(--theme-radius);
25-
box-shadow: var(--layout-shadow-large);
2625
width: 100%;
2726
max-height: 100%;
2827
overflow-y: auto;
28+
box-shadow: var(--layout-shadow-large);
2929
pointer-events: all;
3030
transition: background-color var(--layout-timing-extra-fast);
3131
}
3232

33+
.is-edge .menu-area {
34+
background-color: rgba(var(--theme-gray-01), 0.8);
35+
}
36+
3337
.menu-nav {
3438
display: flex;
3539
flex-direction: row;

0 commit comments

Comments
 (0)