From dd3c88b03e9af2fc6c350e25b0b49dd0402cbc3a Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Thu, 17 May 2018 13:54:54 +0000 Subject: [PATCH] Elastic: Fix date button in calendar search bar, hide on desktop, show on mobile --- .../libkolab/skins/elastic/include/calendar.less | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/plugins/libkolab/skins/elastic/include/calendar.less b/plugins/libkolab/skins/elastic/include/calendar.less index 0061acaf..f85365cb 100644 --- a/plugins/libkolab/skins/elastic/include/calendar.less +++ b/plugins/libkolab/skins/elastic/include/calendar.less @@ -1764,6 +1764,16 @@ body.task-calendar { } } +.searchbar a.button.date { + @media screen and (min-width: (@screen-width-small + 1px)) { + display: none; + } + + &:before { + line-height: 1.25; + } +} + @media screen and (max-width: @screen-width-small) { .fc { .fc-header-left { @@ -1918,7 +1928,3 @@ body.task-calendar { color: @color-black-shade-text; } } - -.searchbar a.button.date:before { - line-height: 1.25; -}