diff options
Diffstat (limited to 'themes/hugo-whisper-theme/assets/scss/bootstrap/mixins/_border-radius.scss')
-rwxr-xr-x | themes/hugo-whisper-theme/assets/scss/bootstrap/mixins/_border-radius.scss | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/themes/hugo-whisper-theme/assets/scss/bootstrap/mixins/_border-radius.scss b/themes/hugo-whisper-theme/assets/scss/bootstrap/mixins/_border-radius.scss new file mode 100755 index 0000000..88aeb37 --- /dev/null +++ b/themes/hugo-whisper-theme/assets/scss/bootstrap/mixins/_border-radius.scss @@ -0,0 +1,63 @@ +// stylelint-disable property-blacklist +// Single side border-radius + +@mixin border-radius($radius: $border-radius, $fallback-border-radius: false) { + @if $enable-rounded { + border-radius: $radius; + } + @else if $fallback-border-radius != false { + border-radius: $fallback-border-radius; + } +} + +@mixin border-top-radius($radius) { + @if $enable-rounded { + border-top-left-radius: $radius; + border-top-right-radius: $radius; + } +} + +@mixin border-right-radius($radius) { + @if $enable-rounded { + border-top-right-radius: $radius; + border-bottom-right-radius: $radius; + } +} + +@mixin border-bottom-radius($radius) { + @if $enable-rounded { + border-bottom-right-radius: $radius; + border-bottom-left-radius: $radius; + } +} + +@mixin border-left-radius($radius) { + @if $enable-rounded { + border-top-left-radius: $radius; + border-bottom-left-radius: $radius; + } +} + +@mixin border-top-left-radius($radius) { + @if $enable-rounded { + border-top-left-radius: $radius; + } +} + +@mixin border-top-right-radius($radius) { + @if $enable-rounded { + border-top-right-radius: $radius; + } +} + +@mixin border-bottom-right-radius($radius) { + @if $enable-rounded { + border-bottom-right-radius: $radius; + } +} + +@mixin border-bottom-left-radius($radius) { + @if $enable-rounded { + border-bottom-left-radius: $radius; + } +} |