From e76ba69f66d49320005054dbf5cad477c252ed31 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Sun, 31 Aug 2014 12:08:31 +0200 Subject: use from navigation css from core --- css/navigation.css | 17 ----------------- templates/part.feed.starred.php | 2 +- templates/part.feed.unread.php | 3 ++- templates/part.listfeed.php | 2 +- templates/part.listfolder.php | 2 +- 5 files changed, 5 insertions(+), 21 deletions(-) diff --git a/css/navigation.css b/css/navigation.css index 4486062c4..50ebd8ad1 100644 --- a/css/navigation.css +++ b/css/navigation.css @@ -93,23 +93,6 @@ #app-navigation .unread > a { font-weight: bold; - padding-right: 32px; -} - -#app-navigation .active > a { - padding-right: 40px; -} - -#app-navigation .active.unread > a { - padding-right: 80px; -} - -#app-navigation li:hover > a { - padding-right: 60px; -} - -#app-navigation .add-new:hover > a { - padding-right: 0px; } #app-navigation .folder { diff --git a/templates/part.feed.starred.php b/templates/part.feed.starred.php index 4d70b4c39..fb185ee67 100644 --- a/templates/part.feed.starred.php +++ b/templates/part.feed.starred.php @@ -2,7 +2,7 @@ active: Navigation.isStarredActive(), unread: Navigation.getStarredCount() > 0 }" - class="starred"> + class="starred has-counter"> t('Starred')) ?> diff --git a/templates/part.feed.unread.php b/templates/part.feed.unread.php index 867ba1792..275c36dd6 100644 --- a/templates/part.feed.unread.php +++ b/templates/part.feed.unread.php @@ -1,7 +1,8 @@
  • + }" + class="has-counter"> t('Unread articles'))?> diff --git a/templates/part.listfeed.php b/templates/part.listfeed.php index e5b993d43..f3e2695d5 100644 --- a/templates/part.listfeed.php +++ b/templates/part.listfeed.php @@ -9,7 +9,7 @@ || Navigation.isFeedActive(feed.id) || !feed.id" data-id="{{ feed.id }}" - class="feed" + class="feed has-counter" news-draggable="{ stack: '> li', zIndex: 1000, diff --git a/templates/part.listfolder.php b/templates/part.listfolder.php index 23f46c4ef..91d2995ef 100644 --- a/templates/part.listfolder.php +++ b/templates/part.listfolder.php @@ -11,7 +11,7 @@ || Navigation.isFolderActive(folder.id) || Navigation.subFeedActive(folder.id) || !folder.id" - class="folder" + class="folder has-counter" data-id="{{ folder.id }}" news-droppable>