Skip to content

Commit

Permalink
See changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
leigeber committed Oct 26, 2013
1 parent 1911a65 commit d07c61d
Show file tree
Hide file tree
Showing 11 changed files with 121 additions and 20 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 1.0.7

2013-10-26

- ADDED: Added spaceless variablr to optionally eliminate grid inline-block space hacks with ability to override when generating grids
- ADDED: Added sample grid to download

# 1.0.6

2013-10-21
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [Wee 1.0.6](https://github.com/weepower/wee)
# [Wee 1.0.7](https://github.com/weepower/wee)

Wee is a lightweight, extensible bootstrap for rapidly building responsive, semantic web projects. To read more, visit [http://www.weepower.com](http://www.weepower.com).

Expand Down
2 changes: 1 addition & 1 deletion assets/css/legacy.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/screen.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/screen.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Wee 1.0.6 (weepower.com)
// Wee 1.0.7 (weepower.com)
// Licensed under the Apache License v2
// http://www.apache.org/licenses/LICENSE-2.0

Expand Down
24 changes: 16 additions & 8 deletions assets/css/wee/core/mixins.less
Original file line number Diff line number Diff line change
Expand Up @@ -1557,25 +1557,33 @@
.padded {
.padding(horizontal; @bumperPadding);
}
.row (@margin: @gridMargin) {
.wee-row-spacing (@spaceless) when not (@spaceless = true) {
.letter-spacing(-.31em);
}
.row (@margin: @gridMargin; @spaceless: @gridSpaceless) {
.margin(left; (@margin * -1));
.max-width((100% + @margin));
.wee-row-spacing(@spaceless);
}
.grid (@marginLeft: @gridMargin) {
.grid (@marginLeft: @gridMargin; @spaceless: @gridSpaceless) {
.align-top();
.inline-block();
.letter-spacing(normal);
.margin(left; @marginLeft);
.word-spacing(normal);
.wee-column-reset(@spaceless);
}
.column (@share; @columns: @gridColumns) when not (iskeyword(@share)) {
.grid(0);
.wee-column-spacing (@spaceless) when not (@spaceless = true) {
.margin(right; -.31em);
}
.wee-column-reset (@spaceless) when not (@gridSpaceless = true) {
.letter-spacing(normal);
}
.column (@share; @columns: @gridColumns; @spaceless: @gridSpaceless) when not (iskeyword(@share)) {
.grid(0);
.width(((100% / @columns) * @share));
.wee-column-spacing(@spaceless);
}
.column (spaced; @share; @columns: @gridColumns; @margin: @gridMargin) {
.grid(@margin);
.column (spaced; @share; @columns: @gridColumns; @margin: @gridMargin; @spaceless: @gridSpaceless) {
.grid(@margin; @spaceless);
.width((((100% / @columns) * @share) - (@margin)));
}
.column-modify (@share; @columns: @gridColumns) {
Expand Down
41 changes: 41 additions & 0 deletions assets/css/wee/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,45 @@ footer[role='contentinfo'] {
h4 {
.color(@darkerGray);
}
}
#grid {
.spaced();
span {
.align-center();
.background(@lightestGray);
.border(@lighterGray);
.color(@gray);
.line-height(3.2);
.margin(bottom; 1);
}
.row {
.row();
}
.sixth {
.column(spaced; 1; 6);
}
.fifth {
.column(spaced; 1; 5);
}
.fourth {
.column(spaced; 1; 4);
}
.third {
.column(spaced; 1; 3);
}
.half {
.column(spaced; 1; 2);
}
.four-ninths {
.column(4; 9);
}
.five-ninths {
.column(5; 9);
}
.fourth-inset {
.offset(spaced; 1; 4);
}
.fifth-offset {
.offset(spaced; 2; 5);
}
}
7 changes: 4 additions & 3 deletions assets/css/wee/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
@bumperPadding: 5%; // Bumper padding on containers
@padContainer: true; // Enable bumperPadding on containers

@gridMargin: 5%; // Default margin for spaced columns
@gridColumns: 10; // Default number of columns in grid
@gridMargin: 5%; // Default margin for spaced columns
@gridColumns: 10; // Default number of columns in grid
@gridSpaceless: false; // Set to true if you are minifying your outputted markup

@blockMarginBottom: 3; // Default bottom margin for lists, form elements, and other block elements

Expand Down Expand Up @@ -422,7 +423,7 @@

// Mobile navigation

@mobileNavTop: .85em; // Top posiion
@mobileNavTop: .85em; // Top position
@mobileNavLeft: -32px; // Left position (negative)
@mobileNavWidth: 24px; // Width
@mobileNavBorderColor: @white; // Border color
Expand Down
2 changes: 1 addition & 1 deletion assets/img/wee.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 24 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,29 @@
<hr>
<div id="examples">
<div class="examples" id="left-examples">
<h2 class="clear">Table</h2>
<h2>Grid</h2>
<div id="grid">
<div class="row">
<span class="third">1/3</span>
<span class="third">1/3</span>
<span class="third">1/3</span>
<span class="fifth">1/5</span>
<span class="fifth">1/5</span>
<span class="fifth fifth-offset">1/5</span>
<span class="fourth fourth-inset">1/4</span>
<span class="fourth">1/4</span>
<span class="fourth">1/4</span>
</div>
<span class="four-ninths">4/9</span>
<span class="five-ninths">5/9</span>
<div class="row">
<span class="sixth">1/6</span>
</div>
<div class="row">
<span class="half">1/2</span>
</div>
</div>
<h2>Table</h2>
<table itemscope itemtype="http://schema.org/Table">
<caption itemprop="about">Caption</caption>
<thead>
Expand Down Expand Up @@ -238,7 +260,7 @@ <h2>Address</h2>
</main>
<footer role="contentinfo">
<div class="container">
<p>Built with Wee version 1.0.6. <a href="mailto:hello@weepower.com">hello@weepower.com</a><br>Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License v2</a>.</p>
<p>Built with Wee version 1.0.7. <a href="mailto:hello@weepower.com">hello@weepower.com</a><br>Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License v2</a>.</p>
<a href="https://twitter.com/weecss">Twitter</a> / <a href="https://github.com/weepower/wee">Github</a> / <a href="https://github.com/weepower/wee/issues">Issues</a> / <a href="https://github.com/weepower/wee/blob/master/CHANGELOG.md">Changelog</a>
</div>
</footer>
Expand Down
26 changes: 24 additions & 2 deletions index.local.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,29 @@
<hr>
<div id="examples">
<div class="examples" id="left-examples">
<h2 class="clear">Table</h2>
<h2>Grid</h2>
<div id="grid">
<div class="row">
<span class="third">1/3</span>
<span class="third">1/3</span>
<span class="third">1/3</span>
<span class="fifth">1/5</span>
<span class="fifth">1/5</span>
<span class="fifth fifth-offset">1/5</span>
<span class="fourth fourth-inset">1/4</span>
<span class="fourth">1/4</span>
<span class="fourth">1/4</span>
</div>
<span class="four-ninths">4/9</span>
<span class="five-ninths">5/9</span>
<div class="row">
<span class="sixth">1/6</span>
</div>
<div class="row">
<span class="half">1/2</span>
</div>
</div>
<h2>Table</h2>
<table itemscope itemtype="http://schema.org/Table">
<caption itemprop="about">Caption</caption>
<thead>
Expand Down Expand Up @@ -238,7 +260,7 @@ <h2>Address</h2>
</main>
<footer role="contentinfo">
<div class="container">
<p>Built with Wee version 1.0.6. <a href="mailto:hello@weepower.com">hello@weepower.com</a><br>Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License v2</a>.</p>
<p>Built with Wee version 1.0.7. <a href="mailto:hello@weepower.com">hello@weepower.com</a><br>Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License v2</a>.</p>
<a href="https://twitter.com/weecss">Twitter</a> / <a href="https://github.com/weepower/wee">Github</a> / <a href="https://github.com/weepower/wee/issues">Issues</a> / <a href="https://github.com/weepower/wee/blob/master/CHANGELOG.md">Changelog</a>
</div>
</footer>
Expand Down

0 comments on commit d07c61d

Please sign in to comment.