shipyard-framework 0.6.1 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/javascripts/shipyard/modal.js +2 -2
- data/assets/stylesheets/shipyard/_components.sass +4 -0
- data/assets/stylesheets/shipyard/_mixins.sass +2 -0
- data/assets/stylesheets/shipyard/_utilities.sass +22 -8
- data/assets/stylesheets/shipyard/_variables.sass +1 -3
- data/assets/stylesheets/shipyard/{utilities → components}/_accordion.sass +4 -4
- data/assets/stylesheets/shipyard/components/_alerts.sass +8 -10
- data/assets/stylesheets/shipyard/components/_boxes.sass +1 -15
- data/assets/stylesheets/shipyard/components/_bullet.sass +6 -0
- data/assets/stylesheets/shipyard/components/_buttons.sass +0 -3
- data/assets/stylesheets/shipyard/components/_container.sass +6 -0
- data/assets/stylesheets/shipyard/components/_forms.sass +1 -1
- data/assets/stylesheets/shipyard/components/_grid.sass +62 -0
- data/assets/stylesheets/shipyard/components/_hamburger.sass +4 -4
- data/assets/stylesheets/shipyard/components/_header.sass +14 -14
- data/assets/stylesheets/shipyard/components/_horizontal-rules.sass +1 -1
- data/assets/stylesheets/shipyard/components/_input-radio-checkbox.sass +1 -1
- data/assets/stylesheets/shipyard/components/_input-select.sass +1 -1
- data/assets/stylesheets/shipyard/components/_input-text.sass +1 -1
- data/assets/stylesheets/shipyard/components/_modals.sass +2 -3
- data/assets/stylesheets/shipyard/components/_notes.sass +6 -6
- data/assets/stylesheets/shipyard/components/_tables.sass +1 -1
- data/assets/stylesheets/shipyard/components/_tooltips.sass +8 -4
- data/assets/stylesheets/shipyard/core/_typography.sass +0 -19
- data/assets/stylesheets/shipyard/functions/_color.sass +4 -7
- data/assets/stylesheets/shipyard/mixins/_components.sass +0 -6
- data/assets/stylesheets/shipyard/mixins/_grid.sass +17 -0
- data/assets/stylesheets/shipyard/mixins/_responsive.sass +38 -42
- data/assets/stylesheets/shipyard/mixins/_utility.sass +50 -0
- data/assets/stylesheets/shipyard/utilities/_border-radius.sass +29 -39
- data/assets/stylesheets/shipyard/utilities/_box-shadow.sass +1 -0
- data/assets/stylesheets/shipyard/utilities/_center.sass +8 -14
- data/assets/stylesheets/shipyard/utilities/_colors.sass +2 -12
- data/assets/stylesheets/shipyard/utilities/_cursor.sass +1 -0
- data/assets/stylesheets/shipyard/utilities/_display.sass +1 -14
- data/assets/stylesheets/shipyard/utilities/_flex-direction.sass +1 -0
- data/assets/stylesheets/shipyard/utilities/_float.sass +4 -0
- data/assets/stylesheets/shipyard/utilities/_font-family.sass +1 -0
- data/assets/stylesheets/shipyard/utilities/_font-size.sass +1 -0
- data/assets/stylesheets/shipyard/utilities/_font-style.sass +1 -0
- data/assets/stylesheets/shipyard/utilities/_font-weight.sass +1 -0
- data/assets/stylesheets/shipyard/utilities/_height.sass +1 -0
- data/assets/stylesheets/shipyard/utilities/_margin.sass +1 -0
- data/assets/stylesheets/shipyard/utilities/_opacity.sass +1 -4
- data/assets/stylesheets/shipyard/utilities/_overflow.sass +3 -11
- data/assets/stylesheets/shipyard/utilities/_padding.sass +1 -0
- data/assets/stylesheets/shipyard/utilities/_position.sass +1 -4
- data/assets/stylesheets/shipyard/utilities/_text-align.sass +1 -0
- data/assets/stylesheets/shipyard/utilities/_text-decoration.sass +1 -0
- data/assets/stylesheets/shipyard/utilities/_text-overflow.sass +1 -0
- data/assets/stylesheets/shipyard/utilities/_text-shadow.sass +1 -0
- data/assets/stylesheets/shipyard/utilities/_text-transform.sass +1 -0
- data/assets/stylesheets/shipyard/utilities/_transform.sass +1 -0
- data/assets/stylesheets/shipyard/utilities/_transition.sass +1 -0
- data/assets/stylesheets/shipyard/utilities/_white-space.sass +1 -0
- data/assets/stylesheets/shipyard/utilities/_z-index.sass +1 -0
- data/assets/stylesheets/shipyard/variables/_color_utilities.sass +54 -54
- data/assets/stylesheets/shipyard/variables/_colors.scss +101 -88
- data/assets/stylesheets/shipyard/variables/_components.scss +0 -1
- data/assets/stylesheets/shipyard/variables/_options.scss +322 -0
- data/assets/stylesheets/shipyard/variables/_typography.sass +3 -2
- data/lib/shipyard-framework.rb +0 -3
- data/lib/shipyard-framework/helpers/alert_helper.rb +1 -1
- data/lib/shipyard-framework/version.rb +1 -1
- metadata +29 -11
- data/assets/stylesheets/shipyard/utilities/_grid.sass +0 -74
- data/assets/stylesheets/shipyard/utilities/_margin-padding.sass +0 -40
- data/assets/stylesheets/shipyard/utilities/_typography.sass +0 -104
- data/assets/stylesheets/shipyard/variables/_grid.sass +0 -2
- data/assets/stylesheets/shipyard/variables/_opacities.scss +0 -22
- data/assets/stylesheets/shipyard/variables/_z-index.scss +0 -9
- data/lib/shipyard-framework/helpers/button_helper.rb +0 -39
- data/lib/shipyard-framework/jekyll/tags/button_tag.rb +0 -21
@@ -0,0 +1 @@
|
|
1
|
+
+utility(font-family)
|
@@ -0,0 +1 @@
|
|
1
|
+
+utility(font-size)
|
@@ -0,0 +1 @@
|
|
1
|
+
+utility(font-style)
|
@@ -0,0 +1 @@
|
|
1
|
+
+utility(font-weight)
|
@@ -0,0 +1 @@
|
|
1
|
+
+utility(height)
|
@@ -0,0 +1 @@
|
|
1
|
+
+utility(margin)
|
@@ -0,0 +1 @@
|
|
1
|
+
+utility(padding)
|
@@ -0,0 +1 @@
|
|
1
|
+
+utility(text-align)
|
@@ -0,0 +1 @@
|
|
1
|
+
+utility(text-decoration)
|
@@ -0,0 +1 @@
|
|
1
|
+
+utility(text-overflow)
|
@@ -0,0 +1 @@
|
|
1
|
+
+utility(text-shadow)
|
@@ -0,0 +1 @@
|
|
1
|
+
+utility(text-transform)
|
@@ -0,0 +1 @@
|
|
1
|
+
+utility(transform)
|
@@ -0,0 +1 @@
|
|
1
|
+
+utility(transition)
|
@@ -0,0 +1 @@
|
|
1
|
+
+utility(white-space)
|
@@ -0,0 +1 @@
|
|
1
|
+
+utility(z-index)
|
@@ -4,81 +4,81 @@ $white: color('white') !default
|
|
4
4
|
|
5
5
|
// Gray
|
6
6
|
$gray: color('gray') !default
|
7
|
-
$gray-light: color('gray
|
8
|
-
$gray-lighter: color('gray
|
9
|
-
$gray-lightest: color('gray
|
10
|
-
$gray-dark: color('gray
|
11
|
-
$gray-darker: color('gray
|
12
|
-
$gray-darkest: color('gray
|
7
|
+
$gray-light: color('gray-light') !default
|
8
|
+
$gray-lighter: color('gray-lighter') !default
|
9
|
+
$gray-lightest: color('gray-lightest') !default
|
10
|
+
$gray-dark: color('gray-dark') !default
|
11
|
+
$gray-darker: color('gray-darker') !default
|
12
|
+
$gray-darkest: color('gray-darkest') !default
|
13
13
|
|
14
14
|
// Green
|
15
15
|
$green: color('green') !default
|
16
|
-
$green-light: color('green
|
17
|
-
$green-lighter: color('green
|
18
|
-
$green-lightest: color('green
|
19
|
-
$green-dark: color('green
|
20
|
-
$green-darker: color('green
|
21
|
-
$green-darkest: color('green
|
16
|
+
$green-light: color('green-light') !default
|
17
|
+
$green-lighter: color('green-lighter') !default
|
18
|
+
$green-lightest: color('green-lightest') !default
|
19
|
+
$green-dark: color('green-dark') !default
|
20
|
+
$green-darker: color('green-darker') !default
|
21
|
+
$green-darkest: color('green-darkest') !default
|
22
22
|
|
23
23
|
// Blue
|
24
24
|
$blue: color('blue') !default
|
25
|
-
$blue-light: color('blue
|
26
|
-
$blue-lighter: color('blue
|
27
|
-
$blue-lightest: color('blue
|
28
|
-
$blue-dark: color('blue
|
29
|
-
$blue-darker: color('blue
|
30
|
-
$blue-darkest: color('blue
|
25
|
+
$blue-light: color('blue-light') !default
|
26
|
+
$blue-lighter: color('blue-lighter') !default
|
27
|
+
$blue-lightest: color('blue-lightest') !default
|
28
|
+
$blue-dark: color('blue-dark') !default
|
29
|
+
$blue-darker: color('blue-darker') !default
|
30
|
+
$blue-darkest: color('blue-darkest') !default
|
31
31
|
|
32
32
|
// Teal
|
33
33
|
$teal: color('teal') !default
|
34
|
-
$teal-light: color('teal
|
35
|
-
$teal-lighter: color('teal
|
36
|
-
$teal-lightest: color('teal
|
37
|
-
$teal-dark: color('teal
|
38
|
-
$teal-darker: color('teal
|
39
|
-
$teal-darkest: color('teal
|
34
|
+
$teal-light: color('teal-light') !default
|
35
|
+
$teal-lighter: color('teal-lighter') !default
|
36
|
+
$teal-lightest: color('teal-lightest') !default
|
37
|
+
$teal-dark: color('teal-dark') !default
|
38
|
+
$teal-darker: color('teal-darker') !default
|
39
|
+
$teal-darkest: color('teal-darkest') !default
|
40
40
|
|
41
41
|
// Red
|
42
42
|
$red: color('red') !default
|
43
|
-
$red-light: color('red
|
44
|
-
$red-lighter: color('red
|
45
|
-
$red-lightest: color('red
|
46
|
-
$red-dark: color('red
|
47
|
-
$red-darker: color('red
|
48
|
-
$red-darkest: color('red
|
43
|
+
$red-light: color('red-light') !default
|
44
|
+
$red-lighter: color('red-lighter') !default
|
45
|
+
$red-lightest: color('red-lightest') !default
|
46
|
+
$red-dark: color('red-dark') !default
|
47
|
+
$red-darker: color('red-darker') !default
|
48
|
+
$red-darkest: color('red-darkest') !default
|
49
49
|
|
50
50
|
// Yellow
|
51
51
|
$yellow: color('yellow') !default
|
52
|
-
$yellow-light: color('yellow
|
53
|
-
$yellow-lighter: color('yellow
|
54
|
-
$yellow-lightest: color('yellow
|
55
|
-
$yellow-dark: color('yellow
|
56
|
-
$yellow-darker: color('yellow
|
57
|
-
$yellow-darkest: color('yellow
|
52
|
+
$yellow-light: color('yellow-light') !default
|
53
|
+
$yellow-lighter: color('yellow-lighter') !default
|
54
|
+
$yellow-lightest: color('yellow-lightest') !default
|
55
|
+
$yellow-dark: color('yellow-dark') !default
|
56
|
+
$yellow-darker: color('yellow-darker') !default
|
57
|
+
$yellow-darkest: color('yellow-darkest') !default
|
58
58
|
|
59
59
|
// Orange
|
60
60
|
$orange: color('orange') !default
|
61
|
-
$orange-light: color('orange
|
62
|
-
$orange-lighter: color('orange
|
63
|
-
$orange-lightest: color('orange
|
64
|
-
$orange-dark: color('orange
|
65
|
-
$orange-darker: color('orange
|
66
|
-
$orange-darkest: color('orange
|
61
|
+
$orange-light: color('orange-light') !default
|
62
|
+
$orange-lighter: color('orange-lighter') !default
|
63
|
+
$orange-lightest: color('orange-lightest') !default
|
64
|
+
$orange-dark: color('orange-dark') !default
|
65
|
+
$orange-darker: color('orange-darker') !default
|
66
|
+
$orange-darkest: color('orange-darkest') !default
|
67
67
|
|
68
68
|
// Coral
|
69
69
|
$coral: color('coral') !default
|
70
|
-
$coral-light: color('coral
|
71
|
-
$coral-lighter: color('coral
|
72
|
-
$coral-lightest: color('coral
|
73
|
-
$coral-dark: color('coral
|
74
|
-
$coral-darker: color('coral
|
75
|
-
$coral-darkest: color('coral
|
70
|
+
$coral-light: color('coral-light') !default
|
71
|
+
$coral-lighter: color('coral-lighter') !default
|
72
|
+
$coral-lightest: color('coral-lightest') !default
|
73
|
+
$coral-dark: color('coral-dark') !default
|
74
|
+
$coral-darker: color('coral-darker') !default
|
75
|
+
$coral-darkest: color('coral-darkest') !default
|
76
76
|
|
77
77
|
// Purple
|
78
78
|
$purple: color('purple') !default
|
79
|
-
$purple-light: color('purple
|
80
|
-
$purple-lighter: color('purple
|
81
|
-
$purple-lightest: color('purple
|
82
|
-
$purple-dark: color('purple
|
83
|
-
$purple-darker: color('purple
|
84
|
-
$purple-darkest: color('purple
|
79
|
+
$purple-light: color('purple-light') !default
|
80
|
+
$purple-lighter: color('purple-lighter') !default
|
81
|
+
$purple-lightest: color('purple-lightest') !default
|
82
|
+
$purple-dark: color('purple-dark') !default
|
83
|
+
$purple-darker: color('purple-darker') !default
|
84
|
+
$purple-darkest: color('purple-darkest') !default
|
@@ -1,89 +1,102 @@
|
|
1
|
-
$colors: (
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
),
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
),
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
),
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
),
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
),
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
),
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
)
|
1
|
+
$shipyard-colors: (
|
2
|
+
'black': #000,
|
3
|
+
|
4
|
+
// Shipyard: White
|
5
|
+
'white': #fff,
|
6
|
+
'white-90': rgba(#fff, .9),
|
7
|
+
'white-80': rgba(#fff, .8),
|
8
|
+
'white-70': rgba(#fff, .7),
|
9
|
+
'white-60': rgba(#fff, .6),
|
10
|
+
'white-50': rgba(#fff, .5),
|
11
|
+
'white-40': rgba(#fff, .4),
|
12
|
+
|
13
|
+
// Shipyard: Gray
|
14
|
+
'gray': #788594,
|
15
|
+
'gray-light': #bac5d2,
|
16
|
+
'gray-lighter': #dfe6eb,
|
17
|
+
'gray-lightest': #f2f5f7,
|
18
|
+
'gray-dark': darken(#788594, 18%),
|
19
|
+
'gray-darker': #313a44,
|
20
|
+
'gray-darkest': #1e252c,
|
21
|
+
|
22
|
+
// Shipyard: Green
|
23
|
+
'green': darken(#3acc7c, 3%),
|
24
|
+
'green-light': lighten(#3acc7c, 22%),
|
25
|
+
'green-lighter': lighten(#3acc7c, 34%),
|
26
|
+
'green-lightest': lighten(#3acc7c, 41%),
|
27
|
+
'green-dark': darken(#3acc7c, 18%),
|
28
|
+
'green-darker': darken(#3acc7c, 26%),
|
29
|
+
'green-darkest': darken(#3acc7c, 32%),
|
30
|
+
|
31
|
+
// Shipyard: Blue
|
32
|
+
'blue': #1ca1e3,
|
33
|
+
'blue-light': lighten(#5eb9e6, 15%),
|
34
|
+
'blue-lighter': lighten(#9ed8f5, 9%),
|
35
|
+
'blue-lightest': lighten(#9ed8f5, 15%),
|
36
|
+
'blue-dark': #0075b0,
|
37
|
+
'blue-darker': darken(#0075b0, 7%),
|
38
|
+
'blue-darkest': darken(#004d73, 5%),
|
39
|
+
|
40
|
+
// Shipyard: Teal
|
41
|
+
'teal': #20a5a8,
|
42
|
+
'teal-light': #6ab7b9,
|
43
|
+
'teal-lighter': #b2dbdc,
|
44
|
+
'teal-lightest': lighten(#b2dbdc, 13%),
|
45
|
+
'teal-dark': darken(#20a5a8, 8%),
|
46
|
+
'teal-darker': darken(#20a5a8, 16%),
|
47
|
+
'teal-darkest': darken(#20a5a8, 24%),
|
48
|
+
|
49
|
+
// Shipyard: Red
|
50
|
+
'red': #e06158,
|
51
|
+
'red-light': lighten(#e06158, 8%),
|
52
|
+
'red-lighter': lighten(#e06158, 16%),
|
53
|
+
'red-lightest': lighten(#e06158, 32%),
|
54
|
+
'red-dark': #b13b39,
|
55
|
+
'red-darker': #892120,
|
56
|
+
'red-darkest': desaturate(darken(#892120, 8%), 0%),
|
57
|
+
|
58
|
+
// Shipyard: Yellow
|
59
|
+
'yellow': #ffca49,
|
60
|
+
'yellow-light': lighten(#ffca49, 8%),
|
61
|
+
'yellow-lighter': #ffe7b1,
|
62
|
+
'yellow-lightest': lighten(#ffe7b1, 7%),
|
63
|
+
'yellow-dark': darken(#ffca49, 20%),
|
64
|
+
'yellow-darker': darken(#ffca49, 30%),
|
65
|
+
'yellow-darkest': darken(#ffca49, 47%),
|
66
|
+
|
67
|
+
// Shipyard: Orange
|
68
|
+
'orange': #ff9f49,
|
69
|
+
'orange-light': lighten(#ff9f49, 7%),
|
70
|
+
'orange-lighter': lighten(#ff9f49, 14%),
|
71
|
+
'orange-lightest': lighten(#ff9f49, 21%),
|
72
|
+
'orange-dark': desaturate(darken(#ff9f49, 10%), 35%),
|
73
|
+
'orange-darker': desaturate(darken(#ff9f49, 20%), 25%),
|
74
|
+
'orange-darkest': desaturate(darken(#ff9f49, 30%), 15%),
|
75
|
+
|
76
|
+
// Shipyard: Purple
|
77
|
+
'purple': #bf8df6,
|
78
|
+
'purple-light': lighten(#bf8df6, 10%),
|
79
|
+
'purple-lighter': lighten(#bf8df6, 15%),
|
80
|
+
'purple-lightest': lighten(#bf8df6, 20%),
|
81
|
+
'purple-dark': desaturate(darken(#bf8df6, 20%), 35%),
|
82
|
+
'purple-darker': desaturate(darken(#bf8df6, 35%), 35%),
|
83
|
+
'purple-darkest': desaturate(darken(#bf8df6, 50%), 35%),
|
84
|
+
|
85
|
+
// Shipyard: Coral
|
86
|
+
'coral': #f9657a,
|
87
|
+
'coral-light': lighten(#f9657a, 8%),
|
88
|
+
'coral-lighter': lighten(#f9657a, 16%),
|
89
|
+
'coral-lightest': lighten(#f9657a, 25%),
|
90
|
+
'coral-dark': desaturate(darken(#f9657a, 20%), 35%),
|
91
|
+
'coral-darker': desaturate(darken(#f9657a, 30%), 25%),
|
92
|
+
'coral-darkest': desaturate(darken(#f9657a, 40%), 15%),
|
93
|
+
|
94
|
+
// Shipyard: Text Colors
|
95
|
+
'text-darkest': #162b44,
|
96
|
+
'text-darker': rgba(#162b44, .9),
|
97
|
+
'text-dark': rgba(#162b44, .8),
|
98
|
+
'text-normal': rgba(#162b44, .7),
|
99
|
+
'text-light': rgba(#162b44, .6),
|
100
|
+
'text-lighter': rgba(#162b44, .5),
|
101
|
+
'text-lightest': rgba(#162b44, .4)
|
89
102
|
) !default;
|
@@ -0,0 +1,322 @@
|
|
1
|
+
$shipyard-defaults: (
|
2
|
+
|
3
|
+
// Shipyard: Color Utilities
|
4
|
+
color: (
|
5
|
+
prefix: null,
|
6
|
+
responsive: false,
|
7
|
+
values: $shipyard-colors
|
8
|
+
),
|
9
|
+
|
10
|
+
// Shipyard: Color Utilities
|
11
|
+
background-color: (
|
12
|
+
prefix: 'bg',
|
13
|
+
responsive: false,
|
14
|
+
values: $shipyard-colors
|
15
|
+
),
|
16
|
+
|
17
|
+
// Shipyard: Box-Shadow Utility
|
18
|
+
box-shadow: (
|
19
|
+
prefix: 'box-shadow',
|
20
|
+
responsive: false,
|
21
|
+
values: (
|
22
|
+
'': 0 1px 2px rgba($gray-darkest, .08),
|
23
|
+
hover: 0 0 4px 1px rgba($blue, .5),
|
24
|
+
active: 0 0 4px 1px rgba($green, .75)
|
25
|
+
)
|
26
|
+
),
|
27
|
+
|
28
|
+
// Shipyard: Breakpoints
|
29
|
+
breakpoints: (
|
30
|
+
sm: 576px,
|
31
|
+
md: 768px,
|
32
|
+
lg: 992px,
|
33
|
+
xl: 1200px
|
34
|
+
),
|
35
|
+
|
36
|
+
// Shipyard: Margins (TODO: Deprecate this map)
|
37
|
+
margins: (
|
38
|
+
all: 10px,
|
39
|
+
sm: 20px,
|
40
|
+
md: 30px,
|
41
|
+
lg: 30px,
|
42
|
+
xl: 40px
|
43
|
+
),
|
44
|
+
|
45
|
+
// Shipyard: Grid Component
|
46
|
+
grid: (
|
47
|
+
prefix: 'col',
|
48
|
+
responsive: true,
|
49
|
+
values: (0, 5, 10, 15, 20, 25, 30, 33, 35, 40, 45, 50, 55, 60, 65, 66, 70, 75, 80, 85, 90, 95, 100)
|
50
|
+
),
|
51
|
+
|
52
|
+
// Shipyard: Height Component
|
53
|
+
height: (
|
54
|
+
prefix: 'h',
|
55
|
+
responsive: true,
|
56
|
+
values: (
|
57
|
+
'50': 50px,
|
58
|
+
'60': 60px,
|
59
|
+
'70': 70px,
|
60
|
+
'80': 80px,
|
61
|
+
'90': 90px,
|
62
|
+
'100': 100px
|
63
|
+
)
|
64
|
+
),
|
65
|
+
|
66
|
+
// Shipyard: Cursor Utility
|
67
|
+
cursor: (
|
68
|
+
prefix: 'cursor',
|
69
|
+
responsive: false,
|
70
|
+
values: (auto, pointer, default)
|
71
|
+
),
|
72
|
+
|
73
|
+
// Shipyard: Center
|
74
|
+
center: (
|
75
|
+
prefix: 'center',
|
76
|
+
responsive: true,
|
77
|
+
values: ()
|
78
|
+
),
|
79
|
+
|
80
|
+
// Shipyard: Margin Utilities
|
81
|
+
margin: (
|
82
|
+
prefix: 'm',
|
83
|
+
responsive: true,
|
84
|
+
variants: (t: top, b: bottom, l: left, r: right),
|
85
|
+
values: (
|
86
|
+
0: 0,
|
87
|
+
5: 5px,
|
88
|
+
10: 10px,
|
89
|
+
15: 15px,
|
90
|
+
20: 20px,
|
91
|
+
30: 30px,
|
92
|
+
40: 40px,
|
93
|
+
auto: auto
|
94
|
+
)
|
95
|
+
),
|
96
|
+
|
97
|
+
// Shipyard: Padding Utilities
|
98
|
+
padding: (
|
99
|
+
prefix: 'p',
|
100
|
+
responsive: true,
|
101
|
+
variants: (t: top, b: bottom, l: left, r: right),
|
102
|
+
values: (
|
103
|
+
0: 0,
|
104
|
+
5: 5px,
|
105
|
+
10: 10px,
|
106
|
+
15: 15px,
|
107
|
+
20: 20px,
|
108
|
+
30: 30px,
|
109
|
+
40: 40px
|
110
|
+
)
|
111
|
+
),
|
112
|
+
|
113
|
+
// Shipyard: Display Utilities
|
114
|
+
display: (
|
115
|
+
prefix: null,
|
116
|
+
responsive: true,
|
117
|
+
values: (
|
118
|
+
'flex': flex,
|
119
|
+
'block': block,
|
120
|
+
'table': table,
|
121
|
+
'inline': inline,
|
122
|
+
'inline-block': inline-block,
|
123
|
+
'hidden': none
|
124
|
+
)
|
125
|
+
),
|
126
|
+
|
127
|
+
// Shipyard: Font-Family Utility
|
128
|
+
font-family: (
|
129
|
+
prefix: null,
|
130
|
+
responsive: false,
|
131
|
+
values: (
|
132
|
+
'sans-serif': $font-family,
|
133
|
+
'monospace': $font-monospace
|
134
|
+
)
|
135
|
+
),
|
136
|
+
|
137
|
+
// Shipyard: Font-Size Utility
|
138
|
+
font-size: (
|
139
|
+
prefix: 'text',
|
140
|
+
responsive: true,
|
141
|
+
values: $font-sizes
|
142
|
+
),
|
143
|
+
|
144
|
+
// Shipyard: Font-Style Utility
|
145
|
+
font-style: (
|
146
|
+
prefix: null,
|
147
|
+
responsive: false,
|
148
|
+
values: (italic)
|
149
|
+
),
|
150
|
+
|
151
|
+
// Shipyard: Font-Weight Utility
|
152
|
+
font-weight: (
|
153
|
+
prefix: null,
|
154
|
+
responsive: true,
|
155
|
+
values: (
|
156
|
+
normal: normal,
|
157
|
+
bold: bold
|
158
|
+
)
|
159
|
+
),
|
160
|
+
|
161
|
+
// Shipyard: White-Space Utilities
|
162
|
+
white-space: (
|
163
|
+
prefix: 'white-space',
|
164
|
+
responsive: true,
|
165
|
+
values: (normal, pre, nowrap)
|
166
|
+
),
|
167
|
+
|
168
|
+
// Shipyard: Text-Align Utilities
|
169
|
+
text-align: (
|
170
|
+
prefix: 'align',
|
171
|
+
responsive: true,
|
172
|
+
values: (center, left, right)
|
173
|
+
),
|
174
|
+
|
175
|
+
// Shipyard: Text-Direction Utilities
|
176
|
+
text-decoration: (
|
177
|
+
prefix: null,
|
178
|
+
responsive: false,
|
179
|
+
values: (
|
180
|
+
'line-through': line-through,
|
181
|
+
'underline': underline,
|
182
|
+
'no-underline': none
|
183
|
+
)
|
184
|
+
),
|
185
|
+
|
186
|
+
// Shipyard: Text-Align Utilities
|
187
|
+
text-shadow: (
|
188
|
+
prefix: 'text-shadow',
|
189
|
+
responsive: false,
|
190
|
+
values: (
|
191
|
+
xs: 0 1px 0 rgba(#000,.1),
|
192
|
+
sm: 0 1px 1px rgba(#000, .1)
|
193
|
+
)
|
194
|
+
),
|
195
|
+
|
196
|
+
// Shipyard: Text-Transform Utility
|
197
|
+
text-transform: (
|
198
|
+
prefix: null,
|
199
|
+
responsive: false,
|
200
|
+
values: (uppercase, lowercase, capitalize)
|
201
|
+
),
|
202
|
+
|
203
|
+
// Shipyard: Float Utilities
|
204
|
+
float: (
|
205
|
+
prefix: 'float',
|
206
|
+
responsive: true,
|
207
|
+
values: (none, left, right)
|
208
|
+
),
|
209
|
+
|
210
|
+
// Shipyard: Overflow Utility
|
211
|
+
overflow: (
|
212
|
+
prefix: 'overflow',
|
213
|
+
responsive: true,
|
214
|
+
values: (auto, hidden, visible)
|
215
|
+
),
|
216
|
+
|
217
|
+
overflow-x: (
|
218
|
+
prefix: 'overflow-x',
|
219
|
+
responsive: true,
|
220
|
+
values: (scroll: auto)
|
221
|
+
),
|
222
|
+
|
223
|
+
overflow-y: (
|
224
|
+
prefix: 'overflow-y',
|
225
|
+
responsive: true,
|
226
|
+
values: (scroll: auto)
|
227
|
+
),
|
228
|
+
|
229
|
+
// Shipyard: Flex Direction Utility
|
230
|
+
flex-direction: (
|
231
|
+
prefix: 'flex',
|
232
|
+
responsive: true,
|
233
|
+
values: (
|
234
|
+
'row': row,
|
235
|
+
'row-reverse': row-reverse,
|
236
|
+
'col': column,
|
237
|
+
'col-reverse': column-reverse
|
238
|
+
)
|
239
|
+
),
|
240
|
+
|
241
|
+
// Shipyard: Border-Radius Utility
|
242
|
+
border-radius: (
|
243
|
+
prefix: 'rounded',
|
244
|
+
responsive: true,
|
245
|
+
values: (
|
246
|
+
'': 5px,
|
247
|
+
'0': 0,
|
248
|
+
'xs': 2px,
|
249
|
+
'sm': 3px,
|
250
|
+
'md': 5px,
|
251
|
+
'pill': 999px
|
252
|
+
)
|
253
|
+
),
|
254
|
+
|
255
|
+
// Shipyard: Opacity Utility
|
256
|
+
opacity: (
|
257
|
+
prefix: 'o',
|
258
|
+
responsive: false,
|
259
|
+
values: (
|
260
|
+
'90': .9,
|
261
|
+
'80': .8,
|
262
|
+
'70': .7,
|
263
|
+
'60': .6,
|
264
|
+
'50': .5,
|
265
|
+
'40': .4,
|
266
|
+
'30': .3,
|
267
|
+
'20': .2,
|
268
|
+
'10': .1,
|
269
|
+
'0': 0
|
270
|
+
)
|
271
|
+
),
|
272
|
+
|
273
|
+
// Shipyard: Position Utility
|
274
|
+
position: (
|
275
|
+
prefix: null,
|
276
|
+
responsive: true,
|
277
|
+
values: (static, relative, absolute, fixed)
|
278
|
+
),
|
279
|
+
|
280
|
+
// Shipyard: Text-Overflow Utility
|
281
|
+
text-overflow: (
|
282
|
+
prefix: null,
|
283
|
+
responsive: true,
|
284
|
+
values: (ellipsis, clip)
|
285
|
+
),
|
286
|
+
|
287
|
+
// Shipyard: Transition Utility Speeds
|
288
|
+
transition: (
|
289
|
+
prefix: 'ease',
|
290
|
+
responsive: false,
|
291
|
+
values: (
|
292
|
+
'150ms': all 150ms ease,
|
293
|
+
'300ms': all 300ms ease,
|
294
|
+
'600ms': all 600ms ease
|
295
|
+
)
|
296
|
+
),
|
297
|
+
|
298
|
+
// Shipyard: Transform Utility
|
299
|
+
transform: (
|
300
|
+
prefix: null,
|
301
|
+
responsive: false,
|
302
|
+
values: (
|
303
|
+
rotate-45: rotate(45deg),
|
304
|
+
rotate-90: rotate(90deg)
|
305
|
+
)
|
306
|
+
),
|
307
|
+
|
308
|
+
// Shipyard: Z-Index Utility
|
309
|
+
z-index: (
|
310
|
+
prefix: 'z',
|
311
|
+
responsive: false,
|
312
|
+
values: (0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 200, auto)
|
313
|
+
)
|
314
|
+
);
|
315
|
+
|
316
|
+
// Merge the default options and the custom options together.
|
317
|
+
$shipyard-options: () !default;
|
318
|
+
$shipyard-options: map-merge-options($shipyard-defaults, $shipyard-options);
|
319
|
+
|
320
|
+
// TODO: Remove these variables someday in favor of the maps.
|
321
|
+
$margins: map-get($shipyard-options, margins);
|
322
|
+
$breakpoints: map-get($shipyard-options, breakpoints);
|