consul/ui/packages/consul-ui/app/styles/components/radio-card/skin.scss

33 lines
640 B
SCSS

%radio-card {
border: $decor-border-100;
border-radius: $decor-radius-100;
border-color: $gray-200;
box-shadow: $decor-elevation-400;
color: $gray-500;
cursor: pointer;
}
%radio-card.checked {
border-color: $blue-500;
}
%radio-card > :first-child {
background-color: $gray-050;
}
%radio-card.checked > :first-child {
background-color: $blue-050;
}
%radio-card header {
margin-bottom: 0.5em;
}
%radio-card header {
color: $black;
}
%radio-card-with-icon > :last-child {
padding-left: 47px;
position: relative;
}
%radio-card-with-icon > :last-child::before {
position: absolute;
left: 14px;
font-size: 1rem;
}