diff --git a/Playground/src/pg-sidebar.html b/Playground/src/pg-sidebar.html index fd37284..534c83e 100644 --- a/Playground/src/pg-sidebar.html +++ b/Playground/src/pg-sidebar.html @@ -31,7 +31,7 @@ - + diff --git a/Sandbox/lib/css/tk-app.css b/Sandbox/lib/css/tk-app.css index 2aa6a2e..4906bbc 100644 --- a/Sandbox/lib/css/tk-app.css +++ b/Sandbox/lib/css/tk-app.css @@ -84,7 +84,8 @@ input[type=checkbox] { } #not-ide { - background: lightyellow; + background: #333; + color: white; box-sizing: border-box; height: 40px; line-height: 40px; @@ -93,6 +94,10 @@ input[type=checkbox] { border-bottom: 1px solid lightgray; } +#not-ide a { + color: lightblue; +} + #modeSelector > * { margin: 0 10px; } diff --git a/Sandbox/lib/tk-app.html b/Sandbox/lib/tk-app.html index 0bf72cd..f745af8 100755 --- a/Sandbox/lib/tk-app.html +++ b/Sandbox/lib/tk-app.html @@ -9,8 +9,8 @@ - - + + @@ -80,13 +80,10 @@ this.$[this.selectedMode].asyncMethod('shown'); } // update mode icons - this.$.modeSelector.items.forEach(function(mode) { - mode.src = mode.getAttribute('src'); - }); - var s = this.$.modeSelector.selection; - var src = s.getAttribute('src'); - var i = src.lastIndexOf('.'); - s.src = src.substring(0, i) + '_selected' + src.substring(i); + this.$.designerIcon.src = this.resolvePath('assets/design' + + (this.selectedMode == 'designer' ? '_selected' : '') + '.png'); + this.$.sourceIcon.src = this.resolvePath('assets/code' + + (this.selectedMode == 'source' ? '_selected' : '') + '.png'); }); }, designChanged: function() { diff --git a/Sandbox/metadata.html b/Sandbox/metadata.html index 3337511..b4934e6 100755 --- a/Sandbox/metadata.html +++ b/Sandbox/metadata.html @@ -1,8 +1,8 @@ - + - + @@ -24,19 +24,23 @@ - + - + - + + + + + + + + + + + + + +