fortitude-sass 0.4.9 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +6 -5
- data/Gemfile.lock +1 -1
- data/app/assets/stylesheets/fortitude/base/_hr.scss +7 -7
- data/app/assets/stylesheets/fortitude/base/_images.scss +10 -12
- data/app/assets/stylesheets/fortitude/base/_lists.scss +6 -8
- data/app/assets/stylesheets/fortitude/base/_page.scss +14 -10
- data/app/assets/stylesheets/fortitude/blocks/_badge.scss +28 -137
- data/app/assets/stylesheets/fortitude/blocks/_bare-list.scss +0 -12
- data/app/assets/stylesheets/fortitude/blocks/_block-list.scss +20 -74
- data/app/assets/stylesheets/fortitude/blocks/_box.scss +1 -27
- data/app/assets/stylesheets/fortitude/blocks/_button.scss +38 -219
- data/app/assets/stylesheets/fortitude/blocks/_container.scss +2 -50
- data/app/assets/stylesheets/fortitude/blocks/_flag.scss +113 -397
- data/app/assets/stylesheets/fortitude/blocks/_flashbar.scss +0 -18
- data/app/assets/stylesheets/fortitude/blocks/_fluid-container.scss +2 -11
- data/app/assets/stylesheets/fortitude/blocks/_inline-list.scss +3 -15
- data/app/assets/stylesheets/fortitude/blocks/_input.scss +14 -355
- data/app/assets/stylesheets/fortitude/blocks/_layout.scss +77 -263
- data/app/assets/stylesheets/fortitude/blocks/_list-navigation.scss +6 -29
- data/app/assets/stylesheets/fortitude/blocks/_media.scss +104 -265
- data/app/assets/stylesheets/fortitude/blocks/_modal.scss +2 -2
- data/app/assets/stylesheets/fortitude/blocks/_navigationbar.scss +26 -43
- data/app/assets/stylesheets/fortitude/blocks/_shade.scss +2 -21
- data/app/assets/stylesheets/fortitude/blocks/_table.scss +11 -21
- data/app/assets/stylesheets/fortitude/blocks/_tabs-navigation.scss +8 -51
- data/app/assets/stylesheets/fortitude/blocks/_tabs.scss +1 -13
- data/app/assets/stylesheets/fortitude/blocks/_text.scss +7 -7
- data/app/assets/stylesheets/fortitude/blocks/_tooltip.scss +1 -171
- data/app/assets/stylesheets/fortitude/blocks/_ui-list.scss +20 -88
- data/app/assets/stylesheets/fortitude/blocks/_wings.scss +27 -28
- data/app/assets/stylesheets/fortitude/generic/_box-sizing.scss +8 -11
- data/app/assets/stylesheets/fortitude/generic/_clearfix.scss +1 -1
- data/app/assets/stylesheets/fortitude/generic/_normalize.scss +2 -4
- data/app/assets/stylesheets/fortitude/generic/_reset.scss +5 -32
- data/app/assets/stylesheets/fortitude/settings/_defaults.scss +15 -33
- data/app/assets/stylesheets/fortitude/tools/_functions.scss +57 -60
- data/app/assets/stylesheets/fortitude/tools/_mixins.scss +38 -35
- data/app/assets/stylesheets/fortitude/trumps/_responsive-border.scss +25 -32
- data/app/assets/stylesheets/fortitude/trumps/_responsive-column.scss +18 -19
- data/app/assets/stylesheets/fortitude/trumps/_responsive-display.scss +2 -9
- data/app/assets/stylesheets/fortitude/trumps/_responsive-float.scss +10 -10
- data/app/assets/stylesheets/fortitude/trumps/_responsive-font.scss +11 -9
- data/app/assets/stylesheets/fortitude/trumps/_responsive-height.scss +8 -6
- data/app/assets/stylesheets/fortitude/trumps/_responsive-line-height.scss +11 -10
- data/app/assets/stylesheets/fortitude/trumps/_responsive-margin.scss +88 -127
- data/app/assets/stylesheets/fortitude/trumps/_responsive-padding.scss +45 -62
- data/app/assets/stylesheets/fortitude/trumps/_responsive-text.scss +12 -13
- data/app/assets/stylesheets/fortitude/trumps/_screen-lock.scss +1 -1
- data/app/assets/stylesheets/fortitude.scss +24 -0
- data/bower.json +1 -1
- data/lib/fortitude-sass/version.rb +1 -1
- metadata +2 -13
- data/app/assets/stylesheets/fortitude/theme/base/_page.scss +0 -19
- data/app/assets/stylesheets/fortitude/theme/extensions/_badge.scss +0 -7
- data/app/assets/stylesheets/fortitude/theme/extensions/_box.scss +0 -13
- data/app/assets/stylesheets/fortitude/theme/extensions/_button.scss +0 -7
- data/app/assets/stylesheets/fortitude/theme/extensions/_flashbar.scss +0 -6
- data/app/assets/stylesheets/fortitude/theme/extensions/_navigationbar.scss +0 -50
- data/app/assets/stylesheets/fortitude/theme/extensions/_text.scss +0 -5
- data/app/assets/stylesheets/fortitude/theme/extensions/_wings.scss +0 -9
- data/app/assets/stylesheets/fortitude/theme/settings/_colors.scss +0 -53
- data/app/assets/stylesheets/fortitude/theme/settings/_defaults.scss +0 -5
- data/app/assets/stylesheets/fortitude/theme.scss +0 -11
@@ -6,53 +6,56 @@
|
|
6
6
|
// working with it, can make use of.
|
7
7
|
|
8
8
|
// Predefine the variables below in order to alter and enable specific features.
|
9
|
-
$fortitude-enable-classes:
|
10
|
-
|
11
|
-
|
9
|
+
$fortitude-enable-classes: false !default;
|
12
10
|
|
13
11
|
@mixin fortitude-breakpoint($fortitude-alias, $fortitude-breakpoints: $fortitude-class-breakpoints) {
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
12
|
+
$fortitude-query: fortitude-query(map-get($fortitude-breakpoints, $fortitude-alias));
|
13
|
+
// if there is no media query.
|
14
|
+
@if not $fortitude-query {
|
15
|
+
@content;
|
16
|
+
}
|
17
|
+
@else {
|
18
|
+
// if there is a media query.
|
19
|
+
@media #{$fortitude-query} {
|
20
|
+
@content;
|
23
21
|
}
|
22
|
+
}
|
24
23
|
}
|
25
24
|
|
26
25
|
@mixin fortitude-breakpoint-classes($fortitude-breakpoints: $fortitude-class-breakpoints) {
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
@content;
|
38
|
-
}
|
39
|
-
}
|
26
|
+
@each $fortitude-alias, $fortitude-breakpoint in $fortitude-breakpoints {
|
27
|
+
$fortitude-query: fortitude-query($fortitude-breakpoint);
|
28
|
+
.#{$fortitude-alias} {
|
29
|
+
// if there is no media query.
|
30
|
+
@if not $fortitude-query {
|
31
|
+
@content;
|
32
|
+
}
|
33
|
+
@else {
|
34
|
+
@media #{$fortitude-query} {
|
35
|
+
@content;
|
40
36
|
}
|
37
|
+
}
|
41
38
|
}
|
39
|
+
}
|
42
40
|
}
|
43
41
|
|
44
42
|
@mixin fortitude-font-size($fortitude-font-size, $fortitude-line-height: true) {
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
}
|
43
|
+
font-size: $fortitude-font-size;
|
44
|
+
@if $fortitude-line-height == true {
|
45
|
+
line-height: ceil($fortitude-font-size / $fortitude-base-line-height) * $fortitude-base-line-height;
|
46
|
+
}
|
50
47
|
}
|
51
48
|
|
52
49
|
@mixin fortitude-clearfix {
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
50
|
+
&:after {
|
51
|
+
content: "";
|
52
|
+
display: table;
|
53
|
+
clear: both;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
@mixin fortitude-utility-class {
|
58
|
+
##{$fortitude-app-id} {
|
59
|
+
@content;
|
60
|
+
}
|
58
61
|
}
|
@@ -1,35 +1,28 @@
|
|
1
1
|
$fortitude-responsive-border-unit-total: 1 !default;
|
2
2
|
|
3
|
-
@include fortitude-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
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
|
-
}
|
3
|
+
@include fortitude-utility-class {
|
4
|
+
@include fortitude-breakpoint-classes {
|
5
|
+
@for $fortitude-index from 0 through $fortitude-responsive-border-unit-total {
|
6
|
+
&-bt#{$fortitude-index},
|
7
|
+
&-b#{$fortitude-index},
|
8
|
+
&-btb#{$fortitude-index} {
|
9
|
+
border-top-width: $fortitude-index * 0.1rem;
|
10
|
+
}
|
11
|
+
&-br#{$fortitude-index},
|
12
|
+
&-b#{$fortitude-index},
|
13
|
+
&-brl#{$fortitude-index} {
|
14
|
+
border-right-width: $fortitude-index * 0.1rem;
|
15
|
+
}
|
16
|
+
&-bb#{$fortitude-index},
|
17
|
+
&-b#{$fortitude-index},
|
18
|
+
&-btb#{$fortitude-index} {
|
19
|
+
border-bottom-width: $fortitude-index * 0.1rem;
|
20
|
+
}
|
21
|
+
&-bl#{$fortitude-index},
|
22
|
+
&-b#{$fortitude-index},
|
23
|
+
&-brl#{$fortitude-index} {
|
24
|
+
border-left-width: $fortitude-index * 0.1rem;
|
25
|
+
}
|
34
26
|
}
|
35
|
-
}
|
27
|
+
}
|
28
|
+
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
$fortitude-responsive-column-total: 12 !default;
|
2
2
|
|
3
3
|
@mixin fortitude-column($fortitude-index) {
|
4
|
-
|
4
|
+
width: percentage($fortitude-index / $fortitude-responsive-column-total);
|
5
5
|
}
|
6
6
|
|
7
7
|
@mixin fortitude-column-offset($fortitude-index) {
|
@@ -16,22 +16,21 @@ $fortitude-responsive-column-total: 12 !default;
|
|
16
16
|
right: percentage($fortitude-index / $fortitude-responsive-column-total);
|
17
17
|
}
|
18
18
|
|
19
|
-
@include fortitude-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
@include fortitude-column-pull($i);
|
35
|
-
}
|
19
|
+
@include fortitude-utility-class {
|
20
|
+
@include fortitude-breakpoint-classes {
|
21
|
+
@for $fortitude-index from 0 through $fortitude-responsive-column-total {
|
22
|
+
&-#{$fortitude-index}of#{$fortitude-responsive-column-total} {
|
23
|
+
@include fortitude-column($fortitude-index);
|
24
|
+
}
|
25
|
+
&-offset#{$fortitude-index}of#{$fortitude-responsive-column-total} {
|
26
|
+
@include fortitude-column-offset($fortitude-index);
|
27
|
+
}
|
28
|
+
&-push#{$fortitude-index}of#{$fortitude-responsive-column-total} {
|
29
|
+
@include fortitude-column-push($fortitude-index);
|
30
|
+
}
|
31
|
+
&-pull#{$fortitude-index}of#{$fortitude-responsive-column-total} {
|
32
|
+
@include fortitude-column-pull($fortitude-index);
|
33
|
+
}
|
36
34
|
}
|
37
|
-
}
|
35
|
+
}
|
36
|
+
}
|
@@ -1,35 +1,28 @@
|
|
1
|
-
|
1
|
+
@include fortitude-utility-class {
|
2
2
|
@include fortitude-breakpoint-classes {
|
3
3
|
&-none {
|
4
4
|
display: none;
|
5
5
|
}
|
6
|
-
|
7
6
|
&-inline {
|
8
7
|
display: inline;
|
9
8
|
}
|
10
|
-
|
11
9
|
&-inline-block {
|
12
10
|
display: inline-block;
|
13
11
|
}
|
14
|
-
|
15
12
|
&-block {
|
16
13
|
display: block;
|
17
14
|
}
|
18
|
-
|
19
15
|
&-table {
|
20
16
|
display: table;
|
21
17
|
}
|
22
|
-
|
23
18
|
&-table-cell {
|
24
19
|
display: table-cell;
|
25
20
|
}
|
26
|
-
|
27
21
|
&-table-column {
|
28
22
|
display: table-column;
|
29
23
|
}
|
30
|
-
|
31
24
|
&-inherit {
|
32
25
|
display: inherit;
|
33
26
|
}
|
34
27
|
}
|
35
|
-
}
|
28
|
+
}
|
@@ -1,13 +1,13 @@
|
|
1
|
-
@include fortitude-
|
2
|
-
|
3
|
-
|
1
|
+
@include fortitude-utility-class {
|
2
|
+
@include fortitude-breakpoint-classes {
|
3
|
+
&-float-left {
|
4
|
+
float: left;
|
4
5
|
}
|
5
|
-
|
6
|
-
|
7
|
-
float: right;
|
6
|
+
&-float-right {
|
7
|
+
float: right;
|
8
8
|
}
|
9
|
-
|
10
|
-
|
11
|
-
float: none;
|
9
|
+
&-float-none {
|
10
|
+
float: none;
|
12
11
|
}
|
13
|
-
}
|
12
|
+
}
|
13
|
+
}
|
@@ -1,13 +1,15 @@
|
|
1
|
-
$fortitude-responsive-font-sizes: (alpha: 3.6rem, beta:
|
1
|
+
$fortitude-responsive-font-sizes: (alpha: 3.6rem, beta: 3rem, gamma: 2.4rem, delta: 1.8rem, epsilon: 1.4rem, zeta: 1rem) !default;
|
2
2
|
|
3
|
-
@mixin fortitude-font-size-alias($alias, $line-height: false) {
|
4
|
-
|
3
|
+
@mixin fortitude-font-size-alias($fortitude-alias, $fortitude-line-height: false) {
|
4
|
+
@include fortitude-font-size(map-get($fortitude-responsive-font-sizes, $fortitude-alias), $fortitude-line-height);
|
5
5
|
}
|
6
6
|
|
7
|
-
@include fortitude-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
7
|
+
@include fortitude-utility-class {
|
8
|
+
@include fortitude-breakpoint-classes {
|
9
|
+
@each $fortitude-alias, $fortitude-size in $fortitude-responsive-font-sizes {
|
10
|
+
&-#{$fortitude-alias} {
|
11
|
+
@include fortitude-font-size-alias($fortitude-alias);
|
12
|
+
}
|
12
13
|
}
|
13
|
-
}
|
14
|
+
}
|
15
|
+
}
|
@@ -1,13 +1,15 @@
|
|
1
1
|
$fortitude-responsive-height-total: 12 !default;
|
2
2
|
|
3
3
|
@mixin fortitude-height($fortitude-index) {
|
4
|
-
|
4
|
+
min-height: $fortitude-base-spacing-unit * $fortitude-index;
|
5
5
|
}
|
6
6
|
|
7
|
-
@
|
7
|
+
@include fortitude-utility-class {
|
8
|
+
@for $fortitude-index from 1 through $fortitude-responsive-height-total {
|
8
9
|
@include fortitude-breakpoint-classes {
|
9
|
-
|
10
|
-
|
11
|
-
|
10
|
+
&-#{$fortitude-index} {
|
11
|
+
@include fortitude-height($fortitude-index);
|
12
|
+
}
|
12
13
|
}
|
13
|
-
}
|
14
|
+
}
|
15
|
+
}
|
@@ -1,13 +1,14 @@
|
|
1
1
|
$fortitude-responsive-line-height-unit-total: 2 !default;
|
2
2
|
|
3
|
-
@include fortitude-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
3
|
+
@include fortitude-utility-class {
|
4
|
+
@include fortitude-breakpoint-classes {
|
5
|
+
@for $fortitude-index from 0 through $fortitude-responsive-line-height-unit-total {
|
6
|
+
&-inset#{$fortitude-index} {
|
7
|
+
line-height: $fortitude-base-line-height * $fortitude-index;
|
8
|
+
}
|
9
|
+
&-inseth#{$fortitude-index} {
|
10
|
+
line-height: $fortitude-base-line-height * $fortitude-index + halve($fortitude-base-line-height);
|
11
|
+
}
|
12
12
|
}
|
13
|
-
}
|
13
|
+
}
|
14
|
+
}
|
@@ -1,134 +1,95 @@
|
|
1
1
|
$fortitude-responsive-margin-unit-total: 10 !default;
|
2
2
|
$fortitude-responsive-negative-margin-unit-total: 10 !default;
|
3
3
|
|
4
|
-
|
5
|
-
@include fortitude-breakpoint-classes {
|
6
|
-
@for $
|
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
|
-
##{$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
|
-
}
|
4
|
+
@include fortitude-utility-class {
|
5
|
+
@include fortitude-breakpoint-classes {
|
6
|
+
@for $fortitude-index from 0 through $fortitude-responsive-margin-unit-total {
|
7
|
+
&-mt#{$fortitude-index},
|
8
|
+
&-m#{$fortitude-index},
|
9
|
+
&-mtb#{$fortitude-index} {
|
10
|
+
margin-top: $fortitude-base-spacing-unit * $fortitude-index;
|
11
|
+
}
|
12
|
+
&-mth#{$fortitude-index},
|
13
|
+
&-mh#{$fortitude-index},
|
14
|
+
&-mtbh#{$fortitude-index} {
|
15
|
+
margin-top: $fortitude-base-spacing-unit * $fortitude-index + halve($fortitude-base-spacing-unit);
|
16
|
+
}
|
17
|
+
&-mr#{$fortitude-index},
|
18
|
+
&-m#{$fortitude-index},
|
19
|
+
&-mrl#{$fortitude-index} {
|
20
|
+
margin-right: $fortitude-base-spacing-unit * $fortitude-index;
|
21
|
+
}
|
22
|
+
&-mrh#{$fortitude-index},
|
23
|
+
&-mh#{$fortitude-index},
|
24
|
+
&-mrlh#{$fortitude-index} {
|
25
|
+
margin-right: $fortitude-base-spacing-unit * $fortitude-index + halve($fortitude-base-spacing-unit);
|
26
|
+
}
|
27
|
+
&-mb#{$fortitude-index},
|
28
|
+
&-m#{$fortitude-index},
|
29
|
+
&-mtb#{$fortitude-index} {
|
30
|
+
margin-bottom: $fortitude-base-spacing-unit * $fortitude-index;
|
31
|
+
}
|
32
|
+
&-mbh#{$fortitude-index},
|
33
|
+
&-mh#{$fortitude-index},
|
34
|
+
&-mtbh#{$fortitude-index} {
|
35
|
+
margin-bottom: $fortitude-base-spacing-unit * $fortitude-index + halve($fortitude-base-spacing-unit);
|
36
|
+
}
|
37
|
+
&-ml#{$fortitude-index},
|
38
|
+
&-m#{$fortitude-index},
|
39
|
+
&-mrl#{$fortitude-index} {
|
40
|
+
margin-left: $fortitude-base-spacing-unit * $fortitude-index;
|
41
|
+
}
|
42
|
+
&-mlh#{$fortitude-index},
|
43
|
+
&-mh#{$fortitude-index},
|
44
|
+
&-mrlh#{$fortitude-index} {
|
45
|
+
margin-left: $fortitude-base-spacing-unit * $fortitude-index + halve($fortitude-base-spacing-unit);
|
46
|
+
}
|
66
47
|
}
|
67
|
-
@for $
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
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
|
-
}
|
48
|
+
@for $fortitude-index from 0 through $fortitude-responsive-negative-margin-unit-total {
|
49
|
+
&-mt-#{$fortitude-index},
|
50
|
+
&-m-#{$fortitude-index},
|
51
|
+
&-mtb-#{$fortitude-index} {
|
52
|
+
margin-top: -($fortitude-base-spacing-unit * $fortitude-index);
|
53
|
+
}
|
54
|
+
&-mth-#{$fortitude-index},
|
55
|
+
&-mh-#{$fortitude-index},
|
56
|
+
&-mtbh-#{$fortitude-index} {
|
57
|
+
margin-top: -($fortitude-base-spacing-unit * $fortitude-index + halve($fortitude-base-spacing-unit));
|
58
|
+
}
|
59
|
+
&-mr-#{$fortitude-index},
|
60
|
+
&-m-#{$fortitude-index},
|
61
|
+
&-mrl-#{$fortitude-index} {
|
62
|
+
margin-right: -($fortitude-base-spacing-unit * $fortitude-index);
|
63
|
+
}
|
64
|
+
&-mrh-#{$fortitude-index},
|
65
|
+
&-mh-#{$fortitude-index},
|
66
|
+
&-mrlh-#{$fortitude-index} {
|
67
|
+
margin-right: -($fortitude-base-spacing-unit * $fortitude-index + halve($fortitude-base-spacing-unit));
|
68
|
+
}
|
69
|
+
&-mb-#{$fortitude-index},
|
70
|
+
&-m-#{$fortitude-index},
|
71
|
+
&-mtb-#{$fortitude-index} {
|
72
|
+
margin-bottom: -($fortitude-base-spacing-unit * $fortitude-index);
|
73
|
+
}
|
74
|
+
&-mbh-#{$fortitude-index},
|
75
|
+
&-mh-#{$fortitude-index},
|
76
|
+
&-mtbh-#{$fortitude-index} {
|
77
|
+
margin-bottom: -($fortitude-base-spacing-unit * $fortitude-index + halve($fortitude-base-spacing-unit));
|
78
|
+
}
|
79
|
+
&-ml-#{$fortitude-index},
|
80
|
+
&-m-#{$fortitude-index},
|
81
|
+
&-mrl-#{$fortitude-index} {
|
82
|
+
margin-left: -($fortitude-base-spacing-unit * $fortitude-index);
|
83
|
+
}
|
84
|
+
&-mlh-#{$fortitude-index},
|
85
|
+
&-mh-#{$fortitude-index},
|
86
|
+
&-mrlh-#{$fortitude-index} {
|
87
|
+
margin-left: -($fortitude-base-spacing-unit * $fortitude-index + halve($fortitude-base-spacing-unit));
|
88
|
+
}
|
127
89
|
}
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
margin-left: auto;
|
90
|
+
&-mrlauto {
|
91
|
+
margin-right: auto;
|
92
|
+
margin-left: auto;
|
132
93
|
}
|
94
|
+
}
|
133
95
|
}
|
134
|
-
|