Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

more styles

Jason Kent494c643efaf2
diff --git a/web/css/layers.css b/web/css/layers.css
index 018e77c7e..3008cdf24 100644
--- a/web/css/layers.css
+++ b/web/css/layers.css
@@ -180,7 +180,7 @@
.layer-list-container .layers-all-layer {
transition: background-color 200ms ease-out;
left: 0;
- border: 1px solid #222;
+
&.measurement-row {
padding: 0 0 0 8px;
}
@@ -341,7 +341,7 @@
font-size: 14px;
line-height: 16px;
padding-top: 15px;
- border-top: 1px solid #555;
+ border-top: 1px solid #aaa;
}
.layer-description .layer-title,
@@ -450,37 +450,51 @@
color: #ccc;
}
-.measurement-row .measurement-row-header {
- padding: 5px 0;
- position: relative;
- cursor: pointer;
-}
-
-.measurement-row .measurement-row-header .arrow-icon {
- color: #d54e21;
- width: 30px;
- height: 30px;
- opacity: 0.8;
- font-size: 26px;
- position: absolute;
- right: 12px;
- top: 50%;
- transform: translateY(-50%);
-}
-
.measurement-row {
& .measure-row-contents {
display: flex;
flex-wrap: wrap;
margin-top: 10px;
- padding-bottom: 5px;
+ & .source-metadata {
+ padding: 5px;
+ & h1, h2, h3, h4, h5 {
+ color: #333;
+ }
+ & p {
+ color: #444;
+ }
+ }
}
& .source-tabs {
width: 35%;
}
& .tab-content {
width: 65%;
- padding: 0 5px;
+ background: #eee;
+ border-bottom: 3px solid #3f3f3f;
+ border-right: 3px solid #3f3f3f;
+ }
+ h3.source-orbits-title {
+ color: #444;
+ font-weight: 700;
+ padding: 10px 5px;
+ }
+}
+
+.measurement-row .measurement-row-header {
+ padding: 5px 0;
+ position: relative;
+ cursor: pointer;
+ & .arrow-icon {
+ color: #d54e21;
+ width: 30px;
+ height: 30px;
+ opacity: 0.8;
+ font-size: 26px;
+ position: absolute;
+ right: 12px;
+ top: 50%;
+ transform: translateY(-50%);
}
}
@@ -492,24 +506,20 @@
& .nav-link {
padding: 8px 5px;
}
-}
-
-.measurement-row .source-nav-item:hover {
- color: #eee;
- background: #504d4d;
-}
-
-.measurement-row > .container {
- margin-top: 10px;
- padding-bottom: 5px;
-}
-
-.measurement-row .source-nav-item.active {
- border-left: 6px solid #d54e21;
- margin-left: 0;
- color: #000;
- cursor: text;
- background: rgba(255, 255, 255, 0.9);
+ &.active {
+ border-left: 6px solid #d54e21;
+ margin-left: 0;
+ color: #000;
+ background: #eee;
+ &:hover {
+ color: #000;
+ background: #eee;
+ }
+ }
+ &:hover {
+ color: #eee;
+ background: #504d4d;
+ }
}
.measurement-row .source-metadata.overflow {
@@ -520,11 +530,12 @@
.measurement-row .source-sub-group .list-group-item {
background: transparent;
border-color: transparent;
- padding: 6px 5px;
+ padding: 6px 5px 6px 10px;
cursor: pointer;
&:hover {
- background: #444;
+ color: #333;
+ background: #ddd;
}
& .wv-checkbox {
color: #fff;
@@ -533,16 +544,13 @@
& label {
display: inline;
- color: #ddd;
+ color: #333;
padding-left: 5px;
font-size: 12px;
pointer-events: none;
}
}
&.unavailable {
- &:hover {
- background: #3a3a3a;
- }
& .fa {
display: inline;
color: #999;
@@ -593,12 +601,6 @@
line-height: 1em;
}
-.layer-modal-content .measurement-row h3.source-orbits-title {
- color: #ddd;
- font-weight: 700;
- padding: 10px 0;
-}
-
.layers-all .iCheck-checkbox {
float: right;
margin-top: 0.5em;
@@ -1026,9 +1028,10 @@
.layer-detail-container {
padding-right: 2px;
-
& .layers-all-layer {
background: transparent;
+ padding: 5px 10px;
+ margin: 0 5px 0 2px;
& h3, h4 {
color: #555;
}
@@ -1069,10 +1072,6 @@
font-weight: 400;
}
}
- & .layers-all-layer {
- padding: 5px 10px;
- margin: 0 5px 0 2px;
- }
& .scrollbar-visible .layers-all-layer {
margin: 0 11px 0 2px;
}
@@ -1080,6 +1079,7 @@
min-height: 58px;
}
& .layers-all-header {
+ border-left: 4px solid #d54e21;
& h3 {
font-size: 20px;
margin: 5px;