From 3c54c1d66c6978daf7d3a50e3207b5c9c1024d0c Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Thu, 11 Aug 2016 16:43:06 +0200 Subject: [PATCH] Add space. --- src/_h5ai/public/css/lib/ext/info.less | 2 +- src/_h5ai/public/css/lib/ext/tree.less | 2 +- src/_h5ai/public/css/lib/view/view-details.less | 5 +++-- src/_h5ai/public/css/lib/view/view-grid.less | 2 +- src/_h5ai/public/css/lib/view/view-icons.less | 2 +- src/_h5ai/public/js/lib/ext/select.js | 6 +----- 6 files changed, 8 insertions(+), 11 deletions(-) diff --git a/src/_h5ai/public/css/lib/ext/info.less b/src/_h5ai/public/css/lib/ext/info.less index 0f141dad..cc8d7e56 100644 --- a/src/_h5ai/public/css/lib/ext/info.less +++ b/src/_h5ai/public/css/lib/ext/info.less @@ -3,7 +3,7 @@ flex: 0 0 auto; order: 99; - padding: 16px 16px 16px 48px; + padding: 32px 32px 32px 48px; white-space: nowrap; overflow-x: hidden; width: 240px; diff --git a/src/_h5ai/public/css/lib/ext/tree.less b/src/_h5ai/public/css/lib/ext/tree.less index e5aeee3e..46c98272 100644 --- a/src/_h5ai/public/css/lib/ext/tree.less +++ b/src/_h5ai/public/css/lib/ext/tree.less @@ -3,7 +3,7 @@ flex: 0 0 auto; order: 1; - padding: 16px 48px 16px 8px; + padding: 32px 32px 32px 16px; white-space: nowrap; max-width: 250px; overflow-x: hidden; diff --git a/src/_h5ai/public/css/lib/view/view-details.less b/src/_h5ai/public/css/lib/view/view-details.less index 03635838..2e9475c5 100644 --- a/src/_h5ai/public/css/lib/view/view-details.less +++ b/src/_h5ai/public/css/lib/view/view-details.less @@ -23,7 +23,7 @@ } } - margin: 16px; + margin: 32px; .header { position: relative; @@ -34,7 +34,8 @@ .label, .date, .size { .eased-transition; - line-height: 46px; + line-height: 24px; + padding: 0px 8px 16px 8px; opacity: 0.4; outline: 0; diff --git a/src/_h5ai/public/css/lib/view/view-grid.less b/src/_h5ai/public/css/lib/view/view-grid.less index c8d9fed5..ad5422ad 100644 --- a/src/_h5ai/public/css/lib/view/view-grid.less +++ b/src/_h5ai/public/css/lib/view/view-grid.less @@ -17,7 +17,7 @@ } } - margin: 8px; + margin: 28px; .item { .rounded; diff --git a/src/_h5ai/public/css/lib/view/view-icons.less b/src/_h5ai/public/css/lib/view/view-icons.less index c5cd3769..77ebe8ef 100644 --- a/src/_h5ai/public/css/lib/view/view-icons.less +++ b/src/_h5ai/public/css/lib/view/view-icons.less @@ -21,7 +21,7 @@ } } - margin: 8px; + margin: 28px; .item { .rounded; diff --git a/src/_h5ai/public/js/lib/ext/select.js b/src/_h5ai/public/js/lib/ext/select.js index 7684404a..ab7d633f 100644 --- a/src/_h5ai/public/js/lib/ext/select.js +++ b/src/_h5ai/public/js/lib/ext/select.js @@ -196,11 +196,7 @@ const init = () => { dom('#content') .on('mousedown', selectionStart) .on('drag', ev => ev.preventDefault()) - .on('dragstart', ev => ev.preventDefault()) - .on('click', () => { - dom('#items .item').rmCls('selected'); - publish(); - }); + .on('dragstart', ev => ev.preventDefault()); } };