fortitude-sass 0.3.0

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 (72) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +7 -0
  3. data/.npmignore +9 -0
  4. data/.scss-lint.yml +13 -0
  5. data/Gemfile +4 -0
  6. data/Gemfile.lock +48 -0
  7. data/README.md +19 -0
  8. data/app/assets/javascripts/fortitude/jquery/blocks/flashbar.js +13 -0
  9. data/app/assets/javascripts/fortitude/jquery/blocks/select-input.js +26 -0
  10. data/app/assets/javascripts/fortitude/jquery/blocks/shade.js +48 -0
  11. data/app/assets/javascripts/fortitude/jquery/generic/transition-end.js +50 -0
  12. data/app/assets/javascripts/fortitude/jquery/generic/viewport.js +7 -0
  13. data/app/assets/javascripts/fortitude/jquery/index.js +3 -0
  14. data/app/assets/javascripts/fortitude.jquery.js +45 -0
  15. data/app/assets/stylesheets/fortitude/base/_hr.scss +10 -0
  16. data/app/assets/stylesheets/fortitude/base/_images.scss +32 -0
  17. data/app/assets/stylesheets/fortitude/base/_lists.scss +15 -0
  18. data/app/assets/stylesheets/fortitude/base/_page.scss +28 -0
  19. data/app/assets/stylesheets/fortitude/blocks/_badge.scss +141 -0
  20. data/app/assets/stylesheets/fortitude/blocks/_bare-list.scss +17 -0
  21. data/app/assets/stylesheets/fortitude/blocks/_block-list.scss +83 -0
  22. data/app/assets/stylesheets/fortitude/blocks/_box.scss +23 -0
  23. data/app/assets/stylesheets/fortitude/blocks/_button.scss +229 -0
  24. data/app/assets/stylesheets/fortitude/blocks/_container.scss +67 -0
  25. data/app/assets/stylesheets/fortitude/blocks/_flag.scss +426 -0
  26. data/app/assets/stylesheets/fortitude/blocks/_flashbar.scss +22 -0
  27. data/app/assets/stylesheets/fortitude/blocks/_fluid-container.scss +12 -0
  28. data/app/assets/stylesheets/fortitude/blocks/_inline-list.scss +19 -0
  29. data/app/assets/stylesheets/fortitude/blocks/_input.scss +377 -0
  30. data/app/assets/stylesheets/fortitude/blocks/_layout.scss +288 -0
  31. data/app/assets/stylesheets/fortitude/blocks/_list-navigation.scss +34 -0
  32. data/app/assets/stylesheets/fortitude/blocks/_media.scss +289 -0
  33. data/app/assets/stylesheets/fortitude/blocks/_shade.scss +51 -0
  34. data/app/assets/stylesheets/fortitude/blocks/_table.scss +31 -0
  35. data/app/assets/stylesheets/fortitude/blocks/_tabs-navigation.scss +58 -0
  36. data/app/assets/stylesheets/fortitude/blocks/_tabs.scss +19 -0
  37. data/app/assets/stylesheets/fortitude/blocks/_text.scss +67 -0
  38. data/app/assets/stylesheets/fortitude/blocks/_ui-list.scss +97 -0
  39. data/app/assets/stylesheets/fortitude/generic/_box-sizing.scss +23 -0
  40. data/app/assets/stylesheets/fortitude/generic/_clearfix.scss +3 -0
  41. data/app/assets/stylesheets/fortitude/generic/_normalize.scss +200 -0
  42. data/app/assets/stylesheets/fortitude/generic/_reset.scss +53 -0
  43. data/app/assets/stylesheets/fortitude/settings/_defaults.scss +58 -0
  44. data/app/assets/stylesheets/fortitude/tools/_functions.scss +115 -0
  45. data/app/assets/stylesheets/fortitude/tools/_mixins.scss +58 -0
  46. data/app/assets/stylesheets/fortitude/trumps/_responsive-border.scss +35 -0
  47. data/app/assets/stylesheets/fortitude/trumps/_responsive-column.scss +37 -0
  48. data/app/assets/stylesheets/fortitude/trumps/_responsive-display.scss +35 -0
  49. data/app/assets/stylesheets/fortitude/trumps/_responsive-float.scss +13 -0
  50. data/app/assets/stylesheets/fortitude/trumps/_responsive-font.scss +13 -0
  51. data/app/assets/stylesheets/fortitude/trumps/_responsive-height.scss +13 -0
  52. data/app/assets/stylesheets/fortitude/trumps/_responsive-line-height.scss +13 -0
  53. data/app/assets/stylesheets/fortitude/trumps/_responsive-margin.scss +129 -0
  54. data/app/assets/stylesheets/fortitude/trumps/_responsive-padding.scss +65 -0
  55. data/app/assets/stylesheets/fortitude/trumps/_responsive-text.scss +17 -0
  56. data/app/assets/stylesheets/fortitude.scss +40 -0
  57. data/bin/fortitude +6 -0
  58. data/bower.json +43 -0
  59. data/config.rb +36 -0
  60. data/dist/fortitude.css +5242 -0
  61. data/dist/fortitude.css.map +7 -0
  62. data/dist/fortitude.jquery.js +45 -0
  63. data/fortitude-black.png +0 -0
  64. data/fortitude.gemspec +32 -0
  65. data/fortitude.png +0 -0
  66. data/lib/fortitude-sass/engine.rb +5 -0
  67. data/lib/fortitude-sass/generator.rb +80 -0
  68. data/lib/fortitude-sass/version.rb +3 -0
  69. data/lib/fortitude-sass.rb +27 -0
  70. data/lib/tasks/install.rake +20 -0
  71. data/package.json +24 -0
  72. metadata +187 -0
@@ -0,0 +1,58 @@
1
+ ///*------------------------------------*\
2
+ // #DEFAULTS
3
+ //\*------------------------------------*/
4
+
5
+ // These variables are Fortitude’ defaults; they should not be modified or
6
+ // adjusted, you should redfine the variables in your own overrides file and
7
+ // include it in your project before this file.
8
+
9
+
10
+
11
+
12
+
13
+ /**
14
+ * High-level base settings.
15
+ * 1. Make sure to change the breakpoints in blocks/_container.scss
16
+ * if you change $fortitude-breakpoints.
17
+ */
18
+
19
+ $fortitude-app-id: fortitude !default;
20
+ $fortitude-base-font-size: 1.2rem !default;
21
+ $fortitude-base-line-height: 2rem !default;
22
+ $fortitude-base-color: #333 !default;
23
+ $fortitude-base-background-color: #fff !default;
24
+ $fortitude-class-breakpoints: (
25
+ xs: null,
26
+ sm: 768px,
27
+ md: 992px,
28
+ lg: 1200px
29
+ ) !default; /* [1] */
30
+ $fortitude-breakpoints: (
31
+ xs: (max-width: 767px),
32
+ sm: (min-width: 768px, max-width: 991px),
33
+ md: (min-width: 992px, max-width: 1199px),
34
+ lg: (min-width: 1200px)
35
+ ) !default; /* [1] */
36
+
37
+
38
+
39
+
40
+
41
+ // Namespace.
42
+ //
43
+ // Would you like Fortitude’ classes to be prepended with a namespace? If so,
44
+ // define it here.
45
+ $fortitude-namespace: null !default;
46
+
47
+
48
+
49
+
50
+
51
+ // These variables are framework variables, sourced from variables defined
52
+ // above. Feel free to use these variables throughout your project, but do not
53
+ // modify or reassign them.
54
+
55
+ $fortitude-base-spacing-unit: $fortitude-base-line-height;
56
+ $fortitude-base-spacing-unit--small: round($fortitude-base-line-height / 2);
57
+ $fortitude-base-spacing-unit--large: round($fortitude-base-line-height * 2);
58
+ $fortitude-base-rem-font-size: 0.625rem;
@@ -0,0 +1,115 @@
1
+ ///*------------------------------------*\
2
+ // #FUNCTIONS
3
+ //\*------------------------------------*/
4
+
5
+ // fortitude makes use of a few functions that are also available for you to use
6
+ // later on in your extension of the framework.
7
+
8
+
9
+
10
+
11
+
12
+ // Maths helpers.
13
+ //
14
+ // Halve and double numbers, returning rounded integers. E.g.:
15
+ //
16
+ // .foo {
17
+ // padding: halve(3.2px);
18
+ // }
19
+ //
20
+ @function quarter($fortitude-value) {
21
+ @return $fortitude-value / 4;
22
+ }
23
+
24
+ @function halve($fortitude-value) {
25
+ @return $fortitude-value / 2;
26
+ }
27
+
28
+ @function double($fortitude-value) {
29
+ @return $fortitude-value * 2;
30
+ }
31
+
32
+ @function quadruple($fortitude-value) {
33
+ @return $fortitude-value * 4;
34
+ }
35
+
36
+
37
+ @function fortitude-strip-unit($fortitude-value) {
38
+ @return $fortitude-value / ($fortitude-value * 0 + 1);
39
+ }
40
+
41
+ @function fortitude-px-to-rem($fortitude-value) {
42
+ @return fortitude-strip-unit($fortitude-value) * 0.1rem;
43
+ }
44
+
45
+ @function fortitude-rem-to-px($fortitude-value) {
46
+ @return fortitude-strip-unit($fortitude-value) * 10px;
47
+ }
48
+
49
+ @function fortitude-block-spacing-unit-height($fortitude-block-height, $fortitude-block-spacing-unit: $fortitude-base-spacing-unit) {
50
+ $fortitude-value: ceil($fortitude-block-height / $fortitude-block-spacing-unit) * $fortitude-block-spacing-unit;
51
+ @return $fortitude-value;
52
+ }
53
+
54
+ @function fortitude-block-spacing-unit-delta($fortitude-block-height, $fortitude-block-spacing-unit: $fortitude-base-spacing-unit) {
55
+ $fortitude-block-spacing-unit-height: fortitude-block-spacing-unit-height($fortitude-block-height, $fortitude-block-spacing-unit);
56
+ $fortitude-value: halve($fortitude-block-spacing-unit-height - $fortitude-block-height);
57
+
58
+ // normalize value 0rem to 0.
59
+ @if ($fortitude-value == 0) { $fortitude-value: 0; }
60
+ @return $fortitude-value;
61
+ }
62
+
63
+ @function fortitude-block-negitive-padding($fortitude-block-height, $fortitude-block-border-width: 0rem, $fortitude-block-spacing-unit: $fortitude-base-spacing-unit) {
64
+ $fortitude-value: halve($fortitude-block-height - $fortitude-block-spacing-unit - double($fortitude-block-border-width));
65
+
66
+ // normalize value 0rem to 0.
67
+ @if ($fortitude-value > 0) { $fortitude-value: 0; }
68
+ @return $fortitude-value;
69
+ }
70
+
71
+ @function fortitude-block-margin($fortitude-block-height, $fortitude-block-border-width: 0rem, $fortitude-block-spacing-unit: $fortitude-base-spacing-unit) {
72
+ $fortitude-block-spacing-unit-height: fortitude-block-spacing-unit-height($fortitude-block-height, $fortitude-block-spacing-unit);
73
+ $fortitude-value: halve($fortitude-block-spacing-unit-height - $fortitude-block-height);
74
+
75
+ @if ($fortitude-value < 0) {
76
+ $fortitude-value: fortitude-block-negitive-padding($fortitude-block-height, $fortitude-block-border-width, $fortitude-block-spacing-unit) + fortitude-block-spacing-unit-delta($fortitude-block-height, $fortitude-block-spacing-unit);
77
+ }
78
+
79
+ // normalize value 0rem to 0.
80
+ @if ($fortitude-value == 0) { $fortitude-value: 0; }
81
+ @return $fortitude-value;
82
+ }
83
+
84
+ @function fortitude-block-padding($fortitude-block-height, $fortitude-block-border-width: 0rem, $fortitude-block-line-height: $fortitude-base-line-height) {
85
+ $fortitude-value: halve($fortitude-block-height - $fortitude-block-line-height - double($fortitude-block-border-width));
86
+
87
+ // normalize value 0rem to 0.
88
+ @if ($fortitude-value <= 0) { $fortitude-value: 0; }
89
+ @return $fortitude-value;
90
+ }
91
+
92
+ @function fortitude-map-to-query($map) {
93
+ $query: '';
94
+ @for $i from 1 through length($map) {
95
+ $part: "(#{nth(nth($map, $i), 1)}:#{nth(nth($map, $i), 2)})";
96
+ @if $i != length($map) {
97
+ $part: str-insert($part, " and ", str-length($part)+1);
98
+ }
99
+ $query: str-insert($query, $part, str-length($query)+1);
100
+ }
101
+ @return $query;
102
+ }
103
+
104
+ @function fortitude-query($object) {
105
+ @if type-of($object) == map {
106
+ @return fortitude-map-to-query($object);
107
+ }
108
+ @elseif type-of($object) == number {
109
+ @return fortitude-map-to-query((min-width: $object));
110
+ }
111
+ @else {
112
+ @return null;
113
+ }
114
+
115
+ }
@@ -0,0 +1,58 @@
1
+ ///*------------------------------------*\
2
+ // #MIXINS
3
+ //\*------------------------------------*/
4
+
5
+ // Fortitude has a number of default mixins that the framework, and developers
6
+ // working with it, can make use of.
7
+
8
+ // Predefine the variables below in order to alter and enable specific features.
9
+ $fortitude-enable-classes: false !default;
10
+
11
+
12
+
13
+ @mixin fortitude-breakpoint($fortitude-alias, $fortitude-breakpoints: $fortitude-class-breakpoints) {
14
+ $fortitude-query: fortitude-query(map-get($fortitude-breakpoints, $fortitude-alias));
15
+ // if there is no media query.
16
+ @if not $fortitude-query {
17
+ @content;
18
+ } @else {
19
+ // if there is a media query.
20
+ @media #{$fortitude-query} {
21
+ @content;
22
+ }
23
+ }
24
+ }
25
+
26
+ @mixin fortitude-breakpoint-classes($fortitude-breakpoints: $fortitude-class-breakpoints) {
27
+ @each $fortitude-alias, $fortitude-breakpoint in $fortitude-breakpoints {
28
+ $fortitude-query: fortitude-query($fortitude-breakpoint);
29
+ .#{$fortitude-alias} {
30
+ // if there is no media query.
31
+ @if not $fortitude-query {
32
+ @content;
33
+ }
34
+ // if there is a media query.
35
+ @else {
36
+ @media #{$fortitude-query} {
37
+ @content;
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+
44
+ @mixin fortitude-font-size($fortitude-font-size, $fortitude-line-height: true) {
45
+ font-size: $fortitude-font-size;
46
+
47
+ @if $fortitude-line-height == true {
48
+ line-height: ceil($fortitude-font-size / $fortitude-base-line-height) * $fortitude-base-line-height;
49
+ }
50
+ }
51
+
52
+ @mixin fortitude-clearfix {
53
+ &:after {
54
+ content: "";
55
+ display: table;
56
+ clear: both;
57
+ }
58
+ }
@@ -0,0 +1,35 @@
1
+ $fortitude-responsive-border-unit-total: 1 !default;
2
+
3
+ @include fortitude-breakpoint-classes {
4
+ @for $i from 0 through $fortitude-responsive-border-unit-total {
5
+ ##{$fortitude-app-id} &-b#{$i} {
6
+ border-width: $i * 0.1rem;
7
+ }
8
+
9
+ ##{$fortitude-app-id} &-btb#{$i} {
10
+ border-top-width: $i * 0.1rem;
11
+ border-bottom-width: $i * 0.1rem;
12
+ }
13
+
14
+ ##{$fortitude-app-id} &-brl#{$i} {
15
+ border-right-width: $i * 0.1rem;
16
+ border-left-width: $i * 0.1rem;
17
+ }
18
+
19
+ ##{$fortitude-app-id} &-bl#{$i} {
20
+ border-left-width: $i * 0.1rem;
21
+ }
22
+
23
+ ##{$fortitude-app-id} &-bb#{$i} {
24
+ border-bottom-width: $i * 0.1rem;
25
+ }
26
+
27
+ ##{$fortitude-app-id} &-br#{$i} {
28
+ border-right-width: $i * 0.1rem;
29
+ }
30
+
31
+ ##{$fortitude-app-id} &-bt#{$i} {
32
+ border-top-width: $i * 0.1rem;
33
+ }
34
+ }
35
+ }
@@ -0,0 +1,37 @@
1
+ $fortitude-responsive-column-total: 12 !default;
2
+
3
+ @mixin fortitude-column($fortitude-index) {
4
+ width: percentage($fortitude-index / $fortitude-responsive-column-total);
5
+ }
6
+
7
+ @mixin fortitude-column-offset($fortitude-index) {
8
+ margin-left: percentage($fortitude-index / $fortitude-responsive-column-total);
9
+ }
10
+
11
+ @mixin fortitude-column-push($fortitude-index) {
12
+ left: percentage($fortitude-index / $fortitude-responsive-column-total);
13
+ }
14
+
15
+ @mixin fortitude-column-pull($fortitude-index) {
16
+ right: percentage($fortitude-index / $fortitude-responsive-column-total);
17
+ }
18
+
19
+ @include fortitude-breakpoint-classes {
20
+ @for $i from 0 through $fortitude-responsive-column-total {
21
+ ##{$fortitude-app-id} &-#{$i}of#{$fortitude-responsive-column-total} {
22
+ @include fortitude-column($i);
23
+ }
24
+
25
+ ##{$fortitude-app-id} &-offset#{$i}of#{$fortitude-responsive-column-total} {
26
+ @include fortitude-column-offset($i);
27
+ }
28
+
29
+ ##{$fortitude-app-id} &-push#{$i}of#{$fortitude-responsive-column-total} {
30
+ @include fortitude-column-push($i);
31
+ }
32
+
33
+ ##{$fortitude-app-id} &-pull#{$i}of#{$fortitude-responsive-column-total} {
34
+ @include fortitude-column-pull($i);
35
+ }
36
+ }
37
+ }
@@ -0,0 +1,35 @@
1
+ ##{$fortitude-app-id} {
2
+ @include fortitude-breakpoint-classes {
3
+ &-none {
4
+ display: none;
5
+ }
6
+
7
+ &-inline {
8
+ display: inline;
9
+ }
10
+
11
+ &-inline-block {
12
+ display: inline-block;
13
+ }
14
+
15
+ &-block {
16
+ display: block;
17
+ }
18
+
19
+ &-table {
20
+ display: table;
21
+ }
22
+
23
+ &-table-cell {
24
+ display: table-cell;
25
+ }
26
+
27
+ &-table-column {
28
+ display: table-column;
29
+ }
30
+
31
+ &-inherit {
32
+ display: inherit;
33
+ }
34
+ }
35
+ }
@@ -0,0 +1,13 @@
1
+ @include fortitude-breakpoint-classes {
2
+ ##{$fortitude-app-id} &-float-left {
3
+ float: left;
4
+ }
5
+
6
+ ##{$fortitude-app-id} &-float-right {
7
+ float: right;
8
+ }
9
+
10
+ ##{$fortitude-app-id} &-float-none {
11
+ float: none;
12
+ }
13
+ }
@@ -0,0 +1,13 @@
1
+ $fortitude-responsive-font-sizes: (alpha: 3.6rem, beta: 3.0rem, gamma: 2.4rem, delta: 1.8rem, epsilon: 1.4rem, zeta: 1.0rem) !default;
2
+
3
+ @mixin fortitude-font-size-alias($alias, $line-height: false) {
4
+ @include fortitude-font-size(map-get($fortitude-responsive-font-sizes, $alias), $line-height);
5
+ }
6
+
7
+ @include fortitude-breakpoint-classes {
8
+ @each $alias, $size in $fortitude-responsive-font-sizes {
9
+ ##{$fortitude-app-id} &-#{$alias} {
10
+ @include fortitude-font-size-alias($alias);
11
+ }
12
+ }
13
+ }
@@ -0,0 +1,13 @@
1
+ $fortitude-responsive-height-total: 12 !default;
2
+
3
+ @mixin fortitude-height($fortitude-index) {
4
+ min-height: $fortitude-base-spacing-unit * $fortitude-index;
5
+ }
6
+
7
+ @for $i from 1 through $fortitude-responsive-height-total {
8
+ @include fortitude-breakpoint-classes {
9
+ ##{$fortitude-app-id} &-#{$i} {
10
+ @include fortitude-height($i);
11
+ }
12
+ }
13
+ }
@@ -0,0 +1,13 @@
1
+ $fortitude-responsive-line-height-unit-total: 2 !default;
2
+
3
+ @include fortitude-breakpoint-classes {
4
+ @for $i from 0 through $fortitude-responsive-line-height-unit-total {
5
+ ##{$fortitude-app-id} &-inset#{$i} {
6
+ line-height: $fortitude-base-line-height * $i;
7
+ }
8
+
9
+ ##{$fortitude-app-id} &-inseth#{$i} {
10
+ line-height: ($fortitude-base-line-height * $i) + halve($fortitude-base-line-height);
11
+ }
12
+ }
13
+ }
@@ -0,0 +1,129 @@
1
+ $fortitude-responsive-margin-unit-total: 10 !default;
2
+ $fortitude-responsive-negative-margin-unit-total: 10 !default;
3
+
4
+
5
+ @include fortitude-breakpoint-classes {
6
+ @for $i from 0 through $fortitude-responsive-margin-unit-total {
7
+ ##{$fortitude-app-id} &-mh#{$i} {
8
+ margin: $fortitude-base-spacing-unit * $i + halve($fortitude-base-spacing-unit);
9
+ }
10
+
11
+ ##{$fortitude-app-id} &-m#{$i} {
12
+ margin: $fortitude-base-spacing-unit * $i;
13
+ }
14
+
15
+ ##{$fortitude-app-id} &-mtbh#{$i} {
16
+ margin-top: $fortitude-base-spacing-unit * $i + halve($fortitude-base-spacing-unit);
17
+ margin-bottom: $fortitude-base-spacing-unit * $i + halve($fortitude-base-spacing-unit);
18
+ }
19
+
20
+ ##{$fortitude-app-id} &-mtb#{$i} {
21
+ margin-top: $fortitude-base-spacing-unit * $i;
22
+ margin-bottom: $fortitude-base-spacing-unit * $i;
23
+ }
24
+
25
+ ##{$fortitude-app-id} &-mrlh#{$i} {
26
+ margin-right: $fortitude-base-spacing-unit * $i + halve($fortitude-base-spacing-unit);
27
+ margin-left: $fortitude-base-spacing-unit * $i + halve($fortitude-base-spacing-unit);
28
+ }
29
+
30
+ ##{$fortitude-app-id} &-mrl#{$i} {
31
+ margin-right: $fortitude-base-spacing-unit * $i;
32
+ margin-left: $fortitude-base-spacing-unit * $i;
33
+ }
34
+
35
+ ##{$fortitude-app-id} &-mlh#{$i} {
36
+ margin-left: $fortitude-base-spacing-unit * $i + halve($fortitude-base-spacing-unit);
37
+ }
38
+
39
+ ##{$fortitude-app-id} &-ml#{$i} {
40
+ margin-left: $fortitude-base-spacing-unit * $i;
41
+ }
42
+
43
+ ##{$fortitude-app-id} &-mbh#{$i} {
44
+ margin-bottom: $fortitude-base-spacing-unit * $i + halve($fortitude-base-spacing-unit);
45
+ }
46
+
47
+ ##{$fortitude-app-id} &-mb#{$i} {
48
+ margin-bottom: $fortitude-base-spacing-unit * $i;
49
+ }
50
+
51
+ ##{$fortitude-app-id} &-mrh#{$i} {
52
+ margin-right: $fortitude-base-spacing-unit * $i + halve($fortitude-base-spacing-unit);
53
+ }
54
+
55
+ ##{$fortitude-app-id} &-mr#{$i} {
56
+ margin-right: $fortitude-base-spacing-unit * $i;
57
+ }
58
+
59
+ ##{$fortitude-app-id} &-mth#{$i} {
60
+ margin-top: $fortitude-base-spacing-unit * $i + halve($fortitude-base-spacing-unit);
61
+ }
62
+
63
+ ##{$fortitude-app-id} &-mt#{$i} {
64
+ margin-top: $fortitude-base-spacing-unit * $i;
65
+ }
66
+ }
67
+ @for $i from 0 through $fortitude-responsive-negative-margin-unit-total {
68
+ ##{$fortitude-app-id} &-mh-#{$i} {
69
+ margin: -($fortitude-base-spacing-unit * $i + halve($fortitude-base-spacing-unit));
70
+ }
71
+
72
+ ##{$fortitude-app-id} &-m-#{$i} {
73
+ margin: -($fortitude-base-spacing-unit * $i);
74
+ }
75
+
76
+ ##{$fortitude-app-id} &-mtbh-#{$i} {
77
+ margin-top: -($fortitude-base-spacing-unit * $i + halve($fortitude-base-spacing-unit));
78
+ margin-bottom: -($fortitude-base-spacing-unit * $i + halve($fortitude-base-spacing-unit));
79
+ }
80
+
81
+ ##{$fortitude-app-id} &-mtb-#{$i} {
82
+ margin-top: -($fortitude-base-spacing-unit * $i);
83
+ margin-bottom: -($fortitude-base-spacing-unit * $i);
84
+ }
85
+
86
+ ##{$fortitude-app-id} &-mrlh-#{$i} {
87
+ margin-right: -($fortitude-base-spacing-unit * $i + halve($fortitude-base-spacing-unit));
88
+ margin-left: -($fortitude-base-spacing-unit * $i + halve($fortitude-base-spacing-unit));
89
+ }
90
+
91
+ ##{$fortitude-app-id} &-mrl-#{$i} {
92
+ margin-right: -($fortitude-base-spacing-unit * $i);
93
+ margin-left: -($fortitude-base-spacing-unit * $i);
94
+ }
95
+
96
+ ##{$fortitude-app-id} &-mlh-#{$i} {
97
+ margin-left: -($fortitude-base-spacing-unit * $i + halve($fortitude-base-spacing-unit));
98
+ }
99
+
100
+ ##{$fortitude-app-id} &-ml-#{$i} {
101
+ margin-left: -($fortitude-base-spacing-unit * $i);
102
+ }
103
+
104
+ ##{$fortitude-app-id} &-mbh-#{$i} {
105
+ margin-bottom: -($fortitude-base-spacing-unit * $i + halve($fortitude-base-spacing-unit));
106
+ }
107
+
108
+ ##{$fortitude-app-id} &-mb-#{$i} {
109
+ margin-bottom: -($fortitude-base-spacing-unit * $i);
110
+ }
111
+
112
+ ##{$fortitude-app-id} &-mrh-#{$i} {
113
+ margin-right: -($fortitude-base-spacing-unit * $i + halve($fortitude-base-spacing-unit));
114
+ }
115
+
116
+ ##{$fortitude-app-id} &-mr-#{$i} {
117
+ margin-right: -($fortitude-base-spacing-unit * $i);
118
+ }
119
+
120
+ ##{$fortitude-app-id} &-mth-#{$i} {
121
+ margin-top: -($fortitude-base-spacing-unit * $i + halve($fortitude-base-spacing-unit));
122
+ }
123
+
124
+ ##{$fortitude-app-id} &-mt-#{$i} {
125
+ margin-top: -($fortitude-base-spacing-unit * $i);
126
+ }
127
+ }
128
+ }
129
+