From bcea3832edd3708a76d9759957282e9cf41fcd53 Mon Sep 17 00:00:00 2001 From: slhale Date: Fri, 14 Aug 2015 11:06:40 -0700 Subject: [PATCH] [Search] Search menu & display tweaks Clicking on names of options in the search menu will now toggle the checkboxes. The filter options display now says when no filters are selected. Slightly moved the search menu to the left. --- platform/commonUI/general/res/css/tree.css | 4 +- .../general/res/sass/search/_search.scss | 4 +- platform/search/res/templates/search.html | 10 ++- .../src/controllers/SearchController.js | 83 ++++++++++--------- 4 files changed, 56 insertions(+), 45 deletions(-) diff --git a/platform/commonUI/general/res/css/tree.css b/platform/commonUI/general/res/css/tree.css index a14ebb239c..de05422741 100644 --- a/platform/commonUI/general/res/css/tree.css +++ b/platform/commonUI/general/res/css/tree.css @@ -355,7 +355,7 @@ ul.tree { .search-holder .search .search-bar .search-menu-holder { float: right; margin-top: 17px; - left: -25px; } + left: -50px; } /* line 151, ../sass/search/_search.scss */ .search-holder .search .search-bar .search-menu-holder .search-menu { border-top: 0; } @@ -391,7 +391,7 @@ ul.tree { .search-holder .search .search-bar .search-menu-holder:after { position: absolute; top: -6px; - left: 10px; + left: 35px; display: inline-block; border-right: 6px solid transparent; border-bottom: 6px solid #5e5e5e; diff --git a/platform/commonUI/general/res/sass/search/_search.scss b/platform/commonUI/general/res/sass/search/_search.scss index 885c3b36a0..eab64e190f 100644 --- a/platform/commonUI/general/res/sass/search/_search.scss +++ b/platform/commonUI/general/res/sass/search/_search.scss @@ -146,7 +146,7 @@ .search-menu-holder { float: right; margin-top: $textInputHeight - 2px; - left: -25px; + left: -50px; .search-menu { border-top: 0; @@ -202,7 +202,7 @@ .search-menu-holder:after { position: absolute; top: -6px; - left: 10px; + left: 35px; display: inline-block; border-right: 6px solid transparent; //border-bottom: 6px solid white; diff --git a/platform/search/res/templates/search.html b/platform/search/res/templates/search.html index 2ad43a85c0..71b19d726f 100644 --- a/platform/search/res/templates/search.html +++ b/platform/search/res/templates/search.html @@ -62,13 +62,14 @@