Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

added alert styles

Benjaminc04dcddeae11
diff --git a/web/css/wv.alert.css b/web/css/wv.alert.css
index e154cc5fe..5abb268ae 100644
--- a/web/css/wv.alert.css
+++ b/web/css/wv.alert.css
@@ -1,30 +1,68 @@
.wv-alert {
- z-index: 2000;
- position: relative;
+ z-index: 2000;
+ position: relative;
}
- .wv-alert .wv-alert-case {}
- .wv-alert .wv-alert-case h4 {
- color: black;
- }
- .wv-alert .wv-alert-case .wv-alert-header {
-
- }
- .wv-alert .wv-alert-case .wv-alert-icon-case {
- height: 40px;
- width: 40px;]
- display: inline-block;
+ .wv-alert .wv-alert-case {
+ position: relative;
+ }
+ .wv-alert .wv-alert-case .wv-alert-header {
+ display: flex;
+ }
+ .wv-alert .wv-alert-case .wv-alert-icon-case {
+ height: 56px;
+ width: 56px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ color: white;
+ order: 1;
+ padding: 4px 0;
}
- .wv-alert .wv-alert-case .wv-alert-header i {
- text-align: center;
- vertical-align: bottom;
- }
- .wv-alert .wv-alert-case i.wvc-alert-close {
- position: absolute;
- right: 2px;
- top: 2px;
- color: black;
+ .wv-alert .wv-alert-case .wv-alert-text-case {
+ padding: 4px 0;
+ width: 100%;
+ display: flex;
+ order: 2;
+ align-items: center;
+ }
+ .wv-alert .wv-alert-case h4 {
+ color: black;
+ margin: 0 20px;
+ max-height: 54px;
+ overflow: scroll;
+ line-height: 1.3;
}
- .wv-alert .wv-alert-case .alert {
- background: #f4e7a8;
- color: #b89e18;
- }
\ No newline at end of file
+ .wv-alert .wv-alert-case .wv-alert-icon-case i {
+ text-align: center;
+ font-size: 35px;
+ }
+ .wv-alert .wv-alert-case i.wvc-alert-close {
+ position: absolute;
+ right: 4px;
+ top: 4px;
+ color: #000;
+ font-size: 15px;
+ cursor: pointer;
+ }
+
+ /* Styling for specific notification types */
+
+ .wv-alert .wv-alert-case .alert {
+ background: #f4e7a8;
+ }
+ .wv-alert .wv-alert-case .alert .wv-alert-icon-case {
+ background: #e5c937;
+ }
+ .wv-alert .wv-alert-case .message {
+ background: #d6eaf7;
+ }
+ .wv-alert .wv-alert-case .message .wv-alert-icon-case {
+ background: #2276ac;
+
+ }
+ .wv-alert .wv-alert-case .outage {
+ background: #e4b8b9;
+ }
+ .wv-alert .wv-alert-case .outage .wv-alert-icon-case {
+ background: #963a3b;
+ }