forked from Archives/Athou_commafeed
fullscren support (fix #310)
This commit is contained in:
@@ -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) {
|
Mousetrap.bind('?', function(e) {
|
||||||
$scope.$apply(function() {
|
$scope.$apply(function() {
|
||||||
$scope.shortcutsModal = true;
|
$scope.shortcutsModal = true;
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
.full-screen .main-content {
|
||||||
|
width: 100%;
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.entryList {
|
.entryList {
|
||||||
padding-top: 50px;
|
padding-top: 50px;
|
||||||
}
|
}
|
||||||
@@ -124,6 +129,10 @@
|
|||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.full-screen #feed-accordion .entry-body-content {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
#feed-accordion .entry-enclosure {
|
#feed-accordion .entry-enclosure {
|
||||||
clear: both;
|
clear: both;
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
|
|||||||
@@ -29,6 +29,10 @@
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.full-screen .left-menu {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
.css-treeview {
|
.css-treeview {
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
|
|||||||
Reference in New Issue
Block a user