From bfb3dba11d79bc4821b77867f363f5085afc00f6 Mon Sep 17 00:00:00 2001 From: Chris Hallberg <crhallberg@gmail.com> Date: Wed, 3 Jan 2018 11:45:09 -0500 Subject: [PATCH] Move js-tree styling from bootstrap.less to js-tree.less --- themes/bootstrap3/less/bootstrap.less | 19 ------------------- .../bootstrap3/less/components/js-tree.less | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 19 deletions(-) diff --git a/themes/bootstrap3/less/bootstrap.less b/themes/bootstrap3/less/bootstrap.less index 613c8b17cce..bf00503fd2d 100644 --- a/themes/bootstrap3/less/bootstrap.less +++ b/themes/bootstrap3/less/bootstrap.less @@ -198,25 +198,6 @@ footer { } } -/* ------ Collections ------ */ -// Layout -@media (min-width: 768px) { - .collection-hierarchytree { display: flex; } - .collection-hierarchytree .tree-panel, - .collection-hierarchytree #tree-preview { - flex-basis: 50%; - max-height: 75vh; - padding: 1rem; - overflow-y: auto; - } - #modal .collection-hierarchytree { display: block; } - #modal .tree-panel { - flex-basis: 100%; - padding: 0; - } - #modal #tree-preview { display: none; } -} - /* ------ Devtools ------ */ .translation-output { width: 100%; diff --git a/themes/bootstrap3/less/components/js-tree.less b/themes/bootstrap3/less/components/js-tree.less index 4438f0e5c6b..92ce82ac0cc 100644 --- a/themes/bootstrap3/less/components/js-tree.less +++ b/themes/bootstrap3/less/components/js-tree.less @@ -1,3 +1,20 @@ +@media (min-width: 768px) { + .collection-hierarchytree { display: flex; } + .collection-hierarchytree .tree-panel, + .collection-hierarchytree #tree-preview { + flex-basis: 50%; + max-height: 75vh; + padding: 1rem; + overflow-y: auto; + } + #modal .collection-hierarchytree { display: block; } + #modal .tree-panel { + flex-basis: 100%; + padding: 0; + } + #modal #tree-preview { display: none; } +} + .hierarchy-tree, .jstree-facet { /* jsTree arrows */ -- GitLab