diff --git a/src/main/java/com/commafeed/frontend/pages/HomePage.html b/src/main/java/com/commafeed/frontend/pages/HomePage.html index 56385609..37dd5b45 100644 --- a/src/main/java/com/commafeed/frontend/pages/HomePage.html +++ b/src/main/java/com/commafeed/frontend/pages/HomePage.html @@ -7,23 +7,25 @@
-
-
diff --git a/src/main/webapp/css/app.css b/src/main/webapp/css/app.css index c2317c40..f572afe1 100644 --- a/src/main/webapp/css/app.css +++ b/src/main/webapp/css/app.css @@ -1,17 +1,26 @@ -.main { - margin-top: 10px; +.main .spinner { + display: inline-block; + margin-left: 11px; + top: -4px; } -.main .spinner { - width: 50px; - height: 50px; - top: 14px; - left: 20px; +.toolbar { + padding-top: 10px; + padding-bottom: 10px; + width: 100%; + z-index: 10; + position: fixed; + background-color: #FFF; + width: 100%; +} + +.entryList { + padding-top: 50px; } /* tree*/ .sidebar-nav-fixed { - overflow: visible; + margin-top: 10px; } .css-treeview { @@ -30,6 +39,7 @@ overflow: hidden; text-overflow: ellipsis; display: block; + margin: 3px 0px 3px; } .css-treeview label,.css-treeview a,.css-treeview label::before { @@ -65,7 +75,7 @@ } .entrylist-header h3 { - margin: 5px 0px 5px 0px; + margin: 0; } #feed-accordion .entry { @@ -93,6 +103,7 @@ overflow: hidden; white-space: nowrap; position: absolute; + width: 145px; } #feed-accordion .entry-heading .entry-name { @@ -100,10 +111,13 @@ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - margin-left: 150px; margin-right: 100px; } +#feed-accordion .entry-heading .entry-name.shrink { + margin-left: 150px; +} + #feed-accordion .entry-heading .entry-date { display: block; position: absolute; diff --git a/src/main/webapp/directives/toolbar.html b/src/main/webapp/directives/toolbar.html index 0b017585..136e8813 100644 --- a/src/main/webapp/directives/toolbar.html +++ b/src/main/webapp/directives/toolbar.html @@ -1,5 +1,5 @@
-
+
@@ -17,6 +17,7 @@
  • Logout
  • +
    \ No newline at end of file diff --git a/src/main/webapp/js/directives.js b/src/main/webapp/js/directives.js index 18b33ff7..273a94bb 100644 --- a/src/main/webapp/js/directives.js +++ b/src/main/webapp/js/directives.js @@ -9,8 +9,10 @@ module.directive('scrollTo', function() { link : function(scope, element, attrs) { scope.$watch(attrs.scrollTo, function(value) { if (value) { + var offset = parseInt(attrs.scrollToOffset, 10); + var scrollTop = $(element).offset().top + offset; $('html, body').animate({ - scrollTop : $(element).offset().top + 'px' + scrollTop : scrollTop }, 0); } }); @@ -183,7 +185,7 @@ module.directive('spinner', function() { shadow : false, // Whether to render a shadow hwaccel : true, // Whether to use hardware acceleration zIndex : 2e9, // The z-index (defaults to 2000000000) - top : 50, // Top position relative to parent in px + top : 'auto', // Top position relative to parent in px left : 'auto' // Left position relative to parent in px }; var spinner = new Spinner(opts); diff --git a/src/main/webapp/templates/feeds.html b/src/main/webapp/templates/feeds.html index 9f82b3be..cf614dbe 100644 --- a/src/main/webapp/templates/feeds.html +++ b/src/main/webapp/templates/feeds.html @@ -6,11 +6,11 @@