Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Added duplicate rules lint except consecutive duplicates - Added rule to detect duplicates except when they are consecutive (to prevent fallbacks from being detected and to work with autoprefix)

ZachTRiced71c5583e984
diff --git a/.stylelintrc b/.stylelintrc
index 1a409fa90..02b58cdbc 100644
--- a/.stylelintrc
+++ b/.stylelintrc
@@ -9,6 +9,9 @@
"shorthand-property-no-redundant-values": true,
"property-no-unknown": true,
"keyframe-declaration-no-important": true,
+ "declaration-block-no-duplicate-properties": [true, {
+ "ignore": "consecutive-duplicates"
+ }],
"max-empty-lines": 1,
}
}
diff --git a/web/css/wv.alert.css b/web/css/wv.alert.css
index 2ce7ab2e4..78ddc47ea 100644
--- a/web/css/wv.alert.css
+++ b/web/css/wv.alert.css
@@ -9,8 +9,6 @@
display: block;
width: 20px;
height: 20px;
- -moz-border-radius: 50%;
- -webkit-border-radius: 50%;
border-radius: 50%;
background-color: #69b6d5;
position: absolute;
@@ -49,8 +47,6 @@
width: 15px;
height: 15px;
line-height: 1.25;
- -moz-border-radius: 50%;
- -webkit-border-radius: 50%;
border-radius: 50%;
position: absolute;
font-size: 12px;
diff --git a/web/css/wv.anim.widget.css b/web/css/wv.anim.widget.css
index 38927a131..4d7a7c4c9 100644
--- a/web/css/wv.anim.widget.css
+++ b/web/css/wv.anim.widget.css
@@ -228,10 +228,6 @@
outline: none;
position: absolute;
top: 50%;
- transition: -webkit-transform 0.3s ease-out, box-shadow 0.3s ease-out;
- -webkit-transition: -webkit-transform 0.3s ease-out, -webkit-box-shadow 0.3s ease-out;
- transition: -webkit-transform 0.3s ease-out, -webkit-box-shadow 0.3s ease-out;
- transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, -webkit-transform 0.3s ease-out, -webkit-box-shadow 0.3s ease-out;
width: 1rem;
}
diff --git a/web/css/wv.date.css b/web/css/wv.date.css
index d6275ea93..21ce09929 100644
--- a/web/css/wv.date.css
+++ b/web/css/wv.date.css
@@ -119,6 +119,7 @@ input.ui-slider-input {
.slider {
margin-bottom: 0;
+ background: --webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.6)), color-stop(50%, rgba(0, 0, 0, 0.7)), to(rgba(0, 0, 0, 0.8)));
background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.6)), color-stop(50%, rgba(0, 0, 0, 0.7)), to(rgba(0, 0, 0, 0.8)));
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.8) 100%);
height: 23px;
@@ -184,7 +185,6 @@ div.ui-slider {
#wv-date-mobile-label {
padding: 7px;
border-radius: 5px;
- border: 1px solid #333;
position: absolute;
left: 10px;
bottom: 85px;
diff --git a/web/css/wv.image.css b/web/css/wv.image.css
index 526da3659..ed7011c7c 100644
--- a/web/css/wv.image.css
+++ b/web/css/wv.image.css
@@ -48,7 +48,6 @@
.wv-image-coords {
position: absolute;
z-index: 500;
- color: white;
white-space: pre;
color: #fff;
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
diff --git a/web/css/wv.link.css b/web/css/wv.link.css
index 08da50c5f..512afae91 100644
--- a/web/css/wv.link.css
+++ b/web/css/wv.link.css
@@ -2,7 +2,6 @@
width: 100%;
cursor: text;
-webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
box-sizing: border-box;
}
@@ -19,11 +18,9 @@
#social-share {
padding-top: 12px;
display: -webkit-box;
- display: -moz-box;
display: -ms-flexbox;
- display: -webkit-flex;
display: flex;
- -webkit-justify-content: space-around;
+ -ms-flex-pack: distribute;
justify-content: space-around;
}
diff --git a/web/css/wv.timeline.css b/web/css/wv.timeline.css
index d436840bc..6d36b3bf3 100644
--- a/web/css/wv.timeline.css
+++ b/web/css/wv.timeline.css
@@ -100,7 +100,6 @@
.x.axis > .tick-labeled > line {
stroke-width: 1;
- stroke-miterlimit: 4;
stroke-dasharray: none;
stroke: #fff;
stroke-linecap: butt;
diff --git a/web/css/wv.tour.css b/web/css/wv.tour.css
index f4661bfe0..72a1ab04d 100644
--- a/web/css/wv.tour.css
+++ b/web/css/wv.tour.css
@@ -86,8 +86,6 @@ p.splash span.highlight {
button.takeTour {
font: 400 12px/18px 'Open Sans', sans-serif;
border: 1px solid #d7dada;
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
border-radius: 6px;
padding: 10px;
text-align: center;
@@ -113,8 +111,6 @@ button.takeTour:hover {
button.skipTour {
font: 400 12px/18px 'Open Sans', sans-serif;
border: 1px solid #d7dada;
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
border-radius: 6px;
padding: 10px;
text-align: center;