Extract some #floating_menubar CSS from JS
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
parent
11cc53d737
commit
3360cc6a90
@ -492,3 +492,7 @@ li.fast_filter {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#floating_menubar {
|
||||
z-index: 99;
|
||||
}
|
||||
|
||||
@ -529,3 +529,7 @@ li.fast_filter {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#floating_menubar {
|
||||
z-index: 99;
|
||||
}
|
||||
|
||||
@ -456,3 +456,7 @@ li.fast_filter {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#floating_menubar {
|
||||
z-index: 99;
|
||||
}
|
||||
|
||||
@ -461,3 +461,7 @@ li.fast_filter {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
#floating_menubar {
|
||||
z-index: 99;
|
||||
}
|
||||
|
||||
@ -3441,13 +3441,6 @@ function floatingMenuBar () {
|
||||
var left = $('html').attr('dir') === 'ltr' ? 'left' : 'right';
|
||||
$('#floating_menubar')
|
||||
.css('margin-' + left, $('#pma_navigation').width() + $('#pma_navigation_resizer').width())
|
||||
.css(left, 0)
|
||||
.css({
|
||||
'position': 'fixed',
|
||||
'top': 0,
|
||||
'width': '100%',
|
||||
'z-index': 99
|
||||
})
|
||||
.append($('#server-breadcrumb'))
|
||||
.append($('#topmenucontainer'));
|
||||
|
||||
|
||||
@ -793,13 +793,6 @@ const ResizeHandler = function () {
|
||||
// Issue #15570 : Panels on homescreen go underneath of floating menubar
|
||||
$('#floating_menubar')
|
||||
.css('margin-' + this.left, $('#pma_navigation').width() + $('#pma_navigation_resizer').width())
|
||||
.css(this.left, 0)
|
||||
.css({
|
||||
'position': 'fixed',
|
||||
'top': 0,
|
||||
'width': '100%',
|
||||
'z-index': 99
|
||||
})
|
||||
.append($('#server-breadcrumb'))
|
||||
.append($('#topmenucontainer'));
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<div id="floating_menubar" class="d-print-none"></div>
|
||||
<div id="floating_menubar" class="w-100 position-fixed top-0 start-0 end-0 d-print-none"></div>
|
||||
<nav id="server-breadcrumb" aria-label="breadcrumb">
|
||||
<ol class="breadcrumb breadcrumb-navbar">
|
||||
<li class="breadcrumb-item">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user