Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Cleaned up CSS

Taylor Gunnoed4b4c4b9a6df
diff --git a/web/css/events.css b/web/css/events.css
deleted file mode 100644
index d23937b77..000000000
--- a/web/css/events.css
+++ /dev/null
@@ -1,207 +0,0 @@
-/* primary containers */
-#eventsContainer {
- display:block;
- float:right;
- z-index:200;
- width:238px;
- height:300px;
- position:absolute;
- right:0;
- top:30%;
- font: 10px/12px "Gill Sans","helvetica",sans-serif;
- text-shadow:none;
- color: #141b4c;
-}
-
-#eventsHolder {
- display:block;
- float:right;
- z-index:200;
- width:auto;
- height:300px;
- position:absolute;
- right:0;
- top:250px; /* to prevent conflict with zoom controls */
- text-shadow:none;
-}
-
-#events {
- display: block;
- float: right;
- right: 0;
- position: relative;
-}
-
-.events {
- display:block;
- position:relative;
- float:right;
- width: 210px;
- min-height:275px;
- max-height:300px;
- background: none repeat scroll 0 0 rgba(38, 43, 49, 0.65);
- border-radius: 10px 0 0 10px;
- overflow:hidden;
-}
-
-.events .jspContainer {
- height:240px;
-}
-
-/* toggling */
-a.evaccordionToggler {
- float:right;
- display:inline-block;
- border-radius: 5px 0 0 5px;
- -moz-border-radius: 5px 0 0 5px;
- -webkit-border-radius: 5px 0 0 5px;
- text-decoration:none;
- background: none no-repeat scroll center rgba(45,50,55,0.65);
- color:#fff;
- letter-spacing:2px;
-}
-
-a.evcollapse {
- display:inline-block;
- background-image:url("../images/expandOut.png");
- position:relative;
- top:30px;
- height:36px;
- width:28px;
-}
-
-a.evexpand {
- display:inline-block;
- background-image: url("../images/expandIn.png");
- width:6em;
- position:absolute;
- height:auto;
- background-position:left;
- text-align:center;
- padding:0.3em 0px;
- padding-left:28px;
- margin-bottom:10px;
- margin-top:3px;
- text-shadow:none;
- color:#fff;
- font-weight:bold;
- font-size:.9em;
- vertical-align:middle;
- right:0px;
- top:380px;
-}
-
-.events h1, .events h2,
-.events h3, .events h4 {
- margin:0px;
- padding:0px;
- position:relative;
-}
-.events h2 {
- display:block;
- color:#fffbe7;
- font-size: 14px;
- font-weight:100;
- border:none;
- padding:6px 0;
-}
-.events h3 {
- display:block;
- color:#fffb27;
- font-size: 12px;
- font-weight:100;
- border:none;
- text-decoration:none;
-}
-.events div,.events ul {
- display:block;
- overflow:hidden;
- width:100%;
- margin:0 auto;
-}
-.events ul h3 {}
-
-/* blue header bar */
-.events div.header {
- margin: auto;
- text-align: center;
- position:relative;
- background: -moz-linear-gradient(top, rgba(255,255,255,0.7) 0%, rgba(11,95,160,0.7) 23%, rgba(0,88,156,0.7) 24%, rgba(0,81,144,0.7) 99%, rgba(0,81,144,0.7) 100%); /* FF3.6+ */
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0.7)), color-stop(23%,rgba(11,95,160,0.7)), color-stop(24%,rgba(0,88,156,0.7)), color-stop(99%,rgba(0,81,144,0.7)), color-stop(100%,rgba(0,81,144,0.7))); /* Chrome,Safari4+ */
- background: -webkit-linear-gradient(top, rgba(255,255,255,0.7) 0%,rgba(11,95,160,0.7) 23%,rgba(0,88,156,0.7) 24%,rgba(0,81,144,0.7) 99%,rgba(0,81,144,0.7) 100%); /* Chrome10+,Safari5.1+ */
- background: -o-linear-gradient(top, rgba(255,255,255,0.7) 0%,rgba(11,95,160,0.7) 23%,rgba(0,88,156,0.7) 24%,rgba(0,81,144,0.7) 99%,rgba(0,81,144,0.7) 100%); /* Opera 11.10+ */
- background: -ms-linear-gradient(top, rgba(255,255,255,0.7) 0%,rgba(11,95,160,0.7) 23%,rgba(0,88,156,0.7) 24%,rgba(0,81,144,0.7) 99%,rgba(0,81,144,0.7) 100%); /* IE10+ */
- background: linear-gradient(to bottom, rgba(255,255,255,0.7) 0%,rgba(11,95,160,0.7) 23%,rgba(0,88,156,0.7) 24%,rgba(0,81,144,0.7) 99%,rgba(0,81,144,0.7) 100%); /* W3C */
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b3ffffff', endColorstr='#b3005190',GradientType=0 ); /* IE6-9 */
-}
-
-.events div.header h2{
- margin: auto;
- text-align: center;
- float: none
-}
-
-/* entry list */
-.events ul {
- max-height:240px;
- height:240px;
-}
-.events ul.entry {
- min-height:50px;
-}
-.events ul.entry li h3 {
- display:block;
- clear:both;
- float:none;
-}
-
-/* entry list items */
-.events li.item {
- border:solid;
- border-width:3px;
- border-color:transparent;
- display:block;
- width:188px;
- max-width:188px;
- padding:6px 0;
- margin:5px 2% 0 2%;
- background: rgba(238,238,238,0.85);
- cursor:pointer;
-}
-
-.events li.newevent {background: #CCE6FF;}
-
-.events li.item a {float:none; position:relative; top:-8px; right:-8px; font-size:0.78em;}
-.events li.item a.hdanchor {display:inline-block; overflow:hidden;}
-.events li.item h4 {font-size:0.85em; padding:0 3px;}
-.events li.item p {padding:0 3px; font-size:0.78em;}
-.events li.item span.palette {display:block; overflow:hidden; margin-top:5px; margin-left:5px;}
-.events li.item ul.palette li {float:left;}
-.events ul.category { overflow:auto; }
-.events ul.category li h3 {display:block; clear:both; float:none;}
-/*.events li.item p {color:#fffbe7;}
-.events li.item a {float:none; position:relative; top:-8px; right:-8px;}
-.events li.item h4 {font-size:9px; font-weight:bold; }
-.events li.item span.palette {display:block; width:185px; overflow:hidden; margin-top:5px;}
-.events li.item ul.palette li {float:left;}*/
-.events li.sel {border-color:rgba(0,81,144,0.7);}
-.events img.thumb {float:left; width:10}
-
-#wv-events-detail {
- background-color: rgb(204, 204, 204);
-}
-
-#wv-events-list li.dates {
- margin-left: 10px;
- font-size: 0.85em;
-}
-
-#wv-events-facets {
- margin-bottom: 5px;
-}
-
-.wv-events-facet {
- width: 250px;
- margin-left: 5px;
-}
-
diff --git a/web/css/global.css b/web/css/global.css
index babc52e5d..25585db3a 100644
--- a/web/css/global.css
+++ b/web/css/global.css
@@ -4,7 +4,7 @@
* This code was originally developed at NASA/Goddard Space Flight Center for
* the Earth Science Data and Information System (ESDIS) project.
*
- * Copyright (C) 2013 United States Government as represented by the
+ * Copyright (C) 2013 - 2016 United States Government as represented by the
* Administrator of the National Aeronautics and Space Administration.
* All Rights Reserved.
*/
diff --git a/web/css/indicator.css b/web/css/indicator.css
index d9e362c78..53aecb712 100644
--- a/web/css/indicator.css
+++ b/web/css/indicator.css
@@ -4,7 +4,7 @@
* This code was originally developed at NASA/Goddard Space Flight Center for
* the Earth Science Data and Information System (ESDIS) project.
*
- * Copyright (C) 2013 United States Government as represented by the
+ * Copyright (C) 2013 - 2016 United States Government as represented by the
* Administrator of the National Aeronautics and Space Administration.
* All Rights Reserved.
*/
diff --git a/web/css/selector.css b/web/css/selector.css
deleted file mode 100644
index f199df3b3..000000000
--- a/web/css/selector.css
+++ /dev/null
@@ -1,221 +0,0 @@
-#selector {
- display:none;
-}
-
-div.selector {
- display:inline-block;
- float:left;
- width: 100%;
- height:100%;
- font-size: 1em;
- color: #222;
- text-shadow:none;
-}
-
-.selector h1,h2,h3,h4 {
- margin:0px;
- padding:0px;
-}
-.selector h2 {
- display:inline-block;
- float: right;
- color:#ffffff;
- border:none;
- padding:9px 30px 9px 30px;
- background: -moz-linear-gradient(top, rgba(255,255,255,0.7) 0%, rgba(160,121,11,0.7) 23%, rgba(156,115,0,0.7) 24%, rgba(144,106,0,0.7) 99%, rgba(144,106,0,0.7) 100%); /* FF3.6+ */
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0.7)), color-stop(23%,rgba(160,121,11,0.7)), color-stop(24%,rgba(156,115,0,0.7)), color-stop(99%,rgba(144,106,0,0.7)), color-stop(100%,rgba(144,106,0,0.7))); /* Chrome,Safari4+ */
- background: -webkit-linear-gradient(top, rgba(255,255,255,0.7) 0%,rgba(160,121,11,0.7) 23%,rgba(156,115,0,0.7) 24%,rgba(144,106,0,0.7) 99%,rgba(144,106,0,0.7) 100%); /* Chrome10+,Safari5.1+ */
- background: -o-linear-gradient(top, rgba(255,255,255,0.7) 0%,rgba(160,121,11,0.7) 23%,rgba(156,115,0,0.7) 24%,rgba(144,106,0,0.7) 99%,rgba(144,106,0,0.7) 100%); /* Opera 11.10+ */
- background: -ms-linear-gradient(top, rgba(255,255,255,0.7) 0%,rgba(160,121,11,0.7) 23%,rgba(156,115,0,0.7) 24%,rgba(144,106,0,0.7) 99%,rgba(144,106,0,0.7) 100%); /* IE10+ */
- background: linear-gradient(to bottom, rgba(255,255,255,0.7) 0%,rgba(160,121,11,0.7) 23%,rgba(156,115,0,0.7) 24%,rgba(144,106,0,0.7) 99%,rgba(144,106,0,0.7) 100%); /* W3C */
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b3ffffff', endColorstr='#b3906a00',GradientType=0 ); /* IE6-9 */
-
-}
-.selector .tabContainer {
- border-bottom: 2px #906a00 solid;
-}
-#wv-events{
- position: relative;
-}
-#wv-events li.item i{
- float: left;
- margin: 0 10px 5px 5px;
-}
-.selector h3 {
- display:inline-block;
- float: left;
- color:#333333;
- font-size: 0.9em;
- border:none;
- text-decoration:none;
-}
-.selector div.jspPane,.selector ul {
- display:block;
- overflow:hidden;
- margin:0 auto;
- width:100%;
-}
-.selector .icheckbox_square-grey {
- float: right;
-}
-
-/*.selector li.item {padding:6px 0px; width:93%; margin: 5px 2% 0; display:block; float:left; overflow:hidden;cursor:pointer;*/
-.selector li.item {
- padding:6px 0px;
- width:auto;
- margin:0;
- display:block;
- overflow:hidden;
- cursor:pointer;
- color:#d54e21;
- background: transparent;
-}
-.selector li.item h4 {
- font-size:0.85em;
- color:#ccc;
- padding: 0 3px;
-}
-.selector li.item p, .selector li.item ul {
- padding: 0 3px;
- font-size:0.78em;
- color: #bbb;
- font-style:italic;
- margin-left: 25px;
- margin-top: 5px;
-}
-.selector li.item:hover,
-.selector li.item-selected{
- background:rgba(250,250,250,1);
-}
-.selector li.item:hover h4,
-.selector li.item:hover p,
-.selector li.item-selected h4,
-.selector li.item-selected p{
- color:#666;
-}
-.selector li.item input {
- float:right;
-}
-
-.selector li.item p{
- color: #666;
-}
-.selector li.item p a {
-
-}
-.selector ul.selectorboxcategory {
- outline:none !important;
- float:left;
- overflow:auto;
-}
-.selector h3.head {
- display:block;
- float: left;
- color:#fff;
- width:100%;
- border:none;
- text-decoration:none;
- background: none;
- padding: 1px 3px;
- margin:10px 0 0 2%;
- text-transform:uppercase;
-}
-.selector a.flowbutton {
- text-decoration:none;
- display:inline-block;
- float: left;
- color:#ffffff;
- font-size: 1.4em;
- border:none;
- padding:6px 0;
- margin-top:20px;
- margin-left:5px;
-}
-.selector ul li div {
- padding:0 !important;
-}
-.selector ul.toplevel {
- padding:0px;
-}
-.selector ul.toplevel li {
- float:left;
- width:auto;
- margin: 20px 20px 0 0;
-}
-.selector ul.toplevel img {
- border-radius:5px;
- border:#fff 2px solid;
-}
-.selector ul.toplevel a p {
- width:100%;
- text-align:center;
- color:#ffffff;
- font-size: 1.2em;
-}
-#selector .bd {
- background: rgba(38, 43, 49, 0.65) !important;
- border-radius: 0 0 10px 10px;
-}
-#selector .hd {
- background: rgba(38, 43, 49, 0.65) !important;
- border-radius: 10px 10px 0 0;
-}
-#selector_c .yui-panel {
- border-radius:10px;
-}
-#selector_c .underlay {
- border-radius:10px;
-}
-
-.search {
- display: inline-block;
- width:56%;
- padding:0.3em;
- margin:0px;
- font-size:1em;
- position:relative;
- border:none;
-}
-.select {
- display: inline-block;
- width:40%;
- padding:0.3em 0;
- font-size:1em;
- background-color:#ffffff;
- background-image:none;
- border:none;
-}
-.select option {
- -webkit-appearance: none;
-}
-
-div.facetedSearch {
- display:block;
- background:#fff;
- width:96%;
- margin: .5em auto;
- border-radius: 5px;
-}
-#selectorboxcontent {
- height:100%;
-}
-
-.selector li.item h4.mark {
- font-weight: bold;
- color: red;
-}
-#selectorbox .category {
- width: 100% !important;
-}
-#selectorbox .jspContainer {
- width: 100% !important;
-}
-#selectorbox .jspPane {
- width: 100% !important;
-}
-.selectorItem {
- margin-right: 20px;
-}
-#selectorbox .iCheck-checkbox {
- margin-top: 3px;
-}
diff --git a/web/css/wv.events.css b/web/css/wv.events.css
index 80fe49f7b..58e03666a 100644
--- a/web/css/wv.events.css
+++ b/web/css/wv.events.css
@@ -1,3 +1,174 @@
+#wv-events {
+ position: relative;
+}
+#wv-events li.item i{
+ float: left;
+ margin: 0 10px 5px 5px;
+}
+
+/*.selector li.item {padding:6px 0px; width:93%; margin: 5px 2% 0; display:block; float:left; overflow:hidden;cursor:pointer;*/
+.selector li.item {
+ padding:6px 0px;
+ width:auto;
+ margin:0;
+ display:block;
+ overflow:hidden;
+ cursor:pointer;
+ color:#d54e21;
+ background: transparent;
+}
+.selector li.item h4 {
+ font-size:0.85em;
+ color:#ccc;
+ padding: 0 3px;
+}
+.selector li.item p, .selector li.item ul {
+ padding: 0 3px;
+ font-size:0.78em;
+ color: #bbb;
+ font-style:italic;
+ margin-left: 25px;
+ margin-top: 5px;
+}
+.selector li.item:hover,
+.selector li.item-selected{
+ background:rgba(250,250,250,1);
+}
+.selector li.item:hover h4,
+.selector li.item:hover p,
+.selector li.item-selected h4,
+.selector li.item-selected p{
+ color:#666;
+}
+.selector li.item input {
+ float:right;
+}
+
+.selector li.item p{
+ color: #666;
+}
+.selector li.item p a {
+
+}
+.selector ul.selectorboxcategory {
+ outline:none !important;
+ float:left;
+ overflow:auto;
+}
+.selector h3.head {
+ display:block;
+ float: left;
+ color:#fff;
+ width:100%;
+ border:none;
+ text-decoration:none;
+ background: none;
+ padding: 1px 3px;
+ margin:10px 0 0 2%;
+ text-transform:uppercase;
+}
+.selector a.flowbutton {
+ text-decoration:none;
+ display:inline-block;
+ float: left;
+ color:#ffffff;
+ font-size: 1.4em;
+ border:none;
+ padding:6px 0;
+ margin-top:20px;
+ margin-left:5px;
+}
+.selector ul li div {
+ padding:0 !important;
+}
+.selector ul.toplevel {
+ padding:0px;
+}
+.selector ul.toplevel li {
+ float:left;
+ width:auto;
+ margin: 20px 20px 0 0;
+}
+.selector ul.toplevel img {
+ border-radius:5px;
+ border:#fff 2px solid;
+}
+.selector ul.toplevel a p {
+ width:100%;
+ text-align:center;
+ color:#ffffff;
+ font-size: 1.2em;
+}
+#selector .bd {
+ background: rgba(38, 43, 49, 0.65) !important;
+ border-radius: 0 0 10px 10px;
+}
+#selector .hd {
+ background: rgba(38, 43, 49, 0.65) !important;
+ border-radius: 10px 10px 0 0;
+}
+#selector_c .yui-panel {
+ border-radius:10px;
+}
+#selector_c .underlay {
+ border-radius:10px;
+}
+
+.search {
+ display: inline-block;
+ width:56%;
+ padding:0.3em;
+ margin:0px;
+ font-size:1em;
+ position:relative;
+ border:none;
+}
+.select {
+ display: inline-block;
+ width:40%;
+ padding:0.3em 0;
+ font-size:1em;
+ background-color:#ffffff;
+ background-image:none;
+ border:none;
+}
+.select option {
+ -webkit-appearance: none;
+}
+
+div.facetedSearch {
+ display:block;
+ background:#fff;
+ width:96%;
+ margin: .5em auto;
+ border-radius: 5px;
+}
+#selectorboxcontent {
+ height:100%;
+}
+
+.selector li.item h4.mark {
+ font-weight: bold;
+ color: red;
+}
+#selectorbox .category {
+ width: 100% !important;
+}
+#selectorbox .jspContainer {
+ width: 100% !important;
+}
+#selectorbox .jspPane {
+ width: 100% !important;
+}
+.selectorItem {
+ margin-right: 20px;
+}
+#selectorbox .iCheck-checkbox {
+ margin-top: 3px;
+}
+
+/******************** Notifications **********************/
+
.notify-alert {
position: absolute;
top: 60px !important;
@@ -28,3 +199,5 @@
box-sizing: border-box;
line-height: 40px;
}
+
+/****************** End Notifications ********************/
\ No newline at end of file
diff --git a/web/css/wv.main.css b/web/css/wv.main.css
index 52870e817..4c4d95ef9 100644
--- a/web/css/wv.main.css
+++ b/web/css/wv.main.css
@@ -4,7 +4,7 @@
* This code was originally developed at NASA/Goddard Space Flight Center for
* the Earth Science Data and Information System (ESDIS) project.
*
- * Copyright (C) 2013 - 2014 United States Government as represented by the
+ * Copyright (C) 2013 - 2016 United States Government as represented by the
* Administrator of the National Aeronautics and Space Administration.
* All Rights Reserved.
*/
diff --git a/web/js/ui/wv.ui.indicator.js b/web/js/ui/wv.ui.indicator.js
index 32d3272d9..6908de1e4 100644
--- a/web/js/ui/wv.ui.indicator.js
+++ b/web/js/ui/wv.ui.indicator.js
@@ -4,7 +4,7 @@
* This code was originally developed at NASA/Goddard Space Flight Center for
* the Earth Science Data and Information System (ESDIS) project.
*
- * Copyright (C) 2013 - 2014 United States Government as represented by the
+ * Copyright (C) 2013 - 2016 United States Government as represented by the
* Administrator of the National Aeronautics and Space Administration.
* All Rights Reserved.
*/