fix inactive controller color
diff --git a/web/ons-demo/css/skin.default.css b/web/ons-demo/css/skin.default.css
index 3a63ae2..37b4248 100644
--- a/web/ons-demo/css/skin.default.css
+++ b/web/ons-demo/css/skin.default.css
@@ -109,7 +109,6 @@
visibility: hidden
}
-.color0-selected .color0,
.color1-selected .color1,
.color2-selected .color2,
.color3-selected .color3,
@@ -133,14 +132,6 @@
color: #222;
}
-.color0 {
- opacity: .2;
- pointer-events: none;
- fill: #222;
- background-color: #222;
- color: #444;
-}
-
.color1 {
opacity: .2;
pointer-events: none;
diff --git a/web/ons-demo/js/app.js b/web/ons-demo/js/app.js
index d18b729..5f41617 100644
--- a/web/ons-demo/js/app.js
+++ b/web/ons-demo/js/app.js
@@ -282,7 +282,7 @@
});
controllers.attr('class', function (d) {
- var color = 'color0';
+ var color = 'colorInactive';
if (model.activeControllers.indexOf(d) != -1) {
color = controllerColorMap[d];
}