Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/zurb/foundation-sites in…
Browse files Browse the repository at this point in the history
…to develop
  • Loading branch information
zurbchris committed Nov 21, 2015
2 parents 10707fe + 2ec840e commit 06118d3
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 20 deletions.
7 changes: 7 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,10 @@ docs
gulp
lib
spec
bower.json
composer.json
CONTRIBUTING.md
gulpfile.js
meteor-README.md
package.js
sache.json
10 changes: 9 additions & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,16 @@
"ignore": [
"config",
"docs",
"gulp",
"lib",
"spec"
"test",
"composer.json",
"CONTRIBUTING.md",
"gulpfile.js",
"meteor-README.md",
"package.js",
"package.json",
"sache.json"
],
"dependencies": {
"jquery": "~2.1.0",
Expand Down
14 changes: 0 additions & 14 deletions docs/pages/global.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,17 +101,3 @@ To color a component, add the name of the color as a class.
<p>Error fetching stick.</p>
</div>
```

---

## Namespacing

The data attributes used to initialize Foundation plugins can be globally namespaced by setting the `$global-namespace` Sass variable.

```html
<!-- $global-namespace: false -->
<div data-reveal></div>

<!-- $global-namespace: 'zf' -->
<div data-zf-reveal></div>
```
4 changes: 0 additions & 4 deletions scss/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,6 @@ $global-weight-bold: bold !default;
/// @type Number
$global-radius: 0 !default;

/// Namespace for the data attributes used to initialize Foundation plugins.
/// @type String | Boolean
$global-namespace: false !default;

/// Sets the text direction of the CSS. Can be either `ltr` or `rtl`.
$global-text-direction: ltr !default;

Expand Down
3 changes: 2 additions & 1 deletion scss/grid/_classes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@
}

// Column row
.#{$column}.#{$row} {
// The double .row class is needed to bump up the specificity
.#{$column}.#{$row}.#{$row} {
float: none;
}

Expand Down
4 changes: 4 additions & 0 deletions scss/grid/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,9 @@
&:nth-of-type(#{$n}n+1) {
clear: both;
}

&:last-child {
float: left;
}
}
}

0 comments on commit 06118d3

Please sign in to comment.