misc: add support for new markup for appbar actions (#25698)

<div id="appbar">
   <h2>...</h2>
   <span class="actions">
     <a ...>action1</a>
     <a ...>action2</a>
   </span>
 </div>
This commit is contained in:
Frédéric Péters 2018-08-16 13:36:20 +02:00
parent 498ce16f1f
commit eb0066081b
1 changed files with 22 additions and 7 deletions

View File

@ -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 {