Fixes #280 - adds territory focus buttons for Alaska, Hawaii, Lower 48, and Puerto Rico to enable easy zoom to these locations (#315)

This commit is contained in:
Nat Hillard 2021-07-09 09:56:18 -04:00 committed by GitHub
commit 5bade764c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 166 additions and 16 deletions

View file

@ -12,3 +12,32 @@ $sidebar-color: #ffffff;
overflow-y: scroll;
pointer-events: all !important;
}
.territoryFocusButton {
width: 40px;
height: 40px;
border-width: 1px 2px;
border-color: #000000;
border-style: solid;
background-color: #ffffff;
}
.territoryFocusContainer {
display: flex;
flex-direction: column;
text-align: center;
font-size: 16px;
line-height: 40px;
position: absolute;
left: 20px;
top: 300px;
z-index: 10;
}
.territoryFocusButton:first-child {
border-top-width: 2px;
}
.territoryFocusButton:last-child {
border-bottom-width: 2px;
}