%action-group label { border-radius: $radius-small; cursor: pointer; } %action-group ul { border: $decor-border-100; border-radius: $radius-small; box-shadow: 0 2px 7px rgba(0, 0, 0, 0.21); } %action-group ul::before { border-top: $decor-border-100; border-left: $decor-border-100; } %action-group ul, %action-group ul::before { border-color: $ui-color-action; } %action-group input[type='radio']:checked + label:first-of-type, %action-group label:first-of-type:hover { background-color: $ui-gray-050; } %action-group label:first-of-type:active { background-color: $ui-gray-100; } %action-group li a:hover { background-color: $ui-color-action; color: $ui-white; } %action-group ul, %action-group ul::before { background-color: $ui-white; } %action-group label::after, %action-group label::before, %action-group::before { @extend %with-dot; }