Browse Source

adding new structure

adding hover.css
master
nirgendswo 7 years ago
parent
commit
1222e5432d
18 changed files with 6 additions and 45 deletions
  1. +1
    -0
      README.md
  2. +2
    -1
      package.json
  3. +0
    -0
      scss/_mixins.scss
  4. +0
    -0
      scss/components/_align.scss
  5. +0
    -0
      scss/components/_body.scss
  6. +0
    -0
      scss/components/_button.scss
  7. +0
    -0
      scss/components/_clearfix.scss
  8. +1
    -1
      scss/components/_heading.scss
  9. +0
    -0
      scss/components/_icon.scss
  10. +0
    -0
      scss/components/_list.scss
  11. +0
    -0
      scss/components/_margin.scss
  12. +0
    -0
      scss/components/_normalize.scss
  13. +0
    -0
      scss/components/_text-colors.scss
  14. +2
    -2
      scss/crispyBoilerplate.scss
  15. +0
    -0
      scss/example.scss
  16. +0
    -0
      scss/functions/_units.scss
  17. +0
    -0
      scss/functions/_zIndex.scss
  18. +0
    -41
      src/components/_animation.scss

+ 1
- 0
README.md View File

@ -1,6 +1,7 @@
# cripsy-boilerplate
Flat Sass Boilerplate to give you a amount of Basic Settings, Mixins and Functions.
This Boilerplate uses hover.css and normalize.css
```
npm install crispy-boilerplate --save


+ 2
- 1
package.json View File

@ -1,6 +1,6 @@
{
"name": "crispy-boilerplate",
"version": "0.9.0",
"version": "0.9.1",
"description": "Flat Sass Boilerplate to give you a amount of Basic Settings, Mixins and Functions",
"repository": {
"type": "git",
@ -9,6 +9,7 @@
"author": "Björn Hase",
"license": "MIT",
"dependencies": {
"hover.css": "^2.2.1",
"normalize.css": "^7.0.0"
}
}

src/_mixins.scss → scss/_mixins.scss View File


src/components/_align.scss → scss/components/_align.scss View File


src/components/_body.scss → scss/components/_body.scss View File


src/components/_button.scss → scss/components/_button.scss View File


src/components/_clearfix.scss → scss/components/_clearfix.scss View File


src/components/_heading.scss → scss/components/_heading.scss View File

@ -24,7 +24,7 @@ $heading__font-weight: bold !default;
$heading__font-family: Arial, Helvetica, Neue Helvetica, sans-serif !default;
$heading__line-height: 1.5 !default;
$heading__margin: 0 0 pxToEm(20px) !default;
$heading__margin: pxToEm(20px) 0 pxToEm(5px) !default;
@mixin crispy-boilerplate-heading {
@each $h, $font-size in $heading__font-sizes {

src/components/_icon.scss → scss/components/_icon.scss View File


src/components/_list.scss → scss/components/_list.scss View File


src/components/_margin.scss → scss/components/_margin.scss View File


src/components/_normalize.scss → scss/components/_normalize.scss View File


src/components/_text-colors.scss → scss/components/_text-colors.scss View File


src/crispyBoilerplate.scss → scss/crispyBoilerplate.scss View File

@ -1,5 +1,6 @@
@import
'../node_modules/normalize.css/normalize',
'../../normalize.css/normalize',
'../../hover.css/scss/hover',
'functions/units',
'functions/zIndex',
@ -7,7 +8,6 @@
'mixins',
'components/align',
'components/animation',
'components/body',
'components/button',
'components/clearfix',

src/example.scss → scss/example.scss View File


src/functions/_units.scss → scss/functions/_units.scss View File


src/functions/_zIndex.scss → scss/functions/_zIndex.scss View File


+ 0
- 41
src/components/_animation.scss View File

@ -1,41 +0,0 @@
/**
* animation
*
*
*
* @author Björn Hase
*
*/
@mixin crispy-boilerplate-animation() {
.--animation-rotate {
animation: spin 3s linear infinite;
@keyframes spin {
to {
transform: rotate(360deg);
}
}
}
.--animation-shake {
animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
transform: translate3d(0, 0, 0);
@keyframes shake {
10%, 90% {
transform: translate3d(-1px, 0, 0);
}
20%, 80% {
transform: translate3d(2px, 0, 0);
}
30%, 50%, 70% {
transform: translate3d(-4px, 0, 0);
}
40%, 60% {
transform: translate3d(4px, 0, 0);
}
}
}
}

Loading…
Cancel
Save