Paulo Reis 9 лет назад
Родитель
Сommit
9fb166d2b3

+ 2 - 2
services/web/app/views/project/list/side-bar.pug

@@ -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)

+ 14 - 7
services/web/public/stylesheets/app/project-list.less

@@ -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;