Skip to content

Commit

Permalink
0.0.4 - Convert shift() to move()
Browse files Browse the repository at this point in the history
  • Loading branch information
corysimmons committed Mar 16, 2015
1 parent edab2e2 commit ad0a093
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ figure
column(1/2 1/3)
```

You can `offset` columns and perform source ordering with `shift`.
You can `offset` columns and perform source ordering with `move`.

```html
<div class="row">
Expand All @@ -93,7 +93,7 @@ You can `offset` columns and perform source ordering with `shift`.
figure
column(1/3)
&:first-child
offset(1/3) // or shift(1/3)
offset(1/3) // or move(1/3)
```

Easily vertically or horizontally center children elements with the `align()` mixin.
Expand Down Expand Up @@ -172,7 +172,7 @@ Set a color to be lightened for your editable areas.
##### `offset(ratios = false)`
- `ratios` (a positive or negative fractional margin to the left or right respectively)

##### `shift(ratios = false)`
##### `move(ratios = false)`
- `ratios` (a positive or negative fraction to adjust the `left` property of a relatively positioned element)

##### `cycle(item = -1)`
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"lost.scss",
"lost.styl"
],
"version": "0.0.3",
"version": "0.0.4",
"homepage": "https://github.com/corysimmons/lost",
"authors": [
"Cory Simmons <[email protected]>"
Expand Down
4 changes: 2 additions & 2 deletions lost.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Lost Grid v0.0.3 - https://github.com/corysimmons/lost
// Lost Grid v0.0.4 - https://github.com/corysimmons/lost

$gutter: 30px !default;
$breakpoint: 1000px !default;
Expand Down Expand Up @@ -189,7 +189,7 @@ $rtl: false !default;
}


@mixin shift($ratios: false, $gut: $gutter) {
@mixin move($ratios: false, $gut: $gutter) {
position: relative;

@if ($old) {
Expand Down
4 changes: 2 additions & 2 deletions lost.styl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Lost Grid v0.0.3 - https://github.com/corysimmons/lost
// Lost Grid v0.0.4 - https://github.com/corysimmons/lost

gutter = 30px
breakpoint = 1000px
Expand Down Expand Up @@ -121,7 +121,7 @@ offset(ratios = false, gut = gutter)
if ratios < 0
margin-right: s('calc(-100% * %s)', ratios)

shift(ratios = false, gut = gutter)
move(ratios = false, gut = gutter)
position: relative
if old
left: (100% * ratios)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lost-grid",
"version": "0.0.3",
"version": "0.0.4",
"description": "Fractional grid system in Stylus with Jeet fallback.",
"main": "lost.js",
"repository": {
Expand Down

0 comments on commit ad0a093

Please sign in to comment.