Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dnomak committed Sep 11, 2015
1 parent 9e3de6c commit b2f4f28
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 11 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -18,6 +18,7 @@ $breakpoint: (
$wrap-col: (auto, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12);
$wrap-prop: (table, flexbox, normal, left, center, right, top, middle, bottom, between, around, baseline, reverse, not-reverse);
$col-row: (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12);
$col-width: ();
$col-prop: (hidden, not-hidden, first, not-first, last, not-last);
$wrap-gutter: (0, 8, 16, 24, 40);
$wrap-outside: (0, 8, 16, 24, 40);
Expand Down
2 changes: 1 addition & 1 deletion bower.json
@@ -1,6 +1,6 @@
{
"name": "flexiblegs-scss",
"version": "5.3.4",
"version": "5.4.0",
"homepage": "http://flexible.gs",
"description": "Flexible Grid System Scss",
"keywords": [
Expand Down
35 changes: 26 additions & 9 deletions flexiblegs.scss
@@ -1,14 +1,7 @@
/*! Flexible Grid System 5.3.4 | Scss | MIT License | flexible.gs */
/*! Flexible Grid System 5.4.0 | Scss | MIT License | flexible.gs */

.wrap {
display: block;
width: 100%;
font-size: 0;
letter-spacing: 0;
text-align: left;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
@include wrap;
}
@each $method in $syntax {
@if $method == "css" {
Expand Down Expand Up @@ -285,6 +278,18 @@
}
}
}
@each $item in $col-width {
@if $method == "css" {
.#{$prop}-width-#{$item} {
@include col(width, $val: $item);
}
}
@else if $method == "bem" {
.wrap__col--#{$prop}-width-#{$item} {
@include col(width, $val: $item);
}
}
}
@each $item in $col-prop {
@if $item == hidden {
@if $method == "css" {
Expand Down Expand Up @@ -624,6 +629,18 @@
}
}
}
@each $item in $col-width {
@if $method == "css" {
.#{$prop}-width-#{$item} {
@include col(width, $val: $item);
}
}
@else if $method == "bem" {
.wrap__col--#{$prop}-width-#{$item} {
@include col(width, $val: $item);
}
}
}
@each $item in $col-prop {
@if $item == hidden {
@if $method == "css" {
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "flexiblegs-scss",
"version": "5.3.4",
"version": "5.4.0",
"homepage": "http://flexible.gs",
"description": "Flexible Grid System Scss",
"keywords": [
Expand Down

0 comments on commit b2f4f28

Please sign in to comment.