datatable.directory codebase https://datatable.directory/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
datatable.directory/resources/assets/sass/_mixins.scss

56 lines
676 B

@function dist($x) {
@return $spacer*.25*$x;
}
@mixin py($n) {
padding-top: dist($n);
padding-bottom: dist($n);
}
@mixin px($n) {
padding-left: dist($n);
padding-right: dist($n);
}
@mixin my($n) {
margin-top: dist($n);
margin-bottom: dist($n);
}
@mixin mx($n) {
margin-left: dist($n);
margin-right: dist($n);
}
@mixin pl($n) {
padding-left: dist($n);
}
@mixin pr($n) {
padding-right: dist($n);
}
@mixin pt($n) {
padding-top: dist($n);
}
@mixin pb($n) {
padding-bottom: dist($n);
}
@mixin ml($n) {
margin-left: dist($n);
}
@mixin mr($n) {
margin-right: dist($n);
}
@mixin mt($n) {
margin-top: dist($n);
}
@mixin mb($n) {
margin-bottom: dist($n);
}