ui-nyla/src/components/FormGenerator/ActionButtons/ExpandActionButton/ExpandActionButton.module.css

39 lines
773 B
CSS

.chevronBtn {
background: none;
border: none;
cursor: pointer;
padding: 4px;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.12s;
flex-shrink: 0;
border-radius: 3px;
width: 24px;
height: 24px;
color: var(--color-text-secondary, #64748b);
}
.chevronBtn:hover:not(:disabled) {
background: var(--color-primary-light, rgba(74, 111, 165, 0.12));
color: var(--color-primary, #4a6fa5);
}
.chevronBtn:disabled {
opacity: 0.4;
cursor: not-allowed;
}
.chevronBtn:focus-visible {
outline: none;
box-shadow: 0 0 0 2px var(--color-bg, #fff), 0 0 0 4px rgba(74, 111, 165, 0.45);
}
.chevronIcon {
font-size: 11px;
transition: transform 0.15s ease;
}
.chevronIconExpanded {
transform: rotate(90deg);
}