mirror of
https://github.com/getformwork/formwork.git
synced 2025-02-24 17:52:41 +01:00
Extract _functions.scss from admin.scss
This commit is contained in:
parent
3d2ff8de74
commit
51a10a9cdb
@ -1,6 +1,8 @@
|
|||||||
@import 'components/variables';
|
@import 'components/functions';
|
||||||
@import 'components/mixins';
|
@import 'components/mixins';
|
||||||
|
|
||||||
|
@import 'components/variables';
|
||||||
|
|
||||||
@import 'components/base';
|
@import 'components/base';
|
||||||
@import 'components/typography';
|
@import 'components/typography';
|
||||||
@import 'components/columns';
|
@import 'components/columns';
|
||||||
|
7
admin/assets/scss/components/_functions.scss
Normal file
7
admin/assets/scss/components/_functions.scss
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
@function gcd($a, $b) {
|
||||||
|
@if $b == 0 {
|
||||||
|
@return $a;
|
||||||
|
} @else {
|
||||||
|
@return gcd($b, $a % $b);
|
||||||
|
}
|
||||||
|
}
|
@ -104,11 +104,3 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@function gcd($a, $b) {
|
|
||||||
@if $b == 0 {
|
|
||||||
@return $a;
|
|
||||||
} @else {
|
|
||||||
@return gcd($b, $a % $b);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user