Untitled
unknown
css
2 years ago
1.3 kB
6
Indexable
/* START - Update ‘Read More’ button theme style*/ div.testimonials .data-container{ /* Button theme */ .expand-link-container .btn-more{ color: #000; &:hover{ color: #5e5e5e!important; } &:before{ background:rgba(0, 0, 0, .4)!important; } &:hover:before{ background:#000!important; } } /* Transition animation */ .testimonials__item-outer{ &:not(.expanded){ .btn-more.btn-expand{ opacity:1; z-index: 1; } } &.expanding{ .btn-more.btn-expand{ opacity:0; } } &.expanded{ .btn-more.btn-collapse{ opacity:1; } } &:not(.expanded){ .btn-more.btn-collapse{ opacity:0; } } &.expanding{ .btn-more.btn-collapse{ opacity:1; } } &.collapsing{ .btn-more.btn-collapse{ opacity:0; } } &.expanded{ .btn-more.btn-collapse{ opacity:1; z-index: 1; } } } } /* END */
Editor is loading...