From f52b185dc4e13805d0a69b3ad997a8ca2c241f65 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Wed, 6 Dec 2017 13:35:11 +0100 Subject: [PATCH] Move Refresh button to the list footer, make Compose button appear also on Compose page --- skins/elastic/styles/widgets/taskmenu.less | 6 ------ skins/elastic/styles/widgets/toolbar.less | 20 +++++++++++++------- skins/elastic/templates/includes/menu.html | 7 +------ skins/elastic/templates/mail.html | 1 + 4 files changed, 15 insertions(+), 19 deletions(-) diff --git a/skins/elastic/styles/widgets/taskmenu.less b/skins/elastic/styles/widgets/taskmenu.less index b7f1d9ec2..3fe3a30cf 100644 --- a/skins/elastic/styles/widgets/taskmenu.less +++ b/skins/elastic/styles/widgets/taskmenu.less @@ -176,12 +176,6 @@ @media screen and (max-width: @screen-width-xs) and (min-width: 320px) and (min-height: 480px) { text-align: left; - - .special-buttons, - .action-buttons { - display: block; - width: 100%; - } } .menu-header { diff --git a/skins/elastic/styles/widgets/toolbar.less b/skins/elastic/styles/widgets/toolbar.less index 907b77dae..1d20daa97 100644 --- a/skins/elastic/styles/widgets/toolbar.less +++ b/skins/elastic/styles/widgets/toolbar.less @@ -164,6 +164,9 @@ &.actions:before { content: @fa-var-cog; } + &.refresh:before { + content: @fa-var-refresh; + } &.addto:before { content: @fa-var-envelope-o; } @@ -290,8 +293,16 @@ display: none; } } + + + .listselectors { + max-width: 100%; + display: flex; + justify-content: space-around; + } } + .header { a.button { color: @color-font; @@ -665,13 +676,8 @@ html.ie11 .toolbar .dropbutton a.dropdown:before { justify-content: space-around; } - .listselectors { - display: flex; - justify-content: space-around; - - & > * { - flex-grow: 1; - } + .listselectors > * { + flex-grow: 1; } } } diff --git a/skins/elastic/templates/includes/menu.html b/skins/elastic/templates/includes/menu.html index ef5026087..a64566703 100644 --- a/skins/elastic/templates/includes/menu.html +++ b/skins/elastic/templates/includes/menu.html @@ -3,12 +3,7 @@