Elastic: Fix various issues with the new toolbars layout

pull/5578/merge
Aleksander Machniak 6 years ago
parent 66550f65ae
commit 48cb0a2c0f

@ -125,19 +125,6 @@ body > #layout {
justify-content: center;
}
&.list > .footer,
&.sidebar > .footer {
height: @layout-footer-height;
min-height: @layout-footer-height;
line-height: @layout-footer-height;
&.small {
height: @layout-footer-small-height;
min-height: @layout-footer-small-height;
line-height: @layout-footer-small-height;
}
}
& > .header {
border-bottom: 1px solid @color-layout-border;
color: @color-layout-header;
@ -157,6 +144,15 @@ body > #layout {
& > .footer {
border-top: 1px solid @color-layout-border;
background-color: @color-layout-footer-background;
height: @layout-footer-height;
min-height: @layout-footer-height;
line-height: @layout-footer-height;
&.small {
height: @layout-footer-small-height;
min-height: @layout-footer-small-height;
line-height: @layout-footer-small-height;
}
&:empty {
display: none;

@ -234,8 +234,8 @@
}
&.pagenav {
text-align: center;
display: flex;
justify-content: normal !important;
a.button {
flex-grow: 1;
@ -246,6 +246,10 @@
&:before {
line-height: 1.5 !important;
}
&.toggleselect {
flex-grow: unset !important;
}
}
.pagenav-text {
@ -270,7 +274,7 @@
cursor: pointer;
a.button {
flex-grow: initial;
flex-grow: unset;
}
.pagenav-text {

@ -161,7 +161,7 @@ function rcube_elastic_ui()
});
// Move form buttons from the content frame into the frame footer (on parent window)
$('.formbuttons').children().each(function() {
$('.formbuttons').filter(function() { return !$(this).parent('.searchoptions').length; }).children().each(function() {
var target = $(this);
// skip non-content buttons
@ -445,7 +445,7 @@ function rcube_elastic_ui()
list = table.data('list');
if (rcmail[list] && rcmail[list].multiselect) {
var parent = table.parents('.sidebar,.list,.content'),
var parent = table.parents('.sidebar,.list,.content').last(),
toolbar = parent.find('.pagenav');
if (!toolbar.length) {

Loading…
Cancel
Save