shipyard-framework 0.5.76 → 0.5.77

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.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.travis.yml +2 -0
  4. data/assets/icons/check.svg +3 -0
  5. data/assets/stylesheets/_shipyard.sass +3 -3
  6. data/assets/stylesheets/shipyard/_components.sass +22 -16
  7. data/assets/stylesheets/shipyard/_core.sass +6 -6
  8. data/assets/stylesheets/shipyard/_functions.sass +3 -2
  9. data/assets/stylesheets/shipyard/_mixins.sass +7 -7
  10. data/assets/stylesheets/shipyard/_utilities.sass +8 -8
  11. data/assets/stylesheets/shipyard/_variables.sass +6 -6
  12. data/assets/stylesheets/shipyard/components/_buttons.sass +4 -3
  13. data/assets/stylesheets/shipyard/components/_forms.sass +1 -128
  14. data/assets/stylesheets/shipyard/components/_horizontal-rules.sass +2 -0
  15. data/assets/stylesheets/shipyard/components/_icons.sass +4 -0
  16. data/assets/stylesheets/shipyard/components/_input-radio-checkbox.sass +18 -15
  17. data/assets/stylesheets/shipyard/components/_input-readonly.sass +4 -0
  18. data/assets/stylesheets/shipyard/components/_input-required.sass +21 -0
  19. data/assets/stylesheets/shipyard/components/_input-select.sass +54 -0
  20. data/assets/stylesheets/shipyard/components/_input-sizes.sass +4 -0
  21. data/assets/stylesheets/shipyard/components/_input-text.sass +39 -0
  22. data/assets/stylesheets/shipyard/components/_input.sass +23 -0
  23. data/assets/stylesheets/shipyard/functions/_text-color.sass +3 -0
  24. data/assets/stylesheets/shipyard/utilities/_border-radius.sass +24 -8
  25. data/assets/stylesheets/shipyard/utilities/_positioning.sass +5 -0
  26. data/assets/stylesheets/shipyard/utilities/_typography.sass +21 -6
  27. data/assets/stylesheets/shipyard/variables/_typography.sass +10 -8
  28. data/ci/sass_lint +39 -0
  29. data/lib/shipyard-framework/version.rb +1 -1
  30. data/styleguide/Gemfile.lock +1 -1
  31. data/styleguide/components/buttons.md +4 -0
  32. data/styleguide/components/checkboxes.md +39 -6
  33. data/styleguide/components/forms.md +11 -11
  34. data/styleguide/components/horizontal-rules.md +4 -2
  35. data/styleguide/components/icons.md +11 -5
  36. data/styleguide/components/modals/_modal.html +11 -11
  37. data/styleguide/components/modals/example-billing.html +4 -4
  38. data/styleguide/components/modals/example-survey.html +1 -1
  39. data/styleguide/components/notes.md +8 -4
  40. data/styleguide/components/radio-buttons.md +33 -4
  41. data/styleguide/utilities/border-radius.md +33 -4
  42. data/styleguide/utilities/grid.md +15 -8
  43. data/styleguide/utilities/index.md +1 -1
  44. data/styleguide/utilities/margin-padding.md +12 -6
  45. data/styleguide/utilities/position.md +19 -0
  46. data/styleguide/utilities/typography.md +4 -4
  47. metadata +12 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e7da438533f9f14d70f2fefa00906c943205a5bb4712ff3d024a72665731870b
4
- data.tar.gz: 79abd43236a383aab655126c6f12b10bb4d43af1b13c2acb8e5df88420ab8773
3
+ metadata.gz: 80cffda5e33bbe3d6c80ca6a5acb939d8568d4d546d00f020b26db2cc6137140
4
+ data.tar.gz: afcde834ee452ebbfc25eae7599acbb8c9ba8fee9b0ccbb7f2e1105d5fc460db
5
5
  SHA512:
6
- metadata.gz: 20f19d29f59e51d42d30ceb5a53cc60c55d657e5abd13e702114698bf5d93c0e115b9458ba4d164cb16dd64782dea8ef916e36208241206165e59b3061293142
7
- data.tar.gz: 2f23bcb9b6d3b711142c9476d5f5e3ddecd8c06fcc5400c384b85b4bf8a3afa753dc5d50b750d5aea3bc623ed8335210279b861dd84490a5f5fecff817c4745f
6
+ metadata.gz: 3159caf0e2c90d4cd91b17006d097a1463de658873e4278957a1d9ad6c8263890cc9739926c089d3ee6343ef0ed0964ffd8ed342d38e77fbbacc1852a1e4c0d2
7
+ data.tar.gz: be3499ea8fc2df5db6b73d52c9082cb050dffcbb015552e31e843902ecff6ce13eda92c300eb3bf38f5c96a70549a74657c20a3e5d5826fbfd74c2d8c8effda5
data/.gitignore CHANGED
@@ -8,4 +8,5 @@
8
8
  /spec/reports/
9
9
  /tmp/
10
10
  shipyard-*.gem
11
+ .sass-cache
11
12
  .asset-cache
data/.travis.yml CHANGED
@@ -8,9 +8,11 @@ install:
8
8
  - "./ci/setup"
9
9
  before_script:
10
10
  - chmod +x ci/jekyll
11
+ - chmod +x ci/sass_lint
11
12
  jobs:
12
13
  include:
13
14
  # - script: "./ci/jekyll"
15
+ - script: "./ci/sass_lint"
14
16
  - script: bundle exec rspec
15
17
  - stage: Deploy
16
18
  script: skip
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8 8">
2
+ <polyline vector-effect="non-scaling-stroke" points="0 4 3 7 8 0" />
3
+ </svg>
@@ -1,3 +1,3 @@
1
- @import shipyard/core
2
- @import shipyard/components
3
- @import shipyard/utilities
1
+ @import "shipyard/core"
2
+ @import "shipyard/components"
3
+ @import "shipyard/utilities"
@@ -1,16 +1,22 @@
1
- @import shipyard/components/code
2
- @import shipyard/components/buttons
3
- @import shipyard/components/icons
4
- @import shipyard/components/alerts
5
- @import shipyard/components/notes
6
- @import shipyard/components/boxes
7
- @import shipyard/components/forms
8
- @import shipyard/components/form-errors
9
- @import shipyard/components/input-radio-checkbox
10
- @import shipyard/components/input-switch
11
- @import shipyard/components/empty
12
- @import shipyard/components/modals
13
- @import shipyard/components/tooltips
14
- @import shipyard/components/hamburger
15
- @import shipyard/components/tables
16
- @import shipyard/components/horizontal-rules
1
+ @import "components/code"
2
+ @import "components/buttons"
3
+ @import "components/icons"
4
+ @import "components/alerts"
5
+ @import "components/notes"
6
+ @import "components/boxes"
7
+ @import "components/forms"
8
+ @import "components/form-errors"
9
+ @import "components/input"
10
+ @import "components/input-text"
11
+ @import "components/input-select"
12
+ @import "components/input-radio-checkbox"
13
+ @import "components/input-switch"
14
+ @import "components/input-sizes"
15
+ @import "components/input-required"
16
+ @import "components/input-readonly"
17
+ @import "components/empty"
18
+ @import "components/modals"
19
+ @import "components/tooltips"
20
+ @import "components/hamburger"
21
+ @import "components/tables"
22
+ @import "components/horizontal-rules"
@@ -1,6 +1,6 @@
1
- @import shipyard/functions
2
- @import shipyard/mixins
3
- @import shipyard/variables
4
- @import shipyard/core/animations
5
- @import shipyard/core/reset
6
- @import shipyard/core/typography
1
+ @import "functions"
2
+ @import "mixins"
3
+ @import "variables"
4
+ @import "core/animations"
5
+ @import "core/reset"
6
+ @import "core/typography"
@@ -1,2 +1,3 @@
1
- @import shipyard/functions/map-merge-options
2
- @import shipyard/functions/color
1
+ @import "functions/map-merge-options"
2
+ @import "functions/color"
3
+ @import "functions/text-color"
@@ -1,7 +1,7 @@
1
- @import shipyard/mixins/prefixed
2
- @import shipyard/mixins/box-model
3
- @import shipyard/mixins/selectors
4
- @import shipyard/mixins/responsive
5
- @import shipyard/mixins/components
6
- @import shipyard/mixins/positioning
7
- @import shipyard/mixins/icons
1
+ @import "mixins/prefixed"
2
+ @import "mixins/box-model"
3
+ @import "mixins/selectors"
4
+ @import "mixins/responsive"
5
+ @import "mixins/components"
6
+ @import "mixins/positioning"
7
+ @import "mixins/icons"
@@ -1,8 +1,8 @@
1
- @import shipyard/utilities/grid
2
- @import shipyard/utilities/colors
3
- @import shipyard/utilities/opacity
4
- @import shipyard/utilities/display
5
- @import shipyard/utilities/positioning
6
- @import shipyard/utilities/typography
7
- @import shipyard/utilities/margin-padding
8
- @import shipyard/utilities/border-radius
1
+ @import "utilities/grid"
2
+ @import "utilities/colors"
3
+ @import "utilities/opacity"
4
+ @import "utilities/display"
5
+ @import "utilities/positioning"
6
+ @import "utilities/typography"
7
+ @import "utilities/margin-padding"
8
+ @import "utilities/border-radius"
@@ -1,6 +1,6 @@
1
- @import shipyard/variables/colors
2
- @import shipyard/variables/color_utilities
3
- @import shipyard/variables/typography
4
- @import shipyard/variables/grid
5
- @import shipyard/variables/misc
6
- @import shipyard/variables/components
1
+ @import "variables/colors"
2
+ @import "variables/color_utilities"
3
+ @import "variables/typography"
4
+ @import "variables/grid"
5
+ @import "variables/misc"
6
+ @import "variables/components"
@@ -119,7 +119,7 @@
119
119
 
120
120
  &-secondary
121
121
  +btn-color(transparent, $text-color-light, darken($gray-lightest, 7%))
122
- +btn-hover(transparent, darken($text-color-light, 15%), darken($gray-lightest, 17%))
122
+ +btn-hover(transparent, $text-color-dark, darken($gray-lightest, 17%))
123
123
  &.btn-loading
124
124
  &, &:hover, &:active
125
125
  &::after
@@ -159,7 +159,7 @@
159
159
  +btn-color($green-dark, #fff)
160
160
 
161
161
  &-disabled
162
- cursor: not-allowed
162
+ user-select: none
163
163
  pointer-events: none
164
164
  &, &:hover, &:focus
165
165
  +btn-color(lighten($gray-lighter, 1%), $text-color-lightest)
@@ -175,7 +175,8 @@
175
175
 
176
176
  &-loading
177
177
  &, &:active, &:hover
178
- cursor: default
178
+ user-select: none
179
+ pointer-events: none
179
180
  color: transparent !important
180
181
  &::after
181
182
  content: ''
@@ -9,142 +9,15 @@
9
9
  font-weight: $medium
10
10
 
11
11
  +component('input')
12
- outline: none
13
- border: 2px solid $border-color
14
- transition: background-color 300ms ease, border-color 300ms ease, opacity 300ms ease
15
- background-clip: padding-box
16
- +appearance(none)
17
- &:disabled
18
- opacity: .5
19
- color: $text-color-light
20
- &:hover, &:focus, .btn:hover &
21
- &:not(:disabled):not(:read-only)
22
- border-color: $border-color-dark
23
-
24
12
  &-group
25
13
  +clearfix
26
14
  padding: 15px 0
15
+ position: relative
27
16
  &-border
28
17
  padding-bottom: 30px
29
18
  margin-bottom: 15px
30
19
  border-bottom: 2px solid $border-color-light
31
20
 
32
- &-select
33
- display: block
34
- width: 100%
35
- background-color: #fff
36
- height: 50px
37
- font: $font
38
- font-weight: $medium
39
- font-size: 16px
40
- color: $text-color-lighter
41
- outline: none
42
- +border-radius
43
- +appearance(none)
44
- +respond-to(padding, (x0: 0 15px, x1: 0 20px))
45
- +when('error')
46
- border-color: $red
47
- &:hover, &:focus
48
- +when('error')
49
- border-color: darken($red, 15%)
50
- &-container
51
- position: relative
52
- &::after
53
- display: block
54
- position: absolute
55
- top: 50%
56
- right: 18px
57
- content: " "
58
- text-align: center
59
- font-weight: $bold
60
- margin-top: -3px
61
- pointer-events: none
62
- transition: background-color 300ms ease
63
- +width-height(10px, 6px)
64
- +icon('arrows/down', $border-color)
65
- +when('error')
66
- +icon-color($red)
67
- &:hover
68
- &::after
69
- +icon-color($border-color-dark)
70
- +when('error')
71
- +icon-color(darken($red, 15%))
72
- &-chosen
73
- color: $text-color
74
- font-weight: $medium
75
- &-option
76
- &-placeholder
77
- color: $text-color-lighter
78
-
79
- &-text
80
- font: $font
81
- color: $text-color
82
- background-color: #fff
83
- position: relative
84
- height: 50px
85
- font-size: 16px
86
- outline: none
87
- +border-radius
88
- +respond-to(padding, (x0: 10px 15px, x1: 10px 20px))
89
- +placeholder
90
- color: $text-color-lightest
91
- font-weight: $normal
92
- +when('error')
93
- border-color: $red
94
- &:hover, &:focus
95
- +when('error')
96
- border-color: darken($red, 15%)
97
- &-connect
98
- &-top,
99
- &-middle,
100
- &-bottom
101
- background-clip: initial
102
- border-color: rgba($bg-to-border, .37)
103
- &:hover, &:focus
104
- z-index: 1
105
- border-color: rgba($bg-to-border, .50)
106
- &-top
107
- border-radius: 5px 5px 0 0
108
- &-middle
109
- margin: -2px 0 0
110
- border-radius: 0
111
- &-bottom
112
- margin: -2px 0 0
113
- border-radius: 0 0 5px 5px
114
-
115
- &-required
116
- position: relative
117
- &::before,
118
- &::after
119
- position: absolute
120
- &::before
121
- z-index: 1
122
- content: "*"
123
- +sub-component-styles(required-asterisk)
124
- +when('error')
125
- +sub-component-styles(required-asterisk-error)
126
- &::after
127
- content: ""
128
- display: block
129
- border-style: solid
130
- border-radius: 0 3px 0 0
131
- border-color: transparent
132
- +sub-component-styles(required-corner)
133
- +when('error')
134
- +sub-component-styles(required-corner-error)
135
-
136
- // Input: Read-Only State
137
- &-readonly
138
- background-color: $gray-lighter
139
-
140
- &-full
141
- width: 100%
142
-
143
- // Input Sizes
144
- @each $size, $value in (sm: 40px, md: 50px, lg: 100px, xl: 200px)
145
- &-#{$size}
146
- height: $value
147
-
148
21
  &-description
149
22
  font-size: 14px
150
23
  margin: 5px 0 0
@@ -1,6 +1,8 @@
1
1
  +component('hr')
2
2
  height: 0
3
3
  border: 0 solid $border-color-lighter
4
+ overflow: visible
5
+ position: relative
4
6
  border-width: 2px 0 0
5
7
  +respond-to(margin, (x0: 20px 0, x1: 30px 0))
6
8
  &-dark
@@ -50,6 +50,10 @@ svg, path, circle, polyline
50
50
  @extend .icon-outline
51
51
  +width-height(10px, 6px)
52
52
 
53
+ &-check
54
+ @extend .icon-outline
55
+ +width-height(8px)
56
+
53
57
  &-plus
54
58
  @extend .icon-outline
55
59
  +width-height(6px)
@@ -7,9 +7,9 @@
7
7
  margin-right: 25px
8
8
 
9
9
  &-label
10
- display: inline-block
11
10
  cursor: pointer
12
11
  font-weight: $medium
12
+ display: inline-block
13
13
  transition: color 300ms ease, opacity 300ms ease
14
14
  +when('item')
15
15
  padding-left: 28px
@@ -19,13 +19,15 @@
19
19
  color: $blue-dark
20
20
  +when('radio:checked ~, checkbox:checked ~')
21
21
  color: $green-dark
22
+ +when('radio-caution:checked ~, checkbox-caution:checked ~')
23
+ color: $red-dark
22
24
 
23
25
  &-inverse
24
26
  +extend('label')
25
- opacity: 0.65
26
- &, &:hover
27
+ color: #fff
28
+ opacity: .65
29
+ &:hover, .input:hover ~ &
27
30
  color: #fff
28
- &:hover
29
31
  opacity: 1
30
32
  +when('radio:checked ~, checkbox:checked ~')
31
33
  opacity: 1
@@ -33,9 +35,10 @@
33
35
 
34
36
  &-checkbox, &-radio
35
37
  top: -1px
38
+ cursor: pointer
36
39
  position: relative
37
40
  vertical-align: middle
38
- cursor: pointer
41
+ background-clip: initial
39
42
  +width-height(16px)
40
43
  +when('item')
41
44
  left: 0
@@ -61,20 +64,20 @@
61
64
  background-color: #fff
62
65
  transition: opacity 300ms ease, background-color 300ms ease
63
66
 
64
- // Radio: Inverse
67
+ &-caution
68
+ &:checked
69
+ +btn-color($red)
70
+
71
+ // Input: Inverse Type
65
72
  &-inverse
66
- opacity: .25
67
- &, &:hover, &:checked
68
- &, .btn:hover &
69
- border-color: #fff
70
- &:hover, &:checked, .btn:hover &
71
- opacity: 1
73
+ &, .btn:hover &
74
+ +extend('inverse')
72
75
  &:checked
73
76
  &, .btn:hover &
74
- background: #fff
75
- border-color: #fff
77
+ opacity: 1
78
+ +btn-color(#fff)
76
79
  &::after
77
- background: $green-dark
80
+ +icon-color($green-dark)
78
81
 
79
82
  // Radio Button
80
83
  &-radio
@@ -0,0 +1,4 @@
1
+ +component('input-readonly')
2
+ background-color: $gray-lighter
3
+ &, &:focus, &:hover
4
+ border-color: $border-color
@@ -0,0 +1,21 @@
1
+ +component('input')
2
+ &-required
3
+ position: relative
4
+ &::before,
5
+ &::after
6
+ position: absolute
7
+ &::before
8
+ z-index: 1
9
+ content: "*"
10
+ +sub-component-styles(required-asterisk)
11
+ +when('error')
12
+ +sub-component-styles(required-asterisk-error)
13
+ &::after
14
+ content: ""
15
+ display: block
16
+ border-style: solid
17
+ border-radius: 0 3px 0 0
18
+ border-color: transparent
19
+ +sub-component-styles(required-corner)
20
+ +when('error')
21
+ +sub-component-styles(required-corner-error)
@@ -0,0 +1,54 @@
1
+ +component('input')
2
+ &-select
3
+ display: block
4
+ width: 100%
5
+ background-color: #fff
6
+ height: 50px
7
+ font: $font
8
+ font-weight: $medium
9
+ font-size: 16px
10
+ color: $text-color-lighter
11
+ outline: none
12
+ cursor: pointer
13
+ +border-radius
14
+ +appearance(none)
15
+ +respond-to(padding, (x0: 0 15px, x1: 0 20px))
16
+ +when('error')
17
+ border-color: $red
18
+ &:hover, &:focus
19
+ +when('error')
20
+ border-color: darken($red, 15%)
21
+
22
+ &-container
23
+ position: relative
24
+ &::after
25
+ display: block
26
+ position: absolute
27
+ top: 50%
28
+ right: 18px
29
+ content: " "
30
+ text-align: center
31
+ font-weight: $bold
32
+ margin-top: -3px
33
+ pointer-events: none
34
+ transition: background-color 300ms ease
35
+ +width-height(10px, 6px)
36
+ +icon('arrows/down', $border-color)
37
+ +when('error')
38
+ +icon-color($red)
39
+ &:hover
40
+ &::after
41
+ +icon-color($border-color-dark)
42
+ +when('error')
43
+ +icon-color(darken($red, 15%))
44
+ &-disabled
45
+ &, &:hover
46
+ &::after
47
+ +icon-color($border-color)
48
+
49
+ &-chosen
50
+ color: $text-color-normal
51
+ font-weight: $medium
52
+
53
+ &-option-placeholder
54
+ color: $text-color-lighter
@@ -0,0 +1,4 @@
1
+ +component('input')
2
+ @each $size, $value in (sm: 40px, md: 50px, lg: 100px, xl: 200px)
3
+ &-#{$size}
4
+ height: $value
@@ -0,0 +1,39 @@
1
+ +component('input')
2
+ &-text
3
+ font: $font
4
+ color: $text-color-normal
5
+ background-color: #fff
6
+ position: relative
7
+ font-size: 16px
8
+ font-weight: $medium
9
+ outline: none
10
+ width: 100%
11
+ +width-height(100%, 50px)
12
+ +border-radius
13
+ +respond-to(padding, (x0: 10px 15px, x1: 10px 20px))
14
+ +placeholder
15
+ color: $text-color-lightest
16
+ font-weight: $normal
17
+ +when('error')
18
+ border-color: $red
19
+ &:hover, &:focus
20
+ +when('error')
21
+ border-color: darken($red, 15%)
22
+
23
+ &-connect
24
+ &-top,
25
+ &-middle,
26
+ &-bottom
27
+ background-clip: initial
28
+ border-color: rgba($bg-to-border, .37)
29
+ &:hover, &:focus
30
+ z-index: 1
31
+ border-color: rgba($bg-to-border, .50)
32
+ &-top
33
+ border-radius: 5px 5px 0 0
34
+ &-middle
35
+ margin: -2px 0 0
36
+ border-radius: 0
37
+ &-bottom
38
+ margin: -2px 0 0
39
+ border-radius: 0 0 5px 5px
@@ -0,0 +1,23 @@
1
+ +component('input')
2
+ outline: none
3
+ border: 2px solid $border-color
4
+ transition: background-color 300ms ease, border-color 300ms ease, opacity 300ms ease, color 300ms ease
5
+ background-clip: padding-box
6
+ +appearance(none)
7
+ &:hover, &:focus, .btn:hover &
8
+ border-color: $border-color-dark
9
+ &:disabled
10
+ &, &:hover
11
+ opacity: .5
12
+ user-select: none
13
+ pointer-events: none
14
+ color: $text-color-light
15
+ border-color: $border-color
16
+
17
+ &-inverse
18
+ &, &:focus
19
+ opacity: .25
20
+ &, &:focus, &:hover
21
+ border-color: #fff
22
+ &:hover
23
+ opacity: .5
@@ -0,0 +1,3 @@
1
+ @function text-color($percentage)
2
+ $text-color-base: $text-color-base !global
3
+ @return rgba($text-color-base, $percentage)
@@ -3,19 +3,35 @@
3
3
  +border-radius
4
4
  &-0
5
5
  border-radius: 0
6
+ &-xs
7
+ border-radius: 2px
8
+ &-sm
9
+ border-radius: 3px
6
10
  &-top
7
- border-radius: $border-radius $border-radius 0 0
11
+ border-bottom-left-radius: 0
12
+ border-bottom-right-radius: 0
8
13
  &-bottom
9
- border-radius: 0 0 $border-radius $border-radius
14
+ border-top-left-radius: 0
15
+ border-top-right-radius: 0
10
16
  &-left
11
- border-radius: $border-radius 0 0 $border-radius
17
+ border-top-right-radius: 0
18
+ border-bottom-right-radius: 0
12
19
  &-right
13
- border-radius: 0 $border-radius $border-radius 0
20
+ border-top-left-radius: 0
21
+ border-bottom-left-radius: 0
14
22
  &-top-left
15
- border-radius: $border-radius 0 0 0
23
+ border-top-right-radius: 0
24
+ border-bottom-left-radius: 0
25
+ border-bottom-right-radius: 0
16
26
  &-top-right
17
- border-radius: 0 $border-radius 0 0
27
+ border-top-left-radius: 0
28
+ border-bottom-left-radius: 0
29
+ border-bottom-right-radius: 0
18
30
  &-bottom-left
19
- border-radius: 0 0 0 $border-radius
31
+ border-top-left-radius: 0
32
+ border-top-right-radius: 0
33
+ border-bottom-right-radius: 0
20
34
  &-bottom-right
21
- border-radius: 0 0 $border-radius 0
35
+ border-top-left-radius: 0
36
+ border-top-right-radius: 0
37
+ border-bottom-left-radius: 0
@@ -14,3 +14,8 @@
14
14
  top: -1px
15
15
  position: relative
16
16
  vertical-align: middle
17
+
18
+ @each $value in (static, relative, absolute, fixed)
19
+ .#{$value}
20
+ +all-media-sizes
21
+ position: $value