From 7f65ba236cbf20b95cda3608f056f03a9500281e Mon Sep 17 00:00:00 2001 From: Charles Hacskaylo Date: Wed, 19 Aug 2015 09:44:23 -0700 Subject: [PATCH] [Frontend] Tweaks to Load More results button #70 --- platform/commonUI/general/res/css/tree.css | 15 +++++++-------- .../general/res/sass/search/_search.scss | 18 ++++++------------ platform/search/res/templates/search.html | 6 +++--- 3 files changed, 16 insertions(+), 23 deletions(-) diff --git a/platform/commonUI/general/res/css/tree.css b/platform/commonUI/general/res/css/tree.css index f3415f133d..028b46700e 100644 --- a/platform/commonUI/general/res/css/tree.css +++ b/platform/commonUI/general/res/css/tree.css @@ -477,12 +477,11 @@ ul.tree { cursor: pointer; } /* line 329, ../sass/search/_search.scss */ .search .search-scroll .load-more-button { - margin-top: 5px; - margin-bottom: 5px; + margin-top: 5px 0; + font-size: 0.8em; position: relative; - left: 25%; - width: 50%; - white-space: nowrap; - height: 20px; - line-height: 11px; - font-size: 0.7em; } + left: 50%; + margin-left: -45px; + text-align: center; + width: 90px; + white-space: nowrap; } diff --git a/platform/commonUI/general/res/sass/search/_search.scss b/platform/commonUI/general/res/sass/search/_search.scss index 7f3e0dc0ce..7036227dcb 100644 --- a/platform/commonUI/general/res/sass/search/_search.scss +++ b/platform/commonUI/general/res/sass/search/_search.scss @@ -327,20 +327,14 @@ } .load-more-button { - // Space away form the results list - margin-top: 5px; - margin-bottom: 5px; - - // Center it + margin-top: $interiorMargin 0; + font-size: 0.8em; position: relative; - left: 25%; - width: 50%; + left: 50%; + margin-left: -45px; + text-align: center; + width: 90px; white-space: nowrap; - - // Make smallish button - height: 20px; - line-height: 11px; - font-size: 0.7em; } } } \ No newline at end of file diff --git a/platform/search/res/templates/search.html b/platform/search/res/templates/search.html index 7dda00b94d..52bdd3af1e 100644 --- a/platform/search/res/templates/search.html +++ b/platform/search/res/templates/search.html @@ -105,10 +105,10 @@
- + More Results +