From d01246852950b1fbb4480618852fe7d154ec98fd Mon Sep 17 00:00:00 2001 From: Jannik Beyerstedt Date: Mon, 1 Jan 2018 22:12:26 +0100 Subject: shifts view: change breakpoints to fit more on smaller screens --- themes/base.less | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'themes') diff --git a/themes/base.less b/themes/base.less index e45b7f85..37558071 100644 --- a/themes/base.less +++ b/themes/base.less @@ -247,3 +247,15 @@ body { transform: rotate(0deg) translateY(0px); } } + +@media (max-width: 525px) { + .col-xxs-12 { + float: none; + width: 100%; + + position: relative; left: 0; right: 0; + min-height: 1px; + padding-right: 15px; + padding-left: 15px; + } +} -- cgit v1.2.3-54-g00ecf From 2e1c2cf3b53831b83285d48b50bbef605402ab8a Mon Sep 17 00:00:00 2001 From: msquare Date: Mon, 22 Jan 2018 20:45:31 +0100 Subject: remove br between shift filter checkboxes --- includes/pages/user_shifts.php | 2 +- public/css/theme0.css | 3 +++ public/css/theme1.css | 3 +++ public/css/theme2.css | 3 +++ public/css/theme3.css | 3 +++ public/css/theme4.css | 3 +++ public/css/theme5.css | 3 +++ public/css/theme6.css | 3 +++ themes/base.less | 4 ++++ 9 files changed, 26 insertions(+), 1 deletion(-) (limited to 'themes') diff --git a/includes/pages/user_shifts.php b/includes/pages/user_shifts.php index 81b405b1..f3ffd501 100644 --- a/includes/pages/user_shifts.php +++ b/includes/pages/user_shifts.php @@ -332,7 +332,7 @@ function make_select($items, $selected, $name, $title = null, $additionalButtons . (in_array($i['id'], $selected) ? ' checked="checked"' : '') . ' > ' . $i['name'] . '' . (!isset($i['enabled']) || $i['enabled'] ? '' : glyph('lock')) - . '
'; + . ''; } $html .= '
' . "\n"; $html .= implode("\n", $htmlItems); diff --git a/public/css/theme0.css b/public/css/theme0.css index 109ddba2..1393cd63 100644 --- a/public/css/theme0.css +++ b/public/css/theme0.css @@ -6818,6 +6818,9 @@ body { .panel-danger .panel-heading a { color: #a94442; } +.selection .checkbox { + display: block; +} .shift-calendar { display: flex; flex-direction: row; diff --git a/public/css/theme1.css b/public/css/theme1.css index 2402f379..d443d81e 100644 --- a/public/css/theme1.css +++ b/public/css/theme1.css @@ -6841,6 +6841,9 @@ body { .panel-danger .panel-heading a { color: #ffffff; } +.selection .checkbox { + display: block; +} .shift-calendar { display: flex; flex-direction: row; diff --git a/public/css/theme2.css b/public/css/theme2.css index 0005da64..6aba33e1 100644 --- a/public/css/theme2.css +++ b/public/css/theme2.css @@ -6818,6 +6818,9 @@ body { .panel-danger .panel-heading a { color: #694374; } +.selection .checkbox { + display: block; +} .shift-calendar { display: flex; flex-direction: row; diff --git a/public/css/theme3.css b/public/css/theme3.css index 0cd661d7..b1509c6f 100644 --- a/public/css/theme3.css +++ b/public/css/theme3.css @@ -6827,6 +6827,9 @@ body { .panel-danger .panel-heading a { color: #da1639; } +.selection .checkbox { + display: block; +} .shift-calendar { display: flex; flex-direction: row; diff --git a/public/css/theme4.css b/public/css/theme4.css index df18c657..c68b0238 100644 --- a/public/css/theme4.css +++ b/public/css/theme4.css @@ -6841,6 +6841,9 @@ body { .panel-danger .panel-heading a { color: #ffffff; } +.selection .checkbox { + display: block; +} .shift-calendar { display: flex; flex-direction: row; diff --git a/public/css/theme5.css b/public/css/theme5.css index 717c8999..95e9b848 100644 --- a/public/css/theme5.css +++ b/public/css/theme5.css @@ -6821,6 +6821,9 @@ body { .panel-danger .panel-heading a { color: #331400; } +.selection .checkbox { + display: block; +} .shift-calendar { display: flex; flex-direction: row; diff --git a/public/css/theme6.css b/public/css/theme6.css index 96b5ac9a..dff2de34 100644 --- a/public/css/theme6.css +++ b/public/css/theme6.css @@ -6845,6 +6845,9 @@ body { .panel-danger .panel-heading a { color: #ffffff; } +.selection .checkbox { + display: block; +} .shift-calendar { display: flex; flex-direction: row; diff --git a/themes/base.less b/themes/base.less index 37558071..beddc39d 100644 --- a/themes/base.less +++ b/themes/base.less @@ -100,6 +100,10 @@ body { color: @panel-danger-text; } +.selection .checkbox { + display: block; +} + .shift-calendar { display: flex; flex-direction: row; -- cgit v1.2.3-54-g00ecf