All graphics from iD-sprite are now symbols that can be used

(re: #3924)
This commit is contained in:
Bryan Housel
2017-03-23 21:11:25 -04:00
parent 09d3e2d09d
commit 468c1e427d
12 changed files with 174 additions and 93 deletions
+14 -3
View File
@@ -159,12 +159,23 @@ export function uiHelp(context) {
.html(function(d) { return d.title; })
.on('click', clickHelp);
toc.append('li')
.attr('class','walkthrough')
var walkthrough = toc
.append('li')
.attr('class', 'walkthrough')
.append('a')
.text(t('splash.walkthrough'))
.on('click', clickWalkthrough);
walkthrough
.append('svg')
.attr('class', 'logo logo-walkthrough')
.append('use')
.attr('xlink:href', '#logo-walkthrough');
walkthrough
.append('div')
.text(t('splash.walkthrough'));
var content = pane.append('div')
.attr('class', 'left-content');