mirror of https://github.com/zulip/zulip.git
css: Use SCSS nesting for `.carousel.carousel-fade .carousel-inner .item`.
This commit is contained in:
parent
bfb3e86eab
commit
a8c8aae6f5
|
@ -1292,9 +1292,8 @@ nav {
|
|||
height: 0;
|
||||
transition: opacity 0.4s ease;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.carousel.carousel-fade .carousel-inner .item.active {
|
||||
&.active {
|
||||
opacity: 1;
|
||||
height: auto;
|
||||
visibility: visible;
|
||||
|
@ -1307,11 +1306,12 @@ nav {
|
|||
}
|
||||
}
|
||||
|
||||
.carousel.carousel-fade .carousel-inner .item.next.left,
|
||||
.carousel.carousel-fade .carousel-inner .item.prev.right {
|
||||
&.next.left,
|
||||
&.prev.right {
|
||||
opacity: 1;
|
||||
z-index: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.carousel.carousel-fade .carousel-inner .item-inner {
|
||||
position: relative;
|
||||
|
|
Loading…
Reference in New Issue