Fix active tab header sometimes flickers on hover

This commit is contained in:
Hadi Nategh 2022-10-19 15:40:48 +02:00
parent ab32872988
commit 5c5a483414
2 changed files with 3 additions and 3 deletions

View File

@ -4549,7 +4549,7 @@ span.overlayContainer img.overlay {
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header .egw_fw_ui_tab_header .notifyTabDiv:hover {
background-color: #1E1E1E;
}
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header .egw_fw_ui_tab_header:hover {
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header .egw_fw_ui_tab_header:hover:not(.egw_fw_ui_tab_header_active) {
background-color: rgba(153, 204, 255, 0.4);
padding-bottom: 0px;
border-top: 7px solid transparent;
@ -4558,7 +4558,7 @@ span.overlayContainer img.overlay {
width: -moz-available;
max-width: fit-content !important;
}
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header .egw_fw_ui_tab_header:hover .egw_fw_ui_tab_close_button {
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header .egw_fw_ui_tab_header:hover:not(.egw_fw_ui_tab_header_active) .egw_fw_ui_tab_close_button {
background-image: url(../../api/templates/default/images/close.svg);
}
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header .egw_fw_ui_tab_header:hover:not(.egw_fw_ui_tab_header_active) .egw_fw_ui_tab_close_button {

View File

@ -108,7 +108,7 @@
background-color: @gray_90;
}
}
&:hover {
&:hover:not(.egw_fw_ui_tab_header_active) {
background-color: @color_hover_row;
padding-bottom: 0px;
border-top: 7px solid transparent;