compass-recipes 0.2.2 → 0.3.0.alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +6 -2
- data/README.md +103 -29
- data/VERSION +1 -1
- data/fonts/icons/entypo/entypo-webfont.eot +0 -0
- data/fonts/icons/entypo/entypo-webfont.svg +198 -0
- data/fonts/icons/entypo/entypo-webfont.ttf +0 -0
- data/fonts/icons/entypo/entypo-webfont.woff +0 -0
- data/fonts/icons/heydings-controls/SIL Open Font License 1.1.txt +91 -0
- data/fonts/icons/heydings-controls/demo.html +33 -0
- data/fonts/icons/heydings-controls/heydings_controls-webfont.eot +0 -0
- data/fonts/icons/heydings-controls/heydings_controls-webfont.svg +85 -0
- data/fonts/icons/heydings-controls/heydings_controls-webfont.ttf +0 -0
- data/fonts/icons/heydings-controls/heydings_controls-webfont.woff +0 -0
- data/fonts/icons/heydings-controls/stylesheet.css +16 -0
- data/fonts/icons/heydings/SIL Open Font License 1.1.txt +91 -0
- data/fonts/icons/heydings/demo.html +33 -0
- data/fonts/icons/heydings/heydings_icons-webfont.eot +0 -0
- data/fonts/icons/heydings/heydings_icons-webfont.svg +94 -0
- data/fonts/icons/heydings/heydings_icons-webfont.ttf +0 -0
- data/fonts/icons/heydings/heydings_icons-webfont.woff +0 -0
- data/fonts/icons/heydings/stylesheet.css +16 -0
- data/fonts/icons/icomoon/License.txt +1 -0
- data/fonts/icons/icomoon/Read Me.txt +5 -0
- data/fonts/icons/icomoon/icomoon.eot +0 -0
- data/fonts/icons/icomoon/icomoon.svg +35 -0
- data/fonts/icons/icomoon/icomoon.ttf +0 -0
- data/fonts/icons/icomoon/icomoon.woff +0 -0
- data/fonts/icons/iconic/SIL Open Font License 1.1.txt +91 -0
- data/fonts/icons/iconic/demo.html +38 -0
- data/fonts/icons/iconic/iconic_fill.eot +0 -0
- data/fonts/icons/iconic/iconic_fill.svg +475 -0
- data/fonts/icons/iconic/iconic_fill.ttf +0 -0
- data/fonts/icons/iconic/iconic_fill.woff +0 -0
- data/fonts/icons/iconic/iconic_stroke.eot +0 -0
- data/fonts/icons/iconic/iconic_stroke.svg +492 -0
- data/fonts/icons/iconic/iconic_stroke.ttf +0 -0
- data/fonts/icons/iconic/iconic_stroke.woff +0 -0
- data/fonts/icons/iconic/stylesheet.css +28 -0
- data/fonts/icons/modern-pictograms/Modern Pictograms SIL OFL Font License 1.1.txt +94 -0
- data/fonts/icons/modern-pictograms/demo.html +33 -0
- data/fonts/icons/modern-pictograms/modernpics-webfont.eot +0 -0
- data/fonts/icons/modern-pictograms/modernpics-webfont.svg +136 -0
- data/fonts/icons/modern-pictograms/modernpics-webfont.ttf +0 -0
- data/fonts/icons/modern-pictograms/modernpics-webfont.woff +0 -0
- data/fonts/icons/modern-pictograms/stylesheet.css +16 -0
- data/fonts/icons/socialico/FFF_EULA_license.pdf +0 -0
- data/fonts/icons/socialico/Socialico-webfont.otf +0 -0
- data/fonts/icons/socialico/socialico-webfont.eot +0 -0
- data/fonts/icons/socialico/socialico-webfont.svg +123 -0
- data/fonts/icons/socialico/socialico-webfont.ttf +0 -0
- data/fonts/icons/socialico/socialico-webfont.woff +0 -0
- data/fonts/icons/websymbols/OFL-FAQ.txt +369 -0
- data/fonts/icons/websymbols/OFL.txt +97 -0
- data/fonts/icons/websymbols/websymbols-regular-webfont.eot +0 -0
- data/fonts/icons/websymbols/websymbols-regular-webfont.svg +108 -0
- data/fonts/icons/websymbols/websymbols-regular-webfont.ttf +0 -0
- data/fonts/icons/websymbols/websymbols-regular-webfont.woff +0 -0
- data/lib/compass-recipes.rb +3 -0
- data/lib/compass-recipes/sass_extensions.rb +13 -0
- data/lib/compass-recipes/sass_extensions/_error.rb +9 -0
- data/lib/compass-recipes/sass_extensions/background_noise.rb +48 -0
- data/lib/compass-recipes/sass_extensions/gravatar.rb +60 -0
- data/lib/compass-recipes/sass_extensions/highres.rb +31 -0
- data/lib/compass-recipes/sass_extensions/math.rb +8 -0
- data/stylesheets/_recipes.scss +7 -3
- data/stylesheets/recipes/_animation.scss +3 -0
- data/stylesheets/recipes/_background.scss +15 -0
- data/stylesheets/recipes/_base.scss +1 -0
- data/stylesheets/recipes/_color.scss +171 -0
- data/stylesheets/recipes/_effect.scss +6 -1
- data/stylesheets/recipes/_font.scss +32 -0
- data/stylesheets/recipes/_google-webfont.scss +15 -0
- data/stylesheets/recipes/_icon-font.scss +224 -0
- data/stylesheets/recipes/_icons.scss +15 -10
- data/stylesheets/recipes/_media-queries.scss +72 -0
- data/stylesheets/recipes/_shared.scss +5 -4
- data/stylesheets/recipes/_ui.scss +5 -2
- data/stylesheets/recipes/animation/_animation.scss +145 -0
- data/stylesheets/recipes/animation/_fade.scss +29 -0
- data/stylesheets/recipes/animation/_keyframes.scss +17 -0
- data/stylesheets/recipes/animation/_timing-function.scss +29 -0
- data/stylesheets/recipes/background/_blueprint-grid.scss +52 -0
- data/stylesheets/recipes/background/_carbon-fiber.scss +33 -0
- data/stylesheets/recipes/background/_checkerboard.scss +61 -0
- data/stylesheets/recipes/background/_cicada.scss +42 -0
- data/stylesheets/recipes/background/_gradients.scss +81 -0
- data/stylesheets/recipes/background/_houndstooth.scss +51 -0
- data/stylesheets/recipes/background/_lined-paper.scss +30 -0
- data/stylesheets/recipes/background/_madras.scss +84 -0
- data/stylesheets/recipes/background/_noise.scss +47 -0
- data/stylesheets/recipes/background/_polka-dot.scss +28 -0
- data/stylesheets/recipes/background/_radial-overlay.scss +15 -0
- data/stylesheets/recipes/background/_rainbow.scss +27 -0
- data/stylesheets/recipes/background/_stripes.scss +46 -0
- data/stylesheets/recipes/background/_tablecloth.scss +30 -0
- data/stylesheets/recipes/background/_tartan.scss +81 -0
- data/stylesheets/recipes/base/_normalize.scss +455 -0
- data/stylesheets/recipes/color/_name.scss +151 -0
- data/stylesheets/recipes/effect/_bevel.scss +37 -0
- data/stylesheets/recipes/effect/_corner-folded.scss +26 -0
- data/stylesheets/recipes/effect/_corners-tucked.scss +48 -0
- data/stylesheets/recipes/effect/_cutout.scss +20 -0
- data/stylesheets/recipes/{enhancement/_corner-folded.scss → effect/_folded-corner.scss} +7 -1
- data/stylesheets/recipes/effect/_glass.scss +22 -9
- data/stylesheets/recipes/effect/_ribbon-tied.scss +133 -0
- data/stylesheets/recipes/effect/_ribbon.scss +102 -0
- data/stylesheets/recipes/effect/_scatter.scss +22 -0
- data/stylesheets/recipes/effect/_tape.scss +43 -0
- data/stylesheets/recipes/helper/_gravatar.scss +79 -0
- data/stylesheets/recipes/layout/_flexible-box-model.scss +68 -0
- data/stylesheets/recipes/shadow/_drop.scss +1 -1
- data/stylesheets/recipes/shadow/_top-edge.scss +1 -1
- data/stylesheets/recipes/shadow/drop/_curved.scss +5 -3
- data/stylesheets/recipes/shadow/drop/_flying.scss +12 -20
- data/stylesheets/recipes/shadow/drop/_transform-requirement.scss +3 -1
- data/stylesheets/recipes/shape/_polygon.scss +1 -0
- data/stylesheets/recipes/shape/_symbol.scss +5 -1
- data/stylesheets/recipes/shape/polygon/_rhombus.scss +10 -0
- data/stylesheets/recipes/shape/polygon/_star.scss +97 -29
- data/stylesheets/recipes/shape/polygon/_triangle.scss +9 -4
- data/stylesheets/recipes/shape/symbol/_diamond.scss +33 -0
- data/stylesheets/recipes/shape/symbol/_egg.scss +13 -0
- data/stylesheets/recipes/shape/symbol/_heart.scss +2 -1
- data/stylesheets/recipes/shape/symbol/_infinity.scss +3 -1
- data/stylesheets/recipes/shape/symbol/_pacman.scss +18 -0
- data/stylesheets/recipes/shape/symbol/_yin-yang.scss +49 -0
- data/stylesheets/recipes/shared/_clearfix.scss +28 -14
- data/stylesheets/recipes/shared/_pseudo-element.scss +13 -4
- data/stylesheets/recipes/shared/_user-select.scss +6 -0
- data/stylesheets/recipes/ui/_button.scss +122 -0
- data/stylesheets/recipes/ui/_convex.scss +8 -1
- data/stylesheets/recipes/ui/_glossy.scss +13 -12
- data/stylesheets/recipes/ui/_gradient.scss +4 -0
- data/stylesheets/recipes/ui/_helper.scss +1 -0
- data/stylesheets/recipes/ui/_keyboard.scss +106 -0
- data/stylesheets/recipes/ui/_menu.scss +1 -0
- data/stylesheets/recipes/ui/_overlay.scss +22 -0
- data/stylesheets/recipes/ui/_separator.scss +37 -0
- data/stylesheets/recipes/ui/border/_bevel.scss +3 -0
- data/stylesheets/recipes/ui/button/_state-selectors.scss +40 -0
- data/stylesheets/recipes/ui/button/style/_default.scss +12 -0
- data/stylesheets/recipes/ui/button/style/todo/_bonbon.scss +489 -0
- data/stylesheets/recipes/ui/button/style/todo/_bourbon.scss +169 -0
- data/stylesheets/recipes/ui/button/style/todo/_fancy.sass +178 -0
- data/stylesheets/recipes/ui/button/style/todo/_necolas-animated.scss +81 -0
- data/stylesheets/recipes/ui/button/style/todo/_ubuwaits.scss +654 -0
- data/stylesheets/recipes/ui/helper/_arrow.scss +72 -0
- data/stylesheets/recipes/ui/helper/_tag.scss +14 -0
- data/stylesheets/recipes/ui/loader/_pulse.scss +124 -0
- data/stylesheets/recipes/ui/{_menu-dropdown.scss → menu/_dropdown.scss} +11 -3
- data/templates/gravatar/getElementsByClassName.js +23 -0
- data/templates/gravatar/gravatar.js +117 -0
- data/templates/gravatar/manifest.rb +19 -0
- data/templates/gravatar/md5.js +14 -0
- data/templates/icon-fonts/fonts/icons/entypo/entypo-webfont.eot +0 -0
- data/templates/icon-fonts/fonts/icons/entypo/entypo-webfont.svg +198 -0
- data/templates/icon-fonts/fonts/icons/entypo/entypo-webfont.ttf +0 -0
- data/templates/icon-fonts/fonts/icons/entypo/entypo-webfont.woff +0 -0
- data/templates/icon-fonts/fonts/icons/heydings-controls/SIL Open Font License 1.1.txt +91 -0
- data/templates/icon-fonts/fonts/icons/heydings-controls/demo.html +33 -0
- data/templates/icon-fonts/fonts/icons/heydings-controls/heydings_controls-webfont.eot +0 -0
- data/templates/icon-fonts/fonts/icons/heydings-controls/heydings_controls-webfont.svg +85 -0
- data/templates/icon-fonts/fonts/icons/heydings-controls/heydings_controls-webfont.ttf +0 -0
- data/templates/icon-fonts/fonts/icons/heydings-controls/heydings_controls-webfont.woff +0 -0
- data/templates/icon-fonts/fonts/icons/heydings-controls/stylesheet.css +16 -0
- data/templates/icon-fonts/fonts/icons/heydings/SIL Open Font License 1.1.txt +91 -0
- data/templates/icon-fonts/fonts/icons/heydings/demo.html +33 -0
- data/templates/icon-fonts/fonts/icons/heydings/heydings_icons-webfont.eot +0 -0
- data/templates/icon-fonts/fonts/icons/heydings/heydings_icons-webfont.svg +94 -0
- data/templates/icon-fonts/fonts/icons/heydings/heydings_icons-webfont.ttf +0 -0
- data/templates/icon-fonts/fonts/icons/heydings/heydings_icons-webfont.woff +0 -0
- data/templates/icon-fonts/fonts/icons/heydings/stylesheet.css +16 -0
- data/templates/icon-fonts/fonts/icons/icomoon/License.txt +1 -0
- data/templates/icon-fonts/fonts/icons/icomoon/Read Me.txt +5 -0
- data/templates/icon-fonts/fonts/icons/icomoon/icomoon.eot +0 -0
- data/templates/icon-fonts/fonts/icons/icomoon/icomoon.svg +35 -0
- data/templates/icon-fonts/fonts/icons/icomoon/icomoon.ttf +0 -0
- data/templates/icon-fonts/fonts/icons/icomoon/icomoon.woff +0 -0
- data/templates/icon-fonts/fonts/icons/iconic/SIL Open Font License 1.1.txt +91 -0
- data/templates/icon-fonts/fonts/icons/iconic/demo.html +38 -0
- data/templates/icon-fonts/fonts/icons/iconic/iconic_fill.eot +0 -0
- data/templates/icon-fonts/fonts/icons/iconic/iconic_fill.svg +475 -0
- data/templates/icon-fonts/fonts/icons/iconic/iconic_fill.ttf +0 -0
- data/templates/icon-fonts/fonts/icons/iconic/iconic_fill.woff +0 -0
- data/templates/icon-fonts/fonts/icons/iconic/iconic_stroke.eot +0 -0
- data/templates/icon-fonts/fonts/icons/iconic/iconic_stroke.svg +492 -0
- data/templates/icon-fonts/fonts/icons/iconic/iconic_stroke.ttf +0 -0
- data/templates/icon-fonts/fonts/icons/iconic/iconic_stroke.woff +0 -0
- data/templates/icon-fonts/fonts/icons/iconic/stylesheet.css +28 -0
- data/templates/icon-fonts/fonts/icons/modern-pictograms/Modern Pictograms SIL OFL Font License 1.1.txt +94 -0
- data/templates/icon-fonts/fonts/icons/modern-pictograms/demo.html +33 -0
- data/templates/icon-fonts/fonts/icons/modern-pictograms/modernpics-webfont.eot +0 -0
- data/templates/icon-fonts/fonts/icons/modern-pictograms/modernpics-webfont.svg +136 -0
- data/templates/icon-fonts/fonts/icons/modern-pictograms/modernpics-webfont.ttf +0 -0
- data/templates/icon-fonts/fonts/icons/modern-pictograms/modernpics-webfont.woff +0 -0
- data/templates/icon-fonts/fonts/icons/modern-pictograms/stylesheet.css +16 -0
- data/templates/icon-fonts/fonts/icons/socialico/FFF_EULA_license.pdf +0 -0
- data/templates/icon-fonts/fonts/icons/socialico/Socialico-webfont.otf +0 -0
- data/templates/icon-fonts/fonts/icons/socialico/socialico-webfont.eot +0 -0
- data/templates/icon-fonts/fonts/icons/socialico/socialico-webfont.svg +123 -0
- data/templates/icon-fonts/fonts/icons/socialico/socialico-webfont.ttf +0 -0
- data/templates/icon-fonts/fonts/icons/socialico/socialico-webfont.woff +0 -0
- data/templates/icon-fonts/fonts/icons/websymbols/OFL-FAQ.txt +369 -0
- data/templates/icon-fonts/fonts/icons/websymbols/OFL.txt +97 -0
- data/templates/icon-fonts/fonts/icons/websymbols/websymbols-regular-webfont.eot +0 -0
- data/templates/icon-fonts/fonts/icons/websymbols/websymbols-regular-webfont.svg +108 -0
- data/templates/icon-fonts/fonts/icons/websymbols/websymbols-regular-webfont.ttf +0 -0
- data/templates/icon-fonts/fonts/icons/websymbols/websymbols-regular-webfont.woff +0 -0
- data/templates/icon-fonts/manifest.rb +17 -0
- metadata +225 -20
- data/stylesheets/recipes/_enhancement.scss +0 -1
- data/stylesheets/recipes/_pattern.scss +0 -0
@@ -0,0 +1,151 @@
|
|
1
|
+
//
|
2
|
+
// Colors name definitions
|
3
|
+
//
|
4
|
+
|
5
|
+
$aliceblue:#f0f8ff;
|
6
|
+
$antiquewhite:#faebd7;
|
7
|
+
$aqua:#00ffff;
|
8
|
+
$aquamarine:#7fffd4;
|
9
|
+
$azure:#f0ffff;
|
10
|
+
$beige:#f5f5dc;
|
11
|
+
$bisque:#ffe4c4;
|
12
|
+
$black:#000000;
|
13
|
+
$blanchedalmond:#ffebcd;
|
14
|
+
$blue:#0000ff;
|
15
|
+
$blueviolet:#8a2be2;
|
16
|
+
$brown:#a52a2a;
|
17
|
+
$burlywood:#deb887;
|
18
|
+
$cadetblue:#5f9ea0;
|
19
|
+
$chartreuse:#7fff00;
|
20
|
+
$chocolate:#d2691e;
|
21
|
+
$coral:#ff7f50;
|
22
|
+
$cornflowerblue:#6495ed;
|
23
|
+
$cornsilk:#fff8dc;
|
24
|
+
$crimson:#dc143c;
|
25
|
+
$cyan:#00ffff;
|
26
|
+
$darkblue:#00008b;
|
27
|
+
$darkcyan:#008b8b;
|
28
|
+
$darkgoldenrod:#b8860b;
|
29
|
+
$darkgray:#a9a9a9;
|
30
|
+
$darkgrey:#a9a9a9;
|
31
|
+
$darkgreen:#006400;
|
32
|
+
$darkkhaki:#bdb76b;
|
33
|
+
$darkmagenta:#8b008b;
|
34
|
+
$darkolivegreen:#556b2f;
|
35
|
+
$darkorange:#ff8c00;
|
36
|
+
$darkorchid:#9932cc;
|
37
|
+
$darkred:#8b0000;
|
38
|
+
$darksalmon:#e9967a;
|
39
|
+
$darkseagreen:#8fbc8f;
|
40
|
+
$darkslateblue:#483d8b;
|
41
|
+
$darkslategray:#2f4f4f;
|
42
|
+
$darkslategrey:#2f4f4f;
|
43
|
+
$darkturquoise:#00ced1;
|
44
|
+
$darkviolet:#9400d3;
|
45
|
+
$deeppink:#ff1493;
|
46
|
+
$deepskyblue:#00bfff;
|
47
|
+
$dimgray:#696969;
|
48
|
+
$dimgrey:#696969;
|
49
|
+
$dodgerblue:#1e90ff;
|
50
|
+
$firebrick:#b22222;
|
51
|
+
$floralwhite:#fffaf0;
|
52
|
+
$forestgreen:#228b22;
|
53
|
+
$fuchsia:#ff00ff;
|
54
|
+
$gainsboro:#dcdcdc;
|
55
|
+
$ghostwhite:#f8f8ff;
|
56
|
+
$gold:#ffd700;
|
57
|
+
$goldenrod:#daa520;
|
58
|
+
$gray:#808080;
|
59
|
+
$grey:#808080;
|
60
|
+
$green:#008000;
|
61
|
+
$greenyellow:#adff2f;
|
62
|
+
$honeydew:#f0fff0;
|
63
|
+
$hotpink:#ff69b4;
|
64
|
+
$indianred:#cd5c5c;
|
65
|
+
$indigo:#4b0082;
|
66
|
+
$ivory:#fffff0;
|
67
|
+
$khaki:#f0e68c;
|
68
|
+
$lavender:#e6e6fa;
|
69
|
+
$lavenderblush:#fff0f5;
|
70
|
+
$lawngreen:#7cfc00;
|
71
|
+
$lemonchiffon:#fffacd;
|
72
|
+
$lightblue:#add8e6;
|
73
|
+
$lightcoral:#f08080;
|
74
|
+
$lightcyan:#e0ffff;
|
75
|
+
$lightgoldenrodyellow:#fafad2;
|
76
|
+
$lightgreen:#90ee90;
|
77
|
+
$lightgray:#d3d3d3;
|
78
|
+
$lightgrey:#d3d3d3;
|
79
|
+
$lightpink:#ffb6c1;
|
80
|
+
$lightsalmon:#ffa07a;
|
81
|
+
$lightseagreen:#20b2aa;
|
82
|
+
$lightskyblue:#87cefa;
|
83
|
+
$lightslategray:#778899;
|
84
|
+
$lightslategrey:#778899;
|
85
|
+
$lightsteelblue:#b0c4de;
|
86
|
+
$lightyellow:#ffffe0;
|
87
|
+
$lime:#00ff00;
|
88
|
+
$limegreen:#32cd32;
|
89
|
+
$linen:#faf0e6;
|
90
|
+
$magenta:#ff00ff;
|
91
|
+
$maroon:#800000;
|
92
|
+
$mediumaquamarine:#66cdaa;
|
93
|
+
$mediumblue:#0000cd;
|
94
|
+
$mediumorchid:#ba55d3;
|
95
|
+
$mediumpurple:#9370db;
|
96
|
+
$mediumseagreen:#3cb371;
|
97
|
+
$mediumslateblue:#7b68ee;
|
98
|
+
$mediumspringgreen:#00fa9a;
|
99
|
+
$mediumturquoise:#48d1cc;
|
100
|
+
$mediumvioletred:#c71585;
|
101
|
+
$midnightblue:#191970;
|
102
|
+
$mintcream:#f5fffa;
|
103
|
+
$mistyrose:#ffe4e1;
|
104
|
+
$moccasin:#ffe4b5;
|
105
|
+
$navajowhite:#ffdead;
|
106
|
+
$navy:#000080;
|
107
|
+
$oldlace:#fdf5e6;
|
108
|
+
$olive:#808000;
|
109
|
+
$olivedrab:#6b8e23;
|
110
|
+
$orange:#ffa500;
|
111
|
+
$orangered:#ff4500;
|
112
|
+
$orchid:#da70d6;
|
113
|
+
$palegoldenrod:#eee8aa;
|
114
|
+
$palegreen:#98fb98;
|
115
|
+
$paleturquoise:#afeeee;
|
116
|
+
$palevioletred:#db7093;
|
117
|
+
$papayawhip:#ffefd5;
|
118
|
+
$peachpuff:#ffdab9;
|
119
|
+
$peru:#cd853f;
|
120
|
+
$pink:#ffc0cb;
|
121
|
+
$plum:#dda0dd;
|
122
|
+
$powderblue:#b0e0e6;
|
123
|
+
$purple:#800080;
|
124
|
+
$red:#ff0000;
|
125
|
+
$rosybrown:#bc8f8f;
|
126
|
+
$royalblue:#4169e1;
|
127
|
+
$saddlebrown:#8b4513;
|
128
|
+
$salmon:#fa8072;
|
129
|
+
$sandybrown:#f4a460;
|
130
|
+
$seagreen:#2e8b57;
|
131
|
+
$seashell:#fff5ee;
|
132
|
+
$sienna:#a0522d;
|
133
|
+
$silver:#c0c0c0;
|
134
|
+
$skyblue:#87ceeb;
|
135
|
+
$slateblue:#6a5acd;
|
136
|
+
$slategray:#708090;
|
137
|
+
$slategrey:#708090;
|
138
|
+
$snow:#fffafa;
|
139
|
+
$springgreen:#00ff7f;
|
140
|
+
$steelblue:#4682b4;
|
141
|
+
$tan:#d2b48c;
|
142
|
+
$teal:#008080;
|
143
|
+
$thistle:#d8bfd8;
|
144
|
+
$tomato:#ff6347;
|
145
|
+
$turquoise:#40e0d0;
|
146
|
+
$violet:#ee82ee;
|
147
|
+
$wheat:#f5deb3;
|
148
|
+
$white:#ffffff;
|
149
|
+
$whitesmoke:#f5f5f5;
|
150
|
+
$yellow:#ffff00;
|
151
|
+
$yellowgreen:#9acd32;
|
@@ -0,0 +1,37 @@
|
|
1
|
+
$bevel-base-color: rgba(#333, .5) !default;
|
2
|
+
$bevel-size: 5px !default;
|
3
|
+
$bevel-contrast: 8% !default;
|
4
|
+
$bevel-border-width: 1px !default;
|
5
|
+
$bevel-blur: 0 !default;
|
6
|
+
|
7
|
+
@mixin bevel
|
8
|
+
{
|
9
|
+
@include bevel-border;
|
10
|
+
@include bevel-shadow;
|
11
|
+
}
|
12
|
+
|
13
|
+
@mixin bevel-border(
|
14
|
+
$base-color: $bevel-base-color,
|
15
|
+
$border-width: $bevel-border-width,
|
16
|
+
$contrast: $bevel-contrast
|
17
|
+
)
|
18
|
+
{
|
19
|
+
border: $border-width solid $base-color;
|
20
|
+
border-top-color: lighten($base-color, $contrast);
|
21
|
+
border-bottom-color: darken($base-color, $contrast);
|
22
|
+
}
|
23
|
+
|
24
|
+
// @todo: $direction
|
25
|
+
|
26
|
+
@mixin bevel-shadow(
|
27
|
+
$size: $bevel-size,
|
28
|
+
$blur: $bevel-blur
|
29
|
+
)
|
30
|
+
{
|
31
|
+
@include box-shadow(
|
32
|
+
inset 0 0 (1px + $blur) rgba(#000, .8),
|
33
|
+
inset 0 2px $blur rgba(#fff, .5),
|
34
|
+
inset 0 (-$size) $blur rgba(#000, .6),
|
35
|
+
inset 0 (-$size - 1px - $blur) $blur rgba(#fff, .3)
|
36
|
+
);
|
37
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
/**
|
2
|
+
* Corner folded with pure CSS
|
3
|
+
*
|
4
|
+
* Known support: Firefox 3.5+, Chrome 4+, Safari 4+, Opera 10+, IE 9+.
|
5
|
+
* IE8 is not supported because it not render properly box-shadow and
|
6
|
+
* pseudo element should be selected with ::element and not :element
|
7
|
+
*
|
8
|
+
* @thanks Nicolas Gallagher @necolas
|
9
|
+
* @link http://nicolasgallagher.com/pure-css-folded-corner-effect/demo/
|
10
|
+
* @todo Nix in .4
|
11
|
+
*/
|
12
|
+
|
13
|
+
@import "recipes/effect/folded-corner";
|
14
|
+
|
15
|
+
@mixin effect-corner-folded(
|
16
|
+
$position: top-right,
|
17
|
+
$color: #ddd,
|
18
|
+
$background-color: #fff,
|
19
|
+
$width: 1em,
|
20
|
+
$border-radius: .3em,
|
21
|
+
$box-shadow: rgba(0, 0, 0, .3) 0 0 .6em)
|
22
|
+
{
|
23
|
+
@warn 'Deprecated, please use folded-corner mixin instead.';
|
24
|
+
|
25
|
+
@include folded-corner($position, $color, $background-color, $width, $border-radius, $box-shadow);
|
26
|
+
}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
/**
|
2
|
+
* CSS3 Tucked Corners effect
|
3
|
+
*
|
4
|
+
* @thanks Chris Coyier @chriscoyier
|
5
|
+
* @link http://css-tricks.com/snippets/css/tucked-corners/
|
6
|
+
* @author Mason Wendell http://thecodingdesigner.com
|
7
|
+
*
|
8
|
+
*/
|
9
|
+
|
10
|
+
// $tape-color: the background css property
|
11
|
+
// $inner-element: the selector for the inner element (for bottom corners)
|
12
|
+
@mixin corners-tucked($tape-color: white, $height: 50px, $width: 100px, $inner-element: "span.bottom-corners") {
|
13
|
+
position: relative;
|
14
|
+
@include box-sizing(border-box);
|
15
|
+
&:after, &:before, #{$inner-element}:after, #{$inner-element}:before {
|
16
|
+
position: absolute;
|
17
|
+
content: "";
|
18
|
+
z-index: 10;
|
19
|
+
background: $tape-color;
|
20
|
+
height: $height;
|
21
|
+
width: $width;
|
22
|
+
@include box-shadow(rgba(black, 0.5) 0 6px 9px -8px); }
|
23
|
+
&:after {
|
24
|
+
top: -($height * 0.5);
|
25
|
+
left: -($width * 0.5);
|
26
|
+
@include rotate(-45deg); }
|
27
|
+
&:before {
|
28
|
+
top: -($height * 0.5);
|
29
|
+
right: -($width * 0.5);
|
30
|
+
@include rotate(45deg); }
|
31
|
+
#{$inner-element} {
|
32
|
+
display: block;
|
33
|
+
position: relative;
|
34
|
+
width: 100%;
|
35
|
+
@include box-sizing(border-box);
|
36
|
+
&:after {
|
37
|
+
bottom: -($height * 0.5);
|
38
|
+
left: -($width * 0.5);
|
39
|
+
@include rotate(-135deg); }
|
40
|
+
&:before {
|
41
|
+
bottom: -($height * 0.5);
|
42
|
+
right: -($width * 0.5);
|
43
|
+
@include rotate(135deg); } } }
|
44
|
+
|
45
|
+
|
46
|
+
@mixin corners-taped($tape-color: rgba(white, 0.5), $height: 50px, $width: 100px, $inner-element: "span.bottom-corners") {
|
47
|
+
@include corners-tucked($tape-color, $height, $width, $inner-element);
|
48
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
$cutout-size: 5px !default;
|
2
|
+
$cutout-blur: 5px !default;
|
3
|
+
|
4
|
+
@mixin cutout(
|
5
|
+
$size: 5px,
|
6
|
+
$blur: 5px
|
7
|
+
)
|
8
|
+
{
|
9
|
+
@include box-shadow(cutout($size, $blur))
|
10
|
+
}
|
11
|
+
|
12
|
+
@function cutout(
|
13
|
+
$depth: 5px,
|
14
|
+
$blur: 5px
|
15
|
+
) {
|
16
|
+
@return
|
17
|
+
0 1px 0 rgba(255,255,255,.2),
|
18
|
+
inset 0 $depth ($blur) rgba(0,0,0,.6),
|
19
|
+
inset 0 1px $blur rgba(0,0,0,.6)
|
20
|
+
}
|
@@ -11,7 +11,13 @@
|
|
11
11
|
|
12
12
|
@import "recipes/shared/pseudo-element";
|
13
13
|
|
14
|
-
@mixin
|
14
|
+
@mixin folded-corner (
|
15
|
+
$position: top-right,
|
16
|
+
$color: #ddd,
|
17
|
+
$background-color: #fff,
|
18
|
+
$width: 1em,
|
19
|
+
$border-radius: .3em,
|
20
|
+
$box-shadow: rgba(0, 0, 0, .3) 0 0 .6em)
|
15
21
|
{
|
16
22
|
position: relative;
|
17
23
|
overflow: hidden;
|
@@ -2,25 +2,38 @@
|
|
2
2
|
* Glass effect
|
3
3
|
* Use this on image for better effect render
|
4
4
|
*
|
5
|
-
* Inspired from Simurai's
|
5
|
+
* Inspired from Simurai's IMDB redisign
|
6
6
|
*
|
7
7
|
* @link http://lab.simurai.com/redesign/imdb
|
8
8
|
* @thanks Simurai @simurai
|
9
9
|
*/
|
10
|
-
|
10
|
+
|
11
|
+
@import '../shared/pseudo-element';
|
12
|
+
|
13
|
+
@mixin effect-glass(
|
14
|
+
$color: #fff,
|
15
|
+
$reflectDegree: -45deg,
|
16
|
+
$border-radius: 4px
|
17
|
+
)
|
11
18
|
{
|
12
19
|
position: relative;
|
13
20
|
@include border-radius($border-radius);
|
14
21
|
|
15
|
-
&:
|
22
|
+
&:after
|
16
23
|
{
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
24
|
+
@include pseudo-element($width: auto);
|
25
|
+
overflow: hidden;
|
26
|
+
top: 0;
|
27
|
+
right: 0;
|
28
|
+
bottom: 0;
|
29
|
+
left: 0;
|
21
30
|
border: transparent solid 1px;
|
22
31
|
@include border-radius($border-radius);
|
23
|
-
@include box-shadow(
|
24
|
-
|
32
|
+
@include box-shadow(
|
33
|
+
inset $color 0 0 2px,
|
34
|
+
inset rgba($color,.4) 0 5px 10px
|
35
|
+
);
|
36
|
+
@include background(
|
37
|
+
linear-gradient($reflectDegree, rgba($color,.12) 50%, rgba($color, 0) 50.5% ));
|
25
38
|
}
|
26
39
|
}
|
@@ -0,0 +1,133 @@
|
|
1
|
+
// <div class="tied"><span class="ribbon-bump"><span class="ribbon-band">Hi There</span></span></div>
|
2
|
+
// .tied { @include effect-ribbon-tied() }
|
3
|
+
|
4
|
+
@mixin effect-ribbon-tied($ribbon-bump: '.ribbon-bump', $ribbon-band: '.ribbon-band')
|
5
|
+
{
|
6
|
+
// http://jsfiddle.net/Calou/juQ9n/
|
7
|
+
div {
|
8
|
+
width: 500px;
|
9
|
+
height: 200px;
|
10
|
+
background-color: #ded8c5;
|
11
|
+
margin: 0 auto;
|
12
|
+
padding: 20px 0px;
|
13
|
+
-webkit-transition: .2s;
|
14
|
+
}
|
15
|
+
|
16
|
+
& {
|
17
|
+
position: relative;
|
18
|
+
width: 100%;
|
19
|
+
margin: 0;
|
20
|
+
}
|
21
|
+
|
22
|
+
&:before,
|
23
|
+
& #{$ribbon-bump}:before {
|
24
|
+
content: '';
|
25
|
+
position: absolute;
|
26
|
+
bottom: -23px;
|
27
|
+
border: 24px solid #c45045;
|
28
|
+
}
|
29
|
+
|
30
|
+
&:before {
|
31
|
+
left: -54px;
|
32
|
+
border-left-color: transparent;
|
33
|
+
-webkit-transform: rotate(-16deg);
|
34
|
+
}
|
35
|
+
.oldie &:before {
|
36
|
+
left: -48px;
|
37
|
+
}
|
38
|
+
|
39
|
+
& #{$ribbon-bump}:before {
|
40
|
+
right: -54px;
|
41
|
+
border-right-color: transparent;
|
42
|
+
-webkit-transform: rotate(16deg);
|
43
|
+
z-index: -1;
|
44
|
+
}
|
45
|
+
.oldie & #{$ribbon-bump}:before {
|
46
|
+
right: -48px;
|
47
|
+
}
|
48
|
+
|
49
|
+
& #{$ribbon-bump}:after,
|
50
|
+
& #{$ribbon-band}:after {
|
51
|
+
content: '';
|
52
|
+
position: absolute;
|
53
|
+
border-style: solid;
|
54
|
+
bottom: -16px;
|
55
|
+
z-index: 0;
|
56
|
+
}
|
57
|
+
|
58
|
+
& #{$ribbon-bump}:after {
|
59
|
+
right: -16px;
|
60
|
+
border-color: transparent transparent transparent #a33d33;
|
61
|
+
border-width: 0 0 16px 16px;
|
62
|
+
}
|
63
|
+
|
64
|
+
& #{$ribbon-band}:after {
|
65
|
+
left: 0;
|
66
|
+
border-color: transparent #a33d33 transparent transparent;
|
67
|
+
border-width: 0 16px 16px 0;
|
68
|
+
}
|
69
|
+
|
70
|
+
& #{$ribbon-band} {
|
71
|
+
display: block;
|
72
|
+
position: relative;
|
73
|
+
width: 100%;
|
74
|
+
left: -16px;
|
75
|
+
padding: 0 16px 16px;
|
76
|
+
background: #d0726a;
|
77
|
+
|
78
|
+
background-image: -webkit-linear-gradient(#d0726a, #c7574d);
|
79
|
+
|
80
|
+
-webkit-border-top-left-radius: 50% 16px;
|
81
|
+
-webkit-border-top-right-radius: 50% 16px;
|
82
|
+
|
83
|
+
text-align: center;
|
84
|
+
font: 28px/48px Museo, cursive;
|
85
|
+
font-weight: 700;
|
86
|
+
text-decoration: none;
|
87
|
+
text-transform: upperppercase;
|
88
|
+
color: #fff;
|
89
|
+
text-shadow: 0 1px 1px rgba(163, 61, 51, .8), 0 2px 1px rgba(163, 61, 51, .6);
|
90
|
+
}
|
91
|
+
.oldie & #{$ribbon-band} {
|
92
|
+
padding: 0 16px;
|
93
|
+
*left: 0px;
|
94
|
+
*padding: 0;
|
95
|
+
|
96
|
+
}
|
97
|
+
|
98
|
+
& #{$ribbon-band} {
|
99
|
+
left: 0;
|
100
|
+
margin: 0 -16px;
|
101
|
+
width: auto;
|
102
|
+
}
|
103
|
+
|
104
|
+
& #{$ribbon-band}::selection { background-color: #a33d33; }
|
105
|
+
& #{$ribbon-band}::-moz-selection { background-color: #a33d33; }
|
106
|
+
|
107
|
+
& #{$ribbon-band}:before,
|
108
|
+
&:after {
|
109
|
+
content: '';
|
110
|
+
position: absolute;
|
111
|
+
height: 16px;
|
112
|
+
left: 0;
|
113
|
+
bottom: 0;
|
114
|
+
-webkit-border-top-left-radius: 50% 16px;
|
115
|
+
-webkit-border-top-right-radius: 50% 16px;
|
116
|
+
box-shadow: #{$ribbon-bump}nset 0 2px 3px rgba(0, 0, 0, .3);
|
117
|
+
}
|
118
|
+
.oldie & #{$ribbon-band}:before,
|
119
|
+
.oldie &:after {
|
120
|
+
content: none;
|
121
|
+
}
|
122
|
+
|
123
|
+
& #{$ribbon-band}:before {
|
124
|
+
width: 100%;
|
125
|
+
background: #a33d33;
|
126
|
+
}
|
127
|
+
|
128
|
+
&:after {
|
129
|
+
width: 100%;
|
130
|
+
background: #ded8c5;
|
131
|
+
z-index: 1;
|
132
|
+
}
|
133
|
+
}
|