Unified · Split
| @@ -1,4 +1,4 @@ | |||
| 1 | arrow = """<svg class="_path-arrow"><use xlink:href="#dir"/></svg>""" | 1 | arrow = """<svg class="_path-arrow"><use xlink:href="#dir-icon"/></svg>""" |
| 2 | 2 | ||
| 3 | app.templates.path = (doc, type, entry) -> | 3 | app.templates.path = (doc, type, entry) -> |
| 4 | html = """<a href="#{doc.fullPath()}" class="_path-item _icon-#{doc.icon}">#{doc.fullName}</a>""" | 4 | html = """<a href="#{doc.fullPath()}" class="_path-item _icon-#{doc.icon}">#{doc.fullName}</a>""" |
| @@ -1,6 +1,6 @@ | |||
| 1 | templates = app.templates | 1 | templates = app.templates |
| 2 | 2 | ||
| 3 | arrow = """<svg class="_list-arrow"><use xlink:href="#dir"/></svg>""" | 3 | arrow = """<svg class="_list-arrow"><use xlink:href="#dir-icon"/></svg>""" |
| 4 | 4 | ||
| 5 | templates.sidebarDoc = (doc, options = {}) -> | 5 | templates.sidebarDoc = (doc, options = {}) -> |
| 6 | link = """<a href="#{doc.fullPath()}" class="_list-item _icon-#{doc.icon} """ | 6 | link = """<a href="#{doc.fullPath()}" class="_list-item _icon-#{doc.icon} """ |
| @@ -54,7 +54,7 @@ · 53 unmodified lines | |||
| 54 | </form> | 54 | </form> |
| 55 | </div> | 55 | </div> |
| 56 | <svg style="display:none"> | 56 | <svg style="display:none"> |
| 57 | <symbol id="dir"><svg viewBox="0 0 20 20"><path d="M15 10c0 .3-.305.515-.305.515l-8.56 5.303c-.625.41-1.135.106-1.135-.67V4.853c0-.777.51-1.078 1.135-.67l8.56 5.305S15 9.702 15 10z"/></svg></symbol> | 57 | <symbol id="dir-icon"><svg viewBox="0 0 20 20"><path d="M15 10c0 .3-.305.515-.305.515l-8.56 5.303c-.625.41-1.135.106-1.135-.67V4.853c0-.777.51-1.078 1.135-.67l8.56 5.305S15 9.702 15 10z"/></svg></symbol> |
| 58 | </svg> | 58 | </svg> |
| 59 | <style data-size="<%= app_size %>" data-resizer> | 59 | <style data-size="<%= app_size %>" data-resizer> |
| 60 | ._container { margin-left: <%= app_size %>; } | 60 | ._container { margin-left: <%= app_size %>; } |