From 9063a25bb44d43b30cb10372b5b33901a4922e0e Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Thu, 5 Jun 2014 21:18:21 +0200 Subject: [PATCH] slightly widen sidebar to 250px, works better with apps and on mobile --- apps/files/css/files.css | 2 +- core/css/apps.css | 4 ++-- core/css/mobile.css | 2 +- core/js/js.js | 2 +- settings/css/settings.css | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/files/css/files.css b/apps/files/css/files.css index acdeaf17fde..46f1966e08c 100644 --- a/apps/files/css/files.css +++ b/apps/files/css/files.css @@ -97,7 +97,7 @@ * to be more flexible / relative */ #body-user .app-files #controls { - left: 230px; /* sidebar width */ + left: 250px; /* sidebar width */ position: fixed; padding-left: 0px; } diff --git a/core/css/apps.css b/core/css/apps.css index f48750545f3..ebb0c269000 100644 --- a/core/css/apps.css +++ b/core/css/apps.css @@ -18,7 +18,7 @@ /* Navigation: folder like structure */ #app-navigation { - width: 230px; + width: 250px; height: 100%; float: left; -moz-box-sizing: border-box; box-sizing: border-box; @@ -193,7 +193,7 @@ /* settings area */ #app-settings { position: fixed; - width: 229px; + width: 249px; bottom: 0; border-top: 1px solid #ccc; } diff --git a/core/css/mobile.css b/core/css/mobile.css index e7e646ed88f..1e048cd766b 100644 --- a/core/css/mobile.css +++ b/core/css/mobile.css @@ -73,7 +73,7 @@ } #app-navigation { - width: 230px !important; + width: 250px !important; } #app-content { diff --git a/core/js/js.js b/core/js/js.js index 5c14cf34bb3..efc28e88212 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -1137,7 +1137,7 @@ function initCore() { var snapper = new Snap({ element: document.getElementById('app-content'), disable: 'right', - maxPosition: 230 + maxPosition: 250 }); $('#app-content').prepend(''); $('#app-navigation-toggle').click(function(){ diff --git a/settings/css/settings.css b/settings/css/settings.css index cd81cfb2b3d..638d2fc576b 100644 --- a/settings/css/settings.css +++ b/settings/css/settings.css @@ -9,7 +9,7 @@ input#openid, input#webdav { width:20em; } -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; position: fixed; right: 0; - left: 230px; + left: 250px; height: 44px; padding: 0; margin: 0; background: #eee; border-bottom: 1px solid #e7e7e7;