Skip to content

Commit

Permalink
Remove unneeded box-shadow mixins
Browse files Browse the repository at this point in the history
As of 3851b2f, these are only used once and contain a single rule each.
  • Loading branch information
adamzap authored and bmispelon committed Nov 25, 2024
1 parent 13557dc commit 201e372
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
4 changes: 2 additions & 2 deletions djangoproject/scss/_style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ blockquote {

.mdzr-boxshadow & {
border: none;
@include secondary-shadow-top;
box-shadow: 0 4px 8px rgba(12, 60, 38, 0.07);
}
}

Expand Down Expand Up @@ -432,7 +432,7 @@ blockquote {

.mdzr-boxshadow & {
border: none;
@include secondary-shadow-bottom;
box-shadow: 0 -4px 8px rgba(12, 60, 38, 0.07);
}
}

Expand Down
9 changes: 0 additions & 9 deletions djangoproject/scss/_utils.scss
Original file line number Diff line number Diff line change
Expand Up @@ -170,15 +170,6 @@ html {

}

// Secondary content box-shadow:
@mixin secondary-shadow-top {
box-shadow: 0 4px 8px rgba(12, 60, 38, 0.07);
}

@mixin secondary-shadow-bottom {
box-shadow: 0 -4px 8px rgba(12, 60, 38, 0.07);
}

@mixin framed-image {
padding: 20px;
border: 1px solid var(--hairline-color);
Expand Down

0 comments on commit 201e372

Please sign in to comment.