open-consul/ui/packages/consul-ui/app/components/radio-card/skin.scss
John Cowen a686404ccd
ui: Fix brand coloring for inline-code plus docs (#11578)
* ui: Fix brand coloring for inline-code plus docs

Also use --tones instead of --black/--white (#11601)

Co-authored-by: Evan Rowe <ev.rowe@gmail.com>
2021-11-23 18:32:11 +00:00

33 lines
757 B
SCSS

%radio-card {
border: var(--decor-border-100);
border-radius: var(--decor-radius-100);
border-color: rgb(var(--tone-gray-200));
box-shadow: var(--decor-elevation-400);
color: rgb(var(--tone-gray-500));
cursor: pointer;
}
%radio-card.checked {
border-color: rgb(var(--tone-blue-500));
}
%radio-card > :first-child {
background-color: rgb(var(--tone-gray-050));
}
%radio-card.checked > :first-child {
background-color: rgb(var(--tone-blue-050));
}
%radio-card header {
margin-bottom: 0.5em;
}
%radio-card header {
color: rgb(var(--tone-gray-999));
}
%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;
}