Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete duplicate mixin definitions #1458

Merged
merged 1 commit into from
Mar 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion assets/scss/support/_mixins.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Some simple mixins.
// Mixins

@mixin link-variant($parent, $color, $hover-color, $underline: false) {
#{$parent} {
Expand Down
28 changes: 1 addition & 27 deletions assets/scss/support/_utilities.scss
Original file line number Diff line number Diff line change
@@ -1,30 +1,4 @@
// Mixins

@mixin optional-at-root($sel) {
@at-root #{if(not &, $sel, selector-append(&, $sel))} {
@content;
}
}

@mixin placeholder {
@include optional-at-root("::-webkit-input-placeholder") {
@content;
}

@include optional-at-root(":-moz-placeholder") {
@content;
}

@include optional-at-root("::-moz-placeholder") {
@content;
}

@include optional-at-root(":-ms-input-placeholder") {
@content;
}
}

// Common util classes.
// Common utility classes

.td-border-top {
border: none;
Expand Down