diff options
author | Martijn Cuppens <martijn.cuppens@gmail.com> | 2018-12-23 10:11:11 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2018-12-23 10:11:11 +0300 |
commit | 39b14c980678279c20aa63591bebdf0f974d7a71 (patch) | |
tree | fc68d8c7baae9765246daa5e73b08910a50ef297 /scss/_custom-forms.scss | |
parent | 6a5a1b073d6151f49cded55ea45b4c5a3df858db (diff) |
Blacklist border-radius property (use mixin instead) (#27900)
Diffstat (limited to 'scss/_custom-forms.scss')
-rw-r--r-- | scss/_custom-forms.scss | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/scss/_custom-forms.scss b/scss/_custom-forms.scss index e6bf7ad6f5..985dddba42 100644 --- a/scss/_custom-forms.scss +++ b/scss/_custom-forms.scss @@ -144,6 +144,7 @@ .custom-radio { .custom-control-label::before { + // stylelint-disable-next-line property-blacklist border-radius: $custom-radio-indicator-border-radius; } @@ -173,6 +174,7 @@ left: -($custom-switch-width + $custom-control-gutter); width: $custom-switch-width; pointer-events: all; + // stylelint-disable-next-line property-blacklist border-radius: $custom-switch-indicator-border-radius; } @@ -182,6 +184,7 @@ width: $custom-switch-indicator-size; height: $custom-switch-indicator-size; background-color: $custom-control-indicator-border-color; + // stylelint-disable-next-line property-blacklist border-radius: $custom-switch-indicator-border-radius; @include transition(transform .15s ease-in-out, $custom-forms-transition); } @@ -220,11 +223,7 @@ background: $custom-select-background; background-color: $custom-select-bg; border: $custom-select-border-width solid $custom-select-border-color; - @if $enable-rounded { - border-radius: $custom-select-border-radius; - } @else { - border-radius: 0; - } + @include border-radius($custom-select-border-radius, 0); @include box-shadow($custom-select-box-shadow); appearance: none; |