From eb0066081bd38fba29e4c5700dc6123747223481 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Thu, 16 Aug 2018 13:36:20 +0200 Subject: [PATCH] misc: add support for new markup for appbar actions (#25698)

...

action1 action2
--- gadjo/static/css/gadjo.scss | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/gadjo/static/css/gadjo.scss b/gadjo/static/css/gadjo.scss index 0cd10b7..ee45eb4 100644 --- a/gadjo/static/css/gadjo.scss +++ b/gadjo/static/css/gadjo.scss @@ -422,13 +422,6 @@ div#content h2 { border-bottom: 1px dotted #d8d8d8; } -div#appbar > a { - position: relative; - top: -45px; - float: right; - margin-left: 2em; -} - table.main { width: 100%; border: 1px solid #bcbcbc; @@ -954,6 +947,22 @@ $appicons: add, announces, book, calendar, categories, clock, counter, facturier } #appbar { + position: relative; + & > a { + position: relative; + top: -45px; + float: right; + margin-left: 2em; + } + span.actions { + position: absolute; + bottom: 8px; + right: 0; + a { + float: right; + margin-left: 2em; + } + } .extra-actions-menu-opener { border: none; &::before { @@ -1004,6 +1013,12 @@ $appicons: add, announces, book, calendar, categories, clock, counter, facturier } } } + span.actions { + .extra-actions-menu { + margin-top: 2px; + top: 100%; + } + } } div.section { -- 2.18.0