From 4066fdc48c31b3eb727164edc900fbd67858b478 Mon Sep 17 00:00:00 2001 From: Udo Walter Date: Fri, 13 Oct 2017 16:19:33 +0200 Subject: [statistics] changed coloring of naviation buttons from blue to 'pressed down'; added scroll to top button; removed space between filter and 'add filter button' --- modules-available/statistics/page.inc.php | 8 ++++---- modules-available/statistics/style.css | 11 +++++++++++ .../statistics/templates/filterbox.html | 23 ++++++++++++---------- 3 files changed, 28 insertions(+), 14 deletions(-) create mode 100644 modules-available/statistics/style.css diff --git a/modules-available/statistics/page.inc.php b/modules-available/statistics/page.inc.php index 810d624e..dd3e5ee6 100644 --- a/modules-available/statistics/page.inc.php +++ b/modules-available/statistics/page.inc.php @@ -253,11 +253,11 @@ class Page_Statistics extends Page ); if ($show === 'list') { - $data['listButtonClass'] = 'btn-primary'; - $data['statButtonClass'] = 'btn-default'; + $data['listButtonClass'] = 'active'; + $data['statButtonClass'] = ''; } else { - $data['listButtonClass'] = 'btn-default'; - $data['statButtonClass'] = 'btn-primary'; + $data['listButtonClass'] = ''; + $data['statButtonClass'] = 'active'; } diff --git a/modules-available/statistics/style.css b/modules-available/statistics/style.css new file mode 100644 index 00000000..1496ac87 --- /dev/null +++ b/modules-available/statistics/style.css @@ -0,0 +1,11 @@ +.to-top-btn { + position: fixed; + right: 10px; + bottom: 10px; + z-index: 100; + width: 50px; + height: 50px; + border-radius: 25px; + font-size: 20px; + line-height: 40px; +} \ No newline at end of file diff --git a/modules-available/statistics/templates/filterbox.html b/modules-available/statistics/templates/filterbox.html index a62cdd5a..354f1c53 100644 --- a/modules-available/statistics/templates/filterbox.html +++ b/modules-available/statistics/templates/filterbox.html @@ -30,6 +30,7 @@ +
@@ -40,11 +41,11 @@
- - @@ -59,14 +60,16 @@
-
- -
-
- +
+
+ + + + +
-- cgit v1.2.3-55-g7522