Skip to content

Instantly share code, notes, and snippets.

@yosevu
Last active June 12, 2019 20:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yosevu/6e2645112eac728dcf697ce0603309eb to your computer and use it in GitHub Desktop.
Save yosevu/6e2645112eac728dcf697ce0603309eb to your computer and use it in GitHub Desktop.
left-facet checkbox styles #gap
.checkbox {
@extend .sds_checkbox-a;
&__input {
@extend .sds_checkbox-a__input;
}
&__box {
@extend .sds_checkbox-a__box;
}
&__label {
@extend .sds_checkbox-a__label;
}
}
.left-facet-input + .checkbox__box {
.left-facet-input.focus-visible + .checkbox__box {
outline: 0;
box-shadow: 0 0 0 2px sds-cb_color(b2);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment