discourse/app/assets/stylesheets/common/foundation/spacing.scss
Joffrey JAFFEUX 04a63cfaaa
[WIP] FEATURE: merge share and invite actions together (#7021)
This commit also:
- removes [+ New Topic] behaviour from share, this feature has been duplicated in composer actions, months ago
- introduces our new experimental spacing standard for css: eg: `s(2)`
- introduces a new panel UI for modals
2019-02-20 15:42:44 +01:00

18 lines
280 B
SCSS

$base-space: 4px;
@function s(
$sizes: (
0
)
) {
$spaces: ();
@each $size in $sizes {
@if ($size == 0) {
// strip units from 0 values
@return $size / ($size * 0 + 1);
}
$spaces: append($spaces, ($size * $base-space));
}
@return $spaces;
}