Skip to content

Commit

Permalink
Merge branch 'stage-v3.6.0' into gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Harvey committed Feb 13, 2016
2 parents 44b0757 + f8cabe4 commit 2fc655a
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xmeter",
"version": "3.5.0",
"version": "3.6.0",
"description": "A default stylesheet with a set of tools that make designing with vertical rhythm easy.",
"main": "xmeter.css",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/__tool.fallback.column-count.less
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// ^author
// : Chris Harvey
// ^updated
// : 2014-10-23
// : 2015-10-23
.column-count(@n) {
-webkit-column-count: @n;
-moz-column-count: @n;
Expand Down
22 changes: 22 additions & 0 deletions src/__tool.fallback.column-width.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

/*################################*\
xmeter | __tool.fallback.column-width.less
\*################################*/


#XMETER {
// Sets the width of columns of text.
// See [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/column-width) for more info.
//
// @n - a positive integer indicating the number of columns, or
// - auto (initial) - indicates the width of columns should be determined by the `column-count` property
// ^author
// : Chris Harvey
// ^updated
// : 2016-02-08
.column-width(@n) {
-webkit-column-width: @n;
-moz-column-width: @n;
column-width: @n;
}
}
2 changes: 1 addition & 1 deletion src/__tool.fallback.flexbox.less
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
justify-content: @justify;
}

// Aligns a flex container's lines when there is empty space in the cross-axis.
// Aligns a flex containers lines when there is empty space in the cross-axis.
// (align vertically for `flex-direction: row` or horizontally for `flex-direction: column`)
//
// @align - how content is aligned
Expand Down
7 changes: 4 additions & 3 deletions src/__tool.module.clearfix.less
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@
// ^author
// : Chris Harevy
// ^updated
// : 2014-05-12
// : 2016-02-08
.clearfix() {
&::after {
display: table;
content:' ';
content: ' '; // older browsers do not support empty content ('')
display: block;
height: 0;
clear: both;
}
}
Expand Down
1 change: 1 addition & 0 deletions src/__tool.module.fontsize.less
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// : Chris Harvey
// ^updated
// : 2016-01-08
#XMETER .VARS();
.font-size-block(@ratio; @line_height_orig: @xmeter_line_height; @lines: 1) {
#XMETER .VARS();
font-size: (@ratio * @1rem); // legacy browsers (see __settings for more info)
Expand Down
4 changes: 2 additions & 2 deletions src/__tool.module.sprite.less
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
.sprite(horizontal; @position; @iconsize; @iconpadd) when (@position > 1) {
background-position: ((@position - 1) * -(@iconsize + @iconpadd)) 0;
}
.sprite(horizontal; @position; @iconsize; @iconpadd) when (@position == 1) {
.sprite(horizontal; @position; @iconsize; @iconpadd) when (@position = 1) {
background-position: 0 0;
}
.sprite(vertical; @position; @iconsize; @iconpadd) when (@position > 1) {
background-position: 0 ((@position - 1) * -(@iconsize + @iconpadd));
}
.sprite(vertical; @position; @iconsize; @iconpadd) when (@position == 1) {
.sprite(vertical; @position; @iconsize; @iconpadd) when (@position = 1) {
background-position: 0 0;
}
}
2 changes: 1 addition & 1 deletion xmeter.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*\
xmeter
Version: 3.5.0
Version: 3.6.0
Licence: MIT
Repo : https://github.com/chharvey/xmeter.git
Home : https://chharvey.github.io/xmeter/
Expand Down
2 changes: 1 addition & 1 deletion xmeter.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*\
xmeter
Version: 3.5.0
Version: 3.6.0
Licence: MIT
Repo : https://github.com/chharvey/xmeter.git
Home : https://chharvey.github.io/xmeter/
Expand Down

0 comments on commit 2fc655a

Please sign in to comment.