Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

apply transition only on button hover #1276

Benjamin King0598c8ea6ab5
diff --git a/web/css/button.css b/web/css/button.css
index 16c2b37b3..57829defe 100644
--- a/web/css/button.css
+++ b/web/css/button.css
@@ -13,7 +13,6 @@
background-image: -o-linear-gradient(#555, #666);
font-family: "Segoe UI", "Arial", sans-serif;
padding: 0;
- transition: background 0.5s ease, border-color 0.5s ease;
}
.wv-button span {
padding: 6px 13px 7px;
@@ -29,6 +28,7 @@
.wv-button:hover {
border-color: transparent;
background-color: #eee;
+ transition: background 0.5s ease, border-color 0.5s ease;
background-image: none;
color: #404040;
cursor: pointer;
@@ -40,7 +40,7 @@
opacity: 0.35;
background-image: none;
border: 1px solid #666;
- background-color: #555;
+ background: #555;
border-radius: 0;
color: #eee;
cursor: not-allowed;