3
0
Fork 0

[IMP] web_environment_ribbon: hide the ribbon when navigation is in use

18.0-ocabot-update-dotfiles
Andreas Perhab 2021-10-13 12:04:30 +02:00 committed by Raf Ven
parent beca30e590
commit e7fb46e05c
1 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,6 @@
/* Copyright 2015 Francesco OpenCode Apruzzese <cescoap@gmail.com>
Copyright 2017 Thomas Binsfeld <thomas.binsfeld@acsone.eu>
Copyright 2021 Andreas Perhab <a.perhab@wtioit.at>
* License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). */
.test-ribbon {
@ -26,3 +27,10 @@
.test-ribbon b {
font-size: 20px;
}
header:hover ~ .test-ribbon,
nav:hover ~ .test-ribbon {
/* Ease out ribbon when user is using the navigation in Odoo */
opacity: 0;
transition: 0.2s ease;
}