diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-09-10 18:57:00 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-09-10 18:57:00 +0200 |
commit | 4b7bb266f173233defe46e9dcb8c83ef3c35c009 (patch) | |
tree | cded7207cf5ed6a279c9f3b608ab972d2666ef6e | |
parent | d8a83b85292a5309576afd1c0325f6103a7d2502 (diff) |
some changes :/
-rw-r--r-- | css/content.css | 17 | ||||
-rw-r--r-- | templates/part.content.php | 2 |
2 files changed, 11 insertions, 8 deletions
diff --git a/css/content.css b/css/content.css index 1f21aef12..b0f424fd7 100644 --- a/css/content.css +++ b/css/content.css @@ -65,12 +65,12 @@ width: 100%; line-height: 52px; box-sizing: border-box; - padding: 0 45px; - cursor: pointer; + padding: 35px 45px 0 15px; } -#app-content .expanded .utils { - padding-top: 45px; +#app-content .compact .utils { + cursor: pointer; + padding-top: 0; } #app-content .utils ul { @@ -135,7 +135,7 @@ */ #app-content .utils .title { width: 100%; - padding-left: 35px; + padding-left: 30px; background-position: left center; background-size: 20px 20px; background-repeat: no-repeat; @@ -169,12 +169,15 @@ * Actual content */ #app-content .article { - display: none; min-height: 69px; padding: 10px 45px 45px 45px; } -#app-content .expanded .article { +#app-content .compact .article { + display: none; +} + +#app-content .open .article { display: block; } diff --git a/templates/part.content.php b/templates/part.content.php index 34269dc1d..b28d0deb2 100644 --- a/templates/part.content.php +++ b/templates/part.content.php @@ -7,7 +7,7 @@ <li class="item {{ Content.getFeed(item.feedId).cssClass }}" ng-repeat="item in Content.getItems() | orderBy:[Content.orderBy()] track by item.id" ng-click="Content.markRead(item.id)" - ng-class="{read: !item.unread, expanded: !Content.isCompactView() || item.show}" + ng-class="{read: !item.unread, open: item.show, compact: Content.isCompactView()}" data-id="{{ item.id }}"> <div class="utils" ng-click="Content.toggleItem(item)"> |