From: Mark Otto Date: Wed, 11 May 2016 18:36:40 +0000 (-0700) Subject: rest in peace _functions.scss X-Git-Tag: v4.0.0-alpha.3~84^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=575769c34ded2de0239b3b58d3c27360db18963a;p=thirdparty%2Fbootstrap.git rest in peace _functions.scss --- diff --git a/scss/_functions.scss b/scss/_functions.scss deleted file mode 100644 index de7871a9af..0000000000 --- a/scss/_functions.scss +++ /dev/null @@ -1,17 +0,0 @@ -// -// Functions -// - - -// Remove the unit of a length -// Source: https://css-tricks.com/snippets/sass/strip-unit-function/ -// -// @param {Number} $number - Number to remove unit from -// @return {Number} - Unitless number - -@function strip-unit($number) { - @if type-of($number) == "number" and not unitless($number) { - @return $number / ($number * 0 + 1); - } - @return $number; -} diff --git a/scss/bootstrap.scss b/scss/bootstrap.scss index 47f5a79b36..f99a722cad 100644 --- a/scss/bootstrap.scss +++ b/scss/bootstrap.scss @@ -5,7 +5,6 @@ */ // Core variables and mixins -@import "functions"; @import "custom"; @import "variables"; @import "mixins";