fortitude-sass 0.6.5 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (128) hide show
  1. checksums.yaml +4 -4
  2. data/.editorconfig +12 -0
  3. data/.gitignore +3 -1
  4. data/.ruby-version +1 -1
  5. data/Gruntfile.js +73 -38
  6. data/app/assets/javascripts/fortitude/blocks/dropdown.js +44 -0
  7. data/app/assets/javascripts/fortitude/blocks/flashbar.js +24 -0
  8. data/app/assets/javascripts/fortitude/blocks/modal.js +50 -0
  9. data/app/assets/javascripts/fortitude/blocks/navigationbar.js +11 -0
  10. data/app/assets/javascripts/fortitude/blocks/select-input.js +38 -0
  11. data/app/assets/javascripts/fortitude/blocks/shade.js +28 -0
  12. data/app/assets/javascripts/fortitude/blocks/tabs.js +50 -0
  13. data/app/assets/javascripts/fortitude/generic/get-target.js +13 -0
  14. data/app/assets/javascripts/fortitude/generic/measure-scrollbar.js +21 -0
  15. data/app/assets/javascripts/fortitude/{jquery/generic → generic}/screen-lock.js +6 -2
  16. data/app/assets/javascripts/fortitude/generic/transition-with.js +57 -0
  17. data/app/assets/javascripts/fortitude/generic/viewport.js +21 -0
  18. data/app/assets/javascripts/fortitude/generic/wait-for-animation.js +27 -0
  19. data/app/assets/javascripts/fortitude.js +1 -0
  20. data/app/assets/stylesheets/fortitude/api/blocks/_badge.scss +1 -1
  21. data/app/assets/stylesheets/fortitude/api/blocks/_block-list.scss +2 -2
  22. data/app/assets/stylesheets/fortitude/api/blocks/_button.scss +1 -1
  23. data/app/assets/stylesheets/fortitude/api/blocks/_dropdown.scss +45 -0
  24. data/app/assets/stylesheets/fortitude/api/blocks/_flag.scss +2 -2
  25. data/app/assets/stylesheets/fortitude/api/blocks/_flashbar.scss +11 -1
  26. data/app/assets/stylesheets/fortitude/api/blocks/_input.scss +5 -2
  27. data/app/assets/stylesheets/fortitude/api/blocks/_layout.scss +2 -2
  28. data/app/assets/stylesheets/fortitude/api/blocks/_media.scss +2 -2
  29. data/app/assets/stylesheets/fortitude/api/blocks/_modal.scss +28 -0
  30. data/app/assets/stylesheets/fortitude/api/blocks/_navigationbar.scss +1 -0
  31. data/app/assets/stylesheets/fortitude/api/blocks/_shade.scss +11 -1
  32. data/app/assets/stylesheets/fortitude/api/blocks/_table.scss +5 -0
  33. data/app/assets/stylesheets/fortitude/api/blocks/_tabs-navigation.scss +3 -0
  34. data/app/assets/stylesheets/fortitude/api/blocks/_text.scss +3 -0
  35. data/app/assets/stylesheets/fortitude/api/blocks/_ui-list.scss +2 -2
  36. data/app/assets/stylesheets/fortitude/base/_hr.scss +2 -2
  37. data/app/assets/stylesheets/fortitude/base/_page.scss +0 -2
  38. data/app/assets/stylesheets/fortitude/blocks/_badge.scss +2 -0
  39. data/app/assets/stylesheets/fortitude/blocks/_bare-list.scss +2 -0
  40. data/app/assets/stylesheets/fortitude/blocks/_block-list.scss +2 -0
  41. data/app/assets/stylesheets/fortitude/blocks/_box.scss +2 -0
  42. data/app/assets/stylesheets/fortitude/blocks/_button.scss +2 -0
  43. data/app/assets/stylesheets/fortitude/blocks/_container.scss +2 -0
  44. data/app/assets/stylesheets/fortitude/blocks/_dropdown.scss +15 -0
  45. data/app/assets/stylesheets/fortitude/blocks/_flag.scss +2 -0
  46. data/app/assets/stylesheets/fortitude/blocks/_flashbar.scss +6 -0
  47. data/app/assets/stylesheets/fortitude/blocks/_fluid-container.scss +2 -0
  48. data/app/assets/stylesheets/fortitude/blocks/_inline-list.scss +2 -0
  49. data/app/assets/stylesheets/fortitude/blocks/_input.scss +2 -0
  50. data/app/assets/stylesheets/fortitude/blocks/_layout.scss +2 -0
  51. data/app/assets/stylesheets/fortitude/blocks/_list-navigation.scss +2 -0
  52. data/app/assets/stylesheets/fortitude/blocks/_media.scss +2 -0
  53. data/app/assets/stylesheets/fortitude/blocks/_modal.scss +8 -16
  54. data/app/assets/stylesheets/fortitude/blocks/_navigationbar.scss +5 -2
  55. data/app/assets/stylesheets/fortitude/blocks/_shade.scss +7 -0
  56. data/app/assets/stylesheets/fortitude/blocks/_table.scss +1 -6
  57. data/app/assets/stylesheets/fortitude/blocks/_tabs-navigation.scss +6 -0
  58. data/app/assets/stylesheets/fortitude/blocks/_tabs.scss +2 -0
  59. data/app/assets/stylesheets/fortitude/blocks/_text.scss +1 -3
  60. data/app/assets/stylesheets/fortitude/blocks/_tooltip.scss +2 -0
  61. data/app/assets/stylesheets/fortitude/blocks/_ui-list.scss +2 -0
  62. data/app/assets/stylesheets/fortitude/blocks/_wings.scss +3 -1
  63. data/app/assets/stylesheets/fortitude/generic/_normalize.scss +52 -15
  64. data/app/assets/stylesheets/fortitude/settings/_defaults.scss +1 -0
  65. data/app/assets/stylesheets/fortitude/theme/base/_page.scss +21 -0
  66. data/app/assets/stylesheets/fortitude/theme/extensions/_badge.scss +11 -0
  67. data/app/assets/stylesheets/fortitude/theme/extensions/_box.scss +11 -0
  68. data/app/assets/stylesheets/fortitude/theme/extensions/_button.scss +25 -0
  69. data/app/assets/stylesheets/fortitude/theme/extensions/_flashbar.scss +15 -0
  70. data/app/assets/stylesheets/fortitude/theme/extensions/_navigationbar.scss +51 -0
  71. data/app/assets/stylesheets/fortitude/theme/extensions/_wings.scss +15 -0
  72. data/app/assets/stylesheets/fortitude/theme/settings/_colors.scss +309 -0
  73. data/app/assets/stylesheets/fortitude/theme.scss +9 -0
  74. data/app/assets/stylesheets/fortitude/tools/_functions.scss +22 -13
  75. data/app/assets/stylesheets/fortitude/tools/_mixins.scss +10 -3
  76. data/app/assets/stylesheets/fortitude/trumps/_responsive-column.scss +1 -1
  77. data/app/assets/stylesheets/fortitude/trumps/_responsive-line-height.scss +1 -1
  78. data/app/assets/stylesheets/fortitude/trumps/_responsive-margin.scss +3 -3
  79. data/app/assets/stylesheets/fortitude/trumps/_responsive-padding.scss +1 -1
  80. data/app/assets/stylesheets/fortitude.scss +2 -0
  81. data/bower.json +1 -1
  82. data/jasmine/fixtures/animations.css +85 -0
  83. data/jasmine/fixtures/dropdownFixture.html +91 -0
  84. data/jasmine/fixtures/flashbarFixture.html +6 -0
  85. data/jasmine/fixtures/getTargetFixture.html +11 -0
  86. data/jasmine/fixtures/measureScrollBarFixture.html +1 -0
  87. data/jasmine/fixtures/modalFixture.html +20 -0
  88. data/jasmine/fixtures/navigationbarFixture.html +20 -0
  89. data/jasmine/fixtures/selectInputFixture.html +13 -0
  90. data/jasmine/fixtures/shadeFixture.html +2 -0
  91. data/jasmine/fixtures/tabsFixture.html +22 -0
  92. data/jasmine/fixtures/transitionWithFixture.html +6 -0
  93. data/jasmine/fixtures/viewportFixture.html +2 -0
  94. data/jasmine/fixtures/waitForAnimationFixture.html +1 -0
  95. data/jasmine/helpers/fixtureHelper.js +4 -0
  96. data/jasmine/helpers/multiCallbackHelper.js +24 -0
  97. data/jasmine/specs/blocks/dropdownSpec.js +106 -0
  98. data/jasmine/specs/blocks/flashbarSpec.js +22 -0
  99. data/jasmine/specs/blocks/modalSpec.js +66 -0
  100. data/jasmine/specs/blocks/navigationbarSpec.js +34 -0
  101. data/jasmine/specs/blocks/selectInputSpec.js +31 -0
  102. data/jasmine/specs/blocks/shadeSpec.js +38 -0
  103. data/jasmine/specs/blocks/tabsSpec.js +63 -0
  104. data/jasmine/specs/generic/getTargetSpec.js +28 -0
  105. data/jasmine/specs/generic/measureScrollbarSpec.js +19 -0
  106. data/jasmine/specs/generic/screenLockSpec.js +32 -0
  107. data/jasmine/specs/generic/transitionWithSpec.js +82 -0
  108. data/jasmine/specs/generic/viewportSpec.js +32 -0
  109. data/jasmine/specs/generic/waitForAnimationSpec.js +35 -0
  110. data/jasmine/template.tmpl +2 -0
  111. data/lib/fortitude-sass/version.rb +1 -1
  112. data/package.json +8 -2
  113. data/sass_specs/blocks/_shade_spec.scss +11 -0
  114. data/sass_specs/tests.scss +1 -0
  115. data/sass_specs/tools/_functions_spec.scss +42 -12
  116. metadata +59 -16
  117. data/app/assets/javascripts/fortitude/jquery/blocks/flashbar.js +0 -13
  118. data/app/assets/javascripts/fortitude/jquery/blocks/select-input.js +0 -26
  119. data/app/assets/javascripts/fortitude/jquery/blocks/shade.js +0 -36
  120. data/app/assets/javascripts/fortitude/jquery/generic/measure-scrollbar.js +0 -13
  121. data/app/assets/javascripts/fortitude/jquery/generic/viewport.js +0 -9
  122. data/app/assets/javascripts/fortitude/jquery/generic/wait-for-animation.js +0 -103
  123. data/app/assets/javascripts/fortitude/jquery/index.js +0 -3
  124. data/app/assets/javascripts/fortitude.jquery.js +0 -45
  125. data/dist/fortitude-theme.css +0 -9236
  126. data/dist/fortitude.css +0 -8976
  127. data/dist/fortitude.jquery.js +0 -1
  128. data/dist/fortitude.min.js +0 -1
@@ -0,0 +1,9 @@
1
+ @import "../fortitude";
2
+ @import "theme/settings/colors";
3
+ @import "theme/base/page";
4
+ @import "theme/extensions/badge";
5
+ @import "theme/extensions/box";
6
+ @import "theme/extensions/button";
7
+ @import "theme/extensions/flashbar";
8
+ @import "theme/extensions/navigationbar";
9
+ @import "theme/extensions/wings";
@@ -10,22 +10,31 @@
10
10
  // Halve and double numbers, returning rounded integers. E.g.:
11
11
  //
12
12
  // .foo {
13
- // padding: halve(3.2px);
13
+ // padding: fortitude-halve(3.2px);
14
14
  // }
15
15
  //
16
- @function quarter($value) {
16
+
17
+ @function fortitude-tint($color, $percent){
18
+ @return mix(white, $color, $percent);
19
+ }
20
+
21
+ @function fortitude-shade($color, $percent){
22
+ @return mix(black, $color, $percent);
23
+ }
24
+
25
+ @function fortitude-quarter($value) {
17
26
  @return $value / 4;
18
27
  }
19
28
 
20
- @function halve($value) {
29
+ @function fortitude-halve($value) {
21
30
  @return $value / 2;
22
31
  }
23
32
 
24
- @function double($value) {
33
+ @function fortitude-double($value) {
25
34
  @return $value * 2;
26
35
  }
27
36
 
28
- @function quadruple($value) {
37
+ @function fortitude-quadruple($value) {
29
38
  @return $value * 4;
30
39
  }
31
40
 
@@ -41,12 +50,12 @@
41
50
  @return if(fortitude-strip-unit($value) == 0, 0, $value);
42
51
  }
43
52
 
44
- @function fortitude-px-to-rem($value) {
45
- @return fortitude-strip-unit($value) * 0.1rem;
53
+ @function fortitude-px-to-rem($value, $conversion-unit: 0.1rem) {
54
+ @return fortitude-strip-unit($value) * $conversion-unit;
46
55
  }
47
56
 
48
- @function fortitude-rem-to-px($value) {
49
- @return fortitude-strip-unit($value) * 10px;
57
+ @function fortitude-rem-to-px($value, $conversion-unit: 10px) {
58
+ @return fortitude-strip-unit($value) * $conversion-unit;
50
59
  }
51
60
 
52
61
  @function fortitude-block-spacing-unit-height($block-height, $block-spacing-unit: $fortitude-base-spacing-unit) {
@@ -56,18 +65,18 @@
56
65
 
57
66
  @function fortitude-block-spacing-unit-delta($block-height, $block-spacing-unit: $fortitude-base-spacing-unit) {
58
67
  $block-spacing-unit-height: fortitude-block-spacing-unit-height($block-height, $block-spacing-unit);
59
- $value: halve($block-spacing-unit-height - $block-height);
68
+ $value: fortitude-halve($block-spacing-unit-height - $block-height);
60
69
  @return fortitude-strip-unit-if-zero($value);
61
70
  }
62
71
 
63
72
  @function fortitude-block-negitive-padding($block-height, $block-border-width: 0rem, $block-spacing-unit: $fortitude-base-spacing-unit) {
64
- $value: halve($block-height - $block-spacing-unit - double($block-border-width));
73
+ $value: fortitude-halve($block-height - $block-spacing-unit - fortitude-double($block-border-width));
65
74
  @return fortitude-strip-unit-if-zero($value);
66
75
  }
67
76
 
68
77
  @function fortitude-block-margin($block-height, $block-border-width: 0rem, $block-spacing-unit: $fortitude-base-spacing-unit) {
69
78
  $block-spacing-unit-height: fortitude-block-spacing-unit-height($block-height, $block-spacing-unit);
70
- $value: halve($block-spacing-unit-height - $block-height);
79
+ $value: fortitude-halve($block-spacing-unit-height - $block-height);
71
80
 
72
81
  @if $value < 0 {
73
82
  $value: fortitude-block-negitive-padding($block-height, $block-border-width, $block-spacing-unit) + fortitude-block-spacing-unit-delta($block-height, $block-spacing-unit);
@@ -77,7 +86,7 @@
77
86
  }
78
87
 
79
88
  @function fortitude-block-padding($block-height, $block-border-width: 0rem, $block-line-height: $fortitude-base-line-height) {
80
- $value: halve($block-height - $block-line-height - double($block-border-width));
89
+ $value: fortitude-halve($block-height - $block-line-height - fortitude-double($block-border-width));
81
90
  @return fortitude-strip-unit-if-zero($value);
82
91
  }
83
92
 
@@ -6,7 +6,6 @@
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: false !default;
10
9
 
11
10
  @mixin fortitude-breakpoint($alias, $breakpoints: $fortitude-class-breakpoints) {
12
11
  $query: fortitude-query(map-get($breakpoints, $alias));
@@ -39,9 +38,9 @@ $fortitude-enable-classes: false !default;
39
38
  }
40
39
  }
41
40
 
42
- @mixin fortitude-font-size($font-size, $line-height: true, $line-height: $fortitude-base-line-height) {
41
+ @mixin fortitude-font-size($font-size, $enable-line-height: true, $line-height: $fortitude-base-line-height) {
43
42
  font-size: $font-size;
44
- @if $line-height == true {
43
+ @if $enable-line-height == true {
45
44
  line-height: ceil($font-size / $line-height) * $line-height;
46
45
  }
47
46
  }
@@ -53,3 +52,11 @@ $fortitude-enable-classes: false !default;
53
52
  clear: both;
54
53
  }
55
54
  }
55
+
56
+ @mixin fortitude-appearance($appearance){
57
+ -webkit-appearance: $appearance;
58
+ -moz-appearance: $appearance;
59
+ -ms-appearance: $appearance;
60
+ -o-appearance: $appearance;
61
+ appearance: $appearance;
62
+ }
@@ -2,7 +2,7 @@ $fortitude-responsive-column-total: 12 !default;
2
2
 
3
3
  @include fortitude-breakpoint-classes {
4
4
  @for $index from 0 through $fortitude-responsive-column-total {
5
- $value: percentage($index / $fortitude-responsive-column-total) !important;
5
+ $value: fortitude-strip-unit-if-zero(percentage($index / $fortitude-responsive-column-total)) !important;
6
6
 
7
7
  &-#{$index}of#{$fortitude-responsive-column-total} {
8
8
  width: $value;
@@ -3,7 +3,7 @@ $fortitude-responsive-line-height-unit-total: 2 !default;
3
3
  @include fortitude-breakpoint-classes {
4
4
  @for $index from 0 through $fortitude-responsive-line-height-unit-total {
5
5
  $value: fortitude-strip-unit-if-zero($fortitude-base-line-height * $index) !important;
6
- $value-and-half: fortitude-strip-unit-if-zero($fortitude-base-line-height * $index + halve($fortitude-base-line-height)) !important;
6
+ $value-and-half: fortitude-strip-unit-if-zero($fortitude-base-line-height * $index + fortitude-halve($fortitude-base-line-height)) !important;
7
7
 
8
8
  &-inset#{$index} {
9
9
  line-height: $value;
@@ -4,7 +4,7 @@ $fortitude-responsive-negative-margin-unit-total: 10 !default;
4
4
  @include fortitude-breakpoint-classes {
5
5
  @for $index from 0 through $fortitude-responsive-margin-unit-total {
6
6
  $value: fortitude-strip-unit-if-zero($fortitude-base-spacing-unit * $index) !important;
7
- $value-and-half: fortitude-strip-unit-if-zero($fortitude-base-spacing-unit * $index + halve($fortitude-base-spacing-unit)) !important;
7
+ $value-and-half: fortitude-strip-unit-if-zero($fortitude-base-spacing-unit * $index + fortitude-halve($fortitude-base-spacing-unit)) !important;
8
8
 
9
9
  &-mt#{$index},
10
10
  &-m#{$index},
@@ -56,8 +56,8 @@ $fortitude-responsive-negative-margin-unit-total: 10 !default;
56
56
  }
57
57
 
58
58
  @for $index from 0 through $fortitude-responsive-negative-margin-unit-total {
59
- $value: -($fortitude-base-spacing-unit * $index) !important;
60
- $value-and-half: -($fortitude-base-spacing-unit * $index + halve($fortitude-base-spacing-unit)) !important;
59
+ $value: fortitude-strip-unit-if-zero(-($fortitude-base-spacing-unit * $index)) !important;
60
+ $value-and-half: fortitude-strip-unit-if-zero(-($fortitude-base-spacing-unit * $index + fortitude-halve($fortitude-base-spacing-unit))) !important;
61
61
 
62
62
  &-mt-#{$index},
63
63
  &-m-#{$index},
@@ -3,7 +3,7 @@ $fortitude-responsive-padding-unit-total: 10 !default;
3
3
  @include fortitude-breakpoint-classes {
4
4
  @for $index from 0 through $fortitude-responsive-padding-unit-total {
5
5
  $value: fortitude-strip-unit-if-zero($fortitude-base-spacing-unit * $index) !important;
6
- $value-and-half: fortitude-strip-unit-if-zero($fortitude-base-spacing-unit * $index + halve($fortitude-base-spacing-unit)) !important;
6
+ $value-and-half: fortitude-strip-unit-if-zero($fortitude-base-spacing-unit * $index + fortitude-halve($fortitude-base-spacing-unit)) !important;
7
7
 
8
8
  &-pt#{$index},
9
9
  &-p#{$index},
@@ -7,6 +7,7 @@
7
7
  @import "fortitude/api/blocks/box";
8
8
  @import "fortitude/api/blocks/button";
9
9
  @import "fortitude/api/blocks/container";
10
+ @import "fortitude/api/blocks/dropdown";
10
11
  @import "fortitude/api/blocks/flag";
11
12
  @import "fortitude/api/blocks/flashbar";
12
13
  @import "fortitude/api/blocks/fluid-container";
@@ -39,6 +40,7 @@
39
40
  @import "fortitude/blocks/box";
40
41
  @import "fortitude/blocks/button";
41
42
  @import "fortitude/blocks/container";
43
+ @import "fortitude/blocks/dropdown";
42
44
  @import "fortitude/blocks/flag";
43
45
  @import "fortitude/blocks/flashbar";
44
46
  @import "fortitude/blocks/fluid-container";
data/bower.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "fortitude-sass",
3
3
  "homepage": "http://fortitude.io/",
4
- "version": "0.6.5",
4
+ "version": "0.7.0",
5
5
  "main": [
6
6
  "app/assets/stylesheets/fortitude/tools/_functions.scss",
7
7
  "app/assets/stylesheets/fortitude/tools/_mixins.scss",
@@ -0,0 +1,85 @@
1
+ .animated {
2
+ -webkit-animation-duration: 0.1s;
3
+ animation-duration: 0.1s;
4
+ -webkit-animation-fill-mode: both;
5
+ animation-fill-mode: both;
6
+ }
7
+
8
+ .fadeIn {
9
+ -webkit-animation-name: fadeIn;
10
+ animation-name: fadeIn;
11
+ }
12
+
13
+ @-webkit-keyframes fadeIn {
14
+ 0% {
15
+ opacity: 0;
16
+ }
17
+ 100% {
18
+ opactiy: 1;
19
+ }
20
+ }
21
+
22
+ @keyframes fadeIn {
23
+ 0% {
24
+ opacity: 0;
25
+ }
26
+ 100% {
27
+ opactiy: 1;
28
+ }
29
+ }
30
+ @-webkit-keyframes fadeOut {
31
+ 0% {
32
+ opactiy: 1;
33
+ }
34
+ 100% {
35
+ opacity: 0;
36
+ }
37
+ }
38
+
39
+ .fadeOut {
40
+ -webkit-animation-name: fadeOut;
41
+ animation-name: fadeOut;
42
+ }
43
+
44
+ @-webkit-keyframes fadeOut {
45
+ 0% {
46
+ opactiy: 1;
47
+ }
48
+ 100% {
49
+ opacity: 0;
50
+ }
51
+ }
52
+
53
+ @keyframes fadeOut {
54
+ 0% {
55
+ opactiy: 1;
56
+ }
57
+ 100% {
58
+ opacity: 0;
59
+ }
60
+ }
61
+
62
+ .grow {
63
+ -webkit-animation-name: grow;
64
+ animation-name: grow;
65
+ }
66
+
67
+ @-webkit-keyframes grow {
68
+ 0% {
69
+ width: 1px;
70
+ }
71
+ 100% {
72
+ width: 100px;
73
+ }
74
+ }
75
+
76
+ @keyframes grow {
77
+ 0% {
78
+ width: 1px;
79
+ }
80
+ 100% {
81
+ width: 100px;
82
+ }
83
+ }
84
+
85
+ .tiny { width: 1px; }
@@ -0,0 +1,91 @@
1
+ <div class="dropdown" data-ft-dropdown="menu" id="dropdown-one">
2
+ <input type="checkbox" class="dropdown__toggle">
3
+
4
+ <div class="dropdown__text">
5
+ More ▾
6
+ </div>
7
+
8
+ <div class="dropdown__text dropdown__text--is-checked">
9
+ Less ▴
10
+ </div>
11
+
12
+ <div class="dropdown__navigation">
13
+ <ul>
14
+ <li>Item One</li>
15
+ <li>Item Two</li>
16
+ <li>Item Three</li>
17
+ </ul>
18
+ </div>
19
+ </div>
20
+
21
+ <div class="dropdown" data-ft-dropdown="menu" id="dropdown-two">
22
+ <input type="checkbox" class="dropdown__toggle">
23
+
24
+ <div class="dropdown__text">
25
+ More ▾
26
+ </div>
27
+
28
+ <div class="dropdown__text dropdown__text--is-checked">
29
+ Less ▴
30
+ </div>
31
+
32
+ <ul class="dropdown__navigation">
33
+ <li>Item One</li>
34
+ <li>Item Two</li>
35
+ <li>Item Three</li>
36
+ </ul>
37
+ </div>
38
+
39
+ <div class="dropdown" id="dropdown-three">
40
+ <input type="checkbox" class="dropdown__toggle">
41
+
42
+ <div class="dropdown__text">
43
+ More ▾
44
+ </div>
45
+
46
+ <div class="dropdown__text dropdown__text--is-checked">
47
+ Less ▴
48
+ </div>
49
+
50
+ <ul class="dropdown__navigation">
51
+ <li>Item One</li>
52
+ <li>Item Two</li>
53
+ <li>Item Three</li>
54
+ </ul>
55
+ </div>
56
+
57
+ <div class="dropdown" data-ft-dropdown="other-menu" id="dropdown-four">
58
+ <input type="checkbox" class="dropdown__toggle">
59
+
60
+ <div class="dropdown__text">
61
+ More ▾
62
+ </div>
63
+
64
+ <div class="dropdown__text dropdown__text--is-checked">
65
+ Less ▴
66
+ </div>
67
+
68
+ <ul class="dropdown__navigation">
69
+ <li>Item One</li>
70
+ <li>Item Two</li>
71
+ <li>Item Three</li>
72
+ </ul>
73
+ </div>
74
+
75
+ <div class="dropdown" data-ft-dropdown="other-menu" id="dropdown-five">
76
+ <input type="checkbox" class="dropdown__toggle">
77
+
78
+ <div class="dropdown__text">
79
+ More ▾
80
+ </div>
81
+
82
+ <div class="dropdown__text dropdown__text--is-checked">
83
+ Less ▴
84
+ </div>
85
+
86
+ <ul class="dropdown__navigation">
87
+ <li>Item One</li>
88
+ <li>Item Two</li>
89
+ <li>Item Three</li>
90
+ </ul>
91
+ </div>
@@ -0,0 +1,6 @@
1
+ <div class="flashbar">
2
+ Some flashbar text
3
+ <button type="button" class="flashbar__close">
4
+ &times;
5
+ </button>
6
+ </div>
@@ -0,0 +1,11 @@
1
+ <div id="without-pound" data-ft-example="target-id">
2
+ </div>
3
+
4
+ <div id="with-pound" data-ft-example="target-id">
5
+ </div>
6
+
7
+ <div id="missing-field">
8
+ </div>
9
+
10
+ <div id="target-id">
11
+ </div>
@@ -0,0 +1 @@
1
+ <div style="height: 10000px;"></div>
@@ -0,0 +1,20 @@
1
+ <div class="modal" id="example-modal">
2
+ <div class="modal__content">
3
+ <div class="box">
4
+ <div class="layout">
5
+ <div class="layout__item.xs-12of12">
6
+ Some modal content in a layout
7
+
8
+ <button type="button" data-ft-modal-close="example-modal">
9
+ &times;
10
+ </button>
11
+ </div>
12
+ </div>
13
+ </div>
14
+ </div>
15
+ </div>
16
+
17
+ <div class="shade">
18
+ </div>
19
+
20
+ <button type="button" data-ft-modal="example-modal"></button>
@@ -0,0 +1,20 @@
1
+ <nav class="navigationbar">
2
+ <div class="fluid-container">
3
+ <div class="navigationbar__header">
4
+ <a href="javascript:void(0);" class="navigationbar__header__logo">
5
+ Brand Name
6
+ </a>
7
+ </div>
8
+
9
+ <div class="navigationbar__toggle">
10
+ <input type="checkbox" class="navigationbar__toggle__helper" />
11
+ </div>
12
+
13
+ <ul class="navigationbar__navigation">
14
+ <li class="navigationbar__item">Item 1</li>
15
+ <li class="navigationbar__item">Item 2</li>
16
+ <li class="navigationbar__item">Item 3</li>
17
+ </ul>
18
+ </div>
19
+ </nav>
20
+ <div class="shade"></div>