diff options
Diffstat (limited to 'core/css/functions.scss')
-rw-r--r-- | core/css/functions.scss | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/core/css/functions.scss b/core/css/functions.scss index 35db19c3142..62cd200a098 100644 --- a/core/css/functions.scss +++ b/core/css/functions.scss @@ -21,21 +21,6 @@ */ /** - * Removes the "#" from a color. - * - * @param string $color The color - * @return string The color without # - */ -@function remove-hash-from-color($color) { - $color: unquote($color); - $index: str-index(inspect($color), '#'); - @if $index { - $color: str-slice(inspect($color), 2); - } - @return $color; -} - -/** * @see core/src/icons.js */ @function match-color-string($color) { @@ -80,12 +65,3 @@ $varName: "--icon-#{$icon}-#{$color}"; background-image: var(#{$varName}); } - -@mixin position($value) { - @if $value == 'sticky' { - position: -webkit-sticky; // Safari support - position: sticky; - } @else { - position: $value; - } -} |