This repository has been archived by the owner on Dec 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve geoblock modal layout (#992)
* Styling for the json editor component * improve color * Tab container buttons to switch between editors * improve validate button * Improve layout of the geoblock build modal * text overflow for block in sidebar * Fix height of the modal container
- Loading branch information
1 parent
fed893f
commit 6779362
Showing
6 changed files
with
97 additions
and
56 deletions.
There are no files selected for viewing
34 changes: 30 additions & 4 deletions
34
src/data_management/geoblocks/buildComponents/GeoBlockBuildModal.module.css
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 |
---|---|---|
@@ -1,8 +1,34 @@ | ||
.MainContainer { | ||
height: calc(100% - 60px); | ||
height: 100%; | ||
margin: 20px 40px; | ||
display: grid; | ||
grid-template-rows: 40px 1fr 60px; | ||
} | ||
|
||
.TabContainer { | ||
display: grid; | ||
grid-template-columns: 200px 200px; | ||
grid-auto-rows: minmax(40px, 40px); | ||
} | ||
|
||
.TabContainer > div { | ||
opacity: 0.34; | ||
font-weight: 500; | ||
text-transform: uppercase; | ||
color: #FFFFFF; | ||
padding: 0; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-between; | ||
position: relative; | ||
justify-content: center; | ||
align-items: center; | ||
background-color: var(--color-header); | ||
border-radius: 10px 10px 0 0; | ||
box-shadow: 6px 0px 5px #00000029; | ||
cursor: pointer; | ||
} | ||
.TabContainer > div:nth-child(2) { | ||
box-shadow: none; | ||
border-radius: 10px 10px 0 0; | ||
} | ||
.SelectedTab { | ||
opacity: 1 !important; | ||
} |
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
8 changes: 8 additions & 0 deletions
8
src/data_management/geoblocks/buildComponents/GeoBlockJsonComponent.css
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,8 @@ | ||
#json-editor-container div.jsoneditor { | ||
border: thin solid var(--color-header); | ||
} | ||
|
||
#json-editor-container div.jsoneditor-menu { | ||
background-color: var(--color-header); | ||
border: thin solid var(--color-header); | ||
} |
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