client/tags: remove unused cruft
This commit is contained in:
parent
5092c2c587
commit
7f53abb498
3 changed files with 16 additions and 52 deletions
|
@ -200,11 +200,26 @@ div.tag-input
|
|||
&.translucent
|
||||
opacity: .5
|
||||
|
||||
&:before
|
||||
margin-left: 0.5em
|
||||
margin-top: 0.5em
|
||||
position: absolute
|
||||
display: block
|
||||
background: $tag-suggestions-header-color
|
||||
border-left: 1px solid $tag-suggestions-border-color
|
||||
border-bottom: 1px solid $tag-suggestions-border-color
|
||||
width: 0.707107em
|
||||
height: 0.707107em
|
||||
content: ' '
|
||||
transform: rotate(45deg)
|
||||
transform-origin: 0 0%
|
||||
|
||||
.buttons
|
||||
float: right
|
||||
a
|
||||
margin-left: 1em
|
||||
color: $inactive-link-color
|
||||
|
||||
.wrapper
|
||||
margin-left: 0.5em
|
||||
background: $tag-suggestions-background-color
|
||||
|
@ -239,19 +254,7 @@ div.tag-input
|
|||
margin: 0 1em 0 0
|
||||
p
|
||||
margin: 0
|
||||
&:before
|
||||
margin-left: 0.5em
|
||||
margin-top: 0.5em
|
||||
position: absolute
|
||||
display: block
|
||||
background: $tag-suggestions-header-color
|
||||
border-left: 1px solid $tag-suggestions-border-color
|
||||
border-bottom: 1px solid $tag-suggestions-border-color
|
||||
width: 0.707107em
|
||||
height: 0.707107em
|
||||
content: ' '
|
||||
transform: rotate(45deg)
|
||||
transform-origin: 0 0%
|
||||
|
||||
.append
|
||||
color: $inactive-link-color
|
||||
margin-left: 0.7em
|
||||
|
@ -271,28 +274,6 @@ ul.compact-tags
|
|||
font-size: 90%
|
||||
unselectable()
|
||||
|
||||
div.tag-relations
|
||||
font-size: 80%
|
||||
ul
|
||||
display: inline
|
||||
margin: 0
|
||||
padding: 0
|
||||
&.tag-siblings li:first-child:before
|
||||
content: 'Siblings: '
|
||||
&.tag-suggestions li:first-child:before
|
||||
content: 'Suggestions: '
|
||||
&:before, &:after
|
||||
height: 0.25em
|
||||
content: ' '
|
||||
display: block
|
||||
li
|
||||
display: inline
|
||||
margin: 0
|
||||
padding: 0
|
||||
a
|
||||
display: inline-block
|
||||
margin: 0 0 0 1em
|
||||
|
||||
label.color
|
||||
position: relative
|
||||
input[type=text]
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
<div class='tag-relations'>
|
||||
<% if (ctx.suggestions.length) { %>
|
||||
<ul class='tag-suggestions'>
|
||||
<% for (let tagName of ctx.suggestions.slice(0, 20)) { %>
|
||||
<li><%= ctx.makeTagLink(tagName) %></li>
|
||||
<% } %>
|
||||
</ul>
|
||||
<% } %>
|
||||
<% if (ctx.siblings.length) { %>
|
||||
<ul class='tag-siblings'>
|
||||
<% for (let tagName of ctx.siblings.slice(0, 20)) { %>
|
||||
<li><%= ctx.makeTagLink(tagName) %></li>
|
||||
<% } %>
|
||||
</ul>
|
||||
<% } %>
|
||||
</div>
|
|
@ -82,7 +82,6 @@ class TagInputControl extends events.EventTarget {
|
|||
this.tags = [];
|
||||
this._suggestions = new SuggestionList();
|
||||
|
||||
this._relationsTemplate = views.getTemplate('tag-relations');
|
||||
this._sourceInputNode = sourceInputNode;
|
||||
|
||||
this._install();
|
||||
|
|
Loading…
Reference in a new issue