oneflow-jekyll 1.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 (122) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.MD +7 -0
  3. data/README.md +29 -0
  4. data/_data/navigation.yml +18 -0
  5. data/_includes/editables/editables.html +15 -0
  6. data/_includes/figure +9 -0
  7. data/_includes/footer/custom.html +3 -0
  8. data/_includes/footer.html +27 -0
  9. data/_includes/gallery +35 -0
  10. data/_includes/head/custom.html +12 -0
  11. data/_includes/head.html +23 -0
  12. data/_includes/image-text-row +61 -0
  13. data/_includes/masthead.html +35 -0
  14. data/_includes/page__hero.html +46 -0
  15. data/_includes/popup.html +43 -0
  16. data/_includes/round-images +30 -0
  17. data/_includes/scripts.html +13 -0
  18. data/_includes/seo.html +158 -0
  19. data/_includes/video +24 -0
  20. data/_layouts/default.html +78 -0
  21. data/_layouts/page.html +13 -0
  22. data/_sass/oneflow/_animations.scss +21 -0
  23. data/_sass/oneflow/_base.scss +356 -0
  24. data/_sass/oneflow/_boxes.scss +46 -0
  25. data/_sass/oneflow/_buttons.scss +95 -0
  26. data/_sass/oneflow/_fonts.scss +18 -0
  27. data/_sass/oneflow/_footer.scss +121 -0
  28. data/_sass/oneflow/_masthead.scss +97 -0
  29. data/_sass/oneflow/_mixins.scss +92 -0
  30. data/_sass/oneflow/_navigation.scss +412 -0
  31. data/_sass/oneflow/_notices.scss +109 -0
  32. data/_sass/oneflow/_page.scss +287 -0
  33. data/_sass/oneflow/_print.scss +252 -0
  34. data/_sass/oneflow/_reset.scss +187 -0
  35. data/_sass/oneflow/_sections.scss +29 -0
  36. data/_sass/oneflow/_utilities.scss +307 -0
  37. data/_sass/oneflow/_variables.scss +140 -0
  38. data/_sass/oneflow/skins/_air.scss +23 -0
  39. data/_sass/oneflow/skins/_aqua.scss +34 -0
  40. data/_sass/oneflow/skins/_contrast.scss +52 -0
  41. data/_sass/oneflow/skins/_dark.scss +30 -0
  42. data/_sass/oneflow/skins/_default.scss +5 -0
  43. data/_sass/oneflow/skins/_dirt.scss +33 -0
  44. data/_sass/oneflow/skins/_mint.scss +24 -0
  45. data/_sass/oneflow/skins/_neon.scss +63 -0
  46. data/_sass/oneflow/skins/_plum.scss +70 -0
  47. data/_sass/oneflow/skins/_sunrise.scss +49 -0
  48. data/_sass/oneflow/vendor/breakpoint/_breakpoint.scss +114 -0
  49. data/_sass/oneflow/vendor/breakpoint/_context.scss +95 -0
  50. data/_sass/oneflow/vendor/breakpoint/_helpers.scss +151 -0
  51. data/_sass/oneflow/vendor/breakpoint/_legacy-settings.scss +50 -0
  52. data/_sass/oneflow/vendor/breakpoint/_no-query.scss +15 -0
  53. data/_sass/oneflow/vendor/breakpoint/_parsers.scss +215 -0
  54. data/_sass/oneflow/vendor/breakpoint/_respond-to.scss +82 -0
  55. data/_sass/oneflow/vendor/breakpoint/_settings.scss +71 -0
  56. data/_sass/oneflow/vendor/breakpoint/parsers/_double.scss +33 -0
  57. data/_sass/oneflow/vendor/breakpoint/parsers/_query.scss +82 -0
  58. data/_sass/oneflow/vendor/breakpoint/parsers/_resolution.scss +31 -0
  59. data/_sass/oneflow/vendor/breakpoint/parsers/_single.scss +26 -0
  60. data/_sass/oneflow/vendor/breakpoint/parsers/_triple.scss +36 -0
  61. data/_sass/oneflow/vendor/breakpoint/parsers/double/_default-pair.scss +21 -0
  62. data/_sass/oneflow/vendor/breakpoint/parsers/double/_default.scss +22 -0
  63. data/_sass/oneflow/vendor/breakpoint/parsers/double/_double-string.scss +22 -0
  64. data/_sass/oneflow/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -0
  65. data/_sass/oneflow/vendor/breakpoint/parsers/single/_default.scss +13 -0
  66. data/_sass/oneflow/vendor/breakpoint/parsers/triple/_default.scss +18 -0
  67. data/_sass/oneflow/vendor/magnific-popup/_magnific-popup.scss +649 -0
  68. data/_sass/oneflow/vendor/magnific-popup/_settings.scss +46 -0
  69. data/_sass/oneflow/vendor/susy/_su.scss +4 -0
  70. data/_sass/oneflow/vendor/susy/_susy-prefix.scss +13 -0
  71. data/_sass/oneflow/vendor/susy/_susy.scss +5 -0
  72. data/_sass/oneflow/vendor/susy/plugins/_svg-grid.scss +5 -0
  73. data/_sass/oneflow/vendor/susy/plugins/svg-grid/_prefix.scss +7 -0
  74. data/_sass/oneflow/vendor/susy/plugins/svg-grid/_svg-api.scss +114 -0
  75. data/_sass/oneflow/vendor/susy/plugins/svg-grid/_svg-grid-math.scss +67 -0
  76. data/_sass/oneflow/vendor/susy/plugins/svg-grid/_svg-settings.scss +14 -0
  77. data/_sass/oneflow/vendor/susy/plugins/svg-grid/_svg-unprefix.scss +18 -0
  78. data/_sass/oneflow/vendor/susy/plugins/svg-grid/_svg-utilities.scss +133 -0
  79. data/_sass/oneflow/vendor/susy/susy/_api.scss +318 -0
  80. data/_sass/oneflow/vendor/susy/susy/_normalize.scss +261 -0
  81. data/_sass/oneflow/vendor/susy/susy/_parse.scss +163 -0
  82. data/_sass/oneflow/vendor/susy/susy/_settings.scss +329 -0
  83. data/_sass/oneflow/vendor/susy/susy/_su-math.scss +441 -0
  84. data/_sass/oneflow/vendor/susy/susy/_su-validate.scss +213 -0
  85. data/_sass/oneflow/vendor/susy/susy/_syntax-helpers.scss +191 -0
  86. data/_sass/oneflow/vendor/susy/susy/_unprefix.scss +56 -0
  87. data/_sass/oneflow/vendor/susy/susy/_utilities.scss +167 -0
  88. data/_sass/oneflow.scss +33 -0
  89. data/assets/css/all.min.css +9 -0
  90. data/assets/css/custom-styles.css +1 -0
  91. data/assets/css/main.scss +13 -0
  92. data/assets/fonts/great-vibes-v18-latin-regular.woff2 +0 -0
  93. data/assets/images/header.webp +0 -0
  94. data/assets/images/logo.webp +0 -0
  95. data/assets/images/sydney-2.webp +0 -0
  96. data/assets/images/sydney-3.webp +0 -0
  97. data/assets/images/sydney-4.webp +0 -0
  98. data/assets/images/sydney-5.webp +0 -0
  99. data/assets/images/sydney-6.webp +0 -0
  100. data/assets/js/_main.js +136 -0
  101. data/assets/js/lunr/lunr-en.js +73 -0
  102. data/assets/js/lunr/lunr-gr.js +526 -0
  103. data/assets/js/lunr/lunr-store.js +84 -0
  104. data/assets/js/lunr/lunr.js +3475 -0
  105. data/assets/js/lunr/lunr.min.js +6 -0
  106. data/assets/js/main.min.js +6 -0
  107. data/assets/js/plugins/gumshoe.js +484 -0
  108. data/assets/js/plugins/jquery.ba-throttle-debounce.js +252 -0
  109. data/assets/js/plugins/jquery.fitvids.js +82 -0
  110. data/assets/js/plugins/jquery.greedy-navigation.js +127 -0
  111. data/assets/js/plugins/jquery.magnific-popup.js +1860 -0
  112. data/assets/js/plugins/smooth-scroll.js +650 -0
  113. data/assets/js/vendor/jquery/jquery-3.6.0.js +10881 -0
  114. data/assets/webfonts/fa-brands-400.ttf +0 -0
  115. data/assets/webfonts/fa-brands-400.woff2 +0 -0
  116. data/assets/webfonts/fa-regular-400.ttf +0 -0
  117. data/assets/webfonts/fa-regular-400.woff2 +0 -0
  118. data/assets/webfonts/fa-solid-900.ttf +0 -0
  119. data/assets/webfonts/fa-solid-900.woff2 +0 -0
  120. data/assets/webfonts/fa-v4compatibility.ttf +0 -0
  121. data/assets/webfonts/fa-v4compatibility.woff2 +0 -0
  122. metadata +253 -0
@@ -0,0 +1,191 @@
1
+ /// Syntax Utilities for Extending Susy
2
+ /// ===================================
3
+ /// There are many steps involved
4
+ /// when translating between the Susy syntax layer,
5
+ /// and the Su core math.
6
+ /// That entire process can be condensed with these two functions.
7
+ /// For anyone that wants to access the full power of Susy,
8
+ /// and build their own plugins, functions, or mixins –
9
+ /// this is the primary API for compiling user input,
10
+ /// and accessing the core math.
11
+ ///
12
+ /// This is the same technique we use internally,
13
+ /// to keep our API layer simple and light-weight.
14
+ /// Every function accepts two arguments,
15
+ /// a "shorthand" description of the span or context,
16
+ /// and an optional settings-map to override global defaults.
17
+ ///
18
+ /// - Use `susy-compile()` to parse, merge, and normalize
19
+ /// all the user settings into a single map.
20
+ /// - Then use `su-call()` to call one of the core math functions,
21
+ /// with whatever data is needed for that function.
22
+ ///
23
+ /// @group plugin-utils
24
+ /// @see susy-compile
25
+ /// @see su-call
26
+ ///
27
+ /// @example scss - Susy API `gutter` function
28
+ /// @function susy-gutter(
29
+ /// $context: susy-get('columns'),
30
+ /// $config: ()
31
+ /// ) {
32
+ /// // compile and normalize all user arguments and global settings
33
+ /// $context: susy-compile($context, $config, 'context-only');
34
+ /// // call `su-gutter` with the appropriate data
35
+ /// @return su-call('su-gutter', $context);
36
+ /// }
37
+ ///
38
+ /// @example scss - Sample `span` mixin for floated grids
39
+ /// @mixin span(
40
+ /// $span,
41
+ /// $config: ()
42
+ /// ) {
43
+ /// $context: susy-compile($span, $config);
44
+ /// width: su-call('su-span', $context);
45
+ ///
46
+ /// @if index($span, 'last') {
47
+ /// float: right;
48
+ /// } @else {
49
+ /// float: left;
50
+ /// margin-right: su-call('su-gutter', $context);
51
+ /// }
52
+ /// }
53
+
54
+
55
+
56
+ // Compile
57
+ // -------
58
+ /// Susy's syntax layer has various moving parts,
59
+ /// with syntax-parsing for the grid/span shorthand,
60
+ /// and normalization for each of the resulting values.
61
+ /// The compile function rolls this all together
62
+ /// in a single call –
63
+ /// for quick access from our internal API functions,
64
+ /// or any additional functions and mixins you add to your project.
65
+ /// Pass user input and configuration maps to the compiler,
66
+ /// and it will hand back a map of values ready for Su.
67
+ /// Combine this with the `su-call` function
68
+ /// to quickly parse, normalize, and process grid calculations.
69
+ ///
70
+ /// @group plugin-utils
71
+ /// @see su-call
72
+ ///
73
+ /// @param {list | map} $shorthand -
74
+ /// Shorthand expression to define the width of the span,
75
+ /// optionally containing:
76
+ /// - a count, length, or column-list span;
77
+ /// - `at $n`, `first`, or `last` location on asymmetrical grids;
78
+ /// - `narrow`, `wide`, or `wider` for optionally spreading
79
+ /// across adjacent gutters;
80
+ /// - `of $n <spread>` for available grid columns
81
+ /// and spread of the container
82
+ /// (span counts like `of 6` are only valid
83
+ /// in the context of symmetrical grids);
84
+ /// - and `set-gutters $n` to override global gutter settings
85
+ /// @param {map} $config [null] -
86
+ /// Optional map of Susy grid configuration settings
87
+ /// @param {bool} $context-only [false] -
88
+ /// Allow the parser to ignore span and span-spread values,
89
+ /// only parsing context and container-spread
90
+ ///
91
+ /// @return {map} -
92
+ /// Parsed and normalized map of settings,
93
+ /// based on global and local configuration,
94
+ /// alongwith shorthad adjustments.
95
+ ///
96
+ /// @example scss -
97
+ /// $user-input: 3 wide of susy-repeat(6, 120px) set-gutters 10px;
98
+ /// $grid-data: susy-compile($user-input, $susy);
99
+ ///
100
+ /// @each $key, $value in $grid-data {
101
+ /// /* #{$key}: #{$value}, */
102
+ /// }
103
+ @function susy-compile(
104
+ $short,
105
+ $config: null,
106
+ $context-only: false
107
+ ) {
108
+ // Get and normalize config
109
+ $config: if($config, susy-settings($config), susy-settings());
110
+ $normal-config: susy-normalize($config);
111
+
112
+ // Parse and normalize shorthand
113
+ @if (type-of($short) != 'map') and (length($short) > 0) {
114
+ $short: susy-parse($short, $context-only);
115
+ }
116
+
117
+ $normal-short: susy-normalize($short, $normal-config);
118
+
119
+ // Merge and return
120
+ @return map-merge($normal-config, $normal-short);
121
+ }
122
+
123
+
124
+
125
+ // Call
126
+ // ----
127
+ /// The Susy parsing and normalization process
128
+ /// results in a map of configuration settings,
129
+ /// much like the global `$susy` settings map.
130
+ /// In order to pass that information along to Su math functions,
131
+ /// the proper values have to be picked out,
132
+ /// and converted to arguments.
133
+ ///
134
+ /// The `su-call` function streamlines that process,
135
+ /// weeding out the unnecessary data,
136
+ /// and passing the rest along to Su in the proper format.
137
+ /// Combine this with `susy-compile` to quickly parse,
138
+ /// normalize, and process grid calculations.
139
+ ///
140
+ /// @group plugin-utils
141
+ ///
142
+ /// @require su-span
143
+ /// @require su-gutter
144
+ /// @require su-slice
145
+ /// @see susy-compile
146
+ ///
147
+ /// @param {'su-span' | 'su-gutter' | 'su-slice'} $name -
148
+ /// Name of the Su math function to call.
149
+ /// @param {map} $config -
150
+ /// Parsed and normalized map of Susy configuration settings
151
+ /// to use for math-function arguments.
152
+ ///
153
+ /// @return {*} -
154
+ /// Results of the function being called.
155
+ ///
156
+ /// @example scss -
157
+ /// $user-input: 3 wide of susy-repeat(6, 120px) set-gutters 10px;
158
+ /// $grid-data: susy-compile($user-input, $susy);
159
+ ///
160
+ /// .su-span {
161
+ /// width: su-call('su-span', $grid-data);
162
+ /// }
163
+ @function su-call(
164
+ $name,
165
+ $config
166
+ ) {
167
+ $grid-function-args: (
168
+ 'su-span': ('span', 'columns', 'gutters', 'spread', 'container-spread', 'location'),
169
+ 'su-gutter': ('columns', 'gutters', 'container-spread'),
170
+ 'su-slice': ('span', 'columns', 'location'),
171
+ );
172
+
173
+ $args: map-get($grid-function-args, $name);
174
+
175
+ @if not $args {
176
+ $options: 'Try one of these: #{map-keys($grid-function-args)}';
177
+ @return _susy-error(
178
+ '#{$name} is not a public Su function. #{$options}',
179
+ 'su-call');
180
+ }
181
+
182
+ $call: if(function-exists('get-function'), get-function($name), $name);
183
+ $output: ();
184
+
185
+ @each $arg in $args {
186
+ $value: map-get($config, $arg);
187
+ $output: if($value, map-merge($output, ($arg: $value)), $output);
188
+ }
189
+
190
+ @return call($call, $output...);
191
+ }
@@ -0,0 +1,56 @@
1
+ // Unprefix Susy
2
+ // =============
3
+
4
+
5
+ // Span
6
+ // ----
7
+ /// Un-prefixed alias for `susy-span`
8
+ /// (available by default)
9
+ ///
10
+ /// @group api
11
+ /// @alias susy-span
12
+ ///
13
+ /// @param {list} $span
14
+ /// @param {map} $config [()]
15
+ @function span(
16
+ $span,
17
+ $config: ()
18
+ ) {
19
+ @return susy-span($span, $config);
20
+ }
21
+
22
+
23
+ // Gutter
24
+ // ------
25
+ /// Un-prefixed alias for `susy-gutter`
26
+ /// (available by default)
27
+ ///
28
+ /// @group api
29
+ /// @alias susy-gutter
30
+ ///
31
+ /// @param {integer | list} $context [null] -
32
+ /// @param {map} $config [()]
33
+ @function gutter(
34
+ $context: susy-get('columns'),
35
+ $config: ()
36
+ ) {
37
+ @return susy-gutter($context, $config);
38
+ }
39
+
40
+
41
+ // Slice
42
+ // -----
43
+ /// Un-prefixed alias for `susy-slice`
44
+ /// (available by default)
45
+ ///
46
+ /// @group api
47
+ /// @alias susy-slice
48
+ ///
49
+ /// @param {list} $span
50
+ /// @param {map} $config [()]
51
+ @function slice(
52
+ $span,
53
+ $config: ()
54
+ ) {
55
+ @return susy-slice($span, $config);
56
+ }
@@ -0,0 +1,167 @@
1
+ // Sass Utilities
2
+ // ==============
3
+ // - Susy Error Output Override [variable]
4
+ // - Susy Error [function]
5
+
6
+
7
+
8
+ // Susy Error Output Override
9
+ // --------------------------
10
+ /// Turn off error output for testing
11
+ /// @group x-utility
12
+ /// @access private
13
+ $_susy-error-output-override: false !default;
14
+
15
+
16
+
17
+ // Susy Error
18
+ // ----------
19
+ /// Optionally return error messages without failing,
20
+ /// as a way to test error cases
21
+ ///
22
+ /// @group x-utility
23
+ /// @access private
24
+ ///
25
+ /// @param {string} $message -
26
+ /// A useful error message, explaining the problem
27
+ /// @param {string} $source -
28
+ /// The original source of the error for debugging
29
+ /// @param {bool} $override [$_susy-error-output-override] -
30
+ /// Optionally return the error rather than failing
31
+ /// @return {string} -
32
+ /// Combined error with source and message
33
+ /// @throws When `$override == true`
34
+ @function _susy-error(
35
+ $message,
36
+ $source,
37
+ $override: $_susy-error-output-override
38
+ ) {
39
+ @if $override {
40
+ @return 'ERROR [#{$source}] #{$message}';
41
+ }
42
+
43
+ @error '[#{$source}] #{$message}';
44
+ }
45
+
46
+
47
+ // Su Is Comparable
48
+ // ----------------
49
+ /// Check that the units in a grid are comparable
50
+ ///
51
+ /// @group x-validation
52
+ /// @access private
53
+ ///
54
+ /// @param {numbers} $lengths… -
55
+ /// Arglist of all the number values to compare
56
+ /// (columns, gutters, span, etc)
57
+ ///
58
+ /// @return {'fluid' | 'static' | false} -
59
+ /// The type of span (fluid or static) when units match,
60
+ /// or `false` for mismatched units
61
+ @function _su-is-comparable(
62
+ $lengths...
63
+ ) {
64
+ $first: nth($lengths, 1);
65
+
66
+ @if (length($lengths) == 1) {
67
+ @return if(unitless($first), 'fluid', 'static');
68
+ }
69
+
70
+ @for $i from 2 through length($lengths) {
71
+ $comp: nth($lengths, $i);
72
+
73
+ $fail: not comparable($first, $comp);
74
+ $fail: $fail or (unitless($first) and not unitless($comp));
75
+ $fail: $fail or (unitless($comp) and not unitless($first));
76
+
77
+ @if $fail {
78
+ @return false;
79
+ }
80
+ }
81
+
82
+ @return if(unitless($first), 'fluid', 'static');
83
+ }
84
+
85
+
86
+ // Su Map Add Units
87
+ // ----------------
88
+ /// The calc features use a map of units and values
89
+ /// to compile the proper algorythm.
90
+ /// This function adds a new value to any comparable existing unit/value,
91
+ /// or adds a new unit/value pair to the map
92
+ ///
93
+ /// @group x-utility
94
+ /// @access private
95
+ ///
96
+ /// @param {map} $map -
97
+ /// A map of unit/value pairs, e.g. ('px': 120px)
98
+ /// @param {length} $value -
99
+ /// A new length to be added to the map
100
+ /// @return {map} -
101
+ /// The updated map, with new value added
102
+ ///
103
+ /// @example scss -
104
+ /// $map: (0px: 120px);
105
+ /// $map: _su-map-add-units($map, 1in); // add a comparable unit
106
+ /// $map: _su-map-add-units($map, 3vw); // add a new unit
107
+ ///
108
+ /// @each $units, $value in $map {
109
+ /// /* #{$units}: #{$value} */
110
+ /// }
111
+ @function _su-map-add-units(
112
+ $map,
113
+ $value
114
+ ) {
115
+ $unit: $value * 0;
116
+ $has: map-get($map, $unit) or 0;
117
+
118
+ @if ($has == 0) {
119
+ @each $try, $could in $map {
120
+ $match: comparable($try, $value);
121
+ $unit: if($match, $try, $unit);
122
+ $has: if($match, $could, $has);
123
+ }
124
+ }
125
+
126
+ @return map-merge($map, ($unit: $has + $value));
127
+ }
128
+
129
+
130
+ // Susy Flatten
131
+ // ------------
132
+ /// Flatten a multidimensional list
133
+ ///
134
+ /// @group x-utility
135
+ /// @access private
136
+ ///
137
+ /// @param {list} $list -
138
+ /// The list to be flattened
139
+ /// @return {list} -
140
+ /// The flattened list
141
+ ///
142
+ /// @example scss -
143
+ /// $list: 120px (30em 30em) 120px;
144
+ /// /* #{_susy-flatten($list)} */
145
+ @function _susy-flatten(
146
+ $list
147
+ ) {
148
+ $flat: ();
149
+
150
+ // Don't iterate over maps
151
+ @if (type-of($list) == 'map') {
152
+ @return $list;
153
+ }
154
+
155
+ // Iterate over lists (or single items)
156
+ @each $item in $list {
157
+ @if (type-of($item) == 'list') {
158
+ $item: _susy-flatten($item);
159
+ $flat: join($flat, $item);
160
+ } @else {
161
+ $flat: append($flat, $item);
162
+ }
163
+ }
164
+
165
+ // Return flattened list
166
+ @return $flat;
167
+ }
@@ -0,0 +1,33 @@
1
+ /* Variables */
2
+ @import "oneflow/variables";
3
+
4
+ /* Mixins and functions */
5
+ @import "oneflow/vendor/breakpoint/breakpoint";
6
+ @include breakpoint-set("to ems", true);
7
+ @import "oneflow/vendor/magnific-popup/magnific-popup";
8
+ @import "oneflow/vendor/susy/susy";
9
+ @import "oneflow/mixins";
10
+
11
+ /* Core CSS */
12
+ @import "oneflow/reset";
13
+ @import "oneflow/base";
14
+ @import "oneflow/animations";
15
+
16
+ /* Components */
17
+ @import "oneflow/buttons";
18
+ @import "oneflow/notices";
19
+ @import "oneflow/boxes";
20
+ @import "oneflow/masthead";
21
+ @import "oneflow/navigation";
22
+ @import "oneflow/footer";
23
+ @import "oneflow/sections";
24
+
25
+ /* Utility classes */
26
+ @import "oneflow/utilities";
27
+
28
+ /* Layout specific */
29
+ @import "oneflow/page";
30
+ @import "oneflow/print";
31
+
32
+ /* Fonts */
33
+ @import "oneflow/fonts";