Merge branch 'ent-13286-menu-full-screen-de-eventos-queda-mal' into 'develop'

Ent 13286 menu full screen de eventos queda mal

See merge request artica/pandorafms!7126
This commit is contained in:
Matias Didier 2024-04-04 14:34:48 +00:00
commit 3a08e4a167
3 changed files with 31 additions and 18 deletions

View File

@ -584,3 +584,20 @@ div.container-filter-buttons {
#button-start-search {
width: 115px;
}
.events-refresh-pure {
position: fixed;
z-index: 1;
top: 10px;
right: 10px;
width: 450px;
height: 70px;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-evenly;
align-items: center;
background-color: #f2f6f7;
border-radius: 15px;
padding: 0px 10px;
}

View File

@ -1903,3 +1903,7 @@ div#dashboard-controls-slides
.select2-selection__rendered {
color: var(--text-color) !important;
}
div.events-refresh-pure {
background-color: #333;
}

View File

@ -1673,13 +1673,10 @@ $url .= '';
if ($pure) {
// Fullscreen.
// Floating menu - Start.
echo '<div id="vc-controls" class="zindex999"">';
echo '<div id="menu_tab" class="menu_tab_pure">';
echo '<ul class="mn">';
echo '<div id="vc-controls" class="events-refresh-pure"">';
echo '<div>';
// Quit fullscreen.
echo '<li class="nomn">';
echo '<a target="_top" href="'.$url.'&amp;pure=0">';
echo html_print_image(
'images/exit_fullscreen@svg.svg',
@ -1690,12 +1687,10 @@ if ($pure) {
]
);
echo '</a>';
echo '</li>';
echo '</div>';
// Countdown.
echo '<li class="nomn">';
echo '<div class="events-refr">';
echo '<div class="events-countdown"><span id="refrcounter"></span></div>';
echo '<div id="events-refr-form">';
echo __('Refresh').':';
echo html_print_select(
@ -1710,16 +1705,8 @@ if ($pure) {
false
);
echo '</div>';
echo '</div>';
echo '</li>';
// Console name.
echo '<li class="nomn">';
echo '<div class="vc-title">'.__('Event viewer').'</div>';
echo '</li>';
echo '</ul>';
echo '</div>';
echo '<div class="events-countdown"><span id="refrcounter"></span></div>';
echo '</div>';
// Floating menu - End.
@ -3867,4 +3854,9 @@ function show_events_graph(){
}
});
}
$(document).ready(function () {
var controls = document.querySelector('.events-refresh-pure');
autoHideElement(controls, 1000);
});
</script>