Browse Source

bugfix for mobile

master
nirgendswo 7 years ago
parent
commit
c4326a3246
4 changed files with 18 additions and 18 deletions
  1. +1
    -1
      package.json
  2. +8
    -8
      scss/components/_align.scss
  3. +8
    -8
      scss/components/_margin.scss
  4. +1
    -1
      scss/components/_text-colors.scss

+ 1
- 1
package.json View File

@ -1,6 +1,6 @@
{ {
"name": "crispy-boilerplate", "name": "crispy-boilerplate",
"version": "0.9.1",
"version": "0.9.2",
"description": "Flat Sass Boilerplate to give you a amount of Basic Settings, Mixins and Functions", "description": "Flat Sass Boilerplate to give you a amount of Basic Settings, Mixins and Functions",
"repository": { "repository": {
"type": "git", "type": "git",


+ 8
- 8
scss/components/_align.scss View File

@ -11,35 +11,35 @@
@mixin crispy-boilerplate-align() { @mixin crispy-boilerplate-align() {
.--text-left {
.text-left {
text-align: left; text-align: left;
} }
.--text-right {
.text-right {
text-align: right; text-align: right;
} }
.--text-center {
.text-center {
text-align: center; text-align: center;
} }
.--text-justify {
.text-justify {
text-align: justify; text-align: justify;
} }
.--float-left {
.float-left {
float: left; float: left;
} }
.--float-right {
.float-right {
float: right; float: right;
} }
.--float-none {
.float-none {
float: none; float: none;
} }
.--centered {
.centered {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
} }


+ 8
- 8
scss/components/_margin.scss View File

@ -13,35 +13,35 @@ $margin-top: pxToEm(5px) !default;
$margin-bottom: pxToEm(20px) !default; $margin-bottom: pxToEm(20px) !default;
@mixin crispy-boilerplate-margin() { @mixin crispy-boilerplate-margin() {
.--margin-top-y0 {
.margin-top-y0 {
margin-top: 0; margin-top: 0;
} }
.--margin-top-y1 {
.margin-top-y1 {
margin-top: $margin-top; margin-top: $margin-top;
} }
.--margin-top-y2 {
.margin-top-y2 {
margin-top: $margin-top * 2; margin-top: $margin-top * 2;
} }
.--margin-top-y3 {
.margin-top-y3 {
margin-top: $margin-top * 3; margin-top: $margin-top * 3;
} }
.--margin-bottom-y0 {
.margin-bottom-y0 {
margin-bottom: 0; margin-bottom: 0;
} }
.--margin-bottom-y1 {
.margin-bottom-y1 {
margin-bottom: $margin-bottom; margin-bottom: $margin-bottom;
} }
.--margin-bottom-y2 {
.margin-bottom-y2 {
margin-bottom: $margin-bottom * 2; margin-bottom: $margin-bottom * 2;
} }
.--margin-bottom-y3 {
.margin-bottom-y3 {
margin-bottom: $margin-bottom * 3; margin-bottom: $margin-bottom * 3;
} }
} }

+ 1
- 1
scss/components/_text-colors.scss View File

@ -19,7 +19,7 @@ $text-colors: (
@mixin crispy-boilerplate-text-colors() { @mixin crispy-boilerplate-text-colors() {
@each $name, $color in $text-colors { @each $name, $color in $text-colors {
.--text-#{$name} {
.text-#{$name} {
color: $color; color: $color;
} }
} }


Loading…
Cancel
Save