Skip to content

Commit 2b7160c

Browse files
authored
Merge pull request #164 from KnowWhereGraph/stko-kwg
1.0.0 Beta
2 parents 97c7ea3 + db22c5d commit 2b7160c

12 files changed

+444144
-595
lines changed

dr-app/public/cache/nwzones.json

Lines changed: 38122 additions & 0 deletions
Large diffs are not rendered by default.

dr-app/public/cache/us_admin_regions.json

Lines changed: 81864 additions & 0 deletions
Large diffs are not rendered by default.

dr-app/public/cache/us_climate_divisions.json

Lines changed: 3452 additions & 0 deletions
Large diffs are not rendered by default.

dr-app/public/cache/zipcode_areas.json

Lines changed: 319862 additions & 0 deletions
Large diffs are not rendered by default.

dr-app/public/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"description":"configuration for full-text search on KnowWhereGraph",
33
"repository": [
44
{
5-
"endpoint":"http://stko-roy.geog.ucsb.edu:7202/repositories/KnowWhereGraph-V1"
5+
"endpoint":"http://stko-roy.geog.ucsb.edu/graphdb/repositories/KnowWhereGraph-V1"
66
},
77
{
88
"endpoint":"https://stko-kwg.geog.ucsb.edu/sparql",

dr-app/public/css/spatial_search.css

Lines changed: 37 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -491,10 +491,12 @@ p#cnfg-tb {}
491491

492492
table.table-filters tbody tr:nth-child(odd) {
493493
background-color: #FFFFFF;
494+
position: relative;
494495
}
495496

496497
table.table-filters tbody tr:nth-child(even) {
497498
background-color: #F2F2F4;
499+
position: relative;
498500
}
499501

500502
.results-table .table-body-container table td {
@@ -746,7 +748,7 @@ ul#place-hazard-count li {
746748
/* position: relative; */
747749
}
748750

749-
ul#place-hazard-count li span {
751+
ul#place-hazard-count li span.IconCounter {
750752
display: inline-block;
751753
position: absolute;
752754
margin-left: 3px;
@@ -755,26 +757,51 @@ ul#place-hazard-count li span {
755757

756758
/* mouse over these icons and show the tip text */
757759

758-
.hazardIcons {
759-
position: relative;
760+
td.hazardIcons {
761+
/* position: relative; */
762+
/* z-index: 9999; */
763+
/* background-color: #2BA9BD; */
760764
}
761765

762766
span.tooltiptext {
763767
visibility: hidden;
764768
width: 70px;
765-
height: 20px;
769+
height: 25px;
766770
background-color: black;
767771
color: #fff;
768772
text-align: center;
769773
border-radius: 6px;
770774
position: absolute;
771-
top: -10px;
772-
/* padding: 2px 0;
773775
opacity: 0.5;
774-
font-size: 12px;
775-
margin-left: -45px;
776-
top: -10px;
777-
position: absolute; */
776+
top: -20px;
777+
}
778+
779+
span.people-tooltiptext {
780+
right: calc(33.3% - 8px - (33.3% - 200px)/2 - 48px);
781+
}
782+
783+
span.hurricane-tooltiptext {
784+
right: calc(33.3% - 8px - (33.3% - 200px)/2 - 35px - 51px - 10px);
785+
}
786+
787+
span.fire-tooltiptext {
788+
right: calc((33.3% - 200px)/2 + 50px);
789+
}
790+
791+
span.earthquake-tooltiptext {
792+
width: 80px;
793+
right: calc((33.3% - 200px)/2);
794+
}
795+
796+
.tooltiptext::after {
797+
content: "";
798+
position: absolute;
799+
top: 100%;
800+
left: 50%;
801+
margin-left: -5px;
802+
border-width: 5px;
803+
border-style: solid;
804+
border-color: black transparent transparent transparent;
778805
}
779806

780807
ul#place-hazard-count li:hover .tooltiptext {

0 commit comments

Comments
 (0)