Interactive interface for browsing global, full-resolution satellite imagery
Added more stylelint rules - Prevent use of cm, ex, in, mm, pc, pt, vh, vmin, vh units - Limited the number of declaration within single line declaration to 1 - Limited the number of attribute selectors in a selector to 2 - Limited the number of compound selectors in a selector to 5 - Limited the number of adjacent empty lines within selectors to 0 - Limited the number of id selectors in a selector to 2 - Limited the number of universal selectors in a selector to 1 - Disallowed vendor prefixes for selectors - Whitelisted at-rules: media, charset, font-face - Disallowed vendor prefixes for at-rules - Specified lowercase for hex colors - Specified short notation for hex colors - Specified using quotation marks around font family names unless its a keyword - Required numeric font-weight values - Required no newlines around functions; required spacing after commas but not before - Specified lowercase for function names; with Microsoft gradient as an exception - Required quotes for urls - Required whitespace after functions - Required a leading zero for fractional numbers less than 1 - Fixed css as errors occurred pertaining to adhering to the above rules.
ZachTRice8ea7eb3fbcaf
diff --git a/.stylelintrc b/.stylelintrcindex b65f0a5f5..e4670e201 100644--- a/.stylelintrc+++ b/.stylelintrc@@ -31,7 +31,33 @@"no-unknown-animations": true,"color-named": never,"number-max-precision": 6,- "unit-blacklist": ['rem'],+ "unit-blacklist": ['cm', 'ex', 'in', 'mm', 'pc', 'pt', 'rem', 'vh', 'vmin', 'vw'],+ "declaration-block-single-line-max-declarations": 1,+ "selector-max-attribute": 2,+ "selector-max-compound-selectors": 5,+ "selector-max-empty-lines": 0,+ "selector-max-id": 2,+ "selector-max-universal": 1,+ "selector-no-vendor-prefix": true,+ "at-rule-whitelist": ["media", "charset", "font-face"],+ "at-rule-no-vendor-prefix": true,+ "color-hex-case": lower,+ "color-hex-length": short,+ "font-family-name-quotes": "always-unless-keyword",+ "font-weight-notation": "numeric",+ "function-comma-newline-after": "never-multi-line",+ "function-comma-newline-before": "never-multi-line",+ "function-comma-space-after": "always",+ "function-comma-space-before": "never",+ "function-max-empty-lines": 0,+ "function-name-case": ["lower", {+ ignoreFunctions: "DXImageTransform.Microsoft.gradient"+ }],+ "function-parentheses-newline-inside": "never-multi-line",+ "function-parentheses-space-inside": "never",+ "function-url-quotes": "always",+ "function-whitespace-after": "always",+ "number-leading-zero": "always","max-empty-lines": 1,}}diff --git a/web/css/bank.css b/web/css/bank.cssindex ca1520b8b..af916e9f6 100644--- a/web/css/bank.css+++ b/web/css/bank.css@@ -76,7 +76,7 @@ h4 {font-size: 1.4em;display: inline-block;float: left;- color: #ffffff;+ color: #fff;border: none;padding: 9px 30px;}@@ -87,7 +87,7 @@ h4 {.bank h3 {display: block;- color: #ffffff;+ color: #fff;border: none;text-decoration: none;background: none;@@ -324,7 +324,7 @@ i.wv-layers-options-icon {top: 0;bottom: 0;width: 10px;- background: #DACF00;+ background: #dacf00;cursor: default;display: none;}diff --git a/web/css/bulkDownload.css b/web/css/bulkDownload.cssindex ee9970789..42322fccb 100644--- a/web/css/bulkDownload.css+++ b/web/css/bulkDownload.css@@ -7,16 +7,16 @@}#BulkDownload #page {- background-color: #ffffff;+ background-color: #fff;margin: 20px;padding: 5px 20px 20px;border-radius: 5px;}#BulkDownload pre {- background-color: #eeeeee;+ background-color: #eee;padding: 5px;- border: 1px dashed #dddddd;+ border: 1px dashed #ddd;}#BulkDownload .label {diff --git a/web/css/dataDownload.css b/web/css/dataDownload.cssindex 1a150c776..9acdc83ff 100644--- a/web/css/dataDownload.css+++ b/web/css/dataDownload.css@@ -30,25 +30,25 @@}#wv-data-selection h3 {- font-size: 12pt;- line-height: 12pt;- font-weight: bold;- color: #FFFBE7;+ font-size: 16px;+ line-height: 16px;+ font-weight: 700;+ color: #fffbe7;}#wv-data-selection h4 {- font-size: 11pt;- line-height: 11pt;- font-weight: bold;- color: #FFFBE7;+ font-size: 15px;+ line-height: 15px;+ font-weight: 700;+ color: #fffbe7;}#wv-data-selection h5 {- font-size: 10pt;- line-height: 10pt;+ font-size: 13px;+ line-height: 13px;margin-top: 10px;margin-bottom: 5px;- color: #FFFBE7;+ color: #fffbe7;}#wv-data-selection hr {@@ -69,7 +69,7 @@display: block;padding: 3px;border: 1px solid #707070;- background: #191C20;+ background: #191c20;color: #c0c0c0;border-radius: 5px;}@@ -107,7 +107,7 @@#wv-data-selection .collapse .ui-accordion-header {background: rgba(0, 0, 0, 0);border: 0;- font-weight: normal;+ font-weight: 400;}#wv-data-selection .bulk h5 {@@ -128,10 +128,10 @@}#wv-data-bulk-download-links h5 {- font-size: 11pt;+ font-size: 15px;font-weight: 700;margin: 0 0 10px;- color: #FFFBE7;+ color: #fffbe7;}#wv-data-bulk-download-links li {@@ -142,9 +142,9 @@}.wv-data-unavailable-header {- color: #eeeeee;- font-size: 12pt;- font-weight: bold;+ color: #eee;+ font-size: 16px;+ font-weight: 700;margin-bottom: 10px;}@@ -179,7 +179,7 @@}#DataDownload #DataDownloadcontent h3 span {- font-weight: bold;+ font-weight: 700;color: #8f939f;cursor: pointer;font-size: 130%;@@ -237,11 +237,11 @@.dynamic {font-size: inherit;border-radius: 5px;- background: #8CC3DE;+ background: #8cc3de;padding: 2px;text-align: center;color: #000;- font-weight: bold;+ font-weight: 700;display: inline-block;margin: 0 10px 0 5px;}diff --git a/web/css/indicator.css b/web/css/indicator.cssindex 27516757d..9fdc43083 100644--- a/web/css/indicator.css+++ b/web/css/indicator.css@@ -15,7 +15,7 @@position: absolute;z-index: 10000;background: #262b31;- color: #ffffff;+ color: #fff;-webkit-box-sizing: border-box;box-sizing: border-box;width: 250px;diff --git a/web/css/menuPicker.css b/web/css/menuPicker.cssindex 43dbccd65..38aa60760 100644--- a/web/css/menuPicker.css+++ b/web/css/menuPicker.css@@ -13,7 +13,7 @@ ul.menuPicker li {}ul.menuPicker li:hover {- background: #9B1C26;+ background: #9b1c26;}ul.menuPicker li.disabled {diff --git a/web/css/products.css b/web/css/products.cssindex eb16282f5..e8d07e084 100644--- a/web/css/products.css+++ b/web/css/products.css@@ -15,7 +15,7 @@}#productsHolder-tabs .ui-state-active a {- color: #FFFFFF;+ color: #fff;}#productsHolder-tabs .ui-tabs-anchor {diff --git a/web/css/wv.alert.css b/web/css/wv.alert.cssindex 78ddc47ea..014355b0a 100644--- a/web/css/wv.alert.css+++ b/web/css/wv.alert.css@@ -42,7 +42,7 @@.ui-menu-item a::before {content: attr(data-content) '';text-align: center;- font-weight: bold;+ font-weight: 700;display: block;width: 15px;height: 15px;@@ -73,7 +73,7 @@text-transform: capitalize;font-size: 18px;font-family: 'Open Sans', Sans-Serif;- font-weight: bold;+ font-weight: 700;color: #eee;padding: 0.75em 10px;}diff --git a/web/css/wv.anim.widget.css b/web/css/wv.anim.widget.cssindex fbace9108..975e1cde9 100644--- a/web/css/wv.anim.widget.css+++ b/web/css/wv.anim.widget.css@@ -56,7 +56,7 @@}#wv-animation-widget .active .wv-animation-widget-icon.fa-retweet {- color: #ffffff;+ color: #fff;opacity: 1;}@@ -143,7 +143,7 @@}.wv-animation-widget i.wv-close:hover {- color: #999999;+ color: #999;cursor: pointer;}@@ -243,8 +243,8 @@}.InputRange.is-disabled .input-range__slider {- background: #cccccc;- border: 1px solid #cccccc;+ background: #ccc;+ border: 1px solid #ccc;-webkit-box-shadow: none;box-shadow: none;-webkit-transform: none;@@ -257,8 +257,8 @@}.input-range__label {- color: #ffffff;- font-family: 'Open Sans', san-serif;+ color: #fff;+ font-family: 'Open Sans', sans-serif;font-size: 12px;white-space: nowrap;}@@ -283,7 +283,7 @@}.input-range__track {- background: #eeeeee;+ background: #eee;border-radius: 4px;display: block;height: 2.6px;@@ -293,7 +293,7 @@}.InputRange.is-disabled .input-range__track {- background: #eeeeee;+ background: #eee;}.input-range__track--container {diff --git a/web/css/wv.date.css b/web/css/wv.date.cssindex ede52918b..a52a1357c 100644--- a/web/css/wv.date.css+++ b/web/css/wv.date.css@@ -127,7 +127,7 @@ input.ui-slider-input {}:root ul.sliderLabel {- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr= '#99000000', endColorstr='#cc000000', GradientType=0) \0/IE9;+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr= '#99000000', endColorstr='#cc000000', GradientType=0) \0/IE9;}/* IE9 */diff --git a/web/css/wv.dateselector.css b/web/css/wv.dateselector.cssindex ed3d279c7..e101ab6eb 100644--- a/web/css/wv.dateselector.css+++ b/web/css/wv.dateselector.css@@ -31,13 +31,6 @@padding: 0;}-@media all {- .wv-date-selector-widget input::-moz-selection {- background: #ffffff;- color: #999;- }-}-.wv-date-selector-widget .input-wrapper:hover {border-color: #666;}diff --git a/web/css/wv.events.css b/web/css/wv.events.cssindex 7a9ca73ce..8f99f00e2 100644--- a/web/css/wv.events.css+++ b/web/css/wv.events.css@@ -67,10 +67,10 @@}#wv-events li.item ul li.dates a.active {- font-weight: bold;+ font-weight: 700;}-#wv-events .map-item-list li.item p a i.fa-external-link {+#wv-events .map-item-list li.item .fa-external-link {margin: 0;position: absolute;top: 50%;@@ -101,7 +101,7 @@text-decoration: none;display: inline-block;float: left;- color: #ffffff;+ color: #fff;font-size: 1.4em;border: none;padding: 6px 0;@@ -114,8 +114,8 @@}.map-item-list li.item h4.mark {- font-weight: bold;- color: #ff0000;+ font-weight: 700;+ color: #f00;}#wv-events li i.map-marker {diff --git a/web/css/wv.fonts.css b/web/css/wv.fonts.cssindex 57b4b8553..9b9e7f604 100644--- a/web/css/wv.fonts.css+++ b/web/css/wv.fonts.css@@ -50,7 +50,7 @@@font-face {font-family: 'Open Sans';font-style: italic;- font-weight: normal;+ font-weight: 400;src: url("../font/OpenSans/Italic/OpenSans-Italic.eot"); /* IE9 Compat Modes */src: local('Open Sans Italic'), local('OpenSans-Italic'), url("../font/OpenSans/Italic/OpenSans-Italic.eot?#iefix") format("embedded-opentype"), /* IE Compat Modes */url("../font/OpenSans/Italic/OpenSans-Italic.woff2") format("woff2"), /* Super Modern Browsers */@@ -62,7 +62,7 @@@font-face {font-family: 'Open Sans';font-style: normal;- font-weight: bold;+ font-weight: 700;src: url("../font/OpenSans/Bold/OpenSans-Bold.eot"); /* IE9 Compat Modes */src: local('Open Sans Bold'), local('OpenSans-Bold'), url("../font/OpenSans/Bold/OpenSans-Bold.eot?#iefix") format("embedded-opentype"), /* IE Compat Modes */url("../font/OpenSans/Bold/OpenSans-Bold.woff2") format("woff2"), /* Super Modern Browsers */@@ -74,7 +74,7 @@@font-face {font-family: 'Open Sans';font-style: italic;- font-weight: bold;+ font-weight: 700;src: url("../font/OpenSans/BoldItalic/OpenSans-BoldItalic.eot"); /* IE9 Compat Modes */src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), url("../font/OpenSans/BoldItalic/OpenSans-BoldItalic.eot?#iefix") format("embedded-opentype"), /* IE Compat Modes */url("../font/OpenSans/BoldItalic/OpenSans-BoldItalic.woff2") format("woff2"), /* Super Modern Browsers */diff --git a/web/css/wv.image.css b/web/css/wv.image.cssindex ed7011c7c..83a559e08 100644--- a/web/css/wv.image.css+++ b/web/css/wv.image.css@@ -40,7 +40,7 @@}#wv-image-download-button .ui-button-text {- font-weight: bold;+ font-weight: 700;font-size: 12px;padding: 0.2em 1em;}diff --git a/web/css/wv.layers.modal.css b/web/css/wv.layers.modal.cssindex cf48ed1db..bb0293451 100644--- a/web/css/wv.layers.modal.css+++ b/web/css/wv.layers.modal.css@@ -184,7 +184,7 @@}#layer-modal nav .nav-selected {- background: #00457B;+ background: #00457b;}#layer-modal nav .nav-selected span {@@ -299,7 +299,7 @@#category-breadcrumb a,#category-breadcrumb a:link,#category-breadcrumb a:visited {- color: #0000ff;+ color: #00f;}#selected-category {@@ -476,7 +476,7 @@.source-metadata h1 {color: #ddd;- font-weight: bold;+ font-weight: 700;font-size: 14px;line-height: 18px;margin: 16px 0 6px;@@ -489,13 +489,13 @@.source-metadata h2 {color: #ddd;- font-weight: bold;+ font-weight: 700;margin-bottom: 5px;}.layers-all-layer .layers-all-header .fa {color: #ddd;- font-family: FontAwesome;+ font-family: "FontAwesome";font-size: 14px;padding: 12px 16px;position: absolute;@@ -564,7 +564,7 @@display: block;height: 20px;line-height: 20px;- border-top: 1px solid #D54E21;+ border-top: 1px solid #d54e21;}#layers-all .metadata-more {@@ -583,13 +583,13 @@display: block;height: 12px;width: 40px;- background: #D54E21 none repeat scroll 0 0;+ background: #d54e21 none repeat scroll 0 0;color: #fff;line-height: 0;margin: 0 auto;font-size: 1.5em;text-align: center;- font-weight: bold;+ font-weight: 700;}#layers-all .metadata-more .ellipsis.up,@@ -619,7 +619,7 @@#selected-category .ui-tabs-panel h3.source-orbits-title {color: #ddd;- font-weight: bold;+ font-weight: 700;padding: 10px 0;}diff --git a/web/css/wv.link.css b/web/css/wv.link.cssindex 512afae91..9c8bc9c91 100644--- a/web/css/wv.link.css+++ b/web/css/wv.link.css@@ -46,7 +46,7 @@#social-share .fa-reddit {position: relative;- color: #FF5700;+ color: #ff5700;background-color: #fff;font-size: 48px;height: 46px;diff --git a/web/css/wv.main.css b/web/css/wv.main.cssindex 05db9f4b7..dd282df6a 100644--- a/web/css/wv.main.css+++ b/web/css/wv.main.css@@ -151,7 +151,7 @@ section {body {line-height: 1;min-width: 320px;- background: #000000;+ background: #000;}nav ul {@@ -305,7 +305,7 @@ div.horizontalContainer {position: absolute !important;left: 0;top: 0;- background-color: #0000FF;+ background-color: #00f;opacity: 0;width: 100%;height: 100%;@@ -342,7 +342,7 @@ div.horizontalContainer {}#imgFileSize {- color: #D99694;+ color: #d99694;}#transition ul {@@ -355,7 +355,7 @@ div.horizontalContainer {#transition ul li.disabled:hover {background-color: rgb(76, 89, 92);border-color: rgb(112, 135, 136);- border-width: 0.75pt;+ border-width: 1px;}#transition ul li.selected {@@ -364,7 +364,7 @@ div.horizontalContainer {}#transition ul li:hover {- border-color: #ffff00;+ border-color: #ff0;}#wv-logo {@@ -417,7 +417,7 @@ div.horizontalContainer {}.ui-button {- color: #eeeeee;+ color: #eee;}.wv-menu-item-selected {@@ -579,7 +579,7 @@ label {}.wv-panel .ui-dialog-title {- font-weight: normal;+ font-weight: 400;}.ui-menu .ui-menu-item {diff --git a/web/css/wv.palettes.css b/web/css/wv.palettes.cssindex 90d86f321..566dbdd58 100644--- a/web/css/wv.palettes.css+++ b/web/css/wv.palettes.css@@ -29,7 +29,7 @@background: #eee;padding: 0.5em;margin-right: 10px;- color: #000000;+ color: #000;margin-bottom: 1px;}diff --git a/web/css/wv.timeline.css b/web/css/wv.timeline.cssindex 35e3b8169..c002dd8e9 100644--- a/web/css/wv.timeline.css+++ b/web/css/wv.timeline.css@@ -82,7 +82,7 @@.x.axis > .tick > line {fill: none;- stroke: #9B9b9b;+ stroke: #9b9b9b;stroke-width: 1;stroke-linecap: butt;stroke-linejoin: miter;@@ -162,13 +162,6 @@ g.plot rect.data-bar-invisible {padding: 0;}-@media all {- #timeline-header input::-moz-selection {- background: #ffffff;- color: #999;- }-}-#timeline-header .input-wrapper:hover {border-color: #666;}@@ -333,7 +326,7 @@ g.plot rect.data-bar-invisible {.x.axis line,.x.axis path {fill: none;- stroke: #ffffff;+ stroke: #fff;shape-rendering: crispEdges;}@@ -374,13 +367,13 @@ g.plot rect.data-bar-invisible {}#timeline-zoom a.zoom-btn.depth-1 {- color: #ffffff;+ color: #fff;font-size: 1.5em;line-height: 1.4em;}#timeline-zoom a.zoom-btn.depth-2 {- color: #999999;+ color: #999;font-size: 1em;line-height: 1em;}@@ -419,7 +412,7 @@ g.plot rect.data-bar-invisible {}#guitarpick path {- fill: #cccccc;+ fill: #ccc;fill-opacity: 1;stroke: #515151;stroke-width: 1;@@ -434,13 +427,13 @@ g.plot rect.data-bar-invisible {#guitarpick.pick-clicked path,#guitarpick:hover path {- fill: #5E676F;- stroke: #999999;+ fill: #5e676f;+ stroke: #999;}#guitarpick.pick-clicked rect,#guitarpick:hover rect {- fill: #999999;+ fill: #999;}#timeline-hide .hamburger {diff --git a/web/css/wv.tooltip.css b/web/css/wv.tooltip.cssindex 3ca88519b..518081e3a 100644--- a/web/css/wv.tooltip.css+++ b/web/css/wv.tooltip.css@@ -6,7 +6,7 @@.wv-tooltip-case span {z-index: 2;cursor: pointer;- font-weight: bold;+ font-weight: 700;color: #ce4c21;}diff --git a/web/css/wv.tour.css b/web/css/wv.tour.cssindex 2b0ca6051..49ce2580a 100644--- a/web/css/wv.tour.css+++ b/web/css/wv.tour.css@@ -23,14 +23,14 @@}.tour .ui-dialog-content {- background: #AFB5C4;+ background: #afb5c4;padding-top: 8px;}.tour .ui-dialog-titlebar {font-size: 20px;line-height: 24px;- background: #AFB5C4;+ background: #afb5c4;color: rgb(38, 43, 49);border: 0;border-bottom-left-radius: 0;@@ -38,8 +38,8 @@}.tour .ui-button {- background: #F4F5F5;- border-color: #F4F5F5;+ background: #f4f5f5;+ border-color: #f4f5f5;}.tour .ui-button:hover:enabled {@@ -80,7 +80,7 @@ p.splash {}p.splash span.highlight {- font-weight: bold;+ font-weight: 700;}button.takeTour {@@ -89,7 +89,7 @@ button.takeTour {border-radius: 6px;padding: 10px;text-align: center;- color: #000000;+ color: #000;background-color: #f4f5f5;background-image: -webkit-gradient(linear, left top, left bottom, from(#f4f5f5), to(#dfdddd));background-image: linear-gradient(to bottom, #f4f5f5, #dfdddd);@@ -100,7 +100,7 @@ button.takeTour {}button.takeTour:hover {- color: #000000;+ color: #000;background-color: #d9dddd;background-image: -webkit-gradient(linear, left top, left bottom, from(#d9dddd), to(#c6c3c3));background-image: linear-gradient(to bottom, #d9dddd, #c6c3c3);@@ -114,7 +114,7 @@ button.skipTour {border-radius: 6px;padding: 10px;text-align: center;- color: #000000;+ color: #000;background-color: #f4f5f5;background-image: -webkit-gradient(linear, left top, left bottom, from(#f4f5f5), to(#dfdddd));background-image: linear-gradient(to bottom, #f4f5f5, #dfdddd);@@ -125,7 +125,7 @@ button.skipTour {}button.skipTour:hover {- color: #000000;+ color: #000;background-color: #d9dddd;background-image: -webkit-gradient(linear, left top, left bottom, from(#d9dddd), to(#c6c3c3));background-image: linear-gradient(to bottom, #d9dddd, #c6c3c3);@@ -157,11 +157,11 @@ button.skipTour:hover {}.tour span.highlight {- font-weight: bold;+ font-weight: 700;}.tour span.tryIt {- font-weight: bold;+ font-weight: 700;}button.repeatTour {@@ -169,7 +169,7 @@ button.repeatTour {border-radius: 6px;padding: 10px;text-align: center;- color: #000000;+ color: #000;background-color: #f4f5f5;background-image: -webkit-gradient(linear, left top, left bottom, from(#f4f5f5), to(#dfdddd));background-image: linear-gradient(to bottom, #f4f5f5, #dfdddd);@@ -180,7 +180,7 @@ button.repeatTour {}button.repeatTour:hover {- color: #000000;+ color: #000;background-color: #d9dddd;background-image: -webkit-gradient(linear, left top, left bottom, from(#d9dddd), to(#c6c3c3));background-image: linear-gradient(to bottom, #d9dddd, #c6c3c3);@@ -193,7 +193,7 @@ button.done {border-radius: 6px;padding: 10px;text-align: center;- color: #000000;+ color: #000;background-color: #f4f5f5;background-image: -webkit-gradient(linear, left top, left bottom, from(#f4f5f5), to(#dfdddd));background-image: linear-gradient(to bottom, #f4f5f5, #dfdddd);@@ -205,7 +205,7 @@ button.done {button.done:hover {background-color: #d9dddd;- color: #000000;+ color: #000;background-image: -webkit-gradient(linear, left top, left bottom, from(#d9dddd), to(#c6c3c3));background-image: linear-gradient(to bottom, #d9dddd, #c6c3c3);filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#d9dddd, endColorstr=#c6c3c3);