Skip to content

Commit

Permalink
Merge 370d24b into d489b9d
Browse files Browse the repository at this point in the history
  • Loading branch information
oshi97 committed May 26, 2021
2 parents d489b9d + 370d24b commit c7a730b
Showing 1 changed file with 0 additions and 87 deletions.
87 changes: 0 additions & 87 deletions static/scss/answers/common/util/UtilityLayout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,93 +5,6 @@ $generate-classes: false !default;
$col-gap: spacing(base) !default;
$splitting-points: (sm, md, lg) !default;


@if $generate-classes
{
.l-row
{
@include l-row;

&-separator
{
border-bottom:solid 1px #222;
}

&-vertical-margin
{
&-top
{
margin-top: $vertical-margin-top;

&-sm
{
margin-top: $vertical-margin-top / 2;
}
}

&-bottom
{
margin-bottom: $vertical-margin-top;

&-sm
{
margin-bottom: $vertical-margin-top / 2;
}
}
}
}

@for $colCount from 1 through $grid-columns
{
@each $start, $end, $direction in (lg, null, "up"),
(md, null, "up"),
(sm, null, "up"),
(null, md, "down"),
(null, sm, "down"),
(null, xs, "down")
{
$abbreviation: if($start, $start, $end);

.l-col-#{$abbreviation}-#{$colCount}-#{$direction}
{
@include bp($start, $end)
{
@include l-col($colCount, $grid-columns)
}
}
}
}

@for $colCount from 1 through $grid-columns
{
@each $start, $end in (lg, null),
(md, md),
(sm, sm),
(null, xs)
{
$abbreviation: if($start, $start, $end);

.l-col-#{$abbreviation}-#{$colCount}
{
@include bp($start, $end)
{
@include l-col($colCount, $grid-columns)
}
}
}
}

@each $bp in $splitting-points
{
@include l-Split($bp, $col-gap, '.l-Split');
}

.l-centeredColumn
{
@include l-centeredColumn;
}
}

.l-container
{
@include l-container;
Expand Down

0 comments on commit c7a730b

Please sign in to comment.