Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

added tooltip component css

Benjamin0c6ac59bcef5
diff --git a/web/css/wv.tooltip.css b/web/css/wv.tooltip.css
new file mode 100644
index 000000000..0cd295580
--- /dev/null
+++ b/web/css/wv.tooltip.css
@@ -0,0 +1,19 @@
+.wv-tooltip-case {
+ display: inline-block;
+ position: relative;
+}
+ .wv-tooltip-case span {
+ z-index: 2;
+ cursor: pointer;
+ }
+ .wv-tooltip-case .wv-tooltip {
+ visibility: hidden;
+ position: absolute;
+ background: #212121;
+ }
+ .wv-tooltip-case .wv-tooltip:after {
+ left: 50%;
+ -webkit-border-radius: 3px;
+ -moz-border-radius: 3px;
+ border-radius: 3px;
+ }
\ No newline at end of file
diff --git a/web/index.html b/web/index.html
index aa4b0cb0d..027696134 100644
--- a/web/index.html
+++ b/web/index.html
@@ -90,7 +90,7 @@
<!-- link.dev --> <link type="text/css" rel="Stylesheet" href="css/wv.timeline.css">
<!-- link.dev --> <link type="text/css" rel="Stylesheet" href="css/wv.anim.widget.css">
<!-- link.dev --> <link type="text/css" rel="Stylesheet" href="css/wv.dateselector.css">
-
+ <!-- link.dev --> <link type="text/css" rel="Stylesheet" href="css/wv.tooltip.css">
<!-- link.dev --> <link type="text/css" rel="Stylesheet" href="css/wv.mobile.css">
<link type="text/css" rel="Stylesheet" href="pages/css/wv.document.css">