fortitude-sass 0.4.9 → 0.5.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 (64) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +6 -5
  3. data/Gemfile.lock +1 -1
  4. data/app/assets/stylesheets/fortitude/base/_hr.scss +7 -7
  5. data/app/assets/stylesheets/fortitude/base/_images.scss +10 -12
  6. data/app/assets/stylesheets/fortitude/base/_lists.scss +6 -8
  7. data/app/assets/stylesheets/fortitude/base/_page.scss +14 -10
  8. data/app/assets/stylesheets/fortitude/blocks/_badge.scss +28 -137
  9. data/app/assets/stylesheets/fortitude/blocks/_bare-list.scss +0 -12
  10. data/app/assets/stylesheets/fortitude/blocks/_block-list.scss +20 -74
  11. data/app/assets/stylesheets/fortitude/blocks/_box.scss +1 -27
  12. data/app/assets/stylesheets/fortitude/blocks/_button.scss +38 -219
  13. data/app/assets/stylesheets/fortitude/blocks/_container.scss +2 -50
  14. data/app/assets/stylesheets/fortitude/blocks/_flag.scss +113 -397
  15. data/app/assets/stylesheets/fortitude/blocks/_flashbar.scss +0 -18
  16. data/app/assets/stylesheets/fortitude/blocks/_fluid-container.scss +2 -11
  17. data/app/assets/stylesheets/fortitude/blocks/_inline-list.scss +3 -15
  18. data/app/assets/stylesheets/fortitude/blocks/_input.scss +14 -355
  19. data/app/assets/stylesheets/fortitude/blocks/_layout.scss +77 -263
  20. data/app/assets/stylesheets/fortitude/blocks/_list-navigation.scss +6 -29
  21. data/app/assets/stylesheets/fortitude/blocks/_media.scss +104 -265
  22. data/app/assets/stylesheets/fortitude/blocks/_modal.scss +2 -2
  23. data/app/assets/stylesheets/fortitude/blocks/_navigationbar.scss +26 -43
  24. data/app/assets/stylesheets/fortitude/blocks/_shade.scss +2 -21
  25. data/app/assets/stylesheets/fortitude/blocks/_table.scss +11 -21
  26. data/app/assets/stylesheets/fortitude/blocks/_tabs-navigation.scss +8 -51
  27. data/app/assets/stylesheets/fortitude/blocks/_tabs.scss +1 -13
  28. data/app/assets/stylesheets/fortitude/blocks/_text.scss +7 -7
  29. data/app/assets/stylesheets/fortitude/blocks/_tooltip.scss +1 -171
  30. data/app/assets/stylesheets/fortitude/blocks/_ui-list.scss +20 -88
  31. data/app/assets/stylesheets/fortitude/blocks/_wings.scss +27 -28
  32. data/app/assets/stylesheets/fortitude/generic/_box-sizing.scss +8 -11
  33. data/app/assets/stylesheets/fortitude/generic/_clearfix.scss +1 -1
  34. data/app/assets/stylesheets/fortitude/generic/_normalize.scss +2 -4
  35. data/app/assets/stylesheets/fortitude/generic/_reset.scss +5 -32
  36. data/app/assets/stylesheets/fortitude/settings/_defaults.scss +15 -33
  37. data/app/assets/stylesheets/fortitude/tools/_functions.scss +57 -60
  38. data/app/assets/stylesheets/fortitude/tools/_mixins.scss +38 -35
  39. data/app/assets/stylesheets/fortitude/trumps/_responsive-border.scss +25 -32
  40. data/app/assets/stylesheets/fortitude/trumps/_responsive-column.scss +18 -19
  41. data/app/assets/stylesheets/fortitude/trumps/_responsive-display.scss +2 -9
  42. data/app/assets/stylesheets/fortitude/trumps/_responsive-float.scss +10 -10
  43. data/app/assets/stylesheets/fortitude/trumps/_responsive-font.scss +11 -9
  44. data/app/assets/stylesheets/fortitude/trumps/_responsive-height.scss +8 -6
  45. data/app/assets/stylesheets/fortitude/trumps/_responsive-line-height.scss +11 -10
  46. data/app/assets/stylesheets/fortitude/trumps/_responsive-margin.scss +88 -127
  47. data/app/assets/stylesheets/fortitude/trumps/_responsive-padding.scss +45 -62
  48. data/app/assets/stylesheets/fortitude/trumps/_responsive-text.scss +12 -13
  49. data/app/assets/stylesheets/fortitude/trumps/_screen-lock.scss +1 -1
  50. data/app/assets/stylesheets/fortitude.scss +24 -0
  51. data/bower.json +1 -1
  52. data/lib/fortitude-sass/version.rb +1 -1
  53. metadata +2 -13
  54. data/app/assets/stylesheets/fortitude/theme/base/_page.scss +0 -19
  55. data/app/assets/stylesheets/fortitude/theme/extensions/_badge.scss +0 -7
  56. data/app/assets/stylesheets/fortitude/theme/extensions/_box.scss +0 -13
  57. data/app/assets/stylesheets/fortitude/theme/extensions/_button.scss +0 -7
  58. data/app/assets/stylesheets/fortitude/theme/extensions/_flashbar.scss +0 -6
  59. data/app/assets/stylesheets/fortitude/theme/extensions/_navigationbar.scss +0 -50
  60. data/app/assets/stylesheets/fortitude/theme/extensions/_text.scss +0 -5
  61. data/app/assets/stylesheets/fortitude/theme/extensions/_wings.scss +0 -9
  62. data/app/assets/stylesheets/fortitude/theme/settings/_colors.scss +0 -53
  63. data/app/assets/stylesheets/fortitude/theme/settings/_defaults.scss +0 -5
  64. data/app/assets/stylesheets/fortitude/theme.scss +0 -11
@@ -1,31 +1,5 @@
1
- /*------------------------------------*\
2
- #BOX
3
- \*------------------------------------*/
4
-
5
- /**
6
- * The box object simply boxes off content.
7
- */
8
- // Predefine the variables below in order to alter and enable specific features.
9
- $fortitude-box-border-width: 0 !default;
10
- $fortitude-box-border-style: solid !default;
11
- $fortitude-box-border-radius--rounded: 0.2rem !default;
12
-
13
-
14
-
15
-
16
-
17
- @mixin fortitude-box {
18
- /**
19
- * 1. So we can apply the `.box` class to naturally-inline elements.
20
- * 2. So we can style the border colors in our extensions.
21
- */
22
- @include fortitude-clearfix;
23
- display: block; /* [1] */
24
- border: $fortitude-box-border-width $fortitude-box-border-style transparent; /* [2] */
25
- }
26
-
27
1
  @mixin fortitude-box--rounded {
28
- border-radius: $fortitude-box-border-radius--rounded;
2
+ border-radius: $fortitude-box-border-radius--rounded;
29
3
  }
30
4
 
31
5
  .#{$fortitude-namespace}box {
@@ -1,224 +1,43 @@
1
- /*------------------------------------*\
2
- #BUTTON
3
- \*------------------------------------*/
4
-
5
- /**
6
- * A simple button object.
7
- */
8
-
9
- // Predefine the variables below in order to alter and enable specific features.
10
- $fortitude-button-border-width: 0 !default;
11
- $fortitude-button-border-style: solid !default;
12
- $fortitude-button-border-radius: 0.2rem !default;
13
-
14
- $fortitude-button-height: $fortitude-base-spacing-unit + 1.6rem !default;
15
- $fortitude-button-horizontal-padding: fortitude-block-padding($fortitude-button-height, $fortitude-button-border-width) * 2 !default;
16
- $fortitude-button-height--small: $fortitude-base-spacing-unit + 1.0rem !default;
17
- $fortitude-button-horizontal-padding--small: fortitude-block-padding($fortitude-button-height--small, $fortitude-button-border-width) * 2 !default;
18
- $fortitude-button-height--large: double($fortitude-base-spacing-unit) + 2.0rem !default;
19
- $fortitude-button-horizontal-padding--large: fortitude-block-padding($fortitude-button-height--large, $fortitude-button-border-width) * 2 !default;
20
-
21
- $fortitude-enable-button--small: false !default;
22
- $fortitude-enable-button--large: false !default;
23
- $fortitude-enable-button--full: false !default;
24
- $fortitude-enable-button--pill: false !default;
25
-
26
-
27
-
28
-
29
-
30
- // Here we set a variable assuming that `box-sizing: border-box;` is not set
31
- // globally. If it has been previously been defined, the following variable will
32
- // be overriden and will be set to `true`.
33
- $fortitude-global-border-box: false !default;
34
-
35
-
36
-
37
-
38
- @mixin fortitude-button($extension: null) {
39
- /**
40
- * 1. Allow us to style box model properties.
41
- * 2. Line different sized buttons up a little nicer.
42
- * 3. Make buttons inherit font styles (often necessary when styling `input`s as
43
- * buttons).
44
- * 4. Reset/normalize some styles.
45
- * 5. Force all button-styled elements to appear clickable.
46
- * 6. Fixes odd inner spacing in IE7.
47
- * 7. Subtract the border size from the padding value so that buttons do not
48
- * grow larger as we add borders.
49
- * 8. Set badge text to nowrap.
50
- * 9. set position: relative in case if button has a `button__target`
51
- * the position of the target will be inside of the button.
52
- * 10. Required to combine fluid widths and fixed gutters.
53
- */
54
- background-color: transparent;
55
- border: $fortitude-button-border-width $fortitude-button-border-style transparent;
56
- display: inline-block; /* [1] */
57
- vertical-align: middle; /* [2] */
58
- font: inherit; /* [3] */
59
- font-size: $fortitude-base-font-size;
60
- text-align: center; /* [4] */
61
- cursor: pointer; /* [5] */
62
- overflow: visible; /* [6] */
63
- white-space: nowrap; /* [8] */
64
- position: relative; /* [9] */
65
-
66
- @if ($extension == small) {
67
- @include fortitude-button--small;
68
- } @else if ($extension == large) {
69
- @include fortitude-button--large;
70
- } @else {
71
- margin: fortitude-block-margin($fortitude-button-height, $fortitude-button-border-width) 0; /* [4] */
72
- padding: fortitude-block-padding($fortitude-button-height, $fortitude-button-border-width) $fortitude-button-horizontal-padding; /* [7] */
73
- }
74
-
75
- @if ($extension == pill) {
76
- @include fortitude-button--pill;
77
- } @else if($fortitude-button-border-radius != 0) {
78
- border-radius: $fortitude-button-border-radius;
79
- }
80
-
81
- @if ($extension == full) {
82
- @include fortitude-button--full;
83
- }
84
-
85
- @if $fortitude-global-border-box == false {
86
- box-sizing: border-box; /* [10] */
87
- }
88
-
89
- &,
90
- &:hover,
91
- &:active,
92
- &:focus,
93
- &:visited {
94
- text-decoration: none; /* [4] */
95
- }
96
-
97
- &::-moz-focus-inner {
98
- /**
99
- * Fix a Firefox bug whereby `input type="submit"` gains 0.2rem extra padding.
100
- */
101
- border: 0;
102
- padding: 0;
103
- }
104
- }
105
-
106
- @mixin fortitude-button--small {
107
- /**
108
- * 1. Reset/normalize some styles.
109
- * 2. Subtract the border size from the padding value so that buttons do not
110
- * grow larger as we add borders.
111
- */
112
- margin: fortitude-block-margin($fortitude-button-height--small, $fortitude-button-border-width) 0; /* [1] */
113
- padding: fortitude-block-padding($fortitude-button-height--small, $fortitude-button-border-width) $fortitude-button-horizontal-padding--small; /* [2] */
114
- }
115
-
116
- @mixin fortitude-button--large {
117
- /**
118
- * 1. Reset/normalize some styles.
119
- * 2. Subtract the border size from the padding value so that buttons do not
120
- * grow larger as we add borders.
121
- */
122
- margin: fortitude-block-margin($fortitude-button-height--large, $fortitude-button-border-width) 0; /* [1] */
123
- padding: fortitude-block-padding($fortitude-button-height--large, $fortitude-button-border-width) $fortitude-button-horizontal-padding--large; /* [2] */
124
- }
125
-
126
- @mixin fortitude-button--full {
127
- width: 100%;
128
-
129
- @if $fortitude-global-border-box == false {
130
- /**
131
- * Remove paddings so that widths and paddings don’t conflict.
132
- */
133
- padding-right: 0;
134
- padding-left: 0;
135
- }
136
- }
137
-
138
- @mixin fortitude-button--pill {
139
- /**
140
- * 1. Overly-large value to ensure the radius rounds the whole end of the
141
- * button.
142
- */
143
- border-radius: 10rem; /* [1] */
144
- }
145
-
146
- @mixin fortitude-button__target {
147
- position: absolute;
148
- opacity: 0;
149
- border: 0;
150
- margin: 0;
151
- padding: 0;
152
- width: 100%;
153
- height: 100%;
154
- top: 0;
155
- left: 0;
156
- cursor: pointer;
157
- }
158
-
159
1
  .#{$fortitude-namespace}button {
160
- @include fortitude-button;
2
+ @include fortitude-button;
161
3
  }
162
4
 
163
5
  .#{$fortitude-namespace}button__target {
164
- @include fortitude-button__target;
165
- }
166
-
167
-
168
-
169
-
170
-
171
- @if ($fortitude-enable-button--small == true) {
172
-
173
- /**
174
- * Small buttons.
175
- */
176
-
177
- .#{$fortitude-namespace}button--small {
178
- @include fortitude-button--small;
179
- }
180
-
181
- }
182
-
183
- @if ($fortitude-enable-button--large == true) {
184
-
185
- /**
186
- * Large buttons.
187
- */
188
-
189
- .#{$fortitude-namespace}button--large {
190
- @include fortitude-button--large;
191
- }
192
- }
193
-
194
-
195
-
196
-
197
-
198
- @if ($fortitude-enable-button--full == true) {
199
-
200
- /**
201
- * Full-width buttons.
202
- */
203
-
204
- .#{$fortitude-namespace}button--full {
205
- @include fortitude-button--full;
206
- }
207
-
208
- }
209
-
210
-
211
-
212
-
213
-
214
- @if ($fortitude-enable-button--pill == true) {
215
-
216
- /**
217
- * Round-ended buttons.
218
- */
219
-
220
- .#{$fortitude-namespace}button--pill {
221
- @include fortitude-button--pill;
222
- }
223
-
6
+ @include fortitude-button__target;
7
+ }
8
+
9
+ @if $fortitude-enable-button--small == true {
10
+ /**
11
+ * Small buttons.
12
+ **/
13
+ .#{$fortitude-namespace}button--small {
14
+ @include fortitude-button--small;
15
+ }
16
+ }
17
+
18
+ @if $fortitude-enable-button--large == true {
19
+ /**
20
+ * Large buttons.
21
+ **/
22
+ .#{$fortitude-namespace}button--large {
23
+ @include fortitude-button--large;
24
+ }
25
+ }
26
+
27
+ @if $fortitude-enable-button--full == true {
28
+ /**
29
+ * Full-width buttons.
30
+ **/
31
+ .#{$fortitude-namespace}button--full {
32
+ @include fortitude-button--full;
33
+ }
34
+ }
35
+
36
+ @if $fortitude-enable-button--pill == true {
37
+ /**
38
+ * Round-ended buttons.
39
+ **/
40
+ .#{$fortitude-namespace}button--pill {
41
+ @include fortitude-button--pill;
42
+ }
224
43
  }
@@ -1,55 +1,7 @@
1
- /*------------------------------------*\
2
- #CONTAINER
3
- \*------------------------------------*/
4
-
5
- $fortitude-container-breakpoints: (xs: 100%,
6
- sm: 72rem + $fortitude-base-spacing-unit,
7
- md: 94rem + $fortitude-base-spacing-unit,
8
- lg: 114rem + $fortitude-base-spacing-unit) !default;
9
-
10
-
11
-
12
-
13
-
14
- // Here we set a variable assuming that `box-sizing: border-box;` is not set
15
- // globally. If it has been previously been defined, the following variable will
16
- // be overriden and will be set to `true`.
17
- $fortitude-global-border-box: false !default;
18
-
19
- @mixin fortitude-container {
20
- @include fortitude-clearfix;
21
-
22
- margin-right: auto;
23
- margin-left: auto;
24
- @each $alias, $breakpoint in $fortitude-breakpoints {
25
- $query: fortitude-query($breakpoint);
26
- // if there is no media query.
27
- @if not $query {
28
- width: map-get($fortitude-container-breakpoints, $alias);
29
- }
30
- // if there is a media query.
31
- @else {
32
- @media #{$query} {
33
- width: map-get($fortitude-container-breakpoints, $alias);
34
- }
35
- }
36
- }
37
-
38
- @if $fortitude-global-border-box == false {
39
- box-sizing: border-box; /* [10] */
40
- }
41
- }
42
-
43
- @mixin fortitude-container--fixed-top {
44
- z-index: 2;
45
- position: fixed;
46
- top: 0;
47
- }
48
-
49
1
  .#{$fortitude-namespace}container {
50
- @include fortitude-container;
2
+ @include fortitude-container;
51
3
  }
52
4
 
53
5
  .#{$fortitude-namespace}container--fixed-top {
54
- @include fortitude-container--fixed-top;
6
+ @include fortitude-container--fixed-top;
55
7
  }
@@ -1,426 +1,142 @@
1
- /*------------------------------------*\
2
- #FLAG
3
- \*------------------------------------*/
4
-
5
- /**
6
- * The flag object is a design pattern similar to the media object, however it
7
- * utilises `display: table[-cell];` to give us control over the vertical
8
- * alignments of the text and image. csswizardry.com/2013/05/the-flag-object
9
- */
10
-
11
- // Predefine the variables below in order to alter and enable specific features.
12
- $fortitude-flag-gutter: $fortitude-base-spacing-unit !default;
13
- $fortitude-flag-gutter--small: halve($fortitude-flag-gutter) !default;
14
- $fortitude-flag-gutter--large: double($fortitude-flag-gutter) !default;
15
-
16
- $fortitude-enable-flag--small: false !default;
17
- $fortitude-enable-flag--large: false !default;
18
- $fortitude-enable-flag--rev: false !default;
19
- $fortitude-enable-flag--flush: false !default;
20
- $fortitude-enable-flag--top: false !default;
21
- $fortitude-enable-flag--bottom: false !default;
22
- $fortitude-enable-flag--responsive: false !default;
23
- $fortitude-flag-collapse-at: 720px !default;
24
-
25
-
26
-
27
-
28
-
29
- @mixin fortitude-flag {
30
- /**
31
- * 1. Allows us to control vertical alignments
32
- * 2. Force the object to be the full width of its parent. Combined with [1],
33
- * this makes the object behave in a quasi-`display: block;` manner.
34
- */
35
- display: table; /* [1] */
36
- width: 100%; /* [2] */
37
- }
38
-
39
- @mixin fortitude-flag__object {
40
- /**
41
- * 1. Default to aligning content to their middles.
42
- */
43
- display: table-cell;
44
- vertical-align: middle; /* [1] */
45
- padding-right: $fortitude-flag-gutter;
46
-
47
- > img {
48
- display: block;
49
- margin-left: auto;
50
- margin-right: auto;
51
- max-width: none;
52
- }
53
-
54
- }
55
-
56
- @mixin fortitude-flag__body {
57
- /**
58
- * The container for the main content of the flag object.
59
- *
60
- * 1. Forces the `.flag__body` to take up all remaining space.
61
- * 2. Default to aligning content to their middles.
62
- */
63
-
64
- display: table-cell;
65
- width: 100%; /* [1] */
66
- vertical-align: middle; /* [2] */
67
- }
68
-
69
- @mixin fortitude-flag--small__object {
70
- padding-right: $fortitude-flag-gutter--small;
71
- }
72
-
73
- @mixin fortitude-flag--small--rev__object {
74
- padding-right: 0;
75
- padding-left: $fortitude-flag-gutter--small;
76
- }
77
-
78
- @mixin fortitude-flag--large__object {
79
- padding-right: $fortitude-flag-gutter--large;
80
- }
81
-
82
- @mixin fortitude-flag--large--rev__object {
83
- padding-right: 0;
84
- padding-left: $fortitude-flag-gutter--large;
85
- }
86
-
87
- @mixin fortitude-flag--rev {
88
- /**
89
- * 1. Swap the rendered direction of the object…
90
- */
91
-
92
- direction: rtl; /* [1] */
93
- }
94
-
95
- @mixin fortitude-flag--rev__object {
96
- /**
97
- * 1. Swap the rendered direction of the object…
98
- * 2. …and reset it.
99
- * 3. Reassign margins to the correct sides.
100
- */
101
-
102
- direction: ltr; /* [2] */
103
- padding-right: 0; /* [3] */
104
- padding-left: $fortitude-flag-gutter; /* [3] */
105
- }
106
-
107
- @mixin fortitude-flag--rev__body {
108
- /**
109
- * 2. …and reset it.
110
- */
111
- direction: ltr; /* [2] */
112
- }
113
-
114
- @mixin fortitude-flag--flush__object {
115
- padding-right: 0;
116
- padding-left: 0;
117
- }
118
-
119
- @mixin fortitude-flag--top__object {
120
- vertical-align: top;
121
- }
122
-
123
- @mixin fortitude-flag--top__body {
124
- vertical-align: top;
125
- }
126
-
127
- @mixin fortitude-flag--bottom__object {
128
- vertical-align: bottom;
129
- }
130
-
131
- @mixin fortitude-flag--bottom__body {
132
- vertical-align: bottom;
133
- }
134
-
135
- @mixin fortitude-flag--responsive {
136
- /**
137
- * Responsive flag objects.
138
- *
139
- * There is a very pragmatic, simple implementation of a responsive flag
140
- * object, which simply places the text-content beneath the image-content.
141
- *
142
- * We use a `max-width` media query because:
143
- *
144
- * a) it is the least verbose method in terms of amount of code required.
145
- * b) the flag object’s default state is image-next-to-text, so its stacked
146
- * state is the exception, rather than the rule.
147
- */
148
-
149
- @media screen and (max-width: $fortitude-flag-collapse-at) {
150
- @if ($fortitude-enable-flag--rev == true) {
151
- /**
152
- * Disable reversal of content because there is no concept of
153
- * ‘reversed’ in a stacked layout.
154
- */
155
- direction: ltr;
156
- }
157
-
158
- display: block;
159
- @content;
160
- }
161
- }
162
-
163
- @mixin fortitude-flag--responsive__object {
164
- /**
165
- * Rework the spacings on regular flag objects.
166
- */
167
- display: block;
168
- padding-right: 0;
169
- padding-left: 0;
170
- margin-bottom: $fortitude-flag-gutter;
171
- }
172
-
173
- @mixin fortitude-flag--responsive__body {
174
- display: block;
175
- }
176
-
177
- @mixin fortitude-flag--responsive--small__object {
178
- /**
179
- * Small responsive flags.
180
- *
181
- * Take a little more heavy-handed approach to reworking
182
- * spacings on flags that are also small flags in their regular
183
- * state.
184
- */
185
-
186
- padding-right: 0;
187
- padding-left: 0;
1
+ .#{$fortitude-namespace}flag {
2
+ @include fortitude-flag;
188
3
  }
189
4
 
190
- @mixin fortitude-flag--responsive--large__object {
191
- /**
192
- * Large responsive flags.
193
- *
194
- * Take a little more heavy-handed approach to reworking
195
- * spacings on flags that are also large flags in their regular
196
- * state.
197
- */
5
+ /**
6
+ * Items within a flag object. There should only ever be one of each.
7
+ **/
198
8
 
199
- padding-right: 0;
200
- padding-left: 0;
9
+ /**
10
+ * Flag images have a space between them and the body of the object.
11
+ **/
12
+ .#{$fortitude-namespace}flag__object {
13
+ @include fortitude-flag__object;
201
14
  }
202
15
 
203
- .#{$fortitude-namespace}flag {
204
- @include fortitude-flag;
16
+ .#{$fortitude-namespace}flag__body {
17
+ @include fortitude-flag__body;
205
18
  }
206
19
 
207
- /**
208
- * Items within a flag object. There should only ever be one of each.
209
- */
210
-
211
-
212
- /**
213
- * Flag images have a space between them and the body of the object.
214
- */
215
- .#{$fortitude-namespace}flag__object {
216
- @include fortitude-flag__object;
20
+ @if $fortitude-enable-flag--small == true {
21
+ /**
22
+ * Small flags.
23
+ **/
24
+ .#{$fortitude-namespace}flag--small {
25
+ > .#{$fortitude-namespace}flag__object {
26
+ @include fortitude-flag--small__object;
217
27
  }
218
-
219
- .#{$fortitude-namespace}flag__body {
220
- @include fortitude-flag__body;
221
- }
222
-
223
-
224
-
225
-
226
-
227
- @if ($fortitude-enable-flag--small == true) {
228
-
229
- /**
230
- * Small flags.
231
- */
232
-
233
- .#{$fortitude-namespace}flag--small {
234
-
28
+ @if $fortitude-enable-flag--rev == true {
29
+ /**
30
+ * Small reversed flags.
31
+ **/
32
+ &.#{$fortitude-namespace}flag--rev {
235
33
  > .#{$fortitude-namespace}flag__object {
236
- @include fortitude-flag--small__object;
34
+ @include fortitude-flag--small--rev__object;
237
35
  }
238
-
239
- @if ($fortitude-enable-flag--rev == true) {
240
-
241
- /**
242
- * Small reversed flags.
243
- */
244
-
245
- &.#{$fortitude-namespace}flag--rev {
246
-
247
- > .#{$fortitude-namespace}flag__object {
248
- @include fortitude-flag--small--rev__object;
249
- }
250
-
251
- }
252
-
253
- }
254
-
36
+ }
255
37
  }
256
-
38
+ }
257
39
  }
258
40
 
259
- @if ($fortitude-enable-flag--large == true) {
260
-
261
- /**
262
- * Large flags.
263
- */
264
-
265
- .#{$fortitude-namespace}flag--large {
266
-
267
- > .#{$fortitude-namespace}flag__object {
268
- @include fortitude-flag--large__object;
269
- }
270
-
271
- @if ($fortitude-enable-flag--rev == true) {
272
-
273
- /**
274
- * Large reversed flags.
275
- */
276
-
277
- &.#{$fortitude-namespace}flag--rev {
278
-
279
- > .#{$fortitude-namespace}flag__object {
280
- @include fortitude-flag--large--rev__object;
281
- }
282
-
283
- }
284
-
285
- }
286
-
41
+ @if $fortitude-enable-flag--large == true {
42
+ /**
43
+ * Large flags.
44
+ **/
45
+ .#{$fortitude-namespace}flag--large {
46
+ > .#{$fortitude-namespace}flag__object {
47
+ @include fortitude-flag--large__object;
287
48
  }
288
-
289
- }
290
-
291
-
292
-
293
-
294
-
295
- @if ($fortitude-enable-flag--rev == true) {
296
-
297
- /**
298
- * Reversed flag objects have their image-content to the right, and text-content
299
- * to the left.
300
- */
301
-
302
- .#{$fortitude-namespace}flag--rev {
303
- @include fortitude-flag--rev;
304
-
49
+ @if $fortitude-enable-flag--rev == true {
50
+ /**
51
+ * Large reversed flags.
52
+ **/
53
+ &.#{$fortitude-namespace}flag--rev {
305
54
  > .#{$fortitude-namespace}flag__object {
306
- @include fortitude-flag--rev__object;
307
- }
308
-
309
- > .#{$fortitude-namespace}flag__body {
310
- @include fortitude-flag--rev__body;
55
+ @include fortitude-flag--large--rev__object;
311
56
  }
312
-
57
+ }
313
58
  }
314
-
315
- }
316
-
317
-
318
-
319
-
320
-
321
- @if ($fortitude-enable-flag--flush == true) {
322
-
323
- /**
324
- * Flush flag objects have no space between the image- and text-content.
325
- */
326
-
327
- .#{$fortitude-namespace}flag--flush {
328
-
329
- > .#{$fortitude-namespace}flag__object {
330
- @include fortitude-flag--flush__object;
331
- }
332
-
59
+ }
60
+ }
61
+
62
+ @if $fortitude-enable-flag--rev == true {
63
+ /**
64
+ * Reversed flag objects have their image-content to the right, and text-content
65
+ * to the left.
66
+ **/
67
+ .#{$fortitude-namespace}flag--rev {
68
+ @include fortitude-flag--rev;
69
+ > .#{$fortitude-namespace}flag__object {
70
+ @include fortitude-flag--rev__object;
333
71
  }
334
-
72
+ > .#{$fortitude-namespace}flag__body {
73
+ @include fortitude-flag--rev__body;
74
+ }
75
+ }
335
76
  }
336
77
 
337
-
338
-
339
-
340
-
341
- @if ($fortitude-enable-flag--top == true) {
342
-
343
- /**
344
- * Vertically top aligned flag objects.
345
- */
346
-
347
- .#{$fortitude-namespace}flag--top {
348
-
349
- .#{$fortitude-namespace}flag__object {
350
- @include fortitude-flag--top__object;
351
- }
352
-
353
- .#{$fortitude-namespace}flag__body {
354
- @include fortitude-flag--top__body;
355
- }
356
-
78
+ @if $fortitude-enable-flag--flush == true {
79
+ /**
80
+ * Flush flag objects have no space between the image- and text-content.
81
+ **/
82
+ .#{$fortitude-namespace}flag--flush {
83
+ > .#{$fortitude-namespace}flag__object {
84
+ @include fortitude-flag--flush__object;
357
85
  }
358
-
86
+ }
359
87
  }
360
88
 
361
- @if ($fortitude-enable-flag--bottom == true) {
362
-
363
- /**
364
- * Vertically bottom aligned flag objects.
365
- */
366
-
367
- .#{$fortitude-namespace}flag--bottom {
368
-
369
- .#{$fortitude-namespace}flag__object {
370
- @include fortitude-flag--bottom__object;
371
- }
372
-
373
- .#{$fortitude-namespace}flag__body {
374
- @include fortitude-flag--bottom__body;
375
- }
376
-
89
+ @if $fortitude-enable-flag--top == true {
90
+ /**
91
+ * Vertically top aligned flag objects.
92
+ **/
93
+ .#{$fortitude-namespace}flag--top {
94
+ .#{$fortitude-namespace}flag__object {
95
+ @include fortitude-flag--top__object;
377
96
  }
378
-
97
+ .#{$fortitude-namespace}flag__body {
98
+ @include fortitude-flag--top__body;
99
+ }
100
+ }
379
101
  }
380
102
 
381
-
382
-
383
-
384
- @if ($fortitude-enable-flag--responsive == true) {
385
-
386
- .#{$fortitude-namespace}flag--responsive {
387
-
388
- @include fortitude-flag--responsive {
389
-
390
- > .#{$fortitude-namespace}flag__object {
391
- @include fortitude-flag--responsive__object;
392
- }
393
-
394
- > .#{$fortitude-namespace}flag__body {
395
- @include fortitude-flag--responsive__body;
396
- }
397
-
398
- @if ($fortitude-enable-flag--small == true) {
399
-
400
- &.#{$fortitude-namespace}flag--small {
401
-
402
- > .#{$fortitude-namespace}flag__object {
403
- @include fortitude-flag--responsive--small__object;
404
- }
405
-
406
- }
407
-
408
- }
409
-
410
- @if ($fortitude-enable-flag--large == true) {
411
-
412
- &.#{$fortitude-namespace}flag--large {
413
-
414
- > .#{$fortitude-namespace}flag__object {
415
- @include fortitude-flag--responsive--large__object;
416
- }
417
-
418
- }
419
-
420
- }
421
-
103
+ @if $fortitude-enable-flag--bottom == true {
104
+ /**
105
+ * Vertically bottom aligned flag objects.
106
+ **/
107
+ .#{$fortitude-namespace}flag--bottom {
108
+ .#{$fortitude-namespace}flag__object {
109
+ @include fortitude-flag--bottom__object;
110
+ }
111
+ .#{$fortitude-namespace}flag__body {
112
+ @include fortitude-flag--bottom__body;
113
+ }
114
+ }
115
+ }
116
+
117
+ @if $fortitude-enable-flag--responsive == true {
118
+ .#{$fortitude-namespace}flag--responsive {
119
+ @include fortitude-flag--responsive {
120
+ > .#{$fortitude-namespace}flag__object {
121
+ @include fortitude-flag--responsive__object;
122
+ }
123
+ > .#{$fortitude-namespace}flag__body {
124
+ @include fortitude-flag--responsive__body;
125
+ }
126
+ @if $fortitude-enable-flag--small == true {
127
+ &.#{$fortitude-namespace}flag--small {
128
+ > .#{$fortitude-namespace}flag__object {
129
+ @include fortitude-flag--responsive--small__object;
130
+ }
422
131
  }
423
-
132
+ }
133
+ @if $fortitude-enable-flag--large == true {
134
+ &.#{$fortitude-namespace}flag--large {
135
+ > .#{$fortitude-namespace}flag__object {
136
+ @include fortitude-flag--responsive--large__object;
137
+ }
138
+ }
139
+ }
424
140
  }
425
-
141
+ }
426
142
  }