1
0
mirror of https://github.com/locomotivemtl/locomotive-boilerplate.git synced 2026-01-15 00:55:08 +08:00

Move src assets files out of dist folder, clean up grunt and related files, separate functions and mixins scss...

This commit is contained in:
Antoine Boulanger
2016-03-11 11:02:59 -05:00
parent f9358916d5
commit 9ccc53de8a
62 changed files with 123 additions and 1250 deletions

View File

@@ -0,0 +1,44 @@
// ==========================================================================
// Mixins
// ==========================================================================
@mixin vertical-center {
font-size: 0;
&:before {
display: inline-block;
height: 100%;
content: "";
vertical-align: middle;
}
> * {
display: inline-block;
vertical-align: middle;
font-size: 1rem;
}
}
// Micro clearfix, as per {@link css-101.org/articles/clearfix/latest-new-clearfix-so-far.php CSS Mojo}
//
// @see inuitcss/generic.clearfix
@mixin clearfix {
&:after {
display: table;
clear: both;
content: "";
}
}
@mixin list-reset {
margin: 0;
padding: 0;
list-style: none;
}
@mixin tap-highlight-color {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
@mixin overflow-scrolling {
-webkit-overflow-scrolling: touch;
}