Skip to content
Snippets Groups Projects
Commit ba306cb1 authored by Kevin Lin's avatar Kevin Lin
Browse files

_sass: Move abstract-card mixin into card.scss

parent d3dae9f2
No related branches found
No related tags found
No related merge requests found
@mixin abstract-card() {
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07), 0 4px 14px rgba(0, 0, 0, 0.05);
margin: $sp-4 -$gutter-spacing-sm;
@include mq(md) {
border-radius: $border-radius;
margin: $sp-4 0;
}
}
%card {
@include abstract-card();
display: flex;
......
// Just the Class dependencies
@import 'mixins';
@import 'card';
// Just the Class styles
......
@mixin abstract-card() {
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07), 0 4px 14px rgba(0, 0, 0, 0.05);
margin: $sp-4 -$gutter-spacing-sm;
@include mq(md) {
border-radius: $border-radius;
margin: $sp-4 0;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment