Skip to content

Commit

Permalink
Add layout modifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
csswizardry committed Jun 18, 2015
1 parent f78b2a0 commit 30a3813
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 4 deletions.
1 change: 1 addition & 0 deletions _elements.forms.scss
Expand Up @@ -41,4 +41,5 @@ label {
font-size: .75rem;
padding: $label-padding;
color: $label-color;
cursor: pointer;
}
31 changes: 27 additions & 4 deletions _objects.layout.scss
Expand Up @@ -33,11 +33,34 @@ $layout-gutter: 10px !default;
* Reverse layout items’ direction.
*/
.#{$layout-ns}o-layout--rev {
direction: rtl;
direction: rtl;

> .#{$layout-ns}o-layout__item {
direction: ltr;
}
> .#{$layout-ns}o-layout__item {
direction: ltr;
}

}





/**
* Vertically align items to middles/bottoms of each other (top is the default).
*/
.#{$layout-ns}o-layout--middle {

> .#{$layout-ns}o-layout__item {
vertical-align: middle;
}

}

.#{$layout-ns}o-layout--bottom {

> .#{$layout-ns}o-layout__item {
vertical-align: bottom;
}

}

Expand Down

0 comments on commit 30a3813

Please sign in to comment.