-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(map): metric download functionality [EP-1328] (#187)
* feat(map): metric download functionality [EP-1328] * feat(map): metric download functionality [EP-1328] * feat(map): metric download functionality [EP-1328]
- Loading branch information
1 parent
a708017
commit 505cb30
Showing
10 changed files
with
164 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/earth-admin/src/components/download-file/DownloadFile.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67 changes: 67 additions & 0 deletions
67
packages/earth-map/src/components/widget/download/styles.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
/* | ||
Copyright 2018-2020 National Geographic Society | ||
Use of this software does not constitute endorsement by National Geographic | ||
Society (NGS). The NGS name and NGS logo may not be used for any purpose without | ||
written permission from NGS. | ||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use | ||
this file except in compliance with the License. You may obtain a copy of the | ||
License at | ||
https://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software distributed | ||
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR | ||
CONDITIONS OF ANY KIND, either express or implied. See the License for the | ||
specific language governing permissions and limitations under the License. | ||
*/ | ||
|
||
@import '~styles/config'; | ||
|
||
.ng-ep-download-dropdown { | ||
background: $marapp-gray-7; | ||
border: 1px solid rgba(255, 255, 255, 0.1); | ||
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); | ||
display: none; | ||
padding: 0; | ||
position: absolute; | ||
right: 0; | ||
transform: translateY(5px); | ||
z-index: 100; | ||
width: 320px; | ||
ul { | ||
padding: 0!important; | ||
} | ||
li { | ||
position: relative; | ||
border-bottom: 0; | ||
color: $marapp-gray-0; | ||
display: block; | ||
font-family: $marapp-secondary-font; | ||
font-size: 13px; | ||
font-weight: 500; | ||
letter-spacing: 2.6px; | ||
padding: 10px 20px; | ||
&:hover { | ||
background: $marapp-gray-6; | ||
} | ||
} | ||
} | ||
|
||
.ng-dropdown-button { | ||
align-items: center; | ||
font-size: 12px; | ||
justify-content: center; | ||
display: flex; | ||
height: 40px; | ||
width: 40px; | ||
} | ||
|
||
.ng-dropdown-button-open { | ||
background: $marapp-gray-1; | ||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.075); | ||
border-radius: 20px; | ||
color: $marapp-gray-8; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,7 @@ | |
.ng-widget-header { | ||
background: $marapp-gray-100; | ||
} | ||
|
||
.widgets--list-item { | ||
background: $marapp-gray-8; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters