Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standardize Shadows #423

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion MAP/src/components/CountriesSearcher/countriesSearcher.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
z-index: 1;
background: var(--ld-bg);
color: var(--ld-text);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
box-shadow: 0 4px 8px 0 var(--ld-gray-4);
transition: width 1s;
}

Expand Down
2 changes: 1 addition & 1 deletion MAP/src/components/Legend/legend.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
height: 50px;
border-radius: 50%;
background-color: var(--ld-bg);
box-shadow: 0 4px 17px rgba(0, 0, 0, 0.1);
box-shadow: 0 4px 8px 0 var(--ld-gray-4);
display: flex;
color: var(--ld-text);
justify-content: center;
Expand Down
2 changes: 1 addition & 1 deletion MAP/src/components/StatsBar/StatsBar.module.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.statsBar {
background-color: var(--ld-bg);
padding: 0 0 0 10px;
box-shadow: 0 4px 4px 0 var(--ld-gray-2);
box-shadow: 0 4px 8px 0 var(--ld-gray-4);
display: flex;
align-items: flex-start;
position: relative;
Expand Down
47 changes: 24 additions & 23 deletions MAP/src/components/TabMenu/TabMenu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

.menu-overlay {
position: absolute;
top: 0px;
left: 0px;
top: 0;
left: 0;
z-index: 1100;
background-color: rgba(40, 40, 40, 0.8);
width: 100%;
Expand All @@ -12,11 +12,12 @@
display: none;
}
}

.menu-close-btn {
position: absolute !important;
color: white;
background-color: transparent;
padding: 0px !important;
padding: 0 !important;
top: 90px;
width: 39px !important;
height: 39px !important;
Expand All @@ -25,7 +26,6 @@
margin-right: auto !important;
margin-left: auto !important;
border-radius: 50% !important;
/*box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);*/
display: flex;
align-items: center;
justify-content: center;
Expand All @@ -35,29 +35,29 @@
@media (max-width: 960px) {
background: transparent !important;
box-shadow: none;
border-radius: 0px;
border-radius: 0;
}
}

.dark .menu-close-btn {
position: absolute !important;
color: white;
background-color: transparent;
padding: 0px;
padding: 0;
top: 10%;
width: 39px;
right: 0;
left: 0;
margin-right: auto;
margin-left: auto;
border-radius: 50%;
/*box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);*/
&:hover {
cursor: pointer;
}
@media (max-width: 960px) {
background: transparent !important;
box-shadow: none;
border-radius: 0px;
border-radius: 0;
}
}

Expand Down Expand Up @@ -92,9 +92,9 @@
z-index: 2000;
right: 2vw;
border-radius: 50%;
border: 0px;
border: 0;
background-color: white;
box-shadow: 0px 4px 17px rgba(0, 0, 0, 0.1);
box-shadow: 0 4px 8px 0 var(--ld-gray-4);
justify-content: center;
align-items: center;
padding: 10px;
Expand All @@ -109,29 +109,31 @@
@keyframes fadeInRight {
from {
opacity: 0;
width: 0%;
width: 0;
}

to {
opacity: 1;
width: 8%;
}
}

@keyframes fadeInRightM {
from {
opacity: 0;
width: 0%;
width: 0;
}

to {
opacity: 1;
width: 23%;
}
}

.ld-menu {
@media (max-width: 960px) {
width: 56px;
top: 0px;
top: 0;
height: 100%;
animation: fadeInRightM 1s;
}
Expand All @@ -145,7 +147,7 @@
max-width: 56px;
position: absolute;
padding: 0;
right: 0px;
right: 0;
background-color: #f2f2f2;
z-index: 1100;
.dark & {
Expand All @@ -154,15 +156,15 @@
& .link-container {
display: flex;
justify-content: space-between;
padding: 25px 0px;
padding: 25px 0;
}
& .ld-menu-nav {
display: flex;
height: 100%;
width: 100%;
& nav {
width: 100%;
padding: 10px 0px 10px 0px;
padding: 10px 0 10px 0;
display: flex;
flex-direction: column;
justify-content: center;
Expand Down Expand Up @@ -205,8 +207,7 @@
width: 10px;
z-index: -1;
content: ' ';
border-radius: 0% 100% 100% 69% / 0% 50% 51% 0%;
/*box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);*/
border-radius: 0 100% 100% 69% / 0% 50% 51% 0%;
background-color: transparent;
border-width: 10px 0 10px 10px;
border-style: solid;
Expand All @@ -231,19 +232,19 @@

.ld-menu--content {
display: block;
top: 0px;
top: 0;
right: 100%;
height: 100%;
position: absolute;
background-color: white;
width: 700px;
border-radius: 0px 0px 0px 0px;
-moz-border-radius: 0px 0px 0px 0px;
-webkit-border-radius: 0px 0px 0px 0px;
border-radius: 0 0 0 0;
-moz-border-radius: 0 0 0 0;
-webkit-border-radius: 0 0 0 0;
overflow: auto;
box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.25);
@media (max-width: 960px) {
border-radius: 0px;
border-radius: 0;
width: calc(100vw - 100%);
left: calc(100% - 100vw);
}
Expand Down
2 changes: 1 addition & 1 deletion MAP/src/components/Zoom/Zoom.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
background-color: var(--ld-bg);
width: 50px;
border-radius: 25px;
box-shadow: 0 4px 4px 0 var(--ld-gray-2);
box-shadow: 0 4px 8px 0 var(--ld-gray-4);
display: flex;
flex-direction: column;
align-items: center;
Expand Down