sempli-website-lib 5.3.2 → 5.3.4-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -3
- package/styles/master-app.scss +10 -10
- package/styles/master-landing.scss +10 -10
- package/styles/modules/_functions.scss +2 -2
- package/styles/vendor/_animate.scss +3 -0
- package/styles/vendor/_compass.scss +4 -0
- package/styles/vendor/_lemonade.scss +38 -0
- package/styles/vendor/_modules_export.scss +10 -10
- package/styles/vendor/animation/_animate.scss +31 -0
- package/styles/vendor/animation/_core.scss +127 -0
- package/styles/vendor/animation/_shared.scss +22 -0
- package/styles/vendor/animation/animate/_attention-seekers.scss +152 -0
- package/styles/vendor/animation/animate/_bouncing.scss +3 -0
- package/styles/vendor/animation/animate/_classes.scss +21 -0
- package/styles/vendor/animation/animate/_fading.scss +3 -0
- package/styles/vendor/animation/animate/_flippers.scss +87 -0
- package/styles/vendor/animation/animate/_lightspeed.scss +24 -0
- package/styles/vendor/animation/animate/_rotating.scss +3 -0
- package/styles/vendor/animation/animate/_specials.scss +42 -0
- package/styles/vendor/animation/animate/bouncing/_bouncing-entrances.scss +68 -0
- package/styles/vendor/animation/animate/bouncing/_bouncing-exits.scss +60 -0
- package/styles/vendor/animation/animate/fading/_fading-entrances.scss +86 -0
- package/styles/vendor/animation/animate/fading/_fading-exits.scss +86 -0
- package/styles/vendor/animation/animate/rotating/_rotating-entrances.scss +58 -0
- package/styles/vendor/animation/animate/rotating/_rotating-exits.scss +58 -0
- package/styles/vendor/compass/_css3.scss +22 -0
- package/styles/vendor/compass/_functions.scss +7 -0
- package/styles/vendor/compass/_layout.scss +3 -0
- package/styles/vendor/compass/_reset-legacy.scss +3 -0
- package/styles/vendor/compass/_reset.scss +3 -0
- package/styles/vendor/compass/_support.scss +40 -0
- package/styles/vendor/compass/_typography.scss +4 -0
- package/styles/vendor/compass/_utilities.scss +9 -0
- package/styles/vendor/compass/css3/_animation.scss +2 -0
- package/styles/vendor/compass/css3/_appearance.scss +16 -0
- package/styles/vendor/compass/css3/_background-clip.scss +43 -0
- package/styles/vendor/compass/css3/_background-origin.scss +42 -0
- package/styles/vendor/compass/css3/_background-size.scss +26 -0
- package/styles/vendor/compass/css3/_border-radius.scss +130 -0
- package/styles/vendor/compass/css3/_box-shadow.scss +76 -0
- package/styles/vendor/compass/css3/_box-sizing.scss +18 -0
- package/styles/vendor/compass/css3/_box.scss +111 -0
- package/styles/vendor/compass/css3/_columns.scss +157 -0
- package/styles/vendor/compass/css3/_filter.scss +24 -0
- package/styles/vendor/compass/css3/_flexbox.scss +86 -0
- package/styles/vendor/compass/css3/_font-face.scss +48 -0
- package/styles/vendor/compass/css3/_hyphenation.scss +77 -0
- package/styles/vendor/compass/css3/_images.scss +133 -0
- package/styles/vendor/compass/css3/_inline-block.scss +22 -0
- package/styles/vendor/compass/css3/_opacity.scss +19 -0
- package/styles/vendor/compass/css3/_pie.scss +73 -0
- package/styles/vendor/compass/css3/_regions.scss +22 -0
- package/styles/vendor/compass/css3/_shared.scss +38 -0
- package/styles/vendor/compass/css3/_text-shadow.scss +88 -0
- package/styles/vendor/compass/css3/_transform-legacy.scss +87 -0
- package/styles/vendor/compass/css3/_transform.scss +598 -0
- package/styles/vendor/compass/css3/_transition.scss +222 -0
- package/styles/vendor/compass/css3/_user-interface.scss +47 -0
- package/styles/vendor/compass/functions/_colors.scss +37 -0
- package/styles/vendor/compass/functions/_constants.scss +18 -0
- package/styles/vendor/compass/functions/_cross_browser_support.scss +72 -0
- package/styles/vendor/compass/functions/_display.scss +36 -0
- package/styles/vendor/compass/functions/_font_files.scss +95 -0
- package/styles/vendor/compass/functions/_gradient_support.scss +15 -0
- package/styles/vendor/compass/functions/_lists.scss +90 -0
- package/styles/vendor/compass/layout/_grid-background.scss +178 -0
- package/styles/vendor/compass/layout/_sticky-footer.scss +23 -0
- package/styles/vendor/compass/layout/_stretching.scss +24 -0
- package/styles/vendor/compass/reset/_utilities-legacy.scss +135 -0
- package/styles/vendor/compass/reset/_utilities.scss +142 -0
- package/styles/vendor/compass/typography/_links.scss +3 -0
- package/styles/vendor/compass/typography/_lists.scss +4 -0
- package/styles/vendor/compass/typography/_text.scss +4 -0
- package/styles/vendor/compass/typography/_vertical_rhythm.scss +229 -0
- package/styles/vendor/compass/typography/links/_hover-link.scss +5 -0
- package/styles/vendor/compass/typography/links/_link-colors.scss +28 -0
- package/styles/vendor/compass/typography/links/_unstyled-link.scss +7 -0
- package/styles/vendor/compass/typography/lists/_bullets.scss +34 -0
- package/styles/vendor/compass/typography/lists/_horizontal-list.scss +61 -0
- package/styles/vendor/compass/typography/lists/_inline-block-list.scss +50 -0
- package/styles/vendor/compass/typography/lists/_inline-list.scss +44 -0
- package/styles/vendor/compass/typography/text/_ellipsis.scss +25 -0
- package/styles/vendor/compass/typography/text/_force-wrap.scss +12 -0
- package/styles/vendor/compass/typography/text/_nowrap.scss +2 -0
- package/styles/vendor/compass/typography/text/_replacement.scss +68 -0
- package/styles/vendor/compass/utilities/_color.scss +1 -0
- package/styles/vendor/compass/utilities/_general.scss +6 -0
- package/styles/vendor/compass/utilities/_links.scss +5 -0
- package/styles/vendor/compass/utilities/_lists.scss +6 -0
- package/styles/vendor/compass/utilities/_print.scss +17 -0
- package/styles/vendor/compass/utilities/_sprites.scss +2 -0
- package/styles/vendor/compass/utilities/_tables.scss +3 -0
- package/styles/vendor/compass/utilities/_text.scss +5 -0
- package/styles/vendor/compass/utilities/color/_contrast.scss +28 -0
- package/styles/vendor/compass/utilities/general/_clearfix.scss +44 -0
- package/styles/vendor/compass/utilities/general/_float.scss +30 -0
- package/styles/vendor/compass/utilities/general/_hacks.scss +46 -0
- package/styles/vendor/compass/utilities/general/_min.scss +16 -0
- package/styles/vendor/compass/utilities/general/_reset.scss +2 -0
- package/styles/vendor/compass/utilities/general/_tabs.scss +1 -0
- package/styles/vendor/compass/utilities/general/_tag-cloud.scss +18 -0
- package/styles/vendor/compass/utilities/links/_hover-link.scss +3 -0
- package/styles/vendor/compass/utilities/links/_link-colors.scss +3 -0
- package/styles/vendor/compass/utilities/links/_unstyled-link.scss +3 -0
- package/styles/vendor/compass/utilities/lists/_bullets.scss +3 -0
- package/styles/vendor/compass/utilities/lists/_horizontal-list.scss +3 -0
- package/styles/vendor/compass/utilities/lists/_inline-block-list.scss +3 -0
- package/styles/vendor/compass/utilities/lists/_inline-list.scss +3 -0
- package/styles/vendor/compass/utilities/sprites/_base.scss +66 -0
- package/styles/vendor/compass/utilities/sprites/_sprite-img.scss +79 -0
- package/styles/vendor/compass/utilities/tables/_alternating-rows-and-columns.scss +22 -0
- package/styles/vendor/compass/utilities/tables/_borders.scss +33 -0
- package/styles/vendor/compass/utilities/tables/_scaffolding.scss +9 -0
- package/styles/vendor/compass/utilities/text/_ellipsis.scss +3 -0
- package/styles/vendor/compass/utilities/text/_nowrap.scss +3 -0
- package/styles/vendor/compass/utilities/text/_replacement.scss +3 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@import "shared";
|
|
2
|
+
|
|
3
|
+
// Change the appearance for Mozilla, Webkit and possibly the future.
|
|
4
|
+
// The appearance property is currently not present in any newer CSS specification.
|
|
5
|
+
//
|
|
6
|
+
// There is no official list of accepted values, but you might check these source:
|
|
7
|
+
// Mozilla : https://developer.mozilla.org/en/CSS/-moz-appearance
|
|
8
|
+
// Webkit : http://code.google.com/p/webkit-mirror/source/browse/Source/WebCore/css/CSSValueKeywords.in?spec=svnf1aea559dcd025a8946aa7da6e4e8306f5c1b604&r=63c7d1af44430b314233fea342c3ddb2a052e365
|
|
9
|
+
// (search for 'appearance' within the page)
|
|
10
|
+
|
|
11
|
+
@mixin appearance($ap) {
|
|
12
|
+
$ap: unquote($ap);
|
|
13
|
+
@include experimental(appearance, $ap,
|
|
14
|
+
-moz, -webkit, not(-o), not(-ms), not(-khtml), official
|
|
15
|
+
);
|
|
16
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
@import "shared";
|
|
2
|
+
|
|
3
|
+
// The default value is `padding-box` -- the box model used by modern browsers.
|
|
4
|
+
//
|
|
5
|
+
// If you wish to do so, you can override the default constant with `border-box`
|
|
6
|
+
//
|
|
7
|
+
// To override to the default border-box model, use this code:
|
|
8
|
+
// $default-background-clip: border-box
|
|
9
|
+
|
|
10
|
+
$default-background-clip: padding-box !default;
|
|
11
|
+
|
|
12
|
+
// Clip the background (image and color) at the edge of the padding or border.
|
|
13
|
+
//
|
|
14
|
+
// Legal Values:
|
|
15
|
+
//
|
|
16
|
+
// * padding-box
|
|
17
|
+
// * border-box
|
|
18
|
+
// * text
|
|
19
|
+
|
|
20
|
+
@mixin background-clip($clip: $default-background-clip) {
|
|
21
|
+
// webkit and mozilla use the deprecated short [border | padding]
|
|
22
|
+
$clip: unquote($clip);
|
|
23
|
+
$deprecated: $clip;
|
|
24
|
+
@if $clip == padding-box { $deprecated: padding; }
|
|
25
|
+
@if $clip == border-box { $deprecated: border; }
|
|
26
|
+
// Support for webkit and mozilla's use of the deprecated short form
|
|
27
|
+
@include experimental(background-clip, $deprecated,
|
|
28
|
+
-moz,
|
|
29
|
+
-webkit,
|
|
30
|
+
not(-o),
|
|
31
|
+
not(-ms),
|
|
32
|
+
not(-khtml),
|
|
33
|
+
not official
|
|
34
|
+
);
|
|
35
|
+
@include experimental(background-clip, $clip,
|
|
36
|
+
not(-moz),
|
|
37
|
+
not(-webkit),
|
|
38
|
+
not(-o),
|
|
39
|
+
not(-ms),
|
|
40
|
+
-khtml,
|
|
41
|
+
official
|
|
42
|
+
);
|
|
43
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// Override `$default-background-origin` to change the default.
|
|
2
|
+
|
|
3
|
+
@import "shared";
|
|
4
|
+
|
|
5
|
+
$default-background-origin: content-box !default;
|
|
6
|
+
|
|
7
|
+
// Position the background off the edge of the padding, border or content
|
|
8
|
+
//
|
|
9
|
+
// * Possible values:
|
|
10
|
+
// * `padding-box`
|
|
11
|
+
// * `border-box`
|
|
12
|
+
// * `content-box`
|
|
13
|
+
// * browser defaults to `padding-box`
|
|
14
|
+
// * mixin defaults to `content-box`
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
@mixin background-origin($origin: $default-background-origin) {
|
|
18
|
+
$origin: unquote($origin);
|
|
19
|
+
// webkit and mozilla use the deprecated short [border | padding | content]
|
|
20
|
+
$deprecated: $origin;
|
|
21
|
+
@if $origin == padding-box { $deprecated: padding; }
|
|
22
|
+
@if $origin == border-box { $deprecated: border; }
|
|
23
|
+
@if $origin == content-box { $deprecated: content; }
|
|
24
|
+
|
|
25
|
+
// Support for webkit and mozilla's use of the deprecated short form
|
|
26
|
+
@include experimental(background-origin, $deprecated,
|
|
27
|
+
-moz,
|
|
28
|
+
-webkit,
|
|
29
|
+
not(-o),
|
|
30
|
+
not(-ms),
|
|
31
|
+
not(-khtml),
|
|
32
|
+
not official
|
|
33
|
+
);
|
|
34
|
+
@include experimental(background-origin, $origin,
|
|
35
|
+
not(-moz),
|
|
36
|
+
not(-webkit),
|
|
37
|
+
-o,
|
|
38
|
+
-ms,
|
|
39
|
+
-khtml,
|
|
40
|
+
official
|
|
41
|
+
);
|
|
42
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
@import "shared";
|
|
2
|
+
|
|
3
|
+
// override to change the default
|
|
4
|
+
$default-background-size: 100% auto !default;
|
|
5
|
+
|
|
6
|
+
// Set the size of background images using px, width and height, or percentages.
|
|
7
|
+
// Currently supported in: Opera, Gecko, Webkit.
|
|
8
|
+
//
|
|
9
|
+
// * percentages are relative to the background-origin (default = padding-box)
|
|
10
|
+
// * mixin defaults to: `$default-background-size`
|
|
11
|
+
@mixin background-size(
|
|
12
|
+
$size-1: $default-background-size,
|
|
13
|
+
$size-2: false,
|
|
14
|
+
$size-3: false,
|
|
15
|
+
$size-4: false,
|
|
16
|
+
$size-5: false,
|
|
17
|
+
$size-6: false,
|
|
18
|
+
$size-7: false,
|
|
19
|
+
$size-8: false,
|
|
20
|
+
$size-9: false,
|
|
21
|
+
$size-10: false
|
|
22
|
+
) {
|
|
23
|
+
$size-1: if(type-of($size-1) == string, unquote($size-1), $size-1);
|
|
24
|
+
$sizes: compact($size-1, $size-2, $size-3, $size-4, $size-5, $size-6, $size-7, $size-8, $size-9, $size-10);
|
|
25
|
+
@include experimental(background-size, $sizes, -moz, -webkit, -o, not(-ms), not(-khtml));
|
|
26
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
@import "shared";
|
|
2
|
+
|
|
3
|
+
$default-border-radius: 5px !default;
|
|
4
|
+
|
|
5
|
+
// Round all corners by a specific amount, defaults to value of `$default-border-radius`.
|
|
6
|
+
//
|
|
7
|
+
// When two values are passed, the first is the horizontal radius
|
|
8
|
+
// and the second is the vertical radius.
|
|
9
|
+
//
|
|
10
|
+
// Note: webkit does not support shorthand syntax for several corners at once.
|
|
11
|
+
// So in the case where you pass several values only the first will be passed to webkit.
|
|
12
|
+
//
|
|
13
|
+
// Examples:
|
|
14
|
+
//
|
|
15
|
+
// .simple { @include border-radius(4px, 4px); }
|
|
16
|
+
// .compound { @include border-radius(2px 5px, 3px 6px); }
|
|
17
|
+
// .crazy { @include border-radius(1px 3px 5px 7px, 2px 4px 6px 8px)}
|
|
18
|
+
//
|
|
19
|
+
// Which generates:
|
|
20
|
+
//
|
|
21
|
+
// .simple {
|
|
22
|
+
// -webkit-border-radius: 4px 4px;
|
|
23
|
+
// -moz-border-radius: 4px / 4px;
|
|
24
|
+
// -khtml-border-radius: 4px / 4px;
|
|
25
|
+
// border-radius: 4px / 4px; }
|
|
26
|
+
//
|
|
27
|
+
// .compound {
|
|
28
|
+
// -webkit-border-radius: 2px 3px;
|
|
29
|
+
// -moz-border-radius: 2px 5px / 3px 6px;
|
|
30
|
+
// -khtml-border-radius: 2px 5px / 3px 6px;
|
|
31
|
+
// border-radius: 2px 5px / 3px 6px; }
|
|
32
|
+
//
|
|
33
|
+
// .crazy {
|
|
34
|
+
// -webkit-border-radius: 1px 2px;
|
|
35
|
+
// -moz-border-radius: 1px 3px 5px 7px / 2px 4px 6px 8px;
|
|
36
|
+
// -khtml-border-radius: 1px 3px 5px 7px / 2px 4px 6px 8px;
|
|
37
|
+
// border-radius: 1px 3px 5px 7px / 2px 4px 6px 8px; }
|
|
38
|
+
|
|
39
|
+
@mixin border-radius($radius: $default-border-radius, $vertical-radius: false) {
|
|
40
|
+
|
|
41
|
+
@if $vertical-radius {
|
|
42
|
+
// Webkit doesn't understand the official shorthand syntax for specifying
|
|
43
|
+
// a vertical radius unless so in case there's several we only take the first.
|
|
44
|
+
@include experimental(border-radius, first-value-of($radius) first-value-of($vertical-radius),
|
|
45
|
+
not(-moz),
|
|
46
|
+
-webkit,
|
|
47
|
+
not(-o),
|
|
48
|
+
not(-ms),
|
|
49
|
+
not(-khtml),
|
|
50
|
+
not(official)
|
|
51
|
+
);
|
|
52
|
+
@include experimental("border-radius", $radius unquote("/") $vertical-radius,
|
|
53
|
+
-moz,
|
|
54
|
+
not(-webkit),
|
|
55
|
+
not(-o),
|
|
56
|
+
not(-ms),
|
|
57
|
+
-khtml,
|
|
58
|
+
official
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
@else {
|
|
62
|
+
@include experimental(border-radius, $radius);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// Round radius at position by amount.
|
|
67
|
+
//
|
|
68
|
+
// * legal values for `$vert`: `top`, `bottom`
|
|
69
|
+
// * legal values for `$horz`: `left`, `right`
|
|
70
|
+
|
|
71
|
+
@mixin border-corner-radius($vert, $horz, $radius: $default-border-radius) {
|
|
72
|
+
// Support for mozilla's syntax for specifying a corner
|
|
73
|
+
@include experimental("border-radius-#{$vert}#{$horz}", $radius,
|
|
74
|
+
-moz,
|
|
75
|
+
not(-webkit),
|
|
76
|
+
not(-o),
|
|
77
|
+
not(-ms),
|
|
78
|
+
not(-khtml),
|
|
79
|
+
not(official)
|
|
80
|
+
);
|
|
81
|
+
@include experimental("border-#{$vert}-#{$horz}-radius", $radius,
|
|
82
|
+
not(-moz),
|
|
83
|
+
-webkit,
|
|
84
|
+
not(-o),
|
|
85
|
+
not(-ms),
|
|
86
|
+
-khtml,
|
|
87
|
+
official
|
|
88
|
+
);
|
|
89
|
+
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
// Round top-left corner only
|
|
93
|
+
|
|
94
|
+
@mixin border-top-left-radius($radius: $default-border-radius) {
|
|
95
|
+
@include border-corner-radius(top, left, $radius); }
|
|
96
|
+
|
|
97
|
+
// Round top-right corner only
|
|
98
|
+
|
|
99
|
+
@mixin border-top-right-radius($radius: $default-border-radius) {
|
|
100
|
+
@include border-corner-radius(top, right, $radius); }
|
|
101
|
+
|
|
102
|
+
// Round bottom-left corner only
|
|
103
|
+
|
|
104
|
+
@mixin border-bottom-left-radius($radius: $default-border-radius) {
|
|
105
|
+
@include border-corner-radius(bottom, left, $radius); }
|
|
106
|
+
|
|
107
|
+
// Round bottom-right corner only
|
|
108
|
+
|
|
109
|
+
@mixin border-bottom-right-radius($radius: $default-border-radius) {
|
|
110
|
+
@include border-corner-radius(bottom, right, $radius); }
|
|
111
|
+
|
|
112
|
+
// Round both top corners by amount
|
|
113
|
+
@mixin border-top-radius($radius: $default-border-radius) {
|
|
114
|
+
@include border-top-left-radius($radius);
|
|
115
|
+
@include border-top-right-radius($radius); }
|
|
116
|
+
|
|
117
|
+
// Round both right corners by amount
|
|
118
|
+
@mixin border-right-radius($radius: $default-border-radius) {
|
|
119
|
+
@include border-top-right-radius($radius);
|
|
120
|
+
@include border-bottom-right-radius($radius); }
|
|
121
|
+
|
|
122
|
+
// Round both bottom corners by amount
|
|
123
|
+
@mixin border-bottom-radius($radius: $default-border-radius) {
|
|
124
|
+
@include border-bottom-left-radius($radius);
|
|
125
|
+
@include border-bottom-right-radius($radius); }
|
|
126
|
+
|
|
127
|
+
// Round both left corners by amount
|
|
128
|
+
@mixin border-left-radius($radius: $default-border-radius) {
|
|
129
|
+
@include border-top-left-radius($radius);
|
|
130
|
+
@include border-bottom-left-radius($radius); }
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// @doc off
|
|
2
|
+
// These defaults make the arguments optional for this mixin
|
|
3
|
+
// If you like, set different defaults before importing.
|
|
4
|
+
// @doc on
|
|
5
|
+
|
|
6
|
+
@import "shared";
|
|
7
|
+
@import "../functions";
|
|
8
|
+
|
|
9
|
+
// The default color for box shadows
|
|
10
|
+
$default-box-shadow-color: #333333 !default;
|
|
11
|
+
|
|
12
|
+
// The default horizontal offset. Positive is to the right.
|
|
13
|
+
$default-box-shadow-h-offset: 0px !default;
|
|
14
|
+
|
|
15
|
+
// The default vertical offset. Positive is down.
|
|
16
|
+
$default-box-shadow-v-offset: 0px !default;
|
|
17
|
+
|
|
18
|
+
// The default blur length.
|
|
19
|
+
$default-box-shadow-blur: 5px !default;
|
|
20
|
+
|
|
21
|
+
// The default spread length.
|
|
22
|
+
$default-box-shadow-spread : false !default;
|
|
23
|
+
|
|
24
|
+
// The default shadow inset: inset or false (for standard shadow).
|
|
25
|
+
$default-box-shadow-inset : false !default;
|
|
26
|
+
|
|
27
|
+
// Provides cross-browser for Webkit, Gecko, and CSS3 box shadows when one or more box
|
|
28
|
+
// shadows are needed.
|
|
29
|
+
// Each shadow argument should adhere to the standard css3 syntax for the
|
|
30
|
+
// box-shadow property.
|
|
31
|
+
@mixin box-shadow(
|
|
32
|
+
$shadow-1 : default,
|
|
33
|
+
$shadow-2 : false,
|
|
34
|
+
$shadow-3 : false,
|
|
35
|
+
$shadow-4 : false,
|
|
36
|
+
$shadow-5 : false,
|
|
37
|
+
$shadow-6 : false,
|
|
38
|
+
$shadow-7 : false,
|
|
39
|
+
$shadow-8 : false,
|
|
40
|
+
$shadow-9 : false,
|
|
41
|
+
$shadow-10: false
|
|
42
|
+
) {
|
|
43
|
+
@if $shadow-1 == default {
|
|
44
|
+
$shadow-1 : -compass-space-list(compact(if($default-box-shadow-inset, inset, false), $default-box-shadow-h-offset, $default-box-shadow-v-offset, $default-box-shadow-blur, $default-box-shadow-spread, $default-box-shadow-color));
|
|
45
|
+
}
|
|
46
|
+
$shadow : compact($shadow-1, $shadow-2, $shadow-3, $shadow-4, $shadow-5, $shadow-6, $shadow-7, $shadow-8, $shadow-9, $shadow-10);
|
|
47
|
+
@include experimental(box-shadow, $shadow,
|
|
48
|
+
-moz, -webkit, not(-o), not(-ms), not(-khtml), official
|
|
49
|
+
);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// Provides a single cross-browser CSS box shadow for Webkit, Gecko, and CSS3.
|
|
53
|
+
// Includes default arguments for horizontal offset, vertical offset, blur length, spread length, color and inset.
|
|
54
|
+
@mixin single-box-shadow(
|
|
55
|
+
$hoff : $default-box-shadow-h-offset,
|
|
56
|
+
$voff : $default-box-shadow-v-offset,
|
|
57
|
+
$blur : $default-box-shadow-blur,
|
|
58
|
+
$spread : $default-box-shadow-spread,
|
|
59
|
+
$color : $default-box-shadow-color,
|
|
60
|
+
$inset : $default-box-shadow-inset
|
|
61
|
+
) {
|
|
62
|
+
@if not ($inset == true or $inset == false or $inset == inset) {
|
|
63
|
+
@warn "$inset expected to be true or the inset keyword. Got #{$inset} instead. Using: inset";
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@if $color == none {
|
|
67
|
+
@include box-shadow(none);
|
|
68
|
+
} @else {
|
|
69
|
+
$full : $hoff $voff;
|
|
70
|
+
@if $blur { $full: $full $blur; }
|
|
71
|
+
@if $spread { $full: $full $spread; }
|
|
72
|
+
@if $color { $full: $full $color; }
|
|
73
|
+
@if $inset { $full: inset $full; }
|
|
74
|
+
@include box-shadow($full);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@import "shared";
|
|
2
|
+
|
|
3
|
+
// The default box-sizing model when no argument is provided to the box-sizing mixin: [ content-box | border-box | padding-box ]
|
|
4
|
+
//
|
|
5
|
+
// The browser default is content-box, compass defaults to border-box.
|
|
6
|
+
$default-box-sizing: border-box !default;
|
|
7
|
+
|
|
8
|
+
// Change the box model for Mozilla, Webkit, IE8 and the future
|
|
9
|
+
//
|
|
10
|
+
// @param $bs
|
|
11
|
+
// [ content-box | border-box ]
|
|
12
|
+
|
|
13
|
+
@mixin box-sizing($bs: $default-box-sizing) {
|
|
14
|
+
$bs: unquote($bs);
|
|
15
|
+
@include experimental(box-sizing, $bs,
|
|
16
|
+
-moz, -webkit, not(-o), not(-ms), not(-khtml), official
|
|
17
|
+
);
|
|
18
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
@import "shared";
|
|
2
|
+
|
|
3
|
+
// display:box; must be used for any of the other flexbox mixins to work properly
|
|
4
|
+
@mixin display-box {
|
|
5
|
+
@include experimental-value(display, box,
|
|
6
|
+
-moz, -webkit, not(-o), -ms, not(-khtml), official
|
|
7
|
+
);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
// Default box orientation, assuming that the user wants something less block-like
|
|
11
|
+
$default-box-orient: horizontal !default;
|
|
12
|
+
|
|
13
|
+
// Box orientation [ horizontal | vertical | inline-axis | block-axis | inherit ]
|
|
14
|
+
@mixin box-orient(
|
|
15
|
+
$orientation: $default-box-orient
|
|
16
|
+
) {
|
|
17
|
+
$orientation : unquote($orientation);
|
|
18
|
+
@include experimental(box-orient, $orientation,
|
|
19
|
+
-moz, -webkit, not(-o), -ms, not(-khtml), official
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// Default box-align
|
|
24
|
+
$default-box-align: stretch !default;
|
|
25
|
+
|
|
26
|
+
// Box align [ start | end | center | baseline | stretch ]
|
|
27
|
+
@mixin box-align(
|
|
28
|
+
$alignment: $default-box-align
|
|
29
|
+
) {
|
|
30
|
+
$alignment : unquote($alignment);
|
|
31
|
+
@include experimental(box-align, $alignment,
|
|
32
|
+
-moz, -webkit, not(-o), -ms, not(-khtml), official
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// Default box flex
|
|
37
|
+
$default-box-flex: 0 !default;
|
|
38
|
+
|
|
39
|
+
// mixin which takes an int argument for box flex. Apply this to the children inside the box.
|
|
40
|
+
//
|
|
41
|
+
// For example: "div.display-box > div.child-box" would get the box flex mixin.
|
|
42
|
+
@mixin box-flex(
|
|
43
|
+
$flex: $default-box-flex
|
|
44
|
+
) {
|
|
45
|
+
@include experimental(box-flex, $flex,
|
|
46
|
+
-moz, -webkit, not(-o), -ms, not(-khtml), official
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
// Default flex group
|
|
51
|
+
$default-box-flex-group: 1 !default;
|
|
52
|
+
|
|
53
|
+
// mixin which takes an int argument for flexible grouping
|
|
54
|
+
@mixin box-flex-group(
|
|
55
|
+
$group: $default-box-flex-group
|
|
56
|
+
) {
|
|
57
|
+
@include experimental(box-flex-group, $group,
|
|
58
|
+
-moz, -webkit, not(-o), -ms, not(-khtml), official
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
// default for ordinal group
|
|
63
|
+
$default-box-ordinal-group: 1 !default;
|
|
64
|
+
|
|
65
|
+
// mixin which takes an int argument for ordinal grouping and rearranging the order
|
|
66
|
+
@mixin box-ordinal-group(
|
|
67
|
+
$group: $default-ordinal-flex-group
|
|
68
|
+
) {
|
|
69
|
+
@include experimental(box-ordinal-group, $group,
|
|
70
|
+
-moz, -webkit, not(-o), -ms, not(-khtml), official
|
|
71
|
+
);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// Box direction default value
|
|
75
|
+
$default-box-direction: normal !default;
|
|
76
|
+
|
|
77
|
+
// mixin for box-direction [ normal | reverse | inherit ]
|
|
78
|
+
@mixin box-direction(
|
|
79
|
+
$direction: $default-box-direction
|
|
80
|
+
) {
|
|
81
|
+
$direction: unquote($direction);
|
|
82
|
+
@include experimental(box-direction, $direction,
|
|
83
|
+
-moz, -webkit, not(-o), -ms, not(-khtml), official
|
|
84
|
+
);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
// default for box lines
|
|
88
|
+
$default-box-lines: single !default;
|
|
89
|
+
|
|
90
|
+
// mixin for box lines [ single | multiple ]
|
|
91
|
+
@mixin box-lines(
|
|
92
|
+
$lines: $default-box-lines
|
|
93
|
+
) {
|
|
94
|
+
$lines: unquote($lines);
|
|
95
|
+
@include experimental(box-lines, $lines,
|
|
96
|
+
-moz, -webkit, not(-o), -ms, not(-khtml), official
|
|
97
|
+
);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
// default for box pack
|
|
101
|
+
$default-box-pack: start !default;
|
|
102
|
+
|
|
103
|
+
// mixin for box pack [ start | end | center | justify ]
|
|
104
|
+
@mixin box-pack(
|
|
105
|
+
$pack: $default-box-pack
|
|
106
|
+
) {
|
|
107
|
+
$pack: unquote($pack);
|
|
108
|
+
@include experimental(box-pack, $pack,
|
|
109
|
+
-moz, -webkit, not(-o), -ms, not(-khtml), official
|
|
110
|
+
);
|
|
111
|
+
}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
@import "shared";
|
|
2
|
+
@import "../functions";
|
|
3
|
+
|
|
4
|
+
// Specify the shorthand `columns` property.
|
|
5
|
+
//
|
|
6
|
+
// Example:
|
|
7
|
+
//
|
|
8
|
+
// @include columns(20em 2)
|
|
9
|
+
@mixin columns($width-and-count) {
|
|
10
|
+
@include experimental(columns, $width-and-count,
|
|
11
|
+
-moz, -webkit, -o, -ms, not(-khtml), official
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// Specify the number of columns
|
|
16
|
+
@mixin column-count($count) {
|
|
17
|
+
@include experimental(column-count, $count,
|
|
18
|
+
-moz, -webkit, -o, -ms, not(-khtml), official
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// Specify the gap between columns e.g. `20px`
|
|
23
|
+
@mixin column-gap($width) {
|
|
24
|
+
@include experimental(column-gap, $width,
|
|
25
|
+
-moz, -webkit, -o, -ms, not(-khtml), official
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// Specify the width of columns e.g. `100px`
|
|
30
|
+
@mixin column-width($width) {
|
|
31
|
+
@include experimental(column-width, $width,
|
|
32
|
+
-moz, -webkit, -o, -ms, not(-khtml), official
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// Specify how many columns an element should span across.
|
|
37
|
+
// * legal values are none, all
|
|
38
|
+
@mixin column-span($columns) {
|
|
39
|
+
@include experimental(column-span, $columns,
|
|
40
|
+
-moz, -webkit, -o, -ms, not(-khtml), official
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
// Specify the width of the rule between columns e.g. `1px`
|
|
45
|
+
@mixin column-rule-width($width) {
|
|
46
|
+
@include experimental(column-rule-width, $width,
|
|
47
|
+
-moz, -webkit, -o, -ms, not(-khtml), official
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// Specify the style of the rule between columns e.g. `dotted`.
|
|
52
|
+
// This works like border-style.
|
|
53
|
+
@mixin column-rule-style($style) {
|
|
54
|
+
@include experimental(column-rule-style, unquote($style),
|
|
55
|
+
-moz, -webkit, -o, -ms, not(-khtml), official
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
// Specify the color of the rule between columns e.g. `blue`.
|
|
60
|
+
// This works like border-color.
|
|
61
|
+
@mixin column-rule-color($color) {
|
|
62
|
+
@include experimental(column-rule-color, $color,
|
|
63
|
+
-moz, -webkit, -o, -ms, not(-khtml), official
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// Mixin encompassing all column rule properties
|
|
68
|
+
// For example:
|
|
69
|
+
//
|
|
70
|
+
// @include column-rule(1px, solid, #c00)
|
|
71
|
+
//
|
|
72
|
+
// Or the values can be space separated:
|
|
73
|
+
//
|
|
74
|
+
// @include column-rule(1px solid #c00)
|
|
75
|
+
@mixin column-rule($width, $style: false, $color: false) {
|
|
76
|
+
$full : -compass-space-list(compact($width, $style, $color));
|
|
77
|
+
@include experimental(column-rule, $full,
|
|
78
|
+
-moz, -webkit, -o, -ms, not(-khtml), official
|
|
79
|
+
);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
// Mixin for setting column-break-before
|
|
83
|
+
//
|
|
84
|
+
// * legal values are auto, always, avoid, left, right, page, column, avoid-page, avoid-column
|
|
85
|
+
//
|
|
86
|
+
// Example:
|
|
87
|
+
// h2.before {@include column-break-before(always);}
|
|
88
|
+
//
|
|
89
|
+
// Which generates:
|
|
90
|
+
//
|
|
91
|
+
// h2.before {
|
|
92
|
+
// -webkit-column-break-before: always;
|
|
93
|
+
// column-break-before: always;}
|
|
94
|
+
@mixin column-break-before($value: auto){
|
|
95
|
+
@include experimental(column-break-before, $value, not(-moz), -webkit, not(-o), not(-ms), not(-khtml), official );
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
// Mixin for setting column-break-after
|
|
99
|
+
//
|
|
100
|
+
// * legal values are auto, always, avoid, left, right, page, column, avoid-page, avoid-column
|
|
101
|
+
//
|
|
102
|
+
// Example:
|
|
103
|
+
// h2.after {@include column-break-after(always); }
|
|
104
|
+
//
|
|
105
|
+
// Which generates:
|
|
106
|
+
//
|
|
107
|
+
// h2.after {
|
|
108
|
+
// -webkit-column-break-after: always;
|
|
109
|
+
// column-break-after: always; }
|
|
110
|
+
@mixin column-break-after($value: auto){
|
|
111
|
+
@include experimental(column-break-after, $value, not(-moz), -webkit, not(-o), not(-ms), not(-khtml), official );
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
// Mixin for setting column-break-inside
|
|
115
|
+
//
|
|
116
|
+
// * legal values are auto, avoid, avoid-page, avoid-column
|
|
117
|
+
//
|
|
118
|
+
// Example:
|
|
119
|
+
// h2.inside {@include column-break-inside();}
|
|
120
|
+
// Which generates:
|
|
121
|
+
//
|
|
122
|
+
// h2.inside {
|
|
123
|
+
// -webkit-column-break-inside: auto;
|
|
124
|
+
// column-break-inside: auto;}
|
|
125
|
+
@mixin column-break-inside($value: auto){
|
|
126
|
+
@include experimental(column-break-inside, $value, not(-moz), -webkit, not(-o), not(-ms), not(-khtml), official );
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
// All-purpose mixin for setting column breaks.
|
|
130
|
+
//
|
|
131
|
+
// * legal values for $type : before, after, inside
|
|
132
|
+
// * legal values for '$value' are dependent on $type
|
|
133
|
+
// * when $type = before, legal values are auto, always, avoid, left, right, page, column, avoid-page, avoid-column
|
|
134
|
+
// * when $type = after, legal values are auto, always, avoid, left, right, page, column, avoid-page, avoid-column
|
|
135
|
+
// * when $type = inside, legal values are auto, avoid, avoid-page, avoid-column
|
|
136
|
+
//
|
|
137
|
+
// Examples:
|
|
138
|
+
// h2.before {@include column-break(before, always);}
|
|
139
|
+
// h2.after {@include column-break(after, always); }
|
|
140
|
+
// h2.inside {@include column-break(inside); }
|
|
141
|
+
//
|
|
142
|
+
// Which generates:
|
|
143
|
+
// h2.before {
|
|
144
|
+
// -webkit-column-break-before: always;
|
|
145
|
+
// column-break-before: always;}
|
|
146
|
+
//
|
|
147
|
+
// h2.after {
|
|
148
|
+
// -webkit-column-break-after: always;
|
|
149
|
+
// column-break-after: always; }
|
|
150
|
+
//
|
|
151
|
+
// h2.inside {
|
|
152
|
+
// -webkit-column-break-inside: auto;
|
|
153
|
+
// column-break-inside: auto;}
|
|
154
|
+
|
|
155
|
+
@mixin column-break($type: before, $value: auto){
|
|
156
|
+
@include experimental("column-break-#{$type}", $value, not(-moz), -webkit, not(-o), not(-ms), not(-khtml), official );
|
|
157
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@import "shared";
|
|
2
|
+
@import "../functions";
|
|
3
|
+
|
|
4
|
+
// Provides cross-browser support for the upcoming (?) css3 filter property.
|
|
5
|
+
//
|
|
6
|
+
// Each filter argument should adhere to the standard css3 syntax for the
|
|
7
|
+
// filter property.
|
|
8
|
+
@mixin filter (
|
|
9
|
+
$filter-1,
|
|
10
|
+
$filter-2 : false,
|
|
11
|
+
$filter-3 : false,
|
|
12
|
+
$filter-4 : false,
|
|
13
|
+
$filter-5 : false,
|
|
14
|
+
$filter-6 : false,
|
|
15
|
+
$filter-7 : false,
|
|
16
|
+
$filter-8 : false,
|
|
17
|
+
$filter-9 : false,
|
|
18
|
+
$filter-10: false
|
|
19
|
+
) {
|
|
20
|
+
$filter : compact($filter-1, $filter-2, $filter-3, $filter-4, $filter-5, $filter-6, $filter-7, $filter-8, $filter-9, $filter-10);
|
|
21
|
+
@include experimental(filter, $filter,
|
|
22
|
+
-moz, -webkit, not(-o), not(-ms), not(-khtml), official
|
|
23
|
+
);
|
|
24
|
+
}
|