Interactive interface for browsing global, full-resolution satellite imagery
Update CSS for new version of perfect-scrollbar
Taylor Gunnoefdcd77770b9c
diff --git a/deploy/wv.css.json b/deploy/wv.css.jsonindex 0986b6c81..4726dc85e 100644--- a/deploy/wv.css.json+++ b/deploy/wv.css.json@@ -17,6 +17,7 @@"web/css/dataDownload.css","web/css/wv.sidebar.css","web/css/wv.layers.modal.css",+ "web/css/wv.scrollbar.css","web/css/wv.layers.options.css","web/css/wv.timeline.css","web/css/wv.anim.widget.css",diff --git a/web/css/wv.layers.modal.css b/web/css/wv.layers.modal.cssindex b938a7568..409373e87 100644--- a/web/css/wv.layers.modal.css+++ b/web/css/wv.layers.modal.css@@ -503,49 +503,3 @@#categories-nav {margin-right:10px;}--/* perfect-scrollbar */-.ps-container > .ps__scrollbar-y-rail,-.ps > .ps__scrollbar-y-rail .ps__scrollbar-y-{- border-radius:0;- -webkit-border-radius:0;- -moz-border-radius:0;- -o-border-radius:0;- -webkit-transition: none;- -moz-transition: none;- -o-transition: none;- transition: none;- opacity:1;-}-.ps > .ps__scrollbar-y-rail {- right:0;-}-.ps > .ps__scrollbar-y-rail .ps__scrollbar-y{- background-color: #666;-}-.ps:hover.ps-in-scrolling {- pointer-events: none; }- .ps:hover.ps-in-scrolling.ps-x > .ps__scrollbar-x-rail {- background-color: #eee;- opacity: 1; }- .ps:hover.ps-in-scrolling.ps-x > .ps__scrollbar-x-rail > .ps__scrollbar-x {- background-color: #999; }- .ps:hover.ps-in-scrolling.ps-y > .ps__scrollbar-y-rail {- background-color: #eee;- opacity: 1; }- .ps:hover.ps-in-scrolling.ps-y > .ps__scrollbar-y-rail > .ps__scrollbar-y {- background-color: #999; }- .ps:hover > .ps__scrollbar-x-rail,- .ps:hover > .ps__scrollbar-y-rail {- opacity: 1; }- .ps:hover > .ps__scrollbar-x-rail:hover {- background-color: #eee;- opacity: 1; }- .ps:hover > .ps__scrollbar-x-rail:hover > .ps__scrollbar-x {- background-color: #999; }- .ps:hover > .ps__scrollbar-y-rail:hover {- background-color: #eee;- opacity: 1; }- .ps:hover > .ps__scrollbar-y-rail:hover > .ps__scrollbar-y {- background-color: #999; }diff --git a/web/css/wv.scrollbar.css b/web/css/wv.scrollbar.cssnew file mode 100644index 000000000..770ebe875--- /dev/null+++ b/web/css/wv.scrollbar.css@@ -0,0 +1,36 @@+/***************** perfect-scrollbar overrides ***********************/+.ps > .ps__scrollbar-y-rail,+.ps > .ps__scrollbar-y-rail .ps__scrollbar-y,+.ps > .ps__scrollbar-y-rail:hover > .ps__scrollbar-y,+.ps > .ps__scrollbar-y-rail:active > .ps__scrollbar-y+{+ border-radius:0;+ -webkit-border-radius:0;+ -moz-border-radius:0;+ -o-border-radius:0;+ -webkit-transition: none;+ -moz-transition: none;+ -o-transition: none;+ transition: none;+ opacity:1;+ width: 8px;+ right: 0;+}+.ps > .ps__scrollbar-y-rail .ps__scrollbar-y{+ background-color: #666;+}++/* Remove disappear and modify colors */+.ps:hover > .ps__scrollbar-x-rail,+.ps:hover > .ps__scrollbar-y-rail {+ opacity: 1;+}+.ps:hover > .ps__scrollbar-x-rail:hover,+.ps:hover > .ps__scrollbar-y-rail:hover {+ background-color: #eee;+ opacity: 1;+}+.ps:hover > .ps__scrollbar-x-rail:hover > .ps__scrollbar-x,+.ps:hover > .ps__scrollbar-y-rail:hover > .ps__scrollbar-y {+ background-color: #999;+}\ No newline at end of filediff --git a/web/index.html b/web/index.htmlindex e8b7a96d8..8479f0ead 100644--- a/web/index.html+++ b/web/index.html@@ -87,6 +87,7 @@<!-- link.dev --> <link type="text/css" rel="Stylesheet" href="css/dataDownload.css"><!-- link.dev --> <link type="text/css" rel="Stylesheet" href="css/wv.sidebar.css"><!-- link.dev --> <link type="text/css" rel="Stylesheet" href="css/wv.layers.modal.css">+ <!-- link.dev --> <link type="text/css" rel="Stylesheet" href="css/wv.scrollbar.css"><!-- link.dev --> <link type="text/css" rel="Stylesheet" href="css/wv.layers.options.css"><!-- link.dev --> <link type="text/css" rel="Stylesheet" href="css/wv.timeline.css"><!-- link.dev --> <link type="text/css" rel="Stylesheet" href="css/wv.anim.widget.css">