1
0
Fork 0
mirror of synced 2024-07-07 23:35:49 +12:00

Fix mobile drawer not using spectrum colours

This commit is contained in:
Andrew Kingston 2021-07-05 13:56:04 +01:00
parent 4ac7accdcb
commit 7fd9af81e8

View file

@ -314,7 +314,7 @@
transition: transform 0.26s ease-in-out, opacity 0.26s ease-in-out; transition: transform 0.26s ease-in-out, opacity 0.26s ease-in-out;
height: 100vh; height: 100vh;
opacity: 0; opacity: 0;
background: white; background: var(--spectrum-alias-background-color-secondary);
z-index: 999; z-index: 999;
flex-direction: column; flex-direction: column;
justify-content: flex-start; justify-content: flex-start;
@ -328,7 +328,8 @@
.links.visible { .links.visible {
opacity: 1; opacity: 1;
transform: translateX(250px); transform: translateX(250px);
box-shadow: 0 0 40px 20px rgba(0, 0, 0, 0.1); box-shadow: 0 0 80px 20px rgba(0, 0, 0, 0.2);
border-right: 1px solid var(--spectrum-global-color-gray-300);
} }
.mobile-click-handler.visible { .mobile-click-handler.visible {
position: fixed; position: fixed;