diff options
-rw-r--r-- | css/items.css | 25 | ||||
-rw-r--r-- | templates/part.items.php | 5 |
2 files changed, 19 insertions, 11 deletions
diff --git a/css/items.css b/css/items.css index a94f0aa76..b99d07789 100644 --- a/css/items.css +++ b/css/items.css @@ -117,19 +117,26 @@ } /** + * Heading which is used for plugins only + */ + .feed_item .item_heading { + display: none; + } + + /** * Feed title */ - .feed_item h1.item_title { + .feed_item .item_title { font-size: 19px; margin: 0 182px 0 42px; font-weight: bold; word-wrap: break-word; } - .feed_item h1.item_title a { + .feed_item .item_title a { color: #222; } - .feed_item h1.item_title a:hover { + .feed_item .item_title a:hover { color: #222; text-decoration: underline; } @@ -137,18 +144,18 @@ /** * Feed title when read */ - .feed_item.read h1.item_title { + .feed_item.read .item_title { font-weight: normal; } - .feed_item.read h1.item_title a { + .feed_item.read .item_title a { color: #888; } /** * Title of the feed to which the item belongs */ - .feed_item h2.item_feed_title { + .feed_item .item_feed_title { color: #aaa; font-size: 15px; margin-left: 42px; @@ -157,17 +164,17 @@ /** * Author of the item */ - .feed_item h2.item_author { + .feed_item .item_author { color: #aaa; font-size: 15px; margin: 3px 0 0 42px; } - .feed_item h2.item_author a { + .feed_item .item_author a { color: inherit; } - .feed_item h2.item_author a:hover { + .feed_item .item_author a:hover { text-decoration: underline; } diff --git a/templates/part.items.php b/templates/part.items.php index b6527dfff..f20e80c75 100644 --- a/templates/part.items.php +++ b/templates/part.items.php @@ -2,7 +2,7 @@ <li class="feed_item" ng-repeat="item in itemBusinessLayer.getAll() | orderBy:['-id'] " ng-class="{ read: item.isRead() }" - data-id="{{ item.id }}" + data-id="{{ item.id }}"> <h2 class="item_date"> <span class="timeago" title="{{item.pubDate*1000|date:'dd-MM-yyyy'}}"> {{ getRelativeDate(item.pubDate) }} @@ -19,7 +19,8 @@ </ul> </div> - <h1 class="item_title" title="{{ item.title|ocRemoveTags:['em', 'b', 'i'] }}"> + <h1 class="item_heading">{{ item.title|ocRemoveTags:['em', 'b', 'i'] }}</h1> + <h1 class="item_title"> <a ng-click="itemBusinessLayer.setRead(item.id)" target="_blank" ng-href="{{ item.url|ocSanitizeURL }}"> {{ item.title|ocRemoveTags:['em', 'b', 'i'] }} |