.ct-ratio-picker { display: flex; ul { flex: 1; font-size: 11px; font-weight: 500; letter-spacing: 0.05em; } // rotate button button { display: flex; align-items: center; justify-content: center; padding: 0; margin-left: 12px; appearance: none; border: none; cursor: pointer; background: transparent; &:focus { outline: none; } span { display: flex; align-items: center; justify-content: center; position: relative; width: 30px; height: 30px; transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1); &:before, &:after { position: absolute; content: ''; box-sizing: border-box; transition: z-index 0.15s cubic-bezier(0.4, 0, 0.2, 1), background 0.15s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1); } &:before { width: 13px; height: 25px; border-radius: 1px; background: transparent; border: 1px dashed rgba(114, 119, 124, 0.5); } &:after { width: 25px; height: 13px; margin: auto; border-radius: 2px; border: 1px dashed transparent; background: rgba(156, 163, 169, 1); } } &:hover { span { &:before { z-index: 2; border-radius: 2px; border-color: transparent; background: var(--accentColor); } &:after { border-radius: 1px; background: transparent; border: 1px dashed rgba(114, 119, 124, 0.5); } } .ct-tooltip-top { opacity: 1; visibility: visible; transform: translate3d(0px, -38px, 0px); } } } // reversed &.reversed button span { transform: rotate(-90deg); } }