mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
Set full opacity to Panel btn when overlay is visible.
This commit is contained in:
parent
3138df1c7b
commit
c5dc0a5ef2
2 changed files with 3 additions and 0 deletions
|
@ -20,6 +20,7 @@
|
|||
opacity: 0.5;
|
||||
zoom: 1;filter: alpha(opacity=50);
|
||||
}
|
||||
#ynhportal.visible,
|
||||
#ynhportal:hover {
|
||||
opacity: 1;
|
||||
filter: alpha(opacity=100);
|
||||
|
|
|
@ -177,6 +177,7 @@ domReady(function(){
|
|||
window.eventPreventDefault(e);
|
||||
// Toggle overlay on YNHPortal button
|
||||
Element.toggleClass(overlay, 'visible');
|
||||
Element.toggleClass(portal, 'visible');
|
||||
});
|
||||
|
||||
// Bind close button
|
||||
|
@ -185,6 +186,7 @@ domReady(function(){
|
|||
window.eventPreventDefault(e);
|
||||
// Hide overlay
|
||||
Element.removeClass(overlay, 'visible');
|
||||
Element.removeClass(portal, 'visible');
|
||||
});
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue