Skip to content

Commit a66c264

Browse files
committed
Add max-width flush/hard utils
1 parent 5b6c1f4 commit a66c264

File tree

4 files changed

+3046
-4
lines changed

4 files changed

+3046
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Nebula CSS ![Travis-ci](https://travis-ci.org/rbrtsmith/nebula-css.svg?branch=master) [![npm version](https://badge.fury.io/js/nebula-css.svg)](https://badge.fury.io/js/nebula-css)
22

3-
* 6kb (gzip) with default settings.
3+
* 8kb (gzip) with default settings.
44
* [View the demo](http://rbrtsmith.com/nebula-css/demo/)
55

66
Super low-level mobile-first Sass framework using the [ITCSS](https://www.youtube.com/watch?v=1OKZOV-iLj4) architecture and the [BEMIT](http://csswizardry.com/2015/08/bemit-taking-the-bem-naming-convention-a-step-further/) naming convention.

demo/dist/main.css

Lines changed: 3031 additions & 1 deletion
Large diffs are not rendered by default.

nebula-css/tools/_spacing.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,17 @@
6161
}
6262
}
6363
}
64+
$max-key: 'max-' + $key;
65+
@include nb-respond-to(#{$max-key}) {
66+
.#{$nb-namespace}u-#{$action}\@#{$max-key} {
67+
#{$property}: 0 !important;
68+
}
69+
70+
@each $direction in $directions {
71+
.#{$nb-namespace}u-#{$action}-#{$direction}\@#{$max-key} {
72+
#{$property}-#{$direction}: 0 !important;
73+
}
74+
}
75+
}
6476
}
6577
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "nebula-css",
3-
"version": "2.2.7",
3+
"version": "2.2.8",
44
"description": "ITCSS and BEMIT based framework that is ultra exensible and scales to any project size",
55
"main": "index.js",
66
"scripts": {
77
"lint": "stylelint '*/**/*.scss' --syntax scss",
8-
"sass": "node-sass --output-style compressed --include-path ./nebula-css/ -o demo/dist demo/scss/main.scss",
8+
"sass": "node-sass --output-style --include-path ./nebula-css/ -o demo/dist demo/scss/main.scss",
99
"autoprefixer": "postcss -u autoprefixer --autoprefixer.browsers 'last 2 versions' 'ie 9-11' -r demo/dist/main.css",
1010
"build": "npm run lint && npm run sass && npm run autoprefixer && ncp demo/assets/ demo/dist/assets",
1111
"start": "npm run build && onchange '*/**/*.scss' -- npm run build",

0 commit comments

Comments
 (0)