futuro 1.0.5 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/html/assign/page.liquid +2 -1
  3. data/_includes/html/assign/site.liquid +30 -21
  4. data/_includes/html/layout/footer.liquid +5 -1
  5. data/_includes/html/page/content.liquid +70 -71
  6. data/_includes/html/page/content/loop/alert.liquid +31 -0
  7. data/_includes/html/page/content/loop/button/build.liquid +7 -1
  8. data/_includes/html/page/content/loop/checkbox.liquid +4 -8
  9. data/_includes/html/page/content/loop/form.liquid +53 -38
  10. data/_includes/html/page/content/loop/form/alert.liquid +8 -13
  11. data/_includes/html/page/content/loop/form/callout.liquid +1 -1
  12. data/_includes/html/page/content/loop/form/date.liquid +7 -7
  13. data/_includes/html/page/content/loop/form/email.liquid +38 -0
  14. data/_includes/html/page/content/loop/form/item.liquid +6 -9
  15. data/_includes/html/page/content/loop/form/message.liquid +1 -1
  16. data/_includes/html/page/content/loop/form/number.liquid +37 -0
  17. data/_includes/html/page/content/loop/form/phone.liquid +38 -0
  18. data/_includes/html/page/content/loop/form/radio.liquid +7 -7
  19. data/_includes/html/page/content/loop/form/select.liquid +10 -10
  20. data/_includes/html/page/content/loop/form/text.liquid +22 -27
  21. data/_includes/html/page/content/loop/form/textarea.liquid +6 -5
  22. data/_includes/html/page/content/loop/header/search.liquid +1 -1
  23. data/_includes/html/page/content/loop/{form/input.liquid → input.liquid} +6 -2
  24. data/_includes/html/page/content/loop/item.liquid +16 -0
  25. data/_includes/html/page/content/loop/label.liquid +37 -0
  26. data/_includes/html/page/content/loop/onemoment.liquid +6 -0
  27. data/_includes/html/page/content/loop/screen.liquid +2 -2
  28. data/_includes/html/page/content/loop/screen/header.liquid +3 -3
  29. data/_includes/html/page/content/loop/{select/create.liquid → select.liquid} +7 -3
  30. data/_includes/html/page/content/row.liquid +1 -1
  31. data/_includes/html/page/footnote.liquid +4 -2
  32. data/_includes/html/page/header.liquid +1 -2
  33. data/_includes/html/page/layout/home.liquid +17 -7
  34. data/_includes/html/page/topbar.liquid +28 -17
  35. data/_includes/html/page/topbar/navigation/link.liquid +22 -0
  36. data/_includes/html/site/scroller.liquid +1 -1
  37. data/_includes/svg/site/icon.liquid +9 -1
  38. data/_sass/_button.scss +4 -4
  39. data/_sass/area/chapter.scss +2 -1
  40. data/_sass/area/page.scss +1 -1
  41. data/_sass/block/chart.scss +2 -1
  42. data/_sass/block/form/alert.scss +1 -10
  43. data/_sass/block/form/checkbox.scss +3 -21
  44. data/_sass/block/form/input.scss +8 -0
  45. data/_sass/block/form/item.scss +17 -17
  46. data/_sass/block/form/parsley.scss +18 -21
  47. data/_sass/block/util.scss +3 -0
  48. data/_sass/futuro.core.scss +26 -6
  49. data/_sass/helpers/extends.scss +0 -17
  50. data/_sass/helpers/extends/forms.scss +16 -0
  51. data/_sass/helpers/extends/layout.scss +15 -0
  52. data/_sass/helpers/mixins/layout.scss +0 -1
  53. data/_sass/helpers/mixins/theme.scss +116 -127
  54. data/_sass/helpers/themes.scss +14 -13
  55. data/_sass/helpers/variables.scss +25 -211
  56. data/_sass/helpers/variables/colors.scss +290 -0
  57. data/_sass/item/scroller.scss +0 -1
  58. data/_sass/link/book.scss +8 -6
  59. data/_sass/link/navigation.scss +11 -7
  60. data/_sass/link/scroller.scss +4 -0
  61. data/_sass/title/book.scss +9 -0
  62. data/_sass/title/page.scss +2 -0
  63. data/_sass/title/type.scss +1 -0
  64. data/_sass/wrap/select.scss +1 -1
  65. data/_sass/wrap/switch.scss +12 -0
  66. data/_sass/wrap/text.scss +1 -1
  67. data/assets/js/footer/custom/2_Check.width.js +8 -2
  68. data/assets/js/footer/custom/5_Animate.scroller.js +13 -8
  69. data/assets/js/footer/custom/5_button.func.reset.js +15 -0
  70. data/assets/js/footer/custom/5_button.func.submit.js +39 -0
  71. data/assets/js/footer/custom/5_button.func.switch.js +26 -0
  72. data/assets/js/footer/custom/5_button.func.update.js +39 -0
  73. data/assets/js/footer/custom/5_check.form.js +49 -0
  74. data/assets/js/futuro.footer.custom.js +1 -1
  75. data/assets/js/futuro.header.custom.js +1 -1
  76. data/assets/js/header/custom/1_Settings.js +11 -3
  77. data/assets/js/header/custom/2_Site.js +1 -3
  78. metadata +24 -13
  79. data/_includes/html/page/content/loop/alert/create.liquid +0 -20
  80. data/_includes/html/page/content/loop/alert/example.liquid +0 -4
  81. data/_includes/html/page/content/loop/form/label.liquid +0 -17
  82. data/_includes/html/page/content/loop/yousaved.liquid +0 -11
  83. data/_includes/svg/site/book/orwell.svg +0 -1
  84. data/_includes/svg/site/book/woolf.svg +0 -1
  85. data/assets/js/footer/custom/5_Switch.button.js +0 -97
@@ -1,14 +1,15 @@
1
1
 
2
- // ThemeBook | $name | $col
3
-
4
- @include ThemeBook("orwell",blue);
5
-
6
- @include ThemeBook("woolf",green);
7
-
8
- // ThemeCover | $name | $col | $left | $chapter
9
-
10
- @include ThemeCover("animal",blue,false,true);
11
-
12
- // ThemePages | $name | $col | $right | $chapter
13
-
14
- @include ThemePages("animal",blue,false,true);
2
+ $books : (
3
+ "orwell" : (
4
+ colour : "success"
5
+ ),
6
+ "woolf" : (
7
+ colour : "error"
8
+ )
9
+ );
10
+
11
+ @each $book, $map in $books {
12
+ @include ThemeBook ($book, map-get($map,colour));
13
+ @include ThemeCover ($book, false, map-get($map,colour));
14
+ @include ThemePages ($book, false, map-get($map,colour), map-get($map,info));
15
+ }
@@ -1,29 +1,4 @@
1
1
 
2
- // https://stackoverflow.com/questions/27740063/merge-multiple-sass-maps
3
-
4
- // Function for collecting multiple maps;
5
-
6
- @function map-collect($maps...) {
7
- $collection: ();
8
-
9
- @each $map in $maps {
10
- $collection: map-merge($collection, $map);
11
- }
12
- @return $collection;
13
- }
14
-
15
- // $color: map-collect($color-name, $color-event, $color-category);
16
-
17
- // Function for shorter usage of map-get();
18
-
19
- @function setcolor($scheme, $tone: base) {
20
-
21
- @return map-get(map-get($colormap, $scheme), $tone);
22
-
23
- }
24
-
25
- // color: setcolor(brown, light);
26
-
27
2
  $site : (
28
3
  padding : 50px
29
4
  );
@@ -34,9 +9,22 @@ $topbar : (
34
9
  );
35
10
 
36
11
  $book : (
37
- large : 110px,
38
- medium : 90px,
39
- small : 75px
12
+
13
+ large : (
14
+ title : 5.6rem,
15
+ width : 110px
16
+ ),
17
+
18
+ medium : (
19
+ title : 5.6rem,
20
+ width : 90px
21
+ ),
22
+
23
+ small : (
24
+ title : 5.6rem,
25
+ width : 75px
26
+ )
27
+
40
28
  );
41
29
 
42
30
  $query : (
@@ -53,191 +41,17 @@ $query : (
53
41
  min1024 : 'only screen and (min-width: 1024px)'
54
42
  );
55
43
 
56
- $colormap : (
57
-
58
- level : (
59
- a : #e61717,
60
- b : #0099e6,
61
- c : #ff8001,
62
- d : #3bb300,
63
- e : #8b3788,
64
- f : #e60073,
65
- g : #b35900,
66
- y : #ffaa00,
67
- l : #b8b8b8
68
- ),
69
-
70
- system : (
71
- base : #6e46a0
72
- ),
73
-
74
- brand : (
75
- base : #ff8200
76
- ),
77
-
78
- supply : (
79
- base : #f00a0a
80
- ),
81
-
82
- demo : (
83
- base : #005a9b
84
- ),
85
-
86
- theatre : (
87
- base : #019fc6
88
- ),
89
-
90
- talks : (
91
- base : #ff9000
92
- ),
93
-
94
- music : (
95
- base : #dc3636
96
- ),
97
-
98
- classical : (
99
- base : #bf8f3a
100
- ),
101
-
102
- cinema : (
103
- base : #259d31
104
- ),
105
-
106
- tours : (
107
- base : #718ab2
108
- ),
109
-
110
- hire : (
111
- base : #412f79, // untested
112
- dark : darken(#412f79,0%), // untested
113
- light : lighten(#412f79,32%), // untested
114
- xlight : lighten(#412f79,64%) // untested
115
- ),
116
-
117
- members : (
118
- base : #5d91e5, // untested
119
- dark : darken(#5d91e5,10%), // untested
120
- light : lighten(#5d91e5,18%), // untested
121
- xlight : lighten(#5d91e5,35%) // untested
122
- ),
123
-
124
- art : (
125
- base : #f90082
126
- ),
127
-
128
- shop : (
129
- base : #23D5B0, // untested
130
- dark : darken(#23D5B0,0%), // untested
131
- light : lighten(#23D5B0,25%), // untested
132
- xlight : lighten(#23D5B0,50%) // untested
133
- ),
134
-
135
- addicts : (
136
- base : #e6433a
137
- ),
138
-
139
- family : (
140
- base : #029ddf
141
- ),
142
-
143
- receptive : (
144
- base : #b25400
145
- ),
146
-
147
- value : (
148
- base : #5fb641
149
- ),
150
-
151
- next : (
152
- base : #ffa905
153
- ),
154
-
155
- maybe : (
156
- base : #974597
157
- ),
158
-
159
- paradise : (
160
- base : #e8396c,
161
- dark : darken(#e8396c,10%), // untested
162
- light : lighten(#e8396c,20%), // untested
163
- xlight : lighten(#e8396c,40%) // untested
164
- ),
165
-
166
- artforall : (
167
- base : #f9ae00
168
- ),
169
-
170
- park : (
171
- base : #009640
172
- ),
173
-
174
- news : (
175
- base : #009fe3
176
- ),
177
-
178
- green : (
179
- base : #259d31
180
- ),
181
-
182
- generic : (
183
- base : #fe5900,
184
- dark : darken(#fe5900,10%),
185
- light : lighten(#fe5900,24%),
186
- xlight : lighten(#fe5900,48%)
187
- ),
188
-
189
- dodgers : (
190
- base : #0092FF,
191
- dark : darken(#0092FF,10%),
192
- light : lighten(#0092FF,24%),
193
- xlight : lighten(#0092FF,48%)
194
- ),
195
-
196
- smoke : (
197
- base : #E6E6E6,
198
- dark : darken(#E6E6E6,10%),
199
- light : lighten(#E6E6E6,50%),
200
- xlight : lighten(#E6E6E6,75%)
201
- ),
202
-
203
- gray : (
204
- base : #CCCCCC,
205
- dark : darken(#CCCCCC,10%),
206
- light : lighten(#CCCCCC,50%),
207
- xlight : lighten(#CCCCCC,75%)
208
- ),
209
-
210
- gun : (
211
- base : #666666, // untested
212
- dark : darken(#666666,10%), // untested
213
- light : lighten(#666666,32%), // untested
214
- xlight : lighten(#666666,56%) // untested
215
- ),
44
+ $radius : 4px;
45
+ $NavBorder : 1px solid setcolor(gray);
46
+ $BigGap : map-get($topbar,height) + map-get($site,padding);
47
+ $SmallGap : 20px;
216
48
 
217
- slate : (
218
- base : #333333, // tested
219
- dark : darken(#333333,10%), // tested
220
- light : lighten(#333333,50%), // tested
221
- xlight : lighten(#333333,75%) // tested
222
- ),
223
49
 
224
- carbon : (
225
- base : #1A1A1A,
226
- dark : darken(#1A1A1A,10%),
227
- light : lighten(#1A1A1A,50%),
228
- xlight : lighten(#1A1A1A,75%)
229
- ),
50
+ // https://stackoverflow.com/questions/27740063/merge-multiple-sass-maps
51
+ // function for more concise usage of map-get()
230
52
 
231
- coal : (
232
- base : #0D0D0D,
233
- dark : darken(#0D0D0D,10%),
234
- light : lighten(#0D0D0D,50%),
235
- xlight : lighten(#0D0D0D,75%)
236
- )
53
+ @function getbook($size, $value) {
237
54
 
238
- );
55
+ @return map-get(map-get($book, $size), $value);
239
56
 
240
- $radius : 4px;
241
- $NavBorder : 1px solid setcolor(gray);
242
- $BigGap : map-get($topbar,height) + map-get($site,padding);
243
- $SmallGap : 20px;
57
+ }
@@ -0,0 +1,290 @@
1
+
2
+ // https://stackoverflow.com/questions/27740063/merge-multiple-sass-maps
3
+ // function for collecting multiple sass maps
4
+
5
+ @function map-collect($maps...) {
6
+ $collection: ();
7
+
8
+ @each $map in $maps {
9
+ $collection: map-merge($collection, $map);
10
+ }
11
+
12
+ @return $collection;
13
+ }
14
+
15
+ $ux-colors : (
16
+
17
+ generic : (
18
+ base : #fe5900,
19
+ dark : darken(#fe5900,10%),
20
+ light : lighten(#fe5900,24%),
21
+ xlight : lighten(#fe5900,48%)
22
+ ),
23
+
24
+ dodgers : (
25
+ base : #0092FF,
26
+ dark : darken(#0092FF,10%),
27
+ light : lighten(#0092FF,24%),
28
+ xlight : lighten(#0092FF,48%)
29
+ ),
30
+
31
+ error : (
32
+ base : #B94A48, // untested
33
+ dark : darken(#B94A48,10%), // untested
34
+ light : lighten(#B94A48,23%), // untested
35
+ xlight : lighten(#B94A48,46%) // untested
36
+ ),
37
+
38
+ success : (
39
+ base : #468847, // untested
40
+ dark : darken(#468847,10%), // untested
41
+ light : lighten(#468847,26%), // untested
42
+ xlight : lighten(#468847,52%) // untested
43
+ )
44
+
45
+ );
46
+
47
+ $tier-colors : (
48
+
49
+ level_a : (
50
+ base : #e61717
51
+ ),
52
+
53
+ level_b : (
54
+ base : #0099e6
55
+ ),
56
+
57
+ level_c : (
58
+ base : #ff8001
59
+ ),
60
+
61
+ level_d : (
62
+ base : #3bb300
63
+ ),
64
+
65
+ level_e : (
66
+ base : #8b3788
67
+ ),
68
+
69
+ level_f : (
70
+ base : #e60073
71
+ ),
72
+
73
+ level_g : (
74
+ base : #b35900
75
+ ),
76
+
77
+ level_y : (
78
+ base : #ffaa00
79
+ ),
80
+
81
+ level_l : (
82
+ base : #b8b8b8
83
+ )
84
+
85
+ );
86
+
87
+ $artform-colors : (
88
+
89
+ theatre : (
90
+ base : #019fc6
91
+ ),
92
+
93
+ talks : (
94
+ base : #ff9000
95
+ ),
96
+
97
+ music : (
98
+ base : #dc3636
99
+ ),
100
+
101
+ classical : (
102
+ base : #bf8f3a
103
+ ),
104
+
105
+ cinema : (
106
+ base : #259d31
107
+ ),
108
+
109
+ tours : (
110
+ base : #718ab2
111
+ ),
112
+
113
+ hire : (
114
+ base : #412f79, // untested
115
+ dark : darken(#412f79,0%), // untested
116
+ light : lighten(#412f79,32%), // untested
117
+ xlight : lighten(#412f79,64%) // untested
118
+ ),
119
+
120
+ members : (
121
+ base : #5d91e5, // untested
122
+ dark : darken(#5d91e5,10%), // untested
123
+ light : lighten(#5d91e5,18%), // untested
124
+ xlight : lighten(#5d91e5,35%) // untested
125
+ ),
126
+
127
+ art : (
128
+ base : #f90082
129
+ ),
130
+
131
+ shop : (
132
+ base : #23D5B0, // untested
133
+ dark : darken(#23D5B0,0%), // untested
134
+ light : lighten(#23D5B0,25%), // untested
135
+ xlight : lighten(#23D5B0,50%) // untested
136
+ )
137
+
138
+ );
139
+
140
+ $mindset-colors : (
141
+
142
+ addicts : (
143
+ base : #e6433a,
144
+ dark : darken(#e6433a,10%), // untested
145
+ light : lighten(#e6433a,20%), // untested
146
+ xlight : lighten(#e6433a,40%) // untested
147
+ ),
148
+
149
+ family : (
150
+ base : #029ddf,
151
+ dark : darken(#029ddf,10%), // untested
152
+ light : lighten(#029ddf,20%), // untested
153
+ xlight : lighten(#029ddf,40%) // untested
154
+ ),
155
+
156
+ receptive : (
157
+ base : #b25400,
158
+ dark : darken(#b25400,10%), // untested
159
+ light : lighten(#b25400,20%), // untested
160
+ xlight : lighten(#b25400,40%) // untested
161
+ ),
162
+
163
+ value : (
164
+ base : #5fb641,
165
+ dark : darken(#5fb641,10%), // untested
166
+ light : lighten(#5fb641,20%), // untested
167
+ xlight : lighten(#5fb641,40%) // untested
168
+ ),
169
+
170
+ next : (
171
+ base : #ffa905,
172
+ dark : darken(#ffa905,10%), // untested
173
+ light : lighten(#ffa905,20%), // untested
174
+ xlight : lighten(#ffa905,40%) // untested
175
+ ),
176
+
177
+ maybe : (
178
+ base : #974597,
179
+ dark : darken(#974597,10%), // untested
180
+ light : lighten(#974597,20%), // untested
181
+ xlight : lighten(#974597,40%) // untested
182
+ )
183
+
184
+ );
185
+
186
+ $wgp-colors : (
187
+
188
+ paradise : (
189
+ base : #e8396c,
190
+ dark : darken(#e8396c,10%), // untested
191
+ light : lighten(#e8396c,20%), // untested
192
+ xlight : lighten(#e8396c,40%) // untested
193
+ ),
194
+
195
+ artforall : (
196
+ base : #f9ae00
197
+ ),
198
+
199
+ park : (
200
+ base : #009640
201
+ ),
202
+
203
+ news : (
204
+ base : #009fe3
205
+ )
206
+
207
+ );
208
+
209
+ $design-colors : (
210
+
211
+ system : (
212
+ base : #6e46a0
213
+ ),
214
+
215
+ brand : (
216
+ base : #ff8200
217
+ ),
218
+
219
+ supply : (
220
+ base : #f00a0a
221
+ ),
222
+
223
+ demo : (
224
+ base : #005a9b
225
+ )
226
+
227
+ );
228
+
229
+ $gradient-colors : (
230
+
231
+ smoke : (
232
+ base : #E6E6E6,
233
+ dark : darken(#E6E6E6,10%),
234
+ light : lighten(#E6E6E6,50%),
235
+ xlight : lighten(#E6E6E6,75%)
236
+ ),
237
+
238
+ gray : (
239
+ base : #CCCCCC,
240
+ dark : darken(#CCCCCC,10%),
241
+ light : lighten(#CCCCCC,50%),
242
+ xlight : lighten(#CCCCCC,75%)
243
+ ),
244
+
245
+ gun : (
246
+ base : #666666, // untested
247
+ dark : darken(#666666,10%), // untested
248
+ light : lighten(#666666,32%), // untested
249
+ xlight : lighten(#666666,56%) // untested
250
+ ),
251
+
252
+ slate : (
253
+ base : #333333, // tested
254
+ dark : darken(#333333,10%), // tested
255
+ light : lighten(#333333,50%), // tested
256
+ xlight : lighten(#333333,75%) // tested
257
+ ),
258
+
259
+ carbon : (
260
+ base : #1A1A1A,
261
+ dark : darken(#1A1A1A,10%),
262
+ light : lighten(#1A1A1A,50%),
263
+ xlight : lighten(#1A1A1A,75%)
264
+ ),
265
+
266
+ coal : (
267
+ base : #0D0D0D,
268
+ dark : darken(#0D0D0D,10%),
269
+ light : lighten(#0D0D0D,50%),
270
+ xlight : lighten(#0D0D0D,75%)
271
+ )
272
+
273
+ );
274
+
275
+ $colormap : map-collect($ux-colors,
276
+ $tier-colors,
277
+ $artform-colors,
278
+ $mindset-colors,
279
+ $wgp-colors,
280
+ $design-colors,
281
+ $gradient-colors);
282
+
283
+ // https://stackoverflow.com/questions/27740063/merge-multiple-sass-maps
284
+ // function for more concise usage of map-get()
285
+
286
+ @function setcolor($scheme, $tone: base) {
287
+
288
+ @return map-get(map-get($colormap, $scheme), $tone);
289
+
290
+ }