-
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.
feat: UI fix and unification of design (#3)
* round number up during preprocessing * update category naming * move/delete elements and change legend order * unify design on policy page * display dash if value not a number * change text to darker color * adjust padding
- Loading branch information
1 parent
333f782
commit aeb4994
Showing
8 changed files
with
307 additions
and
250 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,72 +1,78 @@ | ||
html, body { | ||
max-width: 100%; | ||
overflow-x: hidden; | ||
html, | ||
body { | ||
max-width: 100%; | ||
overflow-x: hidden; | ||
} | ||
|
||
#state-legends { | ||
border-radius: 3px; | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | ||
padding: 0px; | ||
position: absolute; | ||
z-index: 1; | ||
bottom: 25%; | ||
right: 3%; | ||
} | ||
#state-legends { | ||
border-radius: 3px; | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | ||
padding: 0px; | ||
position: absolute; | ||
z-index: 1; | ||
bottom: 25%; | ||
right: 3%; | ||
} | ||
|
||
#state-legends span { | ||
margin-top: 2px; | ||
margin-top: 2px; | ||
} | ||
|
||
|
||
.mapboxgl-popup-close-button { | ||
font-size: 25px; | ||
font-size: 25px; | ||
} | ||
.gray { | ||
color: "#C0C0C0"; | ||
color: "#C0C0C0"; | ||
} | ||
|
||
#score-dropdown { | ||
right: 2%; | ||
top: 2%; | ||
position: absolute; | ||
z-index: 1; | ||
position: absolute; | ||
top: 100px; | ||
left: calc(25% + 20px); | ||
z-index: 1; | ||
} | ||
|
||
#score-dropdown-menu { | ||
max-height: 500px; | ||
overflow-y: auto; | ||
min-width: 500px; | ||
max-height: 500px; | ||
overflow-y: auto; | ||
min-width: 500px; | ||
padding: 0; | ||
margin: 0; | ||
} | ||
|
||
#map { | ||
position: absolute; | ||
top: 0; | ||
bottom: 0; | ||
width: 75%; | ||
left:25% | ||
position: absolute; | ||
top: 0; | ||
width: 75%; | ||
left: 25%; | ||
} | ||
|
||
.wrapper { | ||
position:absolute; | ||
z-index:1; | ||
left:5px; | ||
width:25%; | ||
overflow-y:scroll; | ||
height:100% | ||
position: absolute; | ||
z-index: 1; | ||
top: 80px; | ||
width: 25%; | ||
overflow-y: scroll; | ||
height: calc(100% - 80px); | ||
} | ||
|
||
.wrapper .card-header { | ||
background-color: #3c5a7a; | ||
color: #fff; | ||
border-radius: 0; | ||
} | ||
|
||
::-webkit-scrollbar { | ||
width: 10px; | ||
height: 10px; | ||
width: 10px; | ||
height: 10px; | ||
} | ||
|
||
::-webkit-scrollbar-track { | ||
-webkit-box-shadow: inset 0 0 6px rgba(200,200,200,1); | ||
border-radius: 10px; | ||
-webkit-box-shadow: inset 0 0 6px rgba(200, 200, 200, 1); | ||
} | ||
|
||
::-webkit-scrollbar-thumb { | ||
border-radius: 10px; | ||
background-color: #17a2b8; | ||
-webkit-box-shadow: inset 0 0 6px rgba(90,90,90,0.7); | ||
} | ||
border-radius: 10px; | ||
background-color: #637c95; | ||
-webkit-box-shadow: inset 0 0 6px rgba(90, 90, 90, 0.7); | ||
} |
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
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.