Improved styles

This commit is contained in:
Alejandro Celaya
2019-01-07 13:45:16 +01:00
parent 6abc0e7d02
commit 2be771cbcc
5 changed files with 12 additions and 21 deletions

View File

@@ -1,4 +0,0 @@
@mixin border-radius($radius) {
border-radius: $radius;
-webkit-border-radius: $radius;
}

View File

@@ -1,4 +0,0 @@
@mixin box-shadow($shadow) {
-webkit-box-shadow: $shadow;
box-shadow: $shadow;
}

View File

@@ -0,0 +1,8 @@
@mixin fit-with-margin($margin) {
$offset: $margin * 2;
width: calc(100% - #{$offset});
max-width: calc(100% - #{$offset});
height: calc(100% - #{$offset});
margin: $margin;
}