Skip to content

Commit 11c579a

Browse files
author
Joao Augusto
committed
Release of v1.3.0 changelog and readme update
1 parent 21423ae commit 11c579a

File tree

2 files changed

+117
-12
lines changed

2 files changed

+117
-12
lines changed

changelog.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
#Changelog
22

3+
##1.3.0 (2014-03-11)
4+
5+
- Removing delay from `transition` mixin
6+
- Updating transition to transform in transform mixin
7+
- Additon of `gradient-radial()` mixin
8+
- Updating default breakpoints to be animals
9+
- Converting modular classes to silent placeholders
10+
- Normalize updated to v3
11+
- Standard gradient mixin update
12+
- Abstracting vendors & prefixes out to base vars
13+
- Addition of `color-alpha()` mixin
14+
- `css-triangle()` renamed to `triangle()`
15+
- Addtion of new `_shapes.scss` whcih contains `square()`, `circle()` and `triangle()` mixins
16+
- Addition of `truncate-text()` mixin
17+
- `sache.json` added to enable Luigi to be listed on [Sache.in](http://www.sache.in/)
18+
- Addition of `-webkit-backface-visibility: hidden;` to transition mixin to combat opacity issues
19+
320
##1.2.1 (2014-01-28)
421

522
- Wrong variable name referenced in _image.scss

readme.md

Lines changed: 100 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
> TODO:
2-
>
3-
> - Add info for the new gradient-radial mixin (usage: @include gradient-radial(farthest-corner, circle, center center, rgba(255,0,0,0.5), #333, orange))
4-
> - Add info for circle and square mixin
5-
61
#Luigi
72

83
*Jump to the [index](#index) to everything that is included.*
@@ -147,6 +142,7 @@ This file contains many mixins that require vendor prefixes to achieve what have
147142
- [box-sizing](#box-sizing)
148143
- [color-alpha](#color-alpha)
149144
- [gradient](#gradient)
145+
- [gradient-radial](#gradient-radial)
150146
- [opacity](#opacity)
151147
- [transition && transition-property](#transition--transition-property)
152148
- [transform && transform-property](#transform--transform-property)
@@ -284,7 +280,7 @@ Output:
284280

285281
####gradient
286282

287-
Allows creation of background gradients without endless amounts of vendor prefixing. Can cater for horizontal, vertical or diagonal gradients. Radial gradients will need to be [manually generated](http://www.colorzilla.com/gradient-editor/)
283+
Allows creation of background gradients without endless amounts of vendor prefixing. Can cater for horizontal, vertical or diagonal gradients. See also [radial gradients](#gradient-radial) mixin.
288284

289285
Mixin:
290286

@@ -306,6 +302,41 @@ Usage:
306302

307303
*Omitting output due to large amounts of code.- see the [mixin](mixins/_css3.scss) for more detail*
308304

305+
####gradient-radial
306+
307+
This mixin is for creating a radial gradient.
308+
309+
Mixin:
310+
311+
gradient-radial($size, $shape, $position, $fallback, $colors...)
312+
313+
**$size**: Size describing how big the ending shape must be. The possible options are: **closest-side**, **closest-corner**, **farthest-side**, **farthest-corner**
314+
315+
**$shape**: The gradient's shape. Can be **circle** or **ellipse**
316+
317+
**$position**: The position of the gradient in the element
318+
319+
**$fallback**: Fallback background color for old browsers
320+
321+
**$colors**: The sequence of colors
322+
323+
Usage:
324+
325+
.class {
326+
@include gradient-radial(farthest-corner, circle, center center, #f00, rgba(255,0,0,0.5), #333, orange)
327+
}
328+
329+
Output:
330+
331+
.class {
332+
background: #f00;
333+
background: -webkit--radial-gradient(center center, farthest-corner circle, rgba(255, 0, 0, 0.5), #333333, orange);
334+
background: -moz--radial-gradient(center center, farthest-corner circle, rgba(255, 0, 0, 0.5), #333333, orange);
335+
background: -o--radial-gradient(center center, farthest-corner circle, rgba(255, 0, 0, 0.5), #333333, orange);
336+
background: -ms--radial-gradient(center center, farthest-corner circle, rgba(255, 0, 0, 0.5), #333333, orange);
337+
background: radial-gradient(farthest-corner circle at center center, rgba(255, 0, 0, 0.5), #333333, orange);
338+
}
339+
309340
####opacity
310341

311342
Handles all vendors for using opacity.
@@ -403,7 +434,7 @@ Usage:
403434
Output:
404435

405436
.class {
406-
-webkit-transform: skew(35deg);
437+
-webkit-transform: skew(35deg);
407438
-moz-transform: skew(35deg);
408439
-ms-transform: skew(35deg);
409440
-o-transform: skew(35deg);
@@ -772,15 +803,69 @@ Output:
772803

773804
Defines mixins for making shapes with less code.
774805

775-
- [css-triangle](#css-triangle)
806+
- [circle](#circle)
807+
- [square](#square)
808+
- [triangle](#triangle)
809+
810+
####circle
811+
812+
The easiest and quickiest way to do circle. This mixin can be used on slider pagination.
813+
814+
Mixin:
815+
816+
circle($size)
817+
818+
**$size**: The diameter of the circle
819+
820+
Usage:
821+
822+
.class {
823+
@include circle(10px);
824+
}
825+
826+
Output:
827+
828+
.class {
829+
-webkit-border-radius: 10px;
830+
border-radius: 10px;
831+
-moz-background-clip: padding;
832+
-webkit-background-clip: padding-box;
833+
background-clip: padding-box;
834+
width: 10px;
835+
height: 10px;
836+
}
837+
838+
839+
####square
840+
841+
This creates a regular quadrilateral (four equal sides and four equal angles - 90°).
842+
843+
Mixin:
844+
845+
square($size)
846+
847+
**$size**: The size of the square
848+
849+
Usage:
850+
851+
.class {
852+
@include square(10px);
853+
}
854+
855+
Output:
856+
857+
.class {
858+
width: 10px;
859+
height: 10px;
860+
}
776861

777-
####css-triangle
862+
####triangle
778863

779864
This makes the element a css triangle - for use as a pointer with the `:after` or `:before` pseudo element
780865

781866
Mixin:
782867

783-
css-triangle($direction: down, $size: 20px, $color: #000)
868+
triangle($direction: down, $size: 20px, $color: #000)
784869

785870
**$direction**: what direction the arrow points (up/down/left/right)
786871

@@ -791,7 +876,7 @@ Mixin:
791876
Usage:
792877

793878
.class:after {
794-
@include css-triangle(up, 10px, #fff);
879+
@include triangle(up, 10px, #fff);
795880
content: '';
796881
}
797882

@@ -1055,6 +1140,7 @@ If the margin on the body needs to be more or less than the height of the footer
10551140
- [box-sizing](#box-sizing)
10561141
- [color-alpha](#color-alpha)
10571142
- [gradient](#gradient)
1143+
- [gradient-radial](#gradient-radial)
10581144
- [opacity](#opacity)
10591145
- [transition && transition-property](#transition--transition-property)
10601146
- [transform && transform-property](#transform--transform-property)
@@ -1077,7 +1163,9 @@ If the margin on the body needs to be more or less than the height of the footer
10771163
- [bp](#bp)
10781164
- [img-responsive](#img-responsive)
10791165
- [Shapes](#shapes)
1080-
- [css-triangle](#css-triangle)
1166+
- [circle](#circle)
1167+
- [square](#square)
1168+
- [triangle](#triangle)
10811169
- [Typography](#typography)
10821170
- [font](#font)
10831171
- [font-face](#font-face)

0 commit comments

Comments
 (0)