From 86cddda967a7b7997f0e21eb280f468cb117e646 Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Sun, 3 Mar 2019 09:46:38 +0100 Subject: [PATCH] Update _mixins.sass --- sass/abstracts/_mixins.sass | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/sass/abstracts/_mixins.sass b/sass/abstracts/_mixins.sass index ece57e5..5071036 100644 --- a/sass/abstracts/_mixins.sass +++ b/sass/abstracts/_mixins.sass @@ -1,27 +1,3 @@ // ----------------------------------------------------------------------------- // This file contains all application-wide Sass mixins. // ----------------------------------------------------------------------------- - -/// Event wrapper -/// @author Harry Roberts -/// @param {Bool} $self [false] - Whether or not to include current selector -/// @link https://twitter.com/csswizardry/status/478938530342006784 Original tweet from Harry Roberts -=on-event($self: false) - @if $self - &, - &:hover, - &:active, - &:focus - @content - @else - &:hover, - &:active, - &:focus - @content - -/// Make a context based selector a little more friendly -/// @author Hugo Giraudel -/// @param {String} $context -=when-inside($context) - #{$context} & - @content