Skip to content

Commit

Permalink
Merge pull request #164 from KnowWhereGraph/stko-kwg
Browse files Browse the repository at this point in the history
1.0.0 Beta
  • Loading branch information
ThomasThelen authored Feb 18, 2022
2 parents 97c7ea3 + db22c5d commit 2b7160c
Show file tree
Hide file tree
Showing 12 changed files with 444,144 additions and 595 deletions.
38,122 changes: 38,122 additions & 0 deletions dr-app/public/cache/nwzones.json

Large diffs are not rendered by default.

81,864 changes: 81,864 additions & 0 deletions dr-app/public/cache/us_admin_regions.json

Large diffs are not rendered by default.

3,452 changes: 3,452 additions & 0 deletions dr-app/public/cache/us_climate_divisions.json

Large diffs are not rendered by default.

319,862 changes: 319,862 additions & 0 deletions dr-app/public/cache/zipcode_areas.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dr-app/public/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"description":"configuration for full-text search on KnowWhereGraph",
"repository": [
{
"endpoint":"http://stko-roy.geog.ucsb.edu:7202/repositories/KnowWhereGraph-V1"
"endpoint":"http://stko-roy.geog.ucsb.edu/graphdb/repositories/KnowWhereGraph-V1"
},
{
"endpoint":"https://stko-kwg.geog.ucsb.edu/sparql",
Expand Down
47 changes: 37 additions & 10 deletions dr-app/public/css/spatial_search.css
Original file line number Diff line number Diff line change
Expand Up @@ -491,10 +491,12 @@ p#cnfg-tb {}

table.table-filters tbody tr:nth-child(odd) {
background-color: #FFFFFF;
position: relative;
}

table.table-filters tbody tr:nth-child(even) {
background-color: #F2F2F4;
position: relative;
}

.results-table .table-body-container table td {
Expand Down Expand Up @@ -746,7 +748,7 @@ ul#place-hazard-count li {
/* position: relative; */
}

ul#place-hazard-count li span {
ul#place-hazard-count li span.IconCounter {
display: inline-block;
position: absolute;
margin-left: 3px;
Expand All @@ -755,26 +757,51 @@ ul#place-hazard-count li span {

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

.hazardIcons {
position: relative;
td.hazardIcons {
/* position: relative; */
/* z-index: 9999; */
/* background-color: #2BA9BD; */
}

span.tooltiptext {
visibility: hidden;
width: 70px;
height: 20px;
height: 25px;
background-color: black;
color: #fff;
text-align: center;
border-radius: 6px;
position: absolute;
top: -10px;
/* padding: 2px 0;
opacity: 0.5;
font-size: 12px;
margin-left: -45px;
top: -10px;
position: absolute; */
top: -20px;
}

span.people-tooltiptext {
right: calc(33.3% - 8px - (33.3% - 200px)/2 - 48px);
}

span.hurricane-tooltiptext {
right: calc(33.3% - 8px - (33.3% - 200px)/2 - 35px - 51px - 10px);
}

span.fire-tooltiptext {
right: calc((33.3% - 200px)/2 + 50px);
}

span.earthquake-tooltiptext {
width: 80px;
right: calc((33.3% - 200px)/2);
}

.tooltiptext::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: black transparent transparent transparent;
}

ul#place-hazard-count li:hover .tooltiptext {
Expand Down
Loading

0 comments on commit 2b7160c

Please sign in to comment.