mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Spacing on feed list resizer.
This commit is contained in:
parent
398acb8b1a
commit
6bf1ee286f
3 changed files with 15 additions and 7 deletions
|
@ -51,9 +51,9 @@ javascripts:
|
|||
- media/js/vendor/jquery.chosen.js
|
||||
- media/js/vendor/jquery.effects.core.js
|
||||
- media/js/vendor/jquery.effects.slideOffscreen.js
|
||||
# - media/js/vendor/jquery.linkify.js
|
||||
- media/js/vendor/bootstrap-tooltip.js
|
||||
- media/js/vendor/bootstrap-*.js
|
||||
- media/js/vendor/bootstrapx-*.js
|
||||
- media/js/vendor/audio.js
|
||||
- media/js/vendor/socket.io-client.*.js
|
||||
- media/js/vendor/inflector.js
|
||||
|
@ -124,6 +124,7 @@ stylesheets:
|
|||
- media/css/status.css
|
||||
- media/css/jquery-ui/jquery.theme.css
|
||||
- media/css/jquery.tipsy.css
|
||||
- media/css/vendor/bootstrap-*.css
|
||||
- media/css/*.css
|
||||
mobile:
|
||||
- media/css/mobile/jquery.mobile-1.0b1.css
|
||||
|
|
|
@ -3543,7 +3543,7 @@ background: transparent;
|
|||
width: 2px;
|
||||
}
|
||||
.ui-layout-toggler {
|
||||
display: none !important;
|
||||
/* display: none !important;*/
|
||||
}
|
||||
.right-pane .ui-layout-resizer-west {
|
||||
background: #e0e0e0 url('/media/embed/reader/resize_west_small.png') repeat-y 50% 50%;
|
||||
|
|
|
@ -224,10 +224,11 @@
|
|||
west__minSize: this.constants.MIN_FEED_LIST_SIZE,
|
||||
west__onresize_end: $.rescope(this.save_feed_pane_size, this),
|
||||
// west__initHidden: this.options.hide_sidebar,
|
||||
west__spacing_open: this.options.hide_sidebar ? 1 : 6,
|
||||
west__spacing_open: this.options.hide_sidebar ? 1 : 1,
|
||||
resizerDragOpacity: 0.6,
|
||||
resizeWhileDragging: true,
|
||||
enableCursorHotkey: false
|
||||
enableCursorHotkey: false,
|
||||
togglerLength_open: 0
|
||||
});
|
||||
|
||||
if (this.model.preference('feed_pane_size') < 240) {
|
||||
|
@ -250,7 +251,8 @@
|
|||
south__size: 31,
|
||||
south__resizable: false,
|
||||
south__spacing_open: 0,
|
||||
enableCursorHotkey: false
|
||||
enableCursorHotkey: false,
|
||||
togglerLength_open: 0
|
||||
});
|
||||
|
||||
this.layout.leftCenterLayout = $('.left-center').layout({
|
||||
|
@ -269,7 +271,8 @@
|
|||
south__initClosed: true,
|
||||
fxName: "slideOffscreen",
|
||||
fxSettings: { duration: 560, easing: "easeInOutQuint" },
|
||||
enableCursorHotkey: false
|
||||
enableCursorHotkey: false,
|
||||
togglerLength_open: 0
|
||||
});
|
||||
|
||||
var rightLayoutOptions = {
|
||||
|
@ -278,6 +281,7 @@
|
|||
spacing_open: story_anchor == 'west' ? 4 : 10,
|
||||
resizerDragOpacity: 0.6,
|
||||
enableCursorHotkey: false,
|
||||
togglerLength_open: 0,
|
||||
fxName: "slideOffscreen",
|
||||
fxSettings: { duration: 560, easing: "easeInOutQuint" }
|
||||
};
|
||||
|
@ -293,7 +297,8 @@
|
|||
center__paneSelector: ".content-center",
|
||||
spacing_open: 0,
|
||||
resizerDragOpacity: 0.6,
|
||||
enableCursorHotkey: false
|
||||
enableCursorHotkey: false,
|
||||
togglerLength_open: 0
|
||||
};
|
||||
if (story_anchor == 'west') {
|
||||
contentLayoutOptions['north__paneSelector'] = '.content-north';
|
||||
|
@ -405,6 +410,7 @@
|
|||
$('.right-pane').show();
|
||||
$('#NB-splash,.NB-splash').hide();
|
||||
$('#NB-splash-overlay').hide();
|
||||
$('.NB-splash-bottom').hide();
|
||||
|
||||
if (resize) {
|
||||
this.$s.$layout.layout().resizeAll();
|
||||
|
@ -419,6 +425,7 @@
|
|||
$('.right-pane').hide();
|
||||
$('#NB-splash,.NB-splash').show();
|
||||
$('#NB-splash-overlay').show();
|
||||
$('.NB-splash-bottom').show();
|
||||
|
||||
if (!skip_router) {
|
||||
NEWSBLUR.router.navigate('');
|
||||
|
|
Loading…
Add table
Reference in a new issue