open-consul/ui-v2/app/styles/components/action-group/skin.scss
John Cowen c7d89f364d
UI: CSS refactor (#4430) + Fullscreen Layout (#4435)
* Begin refactoring CSS into component folders. Moved most
components into layout/skin folders, left out a couple of ones I want
to think about more.
* Adjust grays based on recent Structure changes 
* Switch to fullscreen layout for lists and detail, left aligned forms (#4435)
* Specifically use the 'actions_close' label, not just the :last-child (actions-group)
* Replace some non-var-ed colours in vaults code skin, plus prefixing (black and white)
2018-08-29 12:11:58 +01:00

38 lines
870 B
SCSS

%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;
}