Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Fix stylelinting errors #1118

Benjamin Kingf5fd7841abe8
diff --git a/web/css/compare.css b/web/css/compare.css
index 44b0ba86d..a0e417304 100644
--- a/web/css/compare.css
+++ b/web/css/compare.css
@@ -1,10 +1,10 @@
.ab-swipe-line {
height: 100%;
- padding: 0 2px 0 2px;
+ padding: 0 2px;
position: absolute;
top: 0;
width: 1px;
- background: white;
+ background: #fff;
}
.ab-swipe-dragger {
position: absolute;
@@ -14,8 +14,8 @@
margin-top: -15px;
left: -13px;
border-radius: 50%;
- color: black;
- background: white;
+ color: #000;
+ background: #fff;
text-align: center;
}
.ab-swipe-line:hover {
@@ -45,7 +45,7 @@
width: 216px;
text-align: center;
background: rgba(40, 40, 40, 0.85);
- color: white;
+ color: #fff;
height: 33px;
}
.ab-slider-case .input-range {
@@ -72,13 +72,13 @@
position: absolute;
top: 55%;
padding: 2px;
- background: white;
- color: black;
+ background: #fff;
+ color: #000;
display: block;
font-size: 14px;
margin-top: -7px;
border-radius: 3px;
- border: 1px solid black;
+ border: 1px solid #000;
cursor: default;
}
@@ -89,7 +89,7 @@
display: block;
font-size: 14px;
border-radius: 3px;
- border: 1px solid black;
+ border: 1px solid #000;
padding: 2px;
margin-left: -4px;
}
diff --git a/web/css/dateselector.css b/web/css/dateselector.css
index 2ebdfe5a6..ce2e3ffdf 100644
--- a/web/css/dateselector.css
+++ b/web/css/dateselector.css
@@ -19,7 +19,6 @@
}
.wv-date-selector-widget input {
- height: 40px;
color: #fff;
background: transparent;
border: 0;
@@ -29,6 +28,9 @@
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
padding: 0;
+ height: inherit;
+ text-align: center;
+ width: 100%;
}
.wv-date-selector-widget .input-wrapper:hover {
@@ -125,11 +127,6 @@
left: 50%;
margin-left: -12px;
}
-.wv-date-selector-widget input {
- height: inherit;
- text-align: center;
- width: 100%;
-}
.wv-date-selector-widget #left-arrow-group {
-webkit-transform: scaleX(-1);
transform: scaleX(-1);
diff --git a/web/css/palettes.css b/web/css/palettes.css
index cba266335..581ac1085 100644
--- a/web/css/palettes.css
+++ b/web/css/palettes.css
@@ -190,7 +190,7 @@
width: 13px;
display: inline-block;
border: 1px solid #000;
- margin: 0 2px 15px 2px;
+ margin: 0 2px 15px;
}
.wv-running .wv-palettes-class {
opacity: 0.25;
diff --git a/web/css/products.css b/web/css/products.css
index 5838f6d08..2930fb3e2 100644
--- a/web/css/products.css
+++ b/web/css/products.css
@@ -91,6 +91,7 @@
.ab-tab.active .productsIcon {
background-position: 0 20px;
}
+
/***********************************Icons***********************************/
.icon-layers {
background-position: 0 -10px;
diff --git a/web/css/scrollbar.css b/web/css/scrollbar.css
index 88a125475..eb1181754 100644
--- a/web/css/scrollbar.css
+++ b/web/css/scrollbar.css
@@ -43,14 +43,14 @@
}
/***************** simple-scrollbar customizations ***********************/
-.vertical .simplebar-scrollbar:before {
+.vertical .simplebar-scrollbar::before {
background-color: #999;
width: 9px;
}
.scrollbar-hidden .simplebar-scrollbar {
display: none;
}
-.scrollbar-visible .vertical .simplebar-scrollbar:before {
+.scrollbar-visible .vertical .simplebar-scrollbar::before {
opacity: 0.8;
border-radius: 0;
}
diff --git a/web/css/sidebar-panel.css b/web/css/sidebar-panel.css
index 53b92c9d2..7fc348210 100644
--- a/web/css/sidebar-panel.css
+++ b/web/css/sidebar-panel.css
@@ -15,8 +15,8 @@
height: 30px;
width: 30px;
border: 1px solid transparent;
- border-top-left-radius: 0.25rem;
- border-top-right-radius: 0.25rem;
+ border-top-left-radius: 3px;
+ border-top-right-radius: 3px;
}
.atcollapse {
position: absolute;
@@ -279,6 +279,7 @@ li.item.productsitem.inmotion,
.productsitem.disabled .hdanchor {
pointer-events: none;
}
+
/* .productsitem a.hdanchor.hideReg i {
width: 21px;
height: 12px;
diff --git a/web/css/sidebar.css b/web/css/sidebar.css
index dcc804d76..c86eee9b8 100644
--- a/web/css/sidebar.css
+++ b/web/css/sidebar.css
@@ -43,10 +43,10 @@
border-bottom: 3px solid #00457b;
}
.nav-tabs .nav-link {
- padding: 0.3rem 0.55rem;
+ padding: 4px 8px;
}
#productsHolder .nav-tabs .disabled {
- color: white;
+ color: #fff;
opacity: 0.5;
cursor: default;
}
@@ -56,11 +56,12 @@
}
.nav-item {
- color: white;
+ color: #fff;
}
.nav-item .active {
cursor: pointer;
}
+
/* override bootstrap styles */
.tab-content .ab-tabs-case .nav-item .active {
color: #495057;
@@ -68,7 +69,7 @@
.nav-item .sidebar-tab.active {
background: #00457b;
border-color: #00457b;
- color: white;
+ color: #fff;
}
#productsHolder footer {
padding: 5px;
@@ -93,6 +94,7 @@ footer .compare-toggle-button {
}
.wv-ab-mode-selection-case {
margin: 5px;
+ color: #fff;
}
.wv-ab-mode-selection-case > div {
margin-left: 10px;
@@ -101,9 +103,7 @@ footer .compare-toggle-button {
.wv-ab-mode-selection-case h3 {
display: inline-block;
}
-.wv-ab-mode-selection-case {
- color: white;
-}
+
#productsHolder footer p {
color: #ccc;
margin: 3px 0 8px;
diff --git a/web/css/timeline.css b/web/css/timeline.css
index 8c03be933..5bdd307d4 100644
--- a/web/css/timeline.css
+++ b/web/css/timeline.css
@@ -318,10 +318,7 @@ g.plot rect.data-bar-invisible {
}
#timeline-header > .button-action-group .button-disabled:hover,
-#timeline-header
- #zoom-buttons-group
- .button-action-group
- .button-disabled:hover {
+#timeline-header #zoom-buttons-group .button-disabled:hover {
background-color: transparent;
cursor: default;
}
@@ -353,18 +350,12 @@ g.plot rect.data-bar-invisible {
}
#timeline-header > .button-action-group.button-disabled .arrow,
-#timeline-header
- #zoom-buttons-group
- .button-action-group.button-disabled
- .arrow {
+#timeline-header #zoom-buttons-group .button-disabled .arrow {
fill: #333;
}
#timeline-header > .button-action-group.button-disabled:hover .arrow,
-#timeline-header
- #zoom-buttons-group
- .button-action-group.button-disabled:hover
- .arrow {
+#timeline-header #zoom-buttons-group .button-disabled:hover .arrow {
fill: #333;
}
@@ -580,12 +571,12 @@ g.plot rect.data-bar-invisible {
display: none;
}
.ab-group-case-active {
- fill: white;
+ fill: #fff;
}
.ab-group-case polygon,
.ab-group-case path,
.ab-group-case rect {
- fill: gray;
+ fill: #808080;
opacity: 0.7;
}
.ab-group-case-active path {
@@ -596,16 +587,17 @@ g.plot rect.data-bar-invisible {
.ab-group-case-active polygon,
.ab-group-case-active path,
.ab-group-case-active rect {
- fill: white;
+ fill: #fff;
opacity: 1;
pointer-events: initial;
cursor: pointer;
}
.ab-group-case text {
- fill: white;
+ fill: #fff;
+ pointer-events: none;
}
.ab-group-case-active text {
- fill: black;
+ fill: #000;
}
.ab-active .ab-group-case {
display: block;
@@ -613,6 +605,3 @@ g.plot rect.data-bar-invisible {
.ab-active #guitarpick {
display: none !important;
}
-.ab-group-case text {
- pointer-events: none;
-}