Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

added to tooltip styling

Benjamin5749b8192573
diff --git a/web/css/wv.tooltip.css b/web/css/wv.tooltip.css
index 0cd295580..43c4142e2 100644
--- a/web/css/wv.tooltip.css
+++ b/web/css/wv.tooltip.css
@@ -5,15 +5,34 @@
.wv-tooltip-case span {
z-index: 2;
cursor: pointer;
+ font-weight: bold;
+ color: #a1bbd4;
}
.wv-tooltip-case .wv-tooltip {
visibility: hidden;
position: absolute;
- background: #212121;
+ bottom: 100%;
+ border-bottom: 10px solid transparent;
}
.wv-tooltip-case .wv-tooltip:after {
- left: 50%;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
+ position: absolute;
+ top: 100%;
+ left: 15%;
+ content:"";
+ border-top: 5px solid #000;
+ border-top: 5px solid hsla(0, 0%, 20%, 0.9);
+ border-right: 5px solid transparent;
+ border-left: 5px solid transparent;
+ }
+ .wv-tooltip-case .wv-tooltip ul {
+ background-color: #000;
+ background-color: hsla(0, 0%, 20%, 0.9);
+ color: #fff;
+ padding: 5px 10px;
+ }
+ .wv-tooltip-case .wv-tooltip ul li:hover {
+ cursor: pointer;
+ }
+ .wv-tooltip-case .wv-tooltip ul li + li {
+ margin-top: 5px;
}
\ No newline at end of file