copy colors for entry heading from reader (#fix 254)

This commit is contained in:
Athou
2013-06-04 22:37:42 +02:00
parent 53dfc904c5
commit d2566409d6
2 changed files with 15 additions and 17 deletions

View File

@@ -40,6 +40,16 @@
color: black;
cursor: pointer;
padding: 6px 0px;
background-color: #ebebeb;
}
#feed-accordion .unread .entry-heading {
font-weight: bold;
background-color: #fff;
}
#feed-accordion .current.closed .entry-heading {
background-color: #ffc;
}
#feed-accordion .entry-heading .feed-name {
@@ -74,18 +84,6 @@
text-decoration: none;
}
#feed-accordion .open {
background-color: #EBEBEB;
}
#feed-accordion .closed:hover {
background-color: #EBEBEB;
}
#feed-accordion .entry-heading .unread {
font-weight: bold;
}
#feed-accordion .entry-body h4 {
margin-top: 5px;
}

View File

@@ -14,10 +14,10 @@
<div infinite-scroll="loadMoreEntries()" infinite-scroll-disabled="busy || !settingsService.settings.readingMode" infinite-scroll-distance="1" id="feed-accordion"
ng-class="{'expanded' : settingsService.settings.viewMode == 'expanded' }">
<div ng-show="message && errorCount > 10">${view.error_while_loading_feed} : {{message}}</div>
<div ng-repeat="entry in entries" class="entry" scroll-to="navigationMode == 'click' && current == entry" scroll-to-offset="-58"
on-scroll-middle="onScroll(entry)" ng-class="{current: current==entry}">
<a href="{{entry.url}}" target="_blank" class="entry-heading" ng-click="noop($event)" ng-mouseup="entryClicked(entry, $event)"
ng-class="{open: current == entry, closed: current != entry}">
<div ng-repeat="entry in entries" class="entry" scroll-to="navigationMode == 'click' && current == entry"
scroll-to-offset="-58" on-scroll-middle="onScroll(entry)"
ng-class="{unread: entry.read == false, current: current==entry, open: isOpen, closed: !isOpen}">
<a href="{{entry.url}}" target="_blank" class="entry-heading" ng-click="noop($event)" ng-mouseup="entryClicked(entry, $event)">
<span class="feed-name visible-desktop">
<span class="star" ng-mouseup="star(entry, !entry.starred, $event)">
<i ng-class="{'icon-star icon-star-yellow': entry.starred, 'icon-star-empty': !entry.starred}"
@@ -27,7 +27,7 @@
{{entry.feedName}}
</span>
<span class="entry-date visible-desktop">{{entry.date | entryDate}}</span>
<span class="entry-name" ng-class="{unread: entry.read == false, shrink: true, rtl: entry.rtl}" ng-bind-html-unsafe="entry.title"></span>
<span class="entry-name" ng-class="{shrink: true, rtl: entry.rtl}" ng-bind-html-unsafe="entry.title"></span>
</a>
<div class="entry-body" ui-if="settingsService.settings.viewMode == 'expanded' || (isOpen && current == entry)" ng-mouseup="bodyClicked(entry, $event)"