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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0613b542e5cd796cf8c912714a9adab8a765ff22
|
4
|
+
data.tar.gz: 10ec251c324c518266af1be8442a838fda24dbde
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ae01836675fd465bd26c5b43c814db2ecaac6862adb1a11fc049c03d2710f580502e89c55c494a137550c276dc94bd1eb8615b082c552c8565e2ea902266796
|
7
|
+
data.tar.gz: 9ab0cb8f6280d405ba0e0f4b73ebbd82db504258485cd1b86b7c29f3a4fd23d3179d022d2dc6964995d58856b84817d7292d63f2940d918d7902a27486ffc159
|
data/_sass/bourbon/_bourbon.scss
CHANGED
@@ -1,87 +1,52 @@
|
|
1
|
-
// Bourbon
|
1
|
+
// Bourbon 5.0.0-beta.6
|
2
2
|
// http://bourbon.io
|
3
|
-
// Copyright 2011
|
3
|
+
// Copyright 2011 thoughtbot, inc.
|
4
4
|
// MIT License
|
5
5
|
|
6
|
-
@import "
|
7
|
-
@import "
|
8
|
-
@import "
|
6
|
+
@import "bourbon/helpers/buttons-list";
|
7
|
+
@import "bourbon/helpers/scales";
|
8
|
+
@import "bourbon/helpers/text-inputs-list";
|
9
9
|
|
10
|
-
@import "
|
11
|
-
@import "functions/contains";
|
12
|
-
@import "functions/contains-falsy";
|
13
|
-
@import "functions/is-length";
|
14
|
-
@import "functions/is-light";
|
15
|
-
@import "functions/is-number";
|
16
|
-
@import "functions/is-size";
|
17
|
-
@import "functions/px-to-em";
|
18
|
-
@import "functions/px-to-rem";
|
19
|
-
@import "functions/shade";
|
20
|
-
@import "functions/strip-units";
|
21
|
-
@import "functions/tint";
|
22
|
-
@import "functions/transition-property-name";
|
23
|
-
@import "functions/unpack";
|
24
|
-
@import "functions/modular-scale";
|
10
|
+
@import "bourbon/settings/settings";
|
25
11
|
|
26
|
-
@import "
|
27
|
-
@import "
|
28
|
-
@import "
|
29
|
-
@import "
|
30
|
-
@import "
|
31
|
-
@import "
|
32
|
-
@import "
|
33
|
-
@import "helpers/linear-side-corner-parser";
|
34
|
-
@import "helpers/radial-arg-parser";
|
35
|
-
@import "helpers/radial-positions-parser";
|
36
|
-
@import "helpers/radial-gradient-parser";
|
37
|
-
@import "helpers/render-gradients";
|
38
|
-
@import "helpers/shape-size-stripper";
|
39
|
-
@import "helpers/str-to-num";
|
12
|
+
@import "bourbon/validators/contains";
|
13
|
+
@import "bourbon/validators/contains-falsy";
|
14
|
+
@import "bourbon/validators/is-color";
|
15
|
+
@import "bourbon/validators/is-length";
|
16
|
+
@import "bourbon/validators/is-light";
|
17
|
+
@import "bourbon/validators/is-number";
|
18
|
+
@import "bourbon/validators/is-size";
|
40
19
|
|
41
|
-
@import "
|
42
|
-
@import "
|
43
|
-
@import "
|
44
|
-
@import "
|
45
|
-
@import "
|
46
|
-
@import "
|
47
|
-
@import "css3/calc";
|
48
|
-
@import "css3/columns";
|
49
|
-
@import "css3/filter";
|
50
|
-
@import "css3/flex-box";
|
51
|
-
@import "css3/font-face";
|
52
|
-
@import "css3/font-feature-settings";
|
53
|
-
@import "css3/hidpi-media-query";
|
54
|
-
@import "css3/hyphens";
|
55
|
-
@import "css3/image-rendering";
|
56
|
-
@import "css3/keyframes";
|
57
|
-
@import "css3/linear-gradient";
|
58
|
-
@import "css3/perspective";
|
59
|
-
@import "css3/placeholder";
|
60
|
-
@import "css3/radial-gradient";
|
61
|
-
@import "css3/selection";
|
62
|
-
@import "css3/text-decoration";
|
63
|
-
@import "css3/transform";
|
64
|
-
@import "css3/transition";
|
65
|
-
@import "css3/user-select";
|
20
|
+
@import "bourbon/utilities/assign-inputs";
|
21
|
+
@import "bourbon/utilities/collapse-directionals";
|
22
|
+
@import "bourbon/utilities/directional-values";
|
23
|
+
@import "bourbon/utilities/font-source-declaration";
|
24
|
+
@import "bourbon/utilities/retrieve-bourbon-setting";
|
25
|
+
@import "bourbon/utilities/unpack";
|
66
26
|
|
67
|
-
@import "
|
68
|
-
@import "
|
69
|
-
@import "
|
70
|
-
@import "
|
71
|
-
@import "
|
72
|
-
@import "
|
73
|
-
@import "
|
74
|
-
@import "
|
75
|
-
@import "
|
76
|
-
@import "
|
77
|
-
@import "
|
78
|
-
@import "
|
79
|
-
@import "
|
80
|
-
@import "
|
81
|
-
@import "
|
82
|
-
@import "
|
83
|
-
@import "
|
84
|
-
@import "
|
85
|
-
@import "
|
86
|
-
|
87
|
-
@import "bourbon-
|
27
|
+
@import "bourbon/library/border-color";
|
28
|
+
@import "bourbon/library/border-radius";
|
29
|
+
@import "bourbon/library/border-style";
|
30
|
+
@import "bourbon/library/border-width";
|
31
|
+
@import "bourbon/library/buttons";
|
32
|
+
@import "bourbon/library/clearfix";
|
33
|
+
@import "bourbon/library/contrast-switch";
|
34
|
+
@import "bourbon/library/ellipsis";
|
35
|
+
@import "bourbon/library/font-face";
|
36
|
+
@import "bourbon/library/font-stacks";
|
37
|
+
@import "bourbon/library/hide-text";
|
38
|
+
@import "bourbon/library/hide-visually";
|
39
|
+
@import "bourbon/library/margin";
|
40
|
+
@import "bourbon/library/modular-scale";
|
41
|
+
@import "bourbon/library/padding";
|
42
|
+
@import "bourbon/library/position";
|
43
|
+
@import "bourbon/library/prefixer";
|
44
|
+
@import "bourbon/library/shade";
|
45
|
+
@import "bourbon/library/size";
|
46
|
+
@import "bourbon/library/strip-unit";
|
47
|
+
@import "bourbon/library/text-inputs";
|
48
|
+
@import "bourbon/library/timing-functions";
|
49
|
+
@import "bourbon/library/tint";
|
50
|
+
@import "bourbon/library/triangle";
|
51
|
+
@import "bourbon/library/value-prefixer";
|
52
|
+
@import "bourbon/library/word-wrap";
|
@@ -0,0 +1,27 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
|
3
|
+
////
|
4
|
+
/// Pre-defined scales for use with the `modular-scale` function.
|
5
|
+
///
|
6
|
+
/// @type number (unitless)
|
7
|
+
///
|
8
|
+
/// @see {function} modular-scale
|
9
|
+
////
|
10
|
+
|
11
|
+
$minor-second: 1.067;
|
12
|
+
$major-second: 1.125;
|
13
|
+
$minor-third: 1.2;
|
14
|
+
$major-third: 1.25;
|
15
|
+
$perfect-fourth: 1.333;
|
16
|
+
$augmented-fourth: 1.414;
|
17
|
+
$perfect-fifth: 1.5;
|
18
|
+
$minor-sixth: 1.6;
|
19
|
+
$golden: 1.618;
|
20
|
+
$major-sixth: 1.667;
|
21
|
+
$minor-seventh: 1.778;
|
22
|
+
$major-seventh: 1.875;
|
23
|
+
$octave: 2;
|
24
|
+
$major-tenth: 2.5;
|
25
|
+
$major-eleventh: 2.667;
|
26
|
+
$major-twelfth: 3;
|
27
|
+
$double-octave: 4;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
|
3
|
+
/// A list of all _text-based_ HTML inputs.
|
4
|
+
///
|
5
|
+
/// @type list
|
6
|
+
///
|
7
|
+
/// @access private
|
8
|
+
|
9
|
+
$_text-inputs-list: (
|
10
|
+
"[type='color']",
|
11
|
+
"[type='date']",
|
12
|
+
"[type='datetime']",
|
13
|
+
"[type='datetime-local']",
|
14
|
+
"[type='email']",
|
15
|
+
"[type='month']",
|
16
|
+
"[type='number']",
|
17
|
+
"[type='password']",
|
18
|
+
"[type='search']",
|
19
|
+
"[type='tel']",
|
20
|
+
"[type='text']",
|
21
|
+
"[type='time']",
|
22
|
+
"[type='url']",
|
23
|
+
"[type='week']",
|
24
|
+
"input:not([type])",
|
25
|
+
"textarea",
|
26
|
+
);
|
@@ -0,0 +1,25 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
|
3
|
+
/// Provides a quick method for targeting `border-color` on specific sides of a
|
4
|
+
/// box. Use a `null` value to “skip” a side.
|
5
|
+
///
|
6
|
+
/// @argument {arglist} $values
|
7
|
+
/// List of colors, defined as CSS shorthand.
|
8
|
+
///
|
9
|
+
/// @example scss
|
10
|
+
/// .element {
|
11
|
+
/// @include border-color(#a60b55 #76cd9c null #e8ae1a);
|
12
|
+
/// }
|
13
|
+
///
|
14
|
+
/// @example css
|
15
|
+
/// .element {
|
16
|
+
/// border-left-color: #e8ae1a;
|
17
|
+
/// border-right-color: #76cd9c;
|
18
|
+
/// border-top-color: #a60b55;
|
19
|
+
/// }
|
20
|
+
///
|
21
|
+
/// @require {mixin} _directional-property
|
22
|
+
|
23
|
+
@mixin border-color($values...) {
|
24
|
+
@include _directional-property(border, color, $values...);
|
25
|
+
}
|
@@ -0,0 +1,85 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
|
3
|
+
/// Provides a shorthand syntax to add `border-radius` to both the top-left and
|
4
|
+
/// top-right of an element.
|
5
|
+
///
|
6
|
+
/// @argument {number (with unit)} $radii
|
7
|
+
///
|
8
|
+
/// @example scss
|
9
|
+
/// .element {
|
10
|
+
/// @include border-top-radius(4px);
|
11
|
+
/// }
|
12
|
+
///
|
13
|
+
/// @example css
|
14
|
+
/// .element {
|
15
|
+
/// border-top-left-radius: 4px;
|
16
|
+
/// border-top-right-radius: 4px;
|
17
|
+
/// }
|
18
|
+
|
19
|
+
@mixin border-top-radius($radii) {
|
20
|
+
border-top-left-radius: $radii;
|
21
|
+
border-top-right-radius: $radii;
|
22
|
+
}
|
23
|
+
|
24
|
+
/// Provides a shorthand syntax to add `border-radius` to both the top-right and
|
25
|
+
/// bottom-right of an element.
|
26
|
+
///
|
27
|
+
/// @argument {number (with unit)} $radii
|
28
|
+
///
|
29
|
+
/// @example scss
|
30
|
+
/// .element {
|
31
|
+
/// @include border-right-radius(3px);
|
32
|
+
/// }
|
33
|
+
///
|
34
|
+
/// @example css
|
35
|
+
/// .element {
|
36
|
+
/// border-bottom-right-radius: 3px;
|
37
|
+
/// border-top-right-radius: 3px;
|
38
|
+
/// }
|
39
|
+
|
40
|
+
@mixin border-right-radius($radii) {
|
41
|
+
border-bottom-right-radius: $radii;
|
42
|
+
border-top-right-radius: $radii;
|
43
|
+
}
|
44
|
+
|
45
|
+
/// Provides a shorthand syntax to add `border-radius` to both the bottom-left
|
46
|
+
/// and bottom-right of an element.
|
47
|
+
///
|
48
|
+
/// @argument {number (with unit)} $radii
|
49
|
+
///
|
50
|
+
/// @example scss
|
51
|
+
/// .element {
|
52
|
+
/// @include border-bottom-radius(2px);
|
53
|
+
/// }
|
54
|
+
///
|
55
|
+
/// @example css
|
56
|
+
/// .element {
|
57
|
+
/// border-bottom-left-radius: 2px;
|
58
|
+
/// border-bottom-right-radius: 2px;
|
59
|
+
/// }
|
60
|
+
|
61
|
+
@mixin border-bottom-radius($radii) {
|
62
|
+
border-bottom-left-radius: $radii;
|
63
|
+
border-bottom-right-radius: $radii;
|
64
|
+
}
|
65
|
+
|
66
|
+
/// Provides a shorthand syntax to add `border-radius` to both the top-left
|
67
|
+
/// and bottom-left of an element.
|
68
|
+
///
|
69
|
+
/// @argument {number (with unit)} $radii
|
70
|
+
///
|
71
|
+
/// @example scss
|
72
|
+
/// .element {
|
73
|
+
/// @include border-left-radius(1px);
|
74
|
+
/// }
|
75
|
+
///
|
76
|
+
/// @example css
|
77
|
+
/// .element {
|
78
|
+
/// border-bottom-left-radius: 1px;
|
79
|
+
/// border-top-left-radius: 1px;
|
80
|
+
/// }
|
81
|
+
|
82
|
+
@mixin border-left-radius($radii) {
|
83
|
+
border-bottom-left-radius: $radii;
|
84
|
+
border-top-left-radius: $radii;
|
85
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
|
3
|
+
/// Provides a quick method for targeting `border-style` on specific sides of a
|
4
|
+
/// box. Use a `null` value to “skip” a side.
|
5
|
+
///
|
6
|
+
/// @argument {arglist} $values
|
7
|
+
/// List of border styles, defined as CSS shorthand.
|
8
|
+
///
|
9
|
+
/// @example scss
|
10
|
+
/// .element {
|
11
|
+
/// @include border-style(dashed null solid);
|
12
|
+
/// }
|
13
|
+
///
|
14
|
+
/// @example css
|
15
|
+
/// .element {
|
16
|
+
/// border-bottom-style: solid;
|
17
|
+
/// border-top-style: dashed;
|
18
|
+
/// }
|
19
|
+
///
|
20
|
+
/// @require {mixin} _directional-property
|
21
|
+
|
22
|
+
@mixin border-style($values...) {
|
23
|
+
@include _directional-property(border, style, $values...);
|
24
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
|
3
|
+
/// Provides a quick method for targeting `border-width` on specific sides of a
|
4
|
+
/// box. Use a `null` value to “skip” a side.
|
5
|
+
///
|
6
|
+
/// @argument {arglist} $values
|
7
|
+
/// List of border widths, defined as CSS shorthand.
|
8
|
+
///
|
9
|
+
/// @example scss
|
10
|
+
/// .element {
|
11
|
+
/// @include border-width(1em null 20px);
|
12
|
+
/// }
|
13
|
+
///
|
14
|
+
/// @example css
|
15
|
+
/// .element {
|
16
|
+
/// border-bottom-width: 20px;
|
17
|
+
/// border-top-width: 1em;
|
18
|
+
/// }
|
19
|
+
///
|
20
|
+
/// @require {mixin} _directional-property
|
21
|
+
|
22
|
+
@mixin border-width($values...) {
|
23
|
+
@include _directional-property(border, width, $values...);
|
24
|
+
}
|
@@ -0,0 +1,84 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
|
3
|
+
////
|
4
|
+
/// @type list
|
5
|
+
///
|
6
|
+
/// @require {function} _assign-inputs
|
7
|
+
///
|
8
|
+
/// @require {variable} $_buttons-list
|
9
|
+
////
|
10
|
+
|
11
|
+
/// A list of all HTML button elements. Please note that you must interpolate
|
12
|
+
/// the variable (`#{}`) to use it as a selector.
|
13
|
+
///
|
14
|
+
/// @example scss
|
15
|
+
/// #{$all-buttons} {
|
16
|
+
/// background-color: #f00;
|
17
|
+
/// }
|
18
|
+
///
|
19
|
+
/// @example css
|
20
|
+
/// button,
|
21
|
+
/// [type='button'],
|
22
|
+
/// [type='reset'],
|
23
|
+
/// [type='submit'] {
|
24
|
+
/// background-color: #f00;
|
25
|
+
/// }
|
26
|
+
|
27
|
+
$all-buttons: _assign-inputs($_buttons-list);
|
28
|
+
|
29
|
+
/// A list of all HTML button elements with the `:active` pseudo-class applied.
|
30
|
+
/// Please note that you must interpolate the variable (`#{}`) to use it as a
|
31
|
+
/// selector.
|
32
|
+
///
|
33
|
+
/// @example scss
|
34
|
+
/// #{$all-buttons-active} {
|
35
|
+
/// background-color: #00f;
|
36
|
+
/// }
|
37
|
+
///
|
38
|
+
/// @example css
|
39
|
+
/// button:active,
|
40
|
+
/// [type='button']:active,
|
41
|
+
/// [type='reset']:active,
|
42
|
+
/// [type='submit']:active {
|
43
|
+
/// background-color: #00f;
|
44
|
+
/// }
|
45
|
+
|
46
|
+
$all-buttons-active: _assign-inputs($_buttons-list, active);
|
47
|
+
|
48
|
+
/// A list of all HTML button elements with the `:focus` pseudo-class applied.
|
49
|
+
/// Please note that you must interpolate the variable (`#{}`) to use it as a
|
50
|
+
/// selector.
|
51
|
+
///
|
52
|
+
/// @example scss
|
53
|
+
/// #{$all-buttons-focus} {
|
54
|
+
/// background-color: #0f0;
|
55
|
+
/// }
|
56
|
+
///
|
57
|
+
/// @example css
|
58
|
+
/// button:focus,
|
59
|
+
/// [type='button']:focus,
|
60
|
+
/// [type='reset']:focus,
|
61
|
+
/// [type='submit']:focus {
|
62
|
+
/// background-color: #0f0;
|
63
|
+
/// }
|
64
|
+
|
65
|
+
$all-buttons-focus: _assign-inputs($_buttons-list, focus);
|
66
|
+
|
67
|
+
/// A list of all HTML button elements with the `:hover` pseudo-class applied.
|
68
|
+
/// Please note that you must interpolate the variable (`#{}`) to use it as a
|
69
|
+
/// selector.
|
70
|
+
///
|
71
|
+
/// @example scss
|
72
|
+
/// #{$all-buttons-hover} {
|
73
|
+
/// background-color: #0f0;
|
74
|
+
/// }
|
75
|
+
///
|
76
|
+
/// @example css
|
77
|
+
/// button:hover,
|
78
|
+
/// [type='button']:hover,
|
79
|
+
/// [type='reset']:hover,
|
80
|
+
/// [type='submit']:hover {
|
81
|
+
/// background-color: #0f0;
|
82
|
+
/// }
|
83
|
+
|
84
|
+
$all-buttons-hover: _assign-inputs($_buttons-list, hover);
|