Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #30 from chrishumboldt/dev-chris
Browse files Browse the repository at this point in the history
Dev chris
  • Loading branch information
Chris Humboldt authored and Chris Humboldt committed Aug 6, 2014
2 parents 8402132 + 45628f9 commit 9054603
Show file tree
Hide file tree
Showing 7 changed files with 74 additions and 58 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Webplate",
"version": "2.2.4",
"version": "2.2.5",
"homepage": "https://getwebplate.com",
"authors": [
"Chris Humboldt <chrismodem@gmail.com>"
Expand Down
2 changes: 1 addition & 1 deletion core/build/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Webplate",
"version": "2.2.4",
"version": "2.2.5",
"description": "An awesome front-end javascript bootstrap that lets you stay focused on building your site or app all the while remaining really easy to use.",
"main": "../../index.html",
"dependencies": {
Expand Down
26 changes: 0 additions & 26 deletions core/sass/blueplate/_alignment.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
// Table of contents
// ---------------------------------------------------------------------------------------
// Centering
// Position


// Centering
Expand All @@ -26,28 +25,3 @@
}


// Position
// ---------------------------------------------------------------------------------------
@mixin position($position: relative, $arguments: false) {
position: $position;

// Arguments
@include position-arguments($arguments);
}
@mixin position-absolute($arguments: false) {
@include position(absolute, $arguments);
}
@mixin position-fixed($arguments: false) {
@include position(fixed, $arguments);
}
@mixin position-relative($arguments: false) {
@include position(relative, $arguments);
}
@mixin position-static($arguments: false) {
@include position(static, $arguments);
}
@mixin position-inherit($arguments: false) {
@include position(inherit, $arguments);
}


2 changes: 1 addition & 1 deletion core/sass/blueplate/_background.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

// Background colour
// ---------------------------------------------------------------------------------------
@mixin background-colour($colour: $grey) {
@mixin background-colour($colour) {
background-color: $colour;
}
@mixin background-color($colour) {
Expand Down
58 changes: 29 additions & 29 deletions core/sass/blueplate/_border.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,39 @@

// Table of contents
// ---------------------------------------------------------------------------------------
// Radius
// Border lines
// Border radius
// Border shades


// Radius
// Border lines
// ---------------------------------------------------------------------------------------
@mixin border($colour: $grey, $size: 1px, $type: solid) {
border: $size $type $colour;
}
@mixin border-top($colour: $grey, $size: 1px, $type: solid) {
border-top: $size $type $colour;
}
@mixin border-bottom($colour: $grey, $size: 1px, $type: solid) {
border-bottom: $size $type $colour;
}
@mixin border-left($colour: $grey, $size: 1px, $type: solid) {
border-left: $size $type $colour;
}
@mixin border-right($colour: $grey, $size: 1px, $type: solid) {
border-right: $size $type $colour;
}
@mixin border-vertical($colour: $grey, $size: 1px, $type: solid) {
@include border-top($colour, $size, $type);
@include border-bottom($colour, $size, $type);
}
@mixin border-horizontal($colour: $grey, $size: 1px, $type: solid) {
@include border-left($colour, $size, $type);
@include border-right($colour, $size, $type);
}


// Border radius
// ---------------------------------------------------------------------------------------
@mixin border-radius($radius: 2px) {
border-radius: $radius;
Expand Down Expand Up @@ -89,33 +116,6 @@
}


// Border lines
// ---------------------------------------------------------------------------------------
@mixin border($colour: $grey, $size: 1px, $type: solid) {
border: $size $type $colour;
}
@mixin border-top($colour: $grey, $size: 1px, $type: solid) {
border-top: $size $type $colour;
}
@mixin border-bottom($colour: $grey, $size: 1px, $type: solid) {
border-bottom: $size $type $colour;
}
@mixin border-left($colour: $grey, $size: 1px, $type: solid) {
border-left: $size $type $colour;
}
@mixin border-right($colour: $grey, $size: 1px, $type: solid) {
border-right: $size $type $colour;
}
@mixin border-vertical($colour: $grey, $size: 1px, $type: solid) {
@include border-top($colour, $size, $type);
@include border-bottom($colour, $size, $type);
}
@mixin border-horizontal($colour: $grey, $size: 1px, $type: solid) {
@include border-left($colour, $size, $type);
@include border-right($colour, $size, $type);
}


// Border shades
// ---------------------------------------------------------------------------------------
@mixin border-light($highlight: 0.8, $colour: #ffffff) {
Expand Down
1 change: 1 addition & 0 deletions core/sass/blueplate/_import.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
@import "input_types";
@import "ios";
@import "layout";
@import "position";
@import "responsive-layout";
@import "size";
@import "spacing";
Expand Down
41 changes: 41 additions & 0 deletions core/sass/blueplate/_position.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/**
* SASS File: _position.scss
* Type: partial
* Author: Chris Humboldt
* Last Edited: 6 August 2014
*/


// Table of contents
// ---------------------------------------------------------------------------------------
// Position


// Position
// ---------------------------------------------------------------------------------------
@mixin position($position: relative, $arguments: false) {
position: $position;

// Arguments
@include position-set($arguments);
}
@mixin position-set($arguments: false) {
@include position-arguments($arguments);
}
@mixin position-absolute($arguments: false) {
@include position(absolute, $arguments);
}
@mixin position-fixed($arguments: false) {
@include position(fixed, $arguments);
}
@mixin position-relative($arguments: false) {
@include position(relative, $arguments);
}
@mixin position-static($arguments: false) {
@include position(static, $arguments);
}
@mixin position-inherit($arguments: false) {
@include position(inherit, $arguments);
}


0 comments on commit 9054603

Please sign in to comment.