compass-recipes 0.3.0.alpha.1 → 0.3.0.alpha.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +39 -26
- data/VERSION +1 -1
- data/lib/compass-recipes/sass_extensions.rb +1 -1
- data/stylesheets/_recipes.scss +6 -3
- data/stylesheets/recipes/_color.scss +17 -21
- data/stylesheets/recipes/_effect.scss +9 -6
- data/stylesheets/recipes/_font.scss +16 -7
- data/stylesheets/recipes/_google-webfont.scss +4 -0
- data/stylesheets/recipes/_icon-font.scss +56 -74
- data/stylesheets/recipes/_icons.scss +6 -0
- data/stylesheets/recipes/_media-queries.scss +8 -14
- data/stylesheets/recipes/_shape.scss +9 -8
- data/stylesheets/recipes/_shared.scss +4 -5
- data/stylesheets/recipes/background/_blueprint-grid.scss +8 -8
- data/stylesheets/recipes/background/_carbon-fiber.scss +8 -9
- data/stylesheets/recipes/background/_checkerboard.scss +9 -9
- data/stylesheets/recipes/background/_cicada.scss +8 -8
- data/stylesheets/recipes/background/_gradients.scss +28 -30
- data/stylesheets/recipes/background/_houndstooth.scss +8 -9
- data/stylesheets/recipes/background/_lined-paper.scss +8 -8
- data/stylesheets/recipes/background/_madras.scss +13 -13
- data/stylesheets/recipes/background/_noise.scss +23 -23
- data/stylesheets/recipes/background/_polka-dot.scss +8 -9
- data/stylesheets/recipes/background/_radial-overlay.scss +5 -5
- data/stylesheets/recipes/background/_rainbow.scss +4 -3
- data/stylesheets/recipes/background/_stripes.scss +14 -14
- data/stylesheets/recipes/background/_tablecloth.scss +8 -9
- data/stylesheets/recipes/background/_tartan.scss +13 -12
- data/stylesheets/recipes/base/_normalize.scss +475 -343
- data/stylesheets/recipes/color/_name.scss +2 -2
- data/stylesheets/recipes/effect/_bevel.scss +4 -0
- data/stylesheets/recipes/effect/_corner-folded.scss +11 -11
- data/stylesheets/recipes/effect/_corners-tucked.scss +7 -8
- data/stylesheets/recipes/effect/_cutout.scss +4 -0
- data/stylesheets/recipes/effect/_folded-corner.scss +10 -10
- data/stylesheets/recipes/effect/_glass.scss +20 -17
- data/stylesheets/recipes/effect/_ribbon.scss +12 -3
- data/stylesheets/recipes/effect/_scatter.scss +5 -6
- data/stylesheets/recipes/effect/_tape.scss +8 -9
- data/stylesheets/recipes/form/element/_inline.scss +8 -7
- data/stylesheets/recipes/helper/_gravatar.scss +3 -3
- data/stylesheets/recipes/layout/_flexible-box-model.scss +17 -18
- data/stylesheets/recipes/layout/_vertical-align.scss +24 -26
- data/stylesheets/recipes/shadow/_drop.scss +8 -8
- data/stylesheets/recipes/shadow/_top-edge.scss +13 -14
- data/stylesheets/recipes/shadow/drop/_curled-corners.scss +7 -6
- data/stylesheets/recipes/shadow/drop/_curved.scss +7 -6
- data/stylesheets/recipes/shadow/drop/_flying.scss +7 -6
- data/stylesheets/recipes/shadow/drop/_lifted-corners.scss +32 -14
- data/stylesheets/recipes/shadow/drop/_perspective.scss +7 -6
- data/stylesheets/recipes/shadow/drop/_raised.scss +7 -6
- data/stylesheets/recipes/shadow/drop/_transform-requirement.scss +9 -8
- data/stylesheets/recipes/shape/_ellipse.scss +6 -5
- data/stylesheets/recipes/shape/_polygon.scss +6 -5
- data/stylesheets/recipes/shape/_symbol.scss +6 -5
- data/stylesheets/recipes/shape/polygon/_hexagon.scss +6 -5
- data/stylesheets/recipes/shape/polygon/_octagon.scss +5 -5
- data/stylesheets/recipes/shape/polygon/_parallelogram.scss +5 -5
- data/stylesheets/recipes/shape/polygon/_pentagon.scss +6 -5
- data/stylesheets/recipes/shape/polygon/_rectangle.scss +6 -5
- data/stylesheets/recipes/shape/polygon/_rhombus.scss +6 -5
- data/stylesheets/recipes/shape/polygon/_square.scss +6 -5
- data/stylesheets/recipes/shape/polygon/_star.scss +6 -6
- data/stylesheets/recipes/shape/polygon/_trapezoid.scss +6 -5
- data/stylesheets/recipes/shape/polygon/_triangle.scss +6 -5
- data/stylesheets/recipes/shape/symbol/_diamond.scss +9 -8
- data/stylesheets/recipes/shape/symbol/_egg.scss +6 -5
- data/stylesheets/recipes/shape/symbol/_heart.scss +7 -6
- data/stylesheets/recipes/shape/symbol/_infinity.scss +7 -6
- data/stylesheets/recipes/shape/symbol/_pacman.scss +6 -5
- data/stylesheets/recipes/shape/symbol/_yin-yang.scss +7 -6
- data/stylesheets/recipes/shared/_clearfix.scss +9 -12
- data/stylesheets/recipes/shared/_pseudo-element.scss +9 -6
- data/stylesheets/recipes/ui/_convex.scss +8 -7
- data/stylesheets/recipes/ui/_glossy.scss +10 -10
- data/stylesheets/recipes/ui/_gradient.scss +8 -7
- data/stylesheets/recipes/ui/_keyboard.scss +11 -12
- data/stylesheets/recipes/ui/_overlay.scss +5 -7
- data/stylesheets/recipes/ui/_separator.scss +8 -8
- data/stylesheets/recipes/ui/helper/_arrow.scss +6 -0
- data/stylesheets/recipes/ui/loader/_pulse.scss +5 -5
- data/stylesheets/recipes/ui/menu/_dropdown.scss +5 -5
- metadata +12 -24
- data/lib/compass-recipes/sass_extensions/highres.rb +0 -31
- data/stylesheets/recipes/animation/_fade.scss +0 -29
- data/stylesheets/recipes/effect/_ribbon-tied.scss +0 -133
- data/stylesheets/recipes/shared/_user-select.scss +0 -6
- data/stylesheets/recipes/ui/_button.scss +0 -122
- data/stylesheets/recipes/ui/button/_state-selectors.scss +0 -40
- data/stylesheets/recipes/ui/button/style/_default.scss +0 -12
- data/stylesheets/recipes/ui/button/style/todo/_bonbon.scss +0 -489
- data/stylesheets/recipes/ui/button/style/todo/_bourbon.scss +0 -169
- data/stylesheets/recipes/ui/button/style/todo/_fancy.sass +0 -178
- data/stylesheets/recipes/ui/button/style/todo/_necolas-animated.scss +0 -81
- data/stylesheets/recipes/ui/button/style/todo/_ubuwaits.scss +0 -654
- data/stylesheets/recipes/ui/helper/_tag.scss +0 -14
@@ -3,7 +3,7 @@
|
|
3
3
|
//
|
4
4
|
// @require sass-3.2 (you need eventually to do "sudo gem install sass --pre")
|
5
5
|
//
|
6
|
-
// @author Maxime Thirouin
|
6
|
+
// @author Maxime Thirouin m@moox.fr @MoOx
|
7
7
|
//
|
8
8
|
|
9
9
|
// sizes
|
@@ -17,19 +17,13 @@ $media-query-width-xxs: 320px !default; // eg. portrait iPhone
|
|
17
17
|
|
18
18
|
// size: exclusive queries
|
19
19
|
@mixin media-xxl { @media (min-width: $media-query-width-xxl) { @content } }
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
@mixin media-xl { $max: $media-query-width-xxl - 1px; @media (min-width: $media-query-width-xl) and (max-width: $max) { @content } }
|
28
|
-
@mixin media-l { $max: $media-query-width-xl - 1px; @media (min-width: $media-query-width-l) and (max-width: $max) { @content } }
|
29
|
-
@mixin media-m { $max: $media-query-width-l - 1px; @media (min-width: $media-query-width-m) and (max-width: $max) { @content } }
|
30
|
-
@mixin media-s { $max: $media-query-width-m - 1px; @media (min-width: $media-query-width-s) and (max-width: $max) { @content } }
|
31
|
-
@mixin media-xs { $max: $media-query-width-s - 1px; @media (min-width: $media-query-width-xs) and (max-width: $max) { @content } }
|
32
|
-
@mixin media-xxs { @media (max-width: $media-query-width-xs) { @content } }
|
20
|
+
@mixin media-xl { @media (min-width: $media-query-width-xl) and (max-width: $media-query-width-xxl - 1px) { @content } }
|
21
|
+
@mixin media-l { @media (min-width: $media-query-width-l) and (max-width: $media-query-width-xl - 1px) { @content } }
|
22
|
+
@mixin media-m { @media (min-width: $media-query-width-m) and (max-width: $media-query-width-l - 1px) { @content } }
|
23
|
+
@mixin media-s { @media (min-width: $media-query-width-s) and (max-width: $media-query-width-m - 1px) { @content } }
|
24
|
+
@mixin media-xs { @media (min-width: $media-query-width-xs) and (max-width: $media-query-width-s - 1px) { @content } }
|
25
|
+
@mixin media-xxs { @media (min-width: $media-query-width-xxs) and (max-width: $media-query-width-xs - 1px) { @content } }
|
26
|
+
@mixin media-xxs { @media (max-width: $media-query-width-xs) { @content } }
|
33
27
|
|
34
28
|
// size: min/max queries
|
35
29
|
@mixin media-xxl-max { @media (max-width: $media-query-width-xxl) { @content } }
|
@@ -1,11 +1,12 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
1
|
+
////
|
2
|
+
// Shapes !
|
3
|
+
// Polygons, ellipses and symbols
|
4
|
+
//
|
5
|
+
// @thanks Chris Coyier @chriscoyier
|
6
|
+
// @link http://css-tricks.com/examples/ShapesOfCSS/
|
7
|
+
// @author Maxime Thirouin m@moox.fr @MoOx
|
8
|
+
///
|
9
|
+
|
9
10
|
@import "recipes/shape/ellipse";
|
10
11
|
@import "recipes/shape/polygon";
|
11
12
|
@import "recipes/shape/symbol";
|
@@ -1,5 +1,4 @@
|
|
1
|
-
@import "shared/block-inline-block";
|
2
|
-
@import "shared/clearfix";
|
3
|
-
@import "shared/list-inline-block";
|
4
|
-
@import "shared/pseudo-element";
|
5
|
-
@import "shared/user-select";
|
1
|
+
@import "recipes/shared/block-inline-block";
|
2
|
+
@import "recipes/shared/clearfix";
|
3
|
+
@import "recipes/shared/list-inline-block";
|
4
|
+
@import "recipes/shared/pseudo-element";
|
@@ -1,11 +1,11 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
1
|
+
////
|
2
|
+
// Blueprint grid background pattern
|
3
|
+
//
|
4
|
+
// @link http://lea.verou.me/css3patterns/#blueprint-grid
|
5
|
+
//
|
6
|
+
// @author Lea Verou http://lea.verou.me/ for the original pattern
|
7
|
+
// @author Maxime Thirouin m@moox.fr @MoOx
|
8
|
+
///
|
9
9
|
|
10
10
|
@import "compass/css3/images";
|
11
11
|
|
@@ -1,12 +1,11 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
*/
|
1
|
+
////
|
2
|
+
// Carbon Fiber background pattern
|
3
|
+
//
|
4
|
+
// @author Lea Verou http://lea.verou.me/ for the original pattern
|
5
|
+
// @author David Kaneda http://www.davidkaneda.com/ for the Sass mixin
|
6
|
+
//
|
7
|
+
// @link http://lea.verou.me/css3patterns/
|
8
|
+
///
|
10
9
|
|
11
10
|
@import "compass/css3/images";
|
12
11
|
|
@@ -1,12 +1,12 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
1
|
+
////
|
2
|
+
// Checkerboard background pattern
|
3
|
+
//
|
4
|
+
// @link http://lea.verou.me/css3patterns/#checkerboard
|
5
|
+
// @link http://lea.verou.me/css3patterns/#diagonal-checkerboard
|
6
|
+
//
|
7
|
+
// @author Lea Verou http://lea.verou.me/ for the original pattern
|
8
|
+
// @author Mason Wendell mason@canarypromo.com @canarymason for the sass mixin
|
9
|
+
///
|
10
10
|
|
11
11
|
@import "compass/css3/images";
|
12
12
|
|
@@ -1,11 +1,11 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
1
|
+
////
|
2
|
+
// Cicada background pattern
|
3
|
+
//
|
4
|
+
// @link http://lea.verou.me/css3patterns/#cicada-stripes
|
5
|
+
//
|
6
|
+
// @author Randy Merril http://forthedeveloper.com/ for the original pattern
|
7
|
+
// @author Mason Wendell mason@canarypromo.com @canarymason for the sass mixin
|
8
|
+
///
|
9
9
|
|
10
10
|
@import "compass/css3/images";
|
11
11
|
|
@@ -1,34 +1,32 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
*
|
6
|
-
*/
|
1
|
+
////
|
2
|
+
// @class Gradients
|
3
|
+
// @author David Kaneda http://www.davidkaneda.com/
|
4
|
+
///
|
7
5
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
6
|
+
////
|
7
|
+
// Adds a background gradient into a specified selector.
|
8
|
+
//
|
9
|
+
// @include background-gradient(#444, 'glossy');
|
10
|
+
//
|
11
|
+
// You can also use color-stops if you want full control of the gradient:
|
12
|
+
//
|
13
|
+
// @include background-gradient(#444, color-stops(#333, #222, #111));
|
14
|
+
//
|
15
|
+
// @param {color} $bg-color
|
16
|
+
// The base color of the gradient.
|
17
|
+
//
|
18
|
+
// @param {string/list} $type
|
19
|
+
// The style of the gradient, one of five pre-defined options: matte, bevel, glossy, recessed, or linear:
|
20
|
+
//
|
21
|
+
// @include background-gradient(red, 'glossy');
|
22
|
+
//
|
23
|
+
// It can also accept a list of color-stop values:;
|
24
|
+
//
|
25
|
+
// @include background-gradient(black, color-stops(#333, #111, #000));
|
26
|
+
//
|
27
|
+
// @param {string} $direction
|
28
|
+
// The direction of the gradient.
|
29
|
+
///
|
32
30
|
|
33
31
|
@import "compass/css3/images";
|
34
32
|
|
@@ -1,12 +1,11 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
*/
|
1
|
+
////
|
2
|
+
// Houndstooth background pattern
|
3
|
+
//
|
4
|
+
// @link http://lea.verou.me/css3patterns/#houndstooth
|
5
|
+
//
|
6
|
+
// @author Antoine Bernier http://abernier.name for the original pattern
|
7
|
+
// @author Mason Wendell mason@canarypromo.com @canarymason for the sass mixin
|
8
|
+
///
|
10
9
|
|
11
10
|
@import "compass/css3/images";
|
12
11
|
|
@@ -1,11 +1,11 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
1
|
+
////
|
2
|
+
// Lined paper background pattern
|
3
|
+
//
|
4
|
+
// @link http://lea.verou.me/css3patterns/#lined-paper
|
5
|
+
//
|
6
|
+
// @author Sarah Backhouse http://www.jadu.net/ for the original pattern
|
7
|
+
// @author Mason Wendell mason@canarypromo.com @canarymason for the sass mixin
|
8
|
+
///
|
9
9
|
|
10
10
|
@import "compass/css3/images";
|
11
11
|
|
@@ -1,16 +1,16 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
1
|
+
////
|
2
|
+
// Madras background pattern
|
3
|
+
//
|
4
|
+
// Before compass 0.11.5, you need to add
|
5
|
+
// Compass::BrowserSupport.add_support("repeating-linear-gradient", "webkit", "moz", "o", "ms")
|
6
|
+
// To your configuration (config.rb)
|
7
|
+
// @see https://github.com/chriseppstein/compass/issues/401
|
8
|
+
//
|
9
|
+
// @link http://lea.verou.me/css3patterns/#madras
|
10
|
+
//
|
11
|
+
// @author Divya Manian http://nimbupani.com/ for the original pattern
|
12
|
+
// @author Mason Wendell mason@canarypromo.com @canarymason for the sass mixin
|
13
|
+
///
|
14
14
|
|
15
15
|
@import "compass/css3/images";
|
16
16
|
|
@@ -1,26 +1,26 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
1
|
+
////
|
2
|
+
// Background noise recipe
|
3
|
+
//
|
4
|
+
// This recipe use a sass function to generate a .png file
|
5
|
+
//
|
6
|
+
// Inspired by a jQuery plugin "Noisy" by Daniel Rapp @DanielRapp
|
7
|
+
// @link https://github.com/DanielRapp/Noisy
|
8
|
+
//
|
9
|
+
// Converted using Sass by Aaron Russell @aaronrussell & Philipp Bosch @philippbosch
|
10
|
+
// @link https://gist.github.com/1021332
|
11
|
+
//
|
12
|
+
// Ported to a sass gem by Antti Salonen @antsa
|
13
|
+
// @link https://github.com/antsa/sassy_noise
|
14
|
+
//
|
15
|
+
// Mixin: background-noise
|
16
|
+
// Function: background_noise
|
17
|
+
//
|
18
|
+
// @author Daniel Rapp @DanielRapp
|
19
|
+
// @author Aaron Russell @aaronrussell
|
20
|
+
// @author Philipp Bosch @philippbosch
|
21
|
+
// @author Antti Salonen @antsa
|
22
|
+
// @author Maxime Thirouin m@moox.fr @MoOx
|
23
|
+
///
|
24
24
|
|
25
25
|
@import "compass/css3/images";
|
26
26
|
|
@@ -1,12 +1,11 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
*/
|
1
|
+
////
|
2
|
+
// Polkadot background pattern
|
3
|
+
//
|
4
|
+
// @link http://lea.verou.me/css3patterns/#polka-dot
|
5
|
+
//
|
6
|
+
// @author Lea Verou http://lea.verou.me/ for the original pattern
|
7
|
+
// @author Mason Wendell mason@canarypromo.com @canarymason for the sass mixin
|
8
|
+
///
|
10
9
|
|
11
10
|
@import "compass/css3/images";
|
12
11
|
|
@@ -1,8 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
////
|
2
|
+
// Background overlay inspired by Google Chrome modal overlay
|
3
|
+
//
|
4
|
+
// @author Maxime Thirouin m@moox.fr @MoOx
|
5
|
+
///
|
6
6
|
|
7
7
|
@import "compass/css3/images";
|
8
8
|
|
@@ -1,17 +1,17 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
1
|
+
////
|
2
|
+
// Striped background patterns
|
3
|
+
//
|
4
|
+
// Before compass 0.11.5, you need to add
|
5
|
+
// Compass::BrowserSupport.add_support("repeating-linear-gradient", "webkit", "moz", "o", "ms")
|
6
|
+
// To your configuration (config.rb)
|
7
|
+
// @see https://github.com/chriseppstein/compass/issues/401
|
8
|
+
//
|
9
|
+
// @link http://lea.verou.me/css3patterns/#horizontal-stripes
|
10
|
+
// @link http://lea.verou.me/css3patterns/#vertical-stripes
|
11
|
+
//
|
12
|
+
// @author Lea Verou http://lea.verou.me/ for the original pattern
|
13
|
+
// @author Mason Wendell mason@canarypromo.com @canarymason for the sass mixin
|
14
|
+
///
|
15
15
|
|
16
16
|
@import "compass/css3/images";
|
17
17
|
|
@@ -1,12 +1,11 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
*/
|
1
|
+
////
|
2
|
+
// Tablecloth background pattern
|
3
|
+
//
|
4
|
+
// @link http://lea.verou.me/css3patterns/#tablecloth
|
5
|
+
//
|
6
|
+
// @author Lea Verou http://lea.verou.me/ for the original pattern
|
7
|
+
// @author Mason Wendell mason@canarypromo.com @canarymason for the sass mixin
|
8
|
+
///
|
10
9
|
|
11
10
|
@import "compass/css3/images";
|
12
11
|
|