Style improvements.

This commit is contained in:
Paulo Reis 2017-04-28 17:09:34 +01:00
parent 6e40284099
commit 9fb166d2b3
2 changed files with 16 additions and 9 deletions

View file

@ -79,13 +79,13 @@
li
a(href, ng-click="deleteTag(tag)", stop-propagation="click")
| #{translate("delete")}
li.tag(
li.tag.untagged(
ng-if="tags.length",
ng-cloak,
ng-click="selectUntagged()"
ng-class="{active: filter === 'untagged'}",
)
a.tag-untagged(href)
a.tag-name(href)
| #{translate("uncategorized")}
span.subdued ({{ nUntagged }})
li(ng-cloak)

View file

@ -124,6 +124,20 @@ ul.folders-menu {
}
}
}
&.untagged {
font-style: italic;
margin-bottom: @line-height-computed / 4;
a {
line-height: 1.7;
&:hover,
&:focus {
text-decoration: none;
}
}
span.subdued {
font-style: normal;
}
}
&:hover {
&:not(.active) {
background-color: darken(@gray-lightest, 2%);
@ -153,13 +167,6 @@ ul.folders-menu {
line-height: 1.4;
}
}
.tag-untagged {
font-style: italic;
&:hover,
&:focus {
text-decoration: none;
}
}
.tag-menu {
> a {
border: 1px solid @gray;