garth-jekyll-theme 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_sass/bourbon/_bourbon.scss +45 -80
- data/_sass/bourbon/bourbon/helpers/_buttons-list.scss +14 -0
- data/_sass/bourbon/bourbon/helpers/_scales.scss +27 -0
- data/_sass/bourbon/bourbon/helpers/_text-inputs-list.scss +26 -0
- data/_sass/bourbon/bourbon/library/_border-color.scss +25 -0
- data/_sass/bourbon/bourbon/library/_border-radius.scss +85 -0
- data/_sass/bourbon/bourbon/library/_border-style.scss +24 -0
- data/_sass/bourbon/bourbon/library/_border-width.scss +24 -0
- data/_sass/bourbon/bourbon/library/_buttons.scss +84 -0
- data/_sass/bourbon/{addons → bourbon/library}/_clearfix.scss +5 -5
- data/_sass/bourbon/bourbon/library/_contrast-switch.scss +60 -0
- data/_sass/bourbon/{addons → bourbon/library}/_ellipsis.scss +13 -6
- data/_sass/bourbon/bourbon/library/_font-face.scss +65 -0
- data/_sass/bourbon/bourbon/library/_font-stacks.scss +87 -0
- data/_sass/bourbon/bourbon/library/_hide-text.scss +24 -0
- data/_sass/bourbon/bourbon/library/_hide-visually.scss +65 -0
- data/_sass/bourbon/bourbon/library/_margin.scss +34 -0
- data/_sass/bourbon/bourbon/library/_modular-scale.scss +113 -0
- data/_sass/bourbon/bourbon/library/_padding.scss +34 -0
- data/_sass/bourbon/{addons → bourbon/library}/_position.scss +19 -13
- data/_sass/bourbon/bourbon/library/_prefixer.scss +38 -0
- data/_sass/bourbon/bourbon/library/_shade.scss +33 -0
- data/_sass/bourbon/bourbon/library/_size.scss +49 -0
- data/_sass/bourbon/bourbon/library/_strip-unit.scss +17 -0
- data/_sass/bourbon/bourbon/library/_text-inputs.scss +163 -0
- data/_sass/bourbon/{addons → bourbon/library}/_timing-functions.scss +7 -3
- data/_sass/bourbon/bourbon/library/_tint.scss +33 -0
- data/_sass/bourbon/bourbon/library/_triangle.scss +82 -0
- data/_sass/bourbon/bourbon/library/_value-prefixer.scss +38 -0
- data/_sass/bourbon/{addons → bourbon/library}/_word-wrap.scss +3 -3
- data/_sass/bourbon/bourbon/settings/_settings.scss +51 -0
- data/_sass/bourbon/bourbon/utilities/_assign-inputs.scss +29 -0
- data/_sass/bourbon/bourbon/utilities/_collapse-directionals.scss +51 -0
- data/_sass/bourbon/bourbon/utilities/_directional-values.scss +58 -0
- data/_sass/bourbon/{helpers → bourbon/utilities}/_font-source-declaration.scss +26 -17
- data/_sass/bourbon/bourbon/utilities/_retrieve-bourbon-setting.scss +16 -0
- data/_sass/bourbon/{functions → bourbon/utilities}/_unpack.scss +7 -5
- data/_sass/bourbon/{functions → bourbon/validators}/_contains-falsy.scss +5 -5
- data/_sass/bourbon/{functions → bourbon/validators}/_contains.scss +9 -8
- data/_sass/bourbon/bourbon/validators/_is-color.scss +13 -0
- data/_sass/bourbon/{functions → bourbon/validators}/_is-length.scss +6 -2
- data/_sass/bourbon/{functions → bourbon/validators}/_is-light.scss +7 -5
- data/_sass/bourbon/bourbon/validators/_is-number.scss +15 -0
- data/_sass/bourbon/bourbon/validators/_is-size.scss +18 -0
- data/_sass/neat/_neat-helpers.scss +8 -0
- data/_sass/neat/_neat.scss +23 -0
- data/_sass/neat/functions/_new-breakpoint.scss +49 -0
- data/_sass/neat/functions/_private.scss +114 -0
- data/_sass/neat/grid/_box-sizing.scss +15 -0
- data/_sass/neat/grid/_direction-context.scss +33 -0
- data/_sass/neat/grid/_display-context.scss +28 -0
- data/_sass/neat/grid/_fill-parent.scss +22 -0
- data/_sass/neat/grid/_media.scss +92 -0
- data/_sass/neat/grid/_omega.scss +87 -0
- data/_sass/neat/grid/_outer-container.scss +38 -0
- data/_sass/neat/grid/_pad.scss +25 -0
- data/_sass/neat/grid/_private.scss +35 -0
- data/_sass/neat/grid/_row.scss +52 -0
- data/_sass/neat/grid/_shift.scss +50 -0
- data/_sass/neat/grid/_span-columns.scss +94 -0
- data/_sass/neat/grid/_to-deprecate.scss +97 -0
- data/_sass/neat/grid/_visual-grid.scss +42 -0
- data/_sass/neat/settings/_disable-warnings.scss +13 -0
- data/_sass/neat/settings/_grid.scss +51 -0
- data/_sass/neat/settings/_visual-grid.scss +27 -0
- data/_sass/theme.scss +6 -0
- metadata +66 -79
- data/_sass/bourbon/_bourbon-deprecated-upcoming.scss +0 -411
- data/_sass/bourbon/addons/_border-color.scss +0 -26
- data/_sass/bourbon/addons/_border-radius.scss +0 -48
- data/_sass/bourbon/addons/_border-style.scss +0 -25
- data/_sass/bourbon/addons/_border-width.scss +0 -25
- data/_sass/bourbon/addons/_buttons.scss +0 -64
- data/_sass/bourbon/addons/_font-stacks.scss +0 -31
- data/_sass/bourbon/addons/_hide-text.scss +0 -27
- data/_sass/bourbon/addons/_margin.scss +0 -26
- data/_sass/bourbon/addons/_padding.scss +0 -26
- data/_sass/bourbon/addons/_prefixer.scss +0 -66
- data/_sass/bourbon/addons/_retina-image.scss +0 -25
- data/_sass/bourbon/addons/_size.scss +0 -51
- data/_sass/bourbon/addons/_text-inputs.scss +0 -113
- data/_sass/bourbon/addons/_triangle.scss +0 -63
- data/_sass/bourbon/css3/_animation.scss +0 -43
- data/_sass/bourbon/css3/_appearance.scss +0 -3
- data/_sass/bourbon/css3/_backface-visibility.scss +0 -3
- data/_sass/bourbon/css3/_background-image.scss +0 -42
- data/_sass/bourbon/css3/_background.scss +0 -55
- data/_sass/bourbon/css3/_border-image.scss +0 -59
- data/_sass/bourbon/css3/_calc.scss +0 -4
- data/_sass/bourbon/css3/_columns.scss +0 -47
- data/_sass/bourbon/css3/_filter.scss +0 -4
- data/_sass/bourbon/css3/_flex-box.scss +0 -287
- data/_sass/bourbon/css3/_font-face.scss +0 -24
- data/_sass/bourbon/css3/_font-feature-settings.scss +0 -4
- data/_sass/bourbon/css3/_hidpi-media-query.scss +0 -10
- data/_sass/bourbon/css3/_hyphens.scss +0 -4
- data/_sass/bourbon/css3/_image-rendering.scss +0 -14
- data/_sass/bourbon/css3/_keyframes.scss +0 -36
- data/_sass/bourbon/css3/_linear-gradient.scss +0 -38
- data/_sass/bourbon/css3/_perspective.scss +0 -8
- data/_sass/bourbon/css3/_placeholder.scss +0 -8
- data/_sass/bourbon/css3/_radial-gradient.scss +0 -39
- data/_sass/bourbon/css3/_selection.scss +0 -42
- data/_sass/bourbon/css3/_text-decoration.scss +0 -19
- data/_sass/bourbon/css3/_transform.scss +0 -15
- data/_sass/bourbon/css3/_transition.scss +0 -71
- data/_sass/bourbon/css3/_user-select.scss +0 -3
- data/_sass/bourbon/functions/_assign-inputs.scss +0 -11
- data/_sass/bourbon/functions/_is-number.scss +0 -11
- data/_sass/bourbon/functions/_is-size.scss +0 -13
- data/_sass/bourbon/functions/_modular-scale.scss +0 -69
- data/_sass/bourbon/functions/_px-to-em.scss +0 -13
- data/_sass/bourbon/functions/_px-to-rem.scss +0 -15
- data/_sass/bourbon/functions/_shade.scss +0 -24
- data/_sass/bourbon/functions/_strip-units.scss +0 -17
- data/_sass/bourbon/functions/_tint.scss +0 -24
- data/_sass/bourbon/functions/_transition-property-name.scss +0 -22
- data/_sass/bourbon/helpers/_convert-units.scss +0 -21
- data/_sass/bourbon/helpers/_directional-values.scss +0 -96
- data/_sass/bourbon/helpers/_gradient-positions-parser.scss +0 -13
- data/_sass/bourbon/helpers/_linear-angle-parser.scss +0 -25
- data/_sass/bourbon/helpers/_linear-gradient-parser.scss +0 -41
- data/_sass/bourbon/helpers/_linear-positions-parser.scss +0 -61
- data/_sass/bourbon/helpers/_linear-side-corner-parser.scss +0 -31
- data/_sass/bourbon/helpers/_radial-arg-parser.scss +0 -69
- data/_sass/bourbon/helpers/_radial-gradient-parser.scss +0 -50
- data/_sass/bourbon/helpers/_radial-positions-parser.scss +0 -18
- data/_sass/bourbon/helpers/_render-gradients.scss +0 -26
- data/_sass/bourbon/helpers/_shape-size-stripper.scss +0 -10
- data/_sass/bourbon/helpers/_str-to-num.scss +0 -50
- data/_sass/bourbon/settings/_asset-pipeline.scss +0 -7
- data/_sass/bourbon/settings/_prefixer.scss +0 -9
- data/_sass/bourbon/settings/_px-to-em.scss +0 -1
@@ -1,113 +0,0 @@
|
|
1
|
-
@charset "UTF-8";
|
2
|
-
|
3
|
-
/// Generates variables for all text-based inputs. Please note that you must use interpolation on the variable: `#{$all-text-inputs}`.
|
4
|
-
///
|
5
|
-
/// @example scss - Usage
|
6
|
-
/// #{$all-text-inputs} {
|
7
|
-
/// border: 1px solid #f00;
|
8
|
-
/// }
|
9
|
-
///
|
10
|
-
/// #{$all-text-inputs-focus},
|
11
|
-
/// #{$all-text-inputs-hover} {
|
12
|
-
/// border: 1px solid #0f0;
|
13
|
-
/// }
|
14
|
-
///
|
15
|
-
/// #{$all-text-inputs-active} {
|
16
|
-
/// border: 1px solid #00f;
|
17
|
-
/// }
|
18
|
-
///
|
19
|
-
/// @example css - CSS Output
|
20
|
-
/// input[type="color"],
|
21
|
-
/// input[type="date"],
|
22
|
-
/// input[type="datetime"],
|
23
|
-
/// input[type="datetime-local"],
|
24
|
-
/// input[type="email"],
|
25
|
-
/// input[type="month"],
|
26
|
-
/// input[type="number"],
|
27
|
-
/// input[type="password"],
|
28
|
-
/// input[type="search"],
|
29
|
-
/// input[type="tel"],
|
30
|
-
/// input[type="text"],
|
31
|
-
/// input[type="time"],
|
32
|
-
/// input[type="url"],
|
33
|
-
/// input[type="week"],
|
34
|
-
/// textarea {
|
35
|
-
/// border: 1px solid #f00;
|
36
|
-
/// }
|
37
|
-
///
|
38
|
-
/// input[type="color"]:focus,
|
39
|
-
/// input[type="date"]:focus,
|
40
|
-
/// input[type="datetime"]:focus,
|
41
|
-
/// input[type="datetime-local"]:focus,
|
42
|
-
/// input[type="email"]:focus,
|
43
|
-
/// input[type="month"]:focus,
|
44
|
-
/// input[type="number"]:focus,
|
45
|
-
/// input[type="password"]:focus,
|
46
|
-
/// input[type="search"]:focus,
|
47
|
-
/// input[type="tel"]:focus,
|
48
|
-
/// input[type="text"]:focus,
|
49
|
-
/// input[type="time"]:focus,
|
50
|
-
/// input[type="url"]:focus,
|
51
|
-
/// input[type="week"]:focus,
|
52
|
-
/// textarea:focus,
|
53
|
-
/// input[type="color"]:hover,
|
54
|
-
/// input[type="date"]:hover,
|
55
|
-
/// input[type="datetime"]:hover,
|
56
|
-
/// input[type="datetime-local"]:hover,
|
57
|
-
/// input[type="email"]:hover,
|
58
|
-
/// input[type="month"]:hover,
|
59
|
-
/// input[type="number"]:hover,
|
60
|
-
/// input[type="password"]:hover,
|
61
|
-
/// input[type="search"]:hover,
|
62
|
-
/// input[type="tel"]:hover,
|
63
|
-
/// input[type="text"]:hover,
|
64
|
-
/// input[type="time"]:hover,
|
65
|
-
/// input[type="url"]:hover,
|
66
|
-
/// input[type="week"]:hover,
|
67
|
-
/// textarea:hover {
|
68
|
-
/// border: 1px solid #0f0;
|
69
|
-
/// }
|
70
|
-
///
|
71
|
-
/// input[type="color"]:active,
|
72
|
-
/// input[type="date"]:active,
|
73
|
-
/// input[type="datetime"]:active,
|
74
|
-
/// input[type="datetime-local"]:active,
|
75
|
-
/// input[type="email"]:active,
|
76
|
-
/// input[type="month"]:active,
|
77
|
-
/// input[type="number"]:active,
|
78
|
-
/// input[type="password"]:active,
|
79
|
-
/// input[type="search"]:active,
|
80
|
-
/// input[type="tel"]:active,
|
81
|
-
/// input[type="text"]:active,
|
82
|
-
/// input[type="time"]:active,
|
83
|
-
/// input[type="url"]:active,
|
84
|
-
/// input[type="week"]:active,
|
85
|
-
/// textarea:active {
|
86
|
-
/// border: 1px solid #00f;
|
87
|
-
/// }
|
88
|
-
///
|
89
|
-
/// @require assign-inputs
|
90
|
-
///
|
91
|
-
/// @type List
|
92
|
-
|
93
|
-
$text-inputs-list: 'input[type="color"]',
|
94
|
-
'input[type="date"]',
|
95
|
-
'input[type="datetime"]',
|
96
|
-
'input[type="datetime-local"]',
|
97
|
-
'input[type="email"]',
|
98
|
-
'input[type="month"]',
|
99
|
-
'input[type="number"]',
|
100
|
-
'input[type="password"]',
|
101
|
-
'input[type="search"]',
|
102
|
-
'input[type="tel"]',
|
103
|
-
'input[type="text"]',
|
104
|
-
'input[type="time"]',
|
105
|
-
'input[type="url"]',
|
106
|
-
'input[type="week"]',
|
107
|
-
'input:not([type])',
|
108
|
-
'textarea';
|
109
|
-
|
110
|
-
$all-text-inputs: assign-inputs($text-inputs-list);
|
111
|
-
$all-text-inputs-active: assign-inputs($text-inputs-list, active);
|
112
|
-
$all-text-inputs-focus: assign-inputs($text-inputs-list, focus);
|
113
|
-
$all-text-inputs-hover: assign-inputs($text-inputs-list, hover);
|
@@ -1,63 +0,0 @@
|
|
1
|
-
@mixin triangle($size, $color, $direction) {
|
2
|
-
$width: nth($size, 1);
|
3
|
-
$height: nth($size, length($size));
|
4
|
-
$foreground-color: nth($color, 1);
|
5
|
-
$background-color: if(length($color) == 2, nth($color, 2), transparent);
|
6
|
-
height: 0;
|
7
|
-
width: 0;
|
8
|
-
|
9
|
-
@if ($direction == up) or ($direction == down) or ($direction == right) or ($direction == left) {
|
10
|
-
$width: $width / 2;
|
11
|
-
$height: if(length($size) > 1, $height, $height/2);
|
12
|
-
|
13
|
-
@if $direction == up {
|
14
|
-
border-bottom: $height solid $foreground-color;
|
15
|
-
border-left: $width solid $background-color;
|
16
|
-
border-right: $width solid $background-color;
|
17
|
-
} @else if $direction == right {
|
18
|
-
border-bottom: $width solid $background-color;
|
19
|
-
border-left: $height solid $foreground-color;
|
20
|
-
border-top: $width solid $background-color;
|
21
|
-
} @else if $direction == down {
|
22
|
-
border-left: $width solid $background-color;
|
23
|
-
border-right: $width solid $background-color;
|
24
|
-
border-top: $height solid $foreground-color;
|
25
|
-
} @else if $direction == left {
|
26
|
-
border-bottom: $width solid $background-color;
|
27
|
-
border-right: $height solid $foreground-color;
|
28
|
-
border-top: $width solid $background-color;
|
29
|
-
}
|
30
|
-
} @else if ($direction == up-right) or ($direction == up-left) {
|
31
|
-
border-top: $height solid $foreground-color;
|
32
|
-
|
33
|
-
@if $direction == up-right {
|
34
|
-
border-left: $width solid $background-color;
|
35
|
-
} @else if $direction == up-left {
|
36
|
-
border-right: $width solid $background-color;
|
37
|
-
}
|
38
|
-
} @else if ($direction == down-right) or ($direction == down-left) {
|
39
|
-
border-bottom: $height solid $foreground-color;
|
40
|
-
|
41
|
-
@if $direction == down-right {
|
42
|
-
border-left: $width solid $background-color;
|
43
|
-
} @else if $direction == down-left {
|
44
|
-
border-right: $width solid $background-color;
|
45
|
-
}
|
46
|
-
} @else if ($direction == inset-up) {
|
47
|
-
border-color: $background-color $background-color $foreground-color;
|
48
|
-
border-style: solid;
|
49
|
-
border-width: $height $width;
|
50
|
-
} @else if ($direction == inset-down) {
|
51
|
-
border-color: $foreground-color $background-color $background-color;
|
52
|
-
border-style: solid;
|
53
|
-
border-width: $height $width;
|
54
|
-
} @else if ($direction == inset-right) {
|
55
|
-
border-color: $background-color $background-color $background-color $foreground-color;
|
56
|
-
border-style: solid;
|
57
|
-
border-width: $width $height;
|
58
|
-
} @else if ($direction == inset-left) {
|
59
|
-
border-color: $background-color $foreground-color $background-color $background-color;
|
60
|
-
border-style: solid;
|
61
|
-
border-width: $width $height;
|
62
|
-
}
|
63
|
-
}
|
@@ -1,43 +0,0 @@
|
|
1
|
-
// http://www.w3.org/TR/css3-animations/#the-animation-name-property-
|
2
|
-
// Each of these mixins support comma separated lists of values, which allows different transitions for individual properties to be described in a single style rule. Each value in the list corresponds to the value at that same position in the other properties.
|
3
|
-
|
4
|
-
@mixin animation($animations...) {
|
5
|
-
@include prefixer(animation, $animations, webkit moz spec);
|
6
|
-
}
|
7
|
-
|
8
|
-
@mixin animation-name($names...) {
|
9
|
-
@include prefixer(animation-name, $names, webkit moz spec);
|
10
|
-
}
|
11
|
-
|
12
|
-
@mixin animation-duration($times...) {
|
13
|
-
@include prefixer(animation-duration, $times, webkit moz spec);
|
14
|
-
}
|
15
|
-
|
16
|
-
@mixin animation-timing-function($motions...) {
|
17
|
-
// ease | linear | ease-in | ease-out | ease-in-out
|
18
|
-
@include prefixer(animation-timing-function, $motions, webkit moz spec);
|
19
|
-
}
|
20
|
-
|
21
|
-
@mixin animation-iteration-count($values...) {
|
22
|
-
// infinite | <number>
|
23
|
-
@include prefixer(animation-iteration-count, $values, webkit moz spec);
|
24
|
-
}
|
25
|
-
|
26
|
-
@mixin animation-direction($directions...) {
|
27
|
-
// normal | alternate
|
28
|
-
@include prefixer(animation-direction, $directions, webkit moz spec);
|
29
|
-
}
|
30
|
-
|
31
|
-
@mixin animation-play-state($states...) {
|
32
|
-
// running | paused
|
33
|
-
@include prefixer(animation-play-state, $states, webkit moz spec);
|
34
|
-
}
|
35
|
-
|
36
|
-
@mixin animation-delay($times...) {
|
37
|
-
@include prefixer(animation-delay, $times, webkit moz spec);
|
38
|
-
}
|
39
|
-
|
40
|
-
@mixin animation-fill-mode($modes...) {
|
41
|
-
// none | forwards | backwards | both
|
42
|
-
@include prefixer(animation-fill-mode, $modes, webkit moz spec);
|
43
|
-
}
|
@@ -1,42 +0,0 @@
|
|
1
|
-
//************************************************************************//
|
2
|
-
// Background-image property for adding multiple background images with
|
3
|
-
// gradients, or for stringing multiple gradients together.
|
4
|
-
//************************************************************************//
|
5
|
-
|
6
|
-
@mixin background-image($images...) {
|
7
|
-
$webkit-images: ();
|
8
|
-
$spec-images: ();
|
9
|
-
|
10
|
-
@each $image in $images {
|
11
|
-
$webkit-image: ();
|
12
|
-
$spec-image: ();
|
13
|
-
|
14
|
-
@if (type-of($image) == string) {
|
15
|
-
$url-str: str-slice($image, 1, 3);
|
16
|
-
$gradient-type: str-slice($image, 1, 6);
|
17
|
-
|
18
|
-
@if $url-str == "url" {
|
19
|
-
$webkit-image: $image;
|
20
|
-
$spec-image: $image;
|
21
|
-
}
|
22
|
-
|
23
|
-
@else if $gradient-type == "linear" {
|
24
|
-
$gradients: _linear-gradient-parser($image);
|
25
|
-
$webkit-image: map-get($gradients, webkit-image);
|
26
|
-
$spec-image: map-get($gradients, spec-image);
|
27
|
-
}
|
28
|
-
|
29
|
-
@else if $gradient-type == "radial" {
|
30
|
-
$gradients: _radial-gradient-parser($image);
|
31
|
-
$webkit-image: map-get($gradients, webkit-image);
|
32
|
-
$spec-image: map-get($gradients, spec-image);
|
33
|
-
}
|
34
|
-
}
|
35
|
-
|
36
|
-
$webkit-images: append($webkit-images, $webkit-image, comma);
|
37
|
-
$spec-images: append($spec-images, $spec-image, comma);
|
38
|
-
}
|
39
|
-
|
40
|
-
background-image: $webkit-images;
|
41
|
-
background-image: $spec-images;
|
42
|
-
}
|
@@ -1,55 +0,0 @@
|
|
1
|
-
//************************************************************************//
|
2
|
-
// Background property for adding multiple backgrounds using shorthand
|
3
|
-
// notation.
|
4
|
-
//************************************************************************//
|
5
|
-
|
6
|
-
@mixin background($backgrounds...) {
|
7
|
-
$webkit-backgrounds: ();
|
8
|
-
$spec-backgrounds: ();
|
9
|
-
|
10
|
-
@each $background in $backgrounds {
|
11
|
-
$webkit-background: ();
|
12
|
-
$spec-background: ();
|
13
|
-
$background-type: type-of($background);
|
14
|
-
|
15
|
-
@if $background-type == string or $background-type == list {
|
16
|
-
$background-str: if($background-type == list, nth($background, 1), $background);
|
17
|
-
|
18
|
-
$url-str: str-slice($background-str, 1, 3);
|
19
|
-
$gradient-type: str-slice($background-str, 1, 6);
|
20
|
-
|
21
|
-
@if $url-str == "url" {
|
22
|
-
$webkit-background: $background;
|
23
|
-
$spec-background: $background;
|
24
|
-
}
|
25
|
-
|
26
|
-
@else if $gradient-type == "linear" {
|
27
|
-
$gradients: _linear-gradient-parser("#{$background}");
|
28
|
-
$webkit-background: map-get($gradients, webkit-image);
|
29
|
-
$spec-background: map-get($gradients, spec-image);
|
30
|
-
}
|
31
|
-
|
32
|
-
@else if $gradient-type == "radial" {
|
33
|
-
$gradients: _radial-gradient-parser("#{$background}");
|
34
|
-
$webkit-background: map-get($gradients, webkit-image);
|
35
|
-
$spec-background: map-get($gradients, spec-image);
|
36
|
-
}
|
37
|
-
|
38
|
-
@else {
|
39
|
-
$webkit-background: $background;
|
40
|
-
$spec-background: $background;
|
41
|
-
}
|
42
|
-
}
|
43
|
-
|
44
|
-
@else {
|
45
|
-
$webkit-background: $background;
|
46
|
-
$spec-background: $background;
|
47
|
-
}
|
48
|
-
|
49
|
-
$webkit-backgrounds: append($webkit-backgrounds, $webkit-background, comma);
|
50
|
-
$spec-backgrounds: append($spec-backgrounds, $spec-background, comma);
|
51
|
-
}
|
52
|
-
|
53
|
-
background: $webkit-backgrounds;
|
54
|
-
background: $spec-backgrounds;
|
55
|
-
}
|
@@ -1,59 +0,0 @@
|
|
1
|
-
@mixin border-image($borders...) {
|
2
|
-
$webkit-borders: ();
|
3
|
-
$spec-borders: ();
|
4
|
-
|
5
|
-
@each $border in $borders {
|
6
|
-
$webkit-border: ();
|
7
|
-
$spec-border: ();
|
8
|
-
$border-type: type-of($border);
|
9
|
-
|
10
|
-
@if $border-type == string or list {
|
11
|
-
$border-str: if($border-type == list, nth($border, 1), $border);
|
12
|
-
|
13
|
-
$url-str: str-slice($border-str, 1, 3);
|
14
|
-
$gradient-type: str-slice($border-str, 1, 6);
|
15
|
-
|
16
|
-
@if $url-str == "url" {
|
17
|
-
$webkit-border: $border;
|
18
|
-
$spec-border: $border;
|
19
|
-
}
|
20
|
-
|
21
|
-
@else if $gradient-type == "linear" {
|
22
|
-
$gradients: _linear-gradient-parser("#{$border}");
|
23
|
-
$webkit-border: map-get($gradients, webkit-image);
|
24
|
-
$spec-border: map-get($gradients, spec-image);
|
25
|
-
}
|
26
|
-
|
27
|
-
@else if $gradient-type == "radial" {
|
28
|
-
$gradients: _radial-gradient-parser("#{$border}");
|
29
|
-
$webkit-border: map-get($gradients, webkit-image);
|
30
|
-
$spec-border: map-get($gradients, spec-image);
|
31
|
-
}
|
32
|
-
|
33
|
-
@else {
|
34
|
-
$webkit-border: $border;
|
35
|
-
$spec-border: $border;
|
36
|
-
}
|
37
|
-
}
|
38
|
-
|
39
|
-
@else {
|
40
|
-
$webkit-border: $border;
|
41
|
-
$spec-border: $border;
|
42
|
-
}
|
43
|
-
|
44
|
-
$webkit-borders: append($webkit-borders, $webkit-border, comma);
|
45
|
-
$spec-borders: append($spec-borders, $spec-border, comma);
|
46
|
-
}
|
47
|
-
|
48
|
-
-webkit-border-image: $webkit-borders;
|
49
|
-
border-image: $spec-borders;
|
50
|
-
border-style: solid;
|
51
|
-
}
|
52
|
-
|
53
|
-
//Examples:
|
54
|
-
// @include border-image(url("image.png"));
|
55
|
-
// @include border-image(url("image.png") 20 stretch);
|
56
|
-
// @include border-image(linear-gradient(45deg, orange, yellow));
|
57
|
-
// @include border-image(linear-gradient(45deg, orange, yellow) stretch);
|
58
|
-
// @include border-image(linear-gradient(45deg, orange, yellow) 20 30 40 50 stretch round);
|
59
|
-
// @include border-image(radial-gradient(top, cover, orange, yellow, orange));
|
@@ -1,47 +0,0 @@
|
|
1
|
-
@mixin columns($arg: auto) {
|
2
|
-
// <column-count> || <column-width>
|
3
|
-
@include prefixer(columns, $arg, webkit moz spec);
|
4
|
-
}
|
5
|
-
|
6
|
-
@mixin column-count($int: auto) {
|
7
|
-
// auto || integer
|
8
|
-
@include prefixer(column-count, $int, webkit moz spec);
|
9
|
-
}
|
10
|
-
|
11
|
-
@mixin column-gap($length: normal) {
|
12
|
-
// normal || length
|
13
|
-
@include prefixer(column-gap, $length, webkit moz spec);
|
14
|
-
}
|
15
|
-
|
16
|
-
@mixin column-fill($arg: auto) {
|
17
|
-
// auto || length
|
18
|
-
@include prefixer(column-fill, $arg, webkit moz spec);
|
19
|
-
}
|
20
|
-
|
21
|
-
@mixin column-rule($arg) {
|
22
|
-
// <border-width> || <border-style> || <color>
|
23
|
-
@include prefixer(column-rule, $arg, webkit moz spec);
|
24
|
-
}
|
25
|
-
|
26
|
-
@mixin column-rule-color($color) {
|
27
|
-
@include prefixer(column-rule-color, $color, webkit moz spec);
|
28
|
-
}
|
29
|
-
|
30
|
-
@mixin column-rule-style($style: none) {
|
31
|
-
// none | hidden | dashed | dotted | double | groove | inset | inset | outset | ridge | solid
|
32
|
-
@include prefixer(column-rule-style, $style, webkit moz spec);
|
33
|
-
}
|
34
|
-
|
35
|
-
@mixin column-rule-width ($width: none) {
|
36
|
-
@include prefixer(column-rule-width, $width, webkit moz spec);
|
37
|
-
}
|
38
|
-
|
39
|
-
@mixin column-span($arg: none) {
|
40
|
-
// none || all
|
41
|
-
@include prefixer(column-span, $arg, webkit moz spec);
|
42
|
-
}
|
43
|
-
|
44
|
-
@mixin column-width($length: auto) {
|
45
|
-
// auto || length
|
46
|
-
@include prefixer(column-width, $length, webkit moz spec);
|
47
|
-
}
|