fullscren support (fix #310)

This commit is contained in:
Athou
2013-06-29 19:37:21 +02:00
parent c3116f075e
commit e01ec129ce
3 changed files with 17 additions and 0 deletions

View File

@@ -1056,6 +1056,10 @@ function($scope, $stateParams, $http, $route, $window, EntryService, SettingsSer
}
});
Mousetrap.bind('f', function(e) {
$('body').toggleClass('full-screen');
});
Mousetrap.bind('?', function(e) {
$scope.$apply(function() {
$scope.shortcutsModal = true;

View File

@@ -1,3 +1,8 @@
.full-screen .main-content {
width: 100%;
margin-left: 0;
}
.entryList {
padding-top: 50px;
}
@@ -124,6 +129,10 @@
padding-bottom: 10px;
}
.full-screen #feed-accordion .entry-body-content {
max-width: 100%;
}
#feed-accordion .entry-enclosure {
clear: both;
padding-top: 10px;

View File

@@ -29,6 +29,10 @@
overflow: auto;
}
.full-screen .left-menu {
display: none;
}
.css-treeview {
margin-top: 15px;
font-family: inherit;