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
|
&.translucent
|
||||||
opacity: .5
|
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
|
.buttons
|
||||||
float: right
|
float: right
|
||||||
a
|
a
|
||||||
margin-left: 1em
|
margin-left: 1em
|
||||||
color: $inactive-link-color
|
color: $inactive-link-color
|
||||||
|
|
||||||
.wrapper
|
.wrapper
|
||||||
margin-left: 0.5em
|
margin-left: 0.5em
|
||||||
background: $tag-suggestions-background-color
|
background: $tag-suggestions-background-color
|
||||||
|
@ -239,19 +254,7 @@ div.tag-input
|
||||||
margin: 0 1em 0 0
|
margin: 0 1em 0 0
|
||||||
p
|
p
|
||||||
margin: 0
|
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
|
.append
|
||||||
color: $inactive-link-color
|
color: $inactive-link-color
|
||||||
margin-left: 0.7em
|
margin-left: 0.7em
|
||||||
|
@ -271,28 +274,6 @@ ul.compact-tags
|
||||||
font-size: 90%
|
font-size: 90%
|
||||||
unselectable()
|
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
|
label.color
|
||||||
position: relative
|
position: relative
|
||||||
input[type=text]
|
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.tags = [];
|
||||||
this._suggestions = new SuggestionList();
|
this._suggestions = new SuggestionList();
|
||||||
|
|
||||||
this._relationsTemplate = views.getTemplate('tag-relations');
|
|
||||||
this._sourceInputNode = sourceInputNode;
|
this._sourceInputNode = sourceInputNode;
|
||||||
|
|
||||||
this._install();
|
this._install();
|
||||||
|
|
Loading…
Reference in a new issue