From a5f4de950913420246ce5ffdff1ce9c8bdc6f377 Mon Sep 17 00:00:00 2001 From: msquare Date: Thu, 14 Dec 2017 20:03:34 +0100 Subject: finetuning dashboard layout --- includes/view/PublicDashboard_view.php | 2 +- public/css/theme0.css | 2 ++ public/css/theme1.css | 2 ++ public/css/theme2.css | 2 ++ public/css/theme3.css | 2 ++ public/css/theme4.css | 2 ++ public/css/theme5.css | 2 ++ public/css/theme6.css | 2 ++ themes/base.less | 4 +++- 9 files changed, 18 insertions(+), 2 deletions(-) diff --git a/includes/view/PublicDashboard_view.php b/includes/view/PublicDashboard_view.php index c49f3715..598f8420 100644 --- a/includes/view/PublicDashboard_view.php +++ b/includes/view/PublicDashboard_view.php @@ -34,7 +34,7 @@ function public_dashboard_view($stats, $free_shifts) ' ], 'statistics'), $needed_angels, - div('col-md-12', [ + div('first col-md-12 text-center', [ buttons([ button_js(' $(\'#navbar-collapse-1,#footer,#fullscreen-button\').remove(); diff --git a/public/css/theme0.css b/public/css/theme0.css index 3a95a0e2..59a514f0 100644 --- a/public/css/theme0.css +++ b/public/css/theme0.css @@ -6728,6 +6728,7 @@ body { color: #777777; } .first { + clear: both; margin-top: 30px; } .text-big { @@ -6743,6 +6744,7 @@ body { min-height: 1px; padding-left: 15px; padding-right: 15px; + height: 130px; text-align: center; } @media (min-width: 992px) { diff --git a/public/css/theme1.css b/public/css/theme1.css index 507038b5..8bdc0d1b 100644 --- a/public/css/theme1.css +++ b/public/css/theme1.css @@ -6751,6 +6751,7 @@ body { color: #888888; } .first { + clear: both; margin-top: 30px; } .text-big { @@ -6766,6 +6767,7 @@ body { min-height: 1px; padding-left: 15px; padding-right: 15px; + height: 130px; text-align: center; } @media (min-width: 992px) { diff --git a/public/css/theme2.css b/public/css/theme2.css index 6551d451..fe243e26 100644 --- a/public/css/theme2.css +++ b/public/css/theme2.css @@ -6728,6 +6728,7 @@ body { color: #777777; } .first { + clear: both; margin-top: 30px; } .text-big { @@ -6743,6 +6744,7 @@ body { min-height: 1px; padding-left: 15px; padding-right: 15px; + height: 130px; text-align: center; } @media (min-width: 992px) { diff --git a/public/css/theme3.css b/public/css/theme3.css index f8c24df2..f07e593f 100644 --- a/public/css/theme3.css +++ b/public/css/theme3.css @@ -6737,6 +6737,7 @@ body { color: #777777; } .first { + clear: both; margin-top: 30px; } .text-big { @@ -6752,6 +6753,7 @@ body { min-height: 1px; padding-left: 15px; padding-right: 15px; + height: 130px; text-align: center; } @media (min-width: 992px) { diff --git a/public/css/theme4.css b/public/css/theme4.css index 55082a87..9390a08c 100644 --- a/public/css/theme4.css +++ b/public/css/theme4.css @@ -6751,6 +6751,7 @@ body { color: #888888; } .first { + clear: both; margin-top: 30px; } .text-big { @@ -6766,6 +6767,7 @@ body { min-height: 1px; padding-left: 15px; padding-right: 15px; + height: 130px; text-align: center; } @media (min-width: 992px) { diff --git a/public/css/theme5.css b/public/css/theme5.css index acb33fde..3fc4e347 100644 --- a/public/css/theme5.css +++ b/public/css/theme5.css @@ -6731,6 +6731,7 @@ body { color: #777777; } .first { + clear: both; margin-top: 30px; } .text-big { @@ -6746,6 +6747,7 @@ body { min-height: 1px; padding-left: 15px; padding-right: 15px; + height: 130px; text-align: center; } @media (min-width: 992px) { diff --git a/public/css/theme6.css b/public/css/theme6.css index 5680ae68..37fc9ed8 100644 --- a/public/css/theme6.css +++ b/public/css/theme6.css @@ -6754,6 +6754,7 @@ body { color: #888888; } .first { + clear: both; margin-top: 30px; } .text-big { @@ -6769,6 +6770,7 @@ body { min-height: 1px; padding-left: 15px; padding-right: 15px; + height: 130px; text-align: center; } @media (min-width: 992px) { diff --git a/themes/base.less b/themes/base.less index 7b4de55a..5cee4525 100644 --- a/themes/base.less +++ b/themes/base.less @@ -11,6 +11,7 @@ body { } .first { + clear: both; margin-top: 30px; } @@ -24,8 +25,9 @@ body { .stats { .make-md-column(3); .make-xs-column(6); + height: 130px; text-align: center; - + .number { font-size: 80px; font-weight: 200; -- cgit v1.2.3-54-g00ecf