diff options
Minor update
3 files changed, 6 insertions, 6 deletions
| -rw-r--r-- | src/bars.less | 1 | ||||
| -rw-r--r-- | src/carousels.less | 10 | ||||
| -rw-r--r-- | src/modals.less | 1 |
diff --git a/src/bars.less b/src/bars.less index a878300..5e2aab4 100644 --- a/src/bars.less +++ b/src/bars.less @@ -21,6 +21,7 @@ line-height: 1; height: 100%; padding: .2rem 0; + position: relative; text-align: center; width: 0; diff --git a/src/carousels.less b/src/carousels.less index 99b0a9c..c106f3e 100644 --- a/src/carousels.less +++ b/src/carousels.less @@ -13,7 +13,7 @@ position: relative; .carousel-item { - animation: carousel-slideout 1s 1; + animation: carousel-slideout 1s ease-in-out 1; height: 100%; left: 0; margin: 0; @@ -55,7 +55,7 @@ &:nth-of-type(2):checked ~ .carousel-container .carousel-item:nth-of-type(2), &:nth-of-type(3):checked ~ .carousel-container .carousel-item:nth-of-type(3), &:nth-of-type(4):checked ~ .carousel-container .carousel-item:nth-of-type(4) { - animation: carousel-slidein .75s 1; + animation: carousel-slidein .75s ease-in 1; opacity: 1; z-index: 99; } @@ -127,10 +127,10 @@ @keyframes carousel-slideout { 0% { opacity: 1; - transform: translateX(0) scale(1); + transform: translateX(0); } 100% { - opacity: 0; - transform: translateX(-50%) scale(.95); + opacity: 1; + transform: translateX(-50%); } } diff --git a/src/modals.less b/src/modals.less index ad679cf..8ac1d5f 100644 --- a/src/modals.less +++ b/src/modals.less @@ -49,7 +49,6 @@ padding: 0; .shadow; text-align: left; - z-index: 1988; .modal-header { |