Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

adjust styling #297

Benjamin7b8ad28530c5
diff --git a/web/css/wv.alert.css b/web/css/wv.alert.css
index b2526684a..577ff9d85 100644
--- a/web/css/wv.alert.css
+++ b/web/css/wv.alert.css
@@ -15,12 +15,15 @@
background-color: #69b6d5;
position: absolute;
right: -5px;
+ font-size: 12px;
+ text-align: center;
+ line-height: 1.25;
}
#wv-info-button.wv-status-outage label::before{
- background: #b3292b
+ background: #b3292b;
}
#wv-info-button.wv-status-alert label::before{
- background: #e5c937
+ background: #e5c937;
}
#wv-info-button.wv-status-message label::before{
background: #40a9db;
@@ -32,31 +35,33 @@
position: relative;
}
.ui-menu-item a::before {
- content: '';
+ content: attr(data-content) '';
text-align: center;
font-weight: bold;
display: block;
width: 15px;
height: 15px;
+ line-height: 1.25;
-moz-border-radius: 7.5px;
-webkit-border-radius: 7.5px;
border-radius: 7.5px;
position: absolute;
- right: -5px;
+ font-size: 12px;
+ right: 10px;
}
.ui-menu-item.exclamation-circle {}
.ui-menu-item.exclamation-circle a::before {
- content: attr(data-content) '';
background: #b3292b;
}
.ui-menu-item.bolt a::before {
- content: attr(data-content) '';
background: #e5c937;
}
.ui-menu-item.gift a::before {
- content: attr(data-content);
background: #40a9db;
}
+ .ui-menu-item a.wv-status-hide::before{
+ display: none;
+ }
.wv-notify-modal {
padding:0 20px;
}
diff --git a/web/index.html b/web/index.html
index 957cd9050..cdd658f8f 100644
--- a/web/index.html
+++ b/web/index.html
@@ -275,7 +275,7 @@
<li id="wv-link-button" class="wv-toolbar-button"></li>
<li id="wv-proj-button" class="wv-toolbar-button"></li>
<li id="wv-image-button" class="wv-toolbar-button"></li>
- <li id="wv-info-button" class="wv-toolbar-button"></li>
+ <li id="wv-info-button" class="wv-toolbar-button wv-status-hide"></li>
</ul>
<div id="wv-logo"></div>