mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
collapsible.js: Let fade effect look good in containers with .impact
This commit is contained in:
parent
74cb0ef3c9
commit
1fd673a034
@ -307,7 +307,7 @@ a:hover > .icon-cancel {
|
|||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
&:before {
|
&:before, &:after {
|
||||||
content: "";
|
content: "";
|
||||||
display: block;
|
display: block;
|
||||||
height: 2em;
|
height: 2em;
|
||||||
@ -317,5 +317,23 @@ a:hover > .icon-cancel {
|
|||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
|
||||||
|
opacity: 1;
|
||||||
|
transition: opacity 2s 1s linear;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:after {
|
||||||
|
opacity: 0;
|
||||||
|
background: linear-gradient(rgba(238,238,238,0), #eee);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.impact .collapsible.collapsed {
|
||||||
|
&:before {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:after {
|
||||||
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user