Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Added more stylelint rules and fixes - Added rule to detect longhand redundant properties & fixed an example of this in timeline file. - Added rule to detech longhand rules overriding shorthand; fixed 3 examples of this - Disallowed empty rule blocks - Added check for unknown pseudo classes and pseudo elements - Checked for unknown slector types; removed 1 example of this - Checked for unknown @media feature names - Checked for unknown @ rules - Disallowed empty comments - Added max nesting depth of 1 except within @ rules

ZachTRice7c84b8dd7aa1
diff --git a/.stylelintrc b/.stylelintrc
index 02b58cdbc..04bfc262a 100644
--- a/.stylelintrc
+++ b/.stylelintrc
@@ -12,6 +12,18 @@
"declaration-block-no-duplicate-properties": [true, {
"ignore": "consecutive-duplicates"
}],
+ "declaration-block-no-redundant-longhand-properties": true,
+ "declaration-block-no-shorthand-property-overrides": true,
+ "block-no-empty": true,
+ "selector-pseudo-class-no-unknown": true,
+ "selector-pseudo-element-no-unknown": true,
+ "selector-type-no-unknown": true,
+ "media-feature-name-no-unknown": true,
+ "at-rule-no-unknown": true,
+ "comment-no-empty": true,
+ "max-nesting-depth": [1, {
+ ignore: "blockless-at-rules"
+ }],
"max-empty-lines": 1,
}
}
diff --git a/web/css/wv.layers.modal.css b/web/css/wv.layers.modal.css
index 16d3eca55..c485018a7 100644
--- a/web/css/wv.layers.modal.css
+++ b/web/css/wv.layers.modal.css
@@ -604,7 +604,6 @@
}
#selected-category .ui-tabs-panel li.measurement-settings-item,
-#selected-category .ui-tabs-panel li.measurement-settings-item iCheck-checkbox,
#selected-category .ui-tabs-panel li.measurement-settings-item label {
cursor: pointer;
}
diff --git a/web/css/wv.main.css b/web/css/wv.main.css
index da93fbb0e..a21d701ea 100644
--- a/web/css/wv.main.css
+++ b/web/css/wv.main.css
@@ -93,8 +93,8 @@ video {
margin: 0;
padding: 0;
border: 0;
- font-size: 100%;
font: inherit;
+ font-size: 100%;
vertical-align: baseline;
}
diff --git a/web/css/wv.map.css b/web/css/wv.map.css
index ee6eb39f8..f99f781eb 100644
--- a/web/css/wv.map.css
+++ b/web/css/wv.map.css
@@ -158,7 +158,7 @@
.wv-coords-map:hover div.coord-btn {
background-image: none;
- background: #fff;
+ background-color: #fff;
}
.wv-coords-map:hover div.coord-btn i {
@@ -193,7 +193,7 @@
.wv-coords-map div.coord-btn:hover {
background-image: none;
- background: #fff;
+ background-color: #fff;
}
.wv-coords-map div.coord-btn:hover i {
diff --git a/web/css/wv.timeline.css b/web/css/wv.timeline.css
index 6d36b3bf3..752a2ca50 100644
--- a/web/css/wv.timeline.css
+++ b/web/css/wv.timeline.css
@@ -14,14 +14,8 @@
}
#timeline-footer text {
- font-size: 14px;
- font-weight: normal;
- font-family: 'Roboto Mono', monospace;
- font-style: normal;
- font-variant: normal;
- font-stretch: normal;
+ font: 400 14px/125% 'Roboto Mono', monospace;
text-align: start;
- line-height: 125%;
letter-spacing: 0;
word-spacing: 0;
-webkit-writing-mode: lr-tb;