.ct-header-trigger { // icon type .ct-icon { &[data-type] { transition: none; rect { transform-origin: 50% 50%; transition: all 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955); } } // type 2 &[data-type="type-2"] rect { &:nth-child(1) { width: 10px; } &:nth-child(3) { width: 15px; } } // type 3 &[data-type="type-3"] rect { &:nth-child(1), &:nth-child(3) { width: 12px; } &:nth-child(1) { x: 6px; } } } &:hover { [data-type="type-2"], [data-type="type-3"] { rect { &:nth-child(1), &:nth-child(3) { width: 18px; } } } [data-type="type-3"] rect { &:nth-child(1) { x: 0px; } } } &[aria-expanded="true"] .ct-icon[data-type] { rect { &:nth-child(1), &:nth-child(3) { width: 18px; y: 6.15px; } &:nth-child(1) { x: 0px; transform: rotate(45deg); } &:nth-child(2) { opacity: 0; } &:nth-child(3) { transform: rotate(-45deg); } } } &[data-design*="outline"] { --toggle-button-border-width: 1px; --toggle-button-border-color: var(--secondColor, rgba(224, 229, 235, 0.9)); &:hover { --toggle-button-border-color: var(--secondColorHover, rgba(224, 229, 235, 0.9)); } } &[data-design*="solid"] { --toggle-button-background: var(--secondColor, rgba(224, 229, 235, 0.9)); &:hover { --toggle-button-background: var(--secondColorHover, rgba(224, 229, 235, 0.9)); } } }