From c4326a3246e35762efb1c98c01512a1337cade14 Mon Sep 17 00:00:00 2001 From: nirgendswo Date: Sun, 3 Sep 2017 20:38:23 +0200 Subject: [PATCH] bugfix for mobile --- package.json | 2 +- scss/components/_align.scss | 16 ++++++++-------- scss/components/_margin.scss | 16 ++++++++-------- scss/components/_text-colors.scss | 2 +- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/package.json b/package.json index 267770a..cc81e4e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "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", "repository": { "type": "git", diff --git a/scss/components/_align.scss b/scss/components/_align.scss index db1abaf..c13a325 100644 --- a/scss/components/_align.scss +++ b/scss/components/_align.scss @@ -11,35 +11,35 @@ @mixin crispy-boilerplate-align() { - .--text-left { + .text-left { text-align: left; } - .--text-right { + .text-right { text-align: right; } - .--text-center { + .text-center { text-align: center; } - .--text-justify { + .text-justify { text-align: justify; } - .--float-left { + .float-left { float: left; } - .--float-right { + .float-right { float: right; } - .--float-none { + .float-none { float: none; } - .--centered { + .centered { margin-left: auto; margin-right: auto; } diff --git a/scss/components/_margin.scss b/scss/components/_margin.scss index 416de2d..ee96b2d 100644 --- a/scss/components/_margin.scss +++ b/scss/components/_margin.scss @@ -13,35 +13,35 @@ $margin-top: pxToEm(5px) !default; $margin-bottom: pxToEm(20px) !default; @mixin crispy-boilerplate-margin() { - .--margin-top-y0 { + .margin-top-y0 { margin-top: 0; } - .--margin-top-y1 { + .margin-top-y1 { margin-top: $margin-top; } - .--margin-top-y2 { + .margin-top-y2 { margin-top: $margin-top * 2; } - .--margin-top-y3 { + .margin-top-y3 { margin-top: $margin-top * 3; } - .--margin-bottom-y0 { + .margin-bottom-y0 { margin-bottom: 0; } - .--margin-bottom-y1 { + .margin-bottom-y1 { margin-bottom: $margin-bottom; } - .--margin-bottom-y2 { + .margin-bottom-y2 { margin-bottom: $margin-bottom * 2; } - .--margin-bottom-y3 { + .margin-bottom-y3 { margin-bottom: $margin-bottom * 3; } } diff --git a/scss/components/_text-colors.scss b/scss/components/_text-colors.scss index 89926c1..8fbdfd9 100644 --- a/scss/components/_text-colors.scss +++ b/scss/components/_text-colors.scss @@ -19,7 +19,7 @@ $text-colors: ( @mixin crispy-boilerplate-text-colors() { @each $name, $color in $text-colors { - .--text-#{$name} { + .text-#{$name} { color: $color; } }