From b15ab4adb837e43409e5e3cf3a40a83ef4dbf62f Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Sun, 8 Jan 2023 22:12:24 -0300 Subject: Initial commit --- .../assets/scss/bootstrap/mixins/_transition.scss | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 themes/hugo-whisper-theme/assets/scss/bootstrap/mixins/_transition.scss (limited to 'themes/hugo-whisper-theme/assets/scss/bootstrap/mixins/_transition.scss') diff --git a/themes/hugo-whisper-theme/assets/scss/bootstrap/mixins/_transition.scss b/themes/hugo-whisper-theme/assets/scss/bootstrap/mixins/_transition.scss new file mode 100755 index 0000000..8ce35a6 --- /dev/null +++ b/themes/hugo-whisper-theme/assets/scss/bootstrap/mixins/_transition.scss @@ -0,0 +1,16 @@ +// stylelint-disable property-blacklist +@mixin transition($transition...) { + @if $enable-transitions { + @if length($transition) == 0 { + transition: $transition-base; + } @else { + transition: $transition; + } + } + + @if $enable-prefers-reduced-motion-media-query { + @media (prefers-reduced-motion: reduce) { + transition: none; + } + } +} -- cgit v1.2.3