From 4f174915b26337d00d306224bb842c3066e08197 Mon Sep 17 00:00:00 2001 From: Ansis Brammanis Date: Thu, 24 Jan 2013 13:34:45 -0500 Subject: [PATCH] 50% opacity as default --- css/app.css | 4 ++++ js/id/ui/layerswitcher.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/css/app.css b/css/app.css index edeec331c..49c61ae9a 100644 --- a/css/app.css +++ b/css/app.css @@ -773,6 +773,10 @@ img.tile { -o-transform-origin:0 0; } +#tile-g { + opacity: 0.5; +} + /* About Section ------------------------------------------------------- */ diff --git a/js/id/ui/layerswitcher.js b/js/id/ui/layerswitcher.js index 1d1dc4f71..8f415bb01 100644 --- a/js/id/ui/layerswitcher.js +++ b/js/id/ui/layerswitcher.js @@ -88,7 +88,7 @@ iD.ui.layerswitcher = function(map) { }); // Make sure there is an active selection by default - d3.select('.opacity-options li').classed('selected', true); + d3.select('.opacity-options li:nth-child(2)').classed('selected', true); function selectLayer(d) { content.selectAll('a.layer')