futuro 1.0.7 → 1.1.2
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.
- checksums.yaml +4 -4
- data/_includes/html/assign/page.liquid +2 -1
- data/_includes/html/assign/site.liquid +30 -21
- data/_includes/html/layout/footer.liquid +5 -1
- data/_includes/html/overlay/browse/page.liquid +1 -1
- data/_includes/html/page/content/loop/screen/header.liquid +45 -2
- data/_includes/html/page/footnote.liquid +4 -2
- data/_includes/html/page/header.liquid +1 -2
- data/_includes/html/page/layout/home.liquid +17 -7
- data/_includes/html/page/topbar.liquid +28 -17
- data/_includes/html/page/topbar/navigation/link.liquid +22 -0
- data/_includes/html/site/scroller.liquid +1 -1
- data/_includes/svg/site/icon.liquid +39 -19
- data/_sass/_button.scss +4 -4
- data/_sass/area/chapter.scss +2 -1
- data/_sass/area/page.scss +1 -1
- data/_sass/area/topbar.scss +1 -1
- data/_sass/block/chart.scss +2 -1
- data/_sass/block/form/screen.scss +62 -29
- data/_sass/block/util.scss +3 -0
- data/_sass/futuro.core.scss +5 -1
- data/_sass/helpers/extends.scss +0 -17
- data/_sass/helpers/mixins/layout.scss +0 -1
- data/_sass/helpers/mixins/theme.scss +111 -118
- data/_sass/helpers/themes.scss +14 -13
- data/_sass/helpers/variables.scss +24 -226
- data/_sass/helpers/variables/colors.scss +290 -0
- data/_sass/item/scroller.scss +0 -1
- data/_sass/link/book.scss +8 -6
- data/_sass/link/navigation.scss +11 -7
- data/_sass/link/scroller.scss +4 -0
- data/_sass/title/book.scss +9 -0
- data/_sass/title/page.scss +2 -0
- data/_sass/title/type.scss +1 -0
- data/_sass/wrap/switch.scss +12 -0
- data/assets/js/footer/custom/1_Settings.js +1 -2
- data/assets/js/footer/custom/2_Check.width.js +6 -23
- data/assets/js/footer/custom/4_Setup.home.js +3 -1
- data/assets/js/footer/custom/4_Setup.overlays.js +56 -56
- data/assets/js/footer/custom/4_Start.browse.js +3 -67
- data/assets/js/footer/custom/5_Util.share.js +0 -75
- data/assets/js/footer/custom/5_WhatsOn.js +7 -7
- data/assets/js/footer/custom/5_button.func.reset.js +15 -0
- data/assets/js/footer/custom/5_button.func.submit.js +39 -0
- data/assets/js/footer/custom/5_button.func.switch.js +26 -0
- data/assets/js/footer/custom/5_button.func.update.js +39 -0
- data/assets/js/footer/custom/5_respond.scroller.js +11 -0
- data/assets/js/footer/vendor/futuro/browsr.js +269 -0
- data/assets/js/footer/vendor/futuro/checkr.js +41 -0
- data/assets/js/footer/vendor/futuro/ovrly.js +102 -0
- data/assets/js/footer/vendor/{gsap-draw.js → gsap/draw.js} +0 -0
- data/assets/js/footer/vendor/{gsap-morph.js → gsap/morph.js} +0 -0
- data/assets/js/footer/vendor/{gsap-scramble.js → gsap/scramble.js} +0 -0
- data/assets/js/footer/vendor/gsap/scroll.js +11 -0
- data/assets/js/footer/vendor/{gsap-text.js → gsap/text.js} +0 -0
- data/assets/js/footer/vendor/{jquery.min.js → jquery.js} +0 -0
- data/assets/js/footer/vendor/{parsley.min.js → parsley.js} +0 -0
- data/assets/js/futuro.footer.custom.js +1 -1
- data/assets/js/futuro.footer.vendor.js +426 -314
- data/assets/js/futuro.header.custom.js +1 -1
- data/assets/js/futuro.header.legacy.js +4 -3
- data/assets/js/futuro.header.legacy.shopify.js +4 -3
- data/assets/js/futuro.header.vendor.js +4 -3
- data/assets/js/header/custom/1_Settings.js +8 -2
- data/assets/js/header/custom/2_Site.js +1 -3
- data/assets/js/header/vendor/gsap.js +4 -3
- metadata +22 -16
- data/_includes/svg/site/book/orwell.svg +0 -1
- data/_includes/svg/site/book/woolf.svg +0 -1
- data/assets/js/footer/custom/3_Setup.browse.js +0 -298
- data/assets/js/footer/custom/5_Animate.scroller.js +0 -11
- data/assets/js/footer/custom/5_Respond.browse.js +0 -42
- data/assets/js/footer/custom/5_Switch.button.js +0 -97
- data/assets/js/footer/vendor/scrollmagic-gsap.js +0 -310
- data/assets/js/footer/vendor/scrollmagic.js +0 -3
data/_sass/_button.scss
CHANGED
@@ -21,16 +21,16 @@
|
|
21
21
|
}
|
22
22
|
|
23
23
|
.button-wrap.type-solid {
|
24
|
-
|
24
|
+
background-color: setcolor(slate);
|
25
25
|
color: white;
|
26
|
-
fill: white;
|
26
|
+
fill: white;
|
27
27
|
}
|
28
28
|
|
29
29
|
.button-wrap.type-outline {
|
30
30
|
border: 1px solid setcolor(slate);
|
31
|
+
background-color: white;
|
31
32
|
color: setcolor(slate);
|
32
33
|
fill: setcolor(slate);
|
33
|
-
background-color: white;
|
34
34
|
}
|
35
35
|
|
36
36
|
.button-wrap.context-legend {
|
@@ -43,7 +43,7 @@
|
|
43
43
|
}
|
44
44
|
|
45
45
|
.button-bg.func-submit {
|
46
|
-
|
46
|
+
border-radius: 4px;
|
47
47
|
}
|
48
48
|
|
49
49
|
.button-wrap.func-update {
|
data/_sass/area/chapter.scss
CHANGED
data/_sass/area/page.scss
CHANGED
@@ -9,7 +9,7 @@ $AreaSub : $AreaHeight - $SubHeight;
|
|
9
9
|
|
10
10
|
%PageContent {
|
11
11
|
|
12
|
-
> h1, > h2, > h3, > h4, > h5, > h6, > p, > ul, > ol, > .roller, .block.animate {
|
12
|
+
> h1, > h2, > h3, > h4, > h5, > h6, > p, > ul, > ol, > .roller, .block.animate, .wrap.switch {
|
13
13
|
@extend %ContentPrep;
|
14
14
|
}
|
15
15
|
|
data/_sass/area/topbar.scss
CHANGED
data/_sass/block/chart.scss
CHANGED
@@ -18,59 +18,78 @@ $title: 2.6rem;
|
|
18
18
|
}
|
19
19
|
}
|
20
20
|
|
21
|
-
.block.screen-row {
|
22
|
-
grid-row-gap: $title * 0.2;
|
23
|
-
line-height: 1.1;
|
24
|
-
display: grid;
|
25
|
-
}
|
26
|
-
|
27
21
|
%ScreenRow {
|
28
22
|
@extend %bold;
|
29
23
|
@include padding(5,5,4.5,5);
|
30
24
|
|
31
25
|
+ .screen-row.type-event,
|
26
|
+
+ .screen-row.type-level,
|
32
27
|
+ .screen-row.type-retail {
|
33
28
|
border-top: 1px solid setcolor(gun);
|
34
29
|
}
|
35
30
|
}
|
36
31
|
|
37
|
-
.block.screen-row
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
color: setcolor(carbon);
|
32
|
+
.block.screen-row {
|
33
|
+
grid-row-gap: $title * 0.2;
|
34
|
+
line-height: 1.1;
|
35
|
+
display: grid;
|
42
36
|
|
43
|
-
|
44
|
-
@extend %
|
37
|
+
&.type-header {
|
38
|
+
@extend %ScreenRow;
|
39
|
+
background: setcolor(smoke);
|
40
|
+
grid-row-gap: $title * 0.1;
|
41
|
+
color: setcolor(carbon);
|
42
|
+
|
43
|
+
.screen-title {
|
44
|
+
@extend %large;
|
45
|
+
}
|
46
|
+
|
47
|
+
.screen-title.small {
|
48
|
+
@extend %small;
|
49
|
+
}
|
45
50
|
}
|
46
51
|
|
47
|
-
|
48
|
-
@extend %
|
52
|
+
&.type-event {
|
53
|
+
@extend %ScreenRow;
|
54
|
+
background-color: setcolor(carbon);
|
55
|
+
color: setcolor(gray);
|
49
56
|
}
|
50
|
-
}
|
51
57
|
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
58
|
+
&.type-level {
|
59
|
+
@extend %ScreenRow;
|
60
|
+
grid-template-columns: 20fr 20fr 40fr 20fr;
|
61
|
+
background-color: setcolor(carbon);
|
62
|
+
color: setcolor(gray);
|
63
|
+
grid-column-gap: 1rem;
|
64
|
+
}
|
57
65
|
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
66
|
+
&.type-retail {
|
67
|
+
@extend %ScreenRow;
|
68
|
+
background: setcolor(slate);
|
69
|
+
color: setcolor(gray);
|
70
|
+
}
|
62
71
|
}
|
63
72
|
|
64
73
|
.block.screen-title {
|
65
74
|
font-size: $title;
|
66
|
-
}
|
67
75
|
|
68
|
-
|
69
|
-
|
76
|
+
&.small {
|
77
|
+
@extend %small;
|
78
|
+
}
|
79
|
+
|
80
|
+
&:not(.small) {
|
81
|
+
@extend %tight;
|
82
|
+
}
|
83
|
+
|
84
|
+
&.type-level {
|
85
|
+
font-size: 10rem;
|
86
|
+
line-height: 1;
|
87
|
+
}
|
70
88
|
}
|
71
89
|
|
72
|
-
.block.
|
90
|
+
.block.room-title {
|
73
91
|
@extend %small;
|
92
|
+
@extend %book;
|
74
93
|
}
|
75
94
|
|
76
95
|
.block.screen-wrap {
|
@@ -82,3 +101,17 @@ sup {
|
|
82
101
|
@extend %small;
|
83
102
|
left: 0.2em;
|
84
103
|
}
|
104
|
+
|
105
|
+
.block.tag-list {
|
106
|
+
grid-template-columns: repeat(5,1fr);
|
107
|
+
grid-template-rows: min-content;
|
108
|
+
grid-gap: 1rem;
|
109
|
+
display: grid;
|
110
|
+
}
|
111
|
+
|
112
|
+
.block.tag-list div {
|
113
|
+
background-color: setcolor(gray);
|
114
|
+
border-radius: 50%;
|
115
|
+
height: 10px;
|
116
|
+
width: 10px;
|
117
|
+
}
|
data/_sass/block/util.scss
CHANGED
data/_sass/futuro.core.scss
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
// Helper Styles
|
5
5
|
|
6
6
|
@import
|
7
|
+
"helpers/variables/colors",
|
7
8
|
"helpers/variables",
|
8
9
|
"helpers/mixins",
|
9
10
|
"helpers/mixins/layout",
|
@@ -79,7 +80,8 @@
|
|
79
80
|
@import
|
80
81
|
"link/book",
|
81
82
|
"link/browse",
|
82
|
-
"link/navigation"
|
83
|
+
"link/navigation",
|
84
|
+
"link/scroller";
|
83
85
|
|
84
86
|
// List Styles
|
85
87
|
|
@@ -92,6 +94,7 @@
|
|
92
94
|
|
93
95
|
@import
|
94
96
|
"title/alert",
|
97
|
+
"title/book",
|
95
98
|
"title/browse",
|
96
99
|
"title/checkbox",
|
97
100
|
"title/copied",
|
@@ -116,6 +119,7 @@
|
|
116
119
|
"wrap/home",
|
117
120
|
"wrap/scroller",
|
118
121
|
"wrap/select",
|
122
|
+
"wrap/switch",
|
119
123
|
"wrap/text";
|
120
124
|
|
121
125
|
// Other Styles
|
data/_sass/helpers/extends.scss
CHANGED
@@ -24,20 +24,3 @@
|
|
24
24
|
:focus {
|
25
25
|
outline: rgba(0,0,0,0);
|
26
26
|
}
|
27
|
-
|
28
|
-
// MINDSETS IMPORT ************************************************************
|
29
|
-
|
30
|
-
// %table {
|
31
|
-
// grid-template-columns: 220px repeat(4,110px);
|
32
|
-
// list-style: none;
|
33
|
-
// display: grid;
|
34
|
-
// padding: 0;
|
35
|
-
|
36
|
-
// li {
|
37
|
-
// padding: 5px;
|
38
|
-
|
39
|
-
// &:nth-of-type(n+2) {
|
40
|
-
// text-align: center;
|
41
|
-
// }
|
42
|
-
// }
|
43
|
-
// }
|
@@ -1,12 +1,10 @@
|
|
1
1
|
|
2
|
-
|
3
|
-
|
4
2
|
// Used in Mindsets
|
5
3
|
@mixin ThemeMorph($name,$color) {
|
6
4
|
// find output path by dynamic class name
|
7
5
|
svg#morph path#output.#{$name} {
|
8
6
|
// set associated color for this class
|
9
|
-
stroke: $color;
|
7
|
+
stroke: setcolor($color);
|
10
8
|
}
|
11
9
|
}
|
12
10
|
|
@@ -196,24 +194,43 @@
|
|
196
194
|
}
|
197
195
|
}
|
198
196
|
|
199
|
-
|
197
|
+
@mixin ThemeButtonCore($color) {
|
198
|
+
.button-wrap {
|
199
|
+
background: setcolor($color);
|
200
|
+
|
201
|
+
&:hover {
|
202
|
+
background: darken(setcolor($color),5%);
|
203
|
+
}
|
204
|
+
}
|
205
|
+
}
|
206
|
+
|
207
|
+
// Used in Patterns, Brandvoice
|
200
208
|
@mixin ThemeButton($chapter,$title,$color) {
|
201
|
-
.wrap.chapter-#{$chapter}.title-#{$title} {
|
202
|
-
.button-wrap {
|
203
|
-
background: setcolor($color);
|
204
209
|
|
205
|
-
|
206
|
-
|
207
|
-
|
210
|
+
@if $title {
|
211
|
+
// if title has been provided
|
212
|
+
// page specific button colour
|
213
|
+
.wrap.chapter-#{$chapter}.title-#{$title} {
|
214
|
+
// use the same mixin core; avoid repetition
|
215
|
+
@include ThemeButtonCore($color);
|
216
|
+
}
|
217
|
+
|
218
|
+
} @else {
|
219
|
+
// if only the chapter has been provided
|
220
|
+
// chapter specific button colour
|
221
|
+
.wrap.chapter-#{$chapter} {
|
222
|
+
// use the same mixin core; avoid repetition
|
223
|
+
@include ThemeButtonCore($color);
|
208
224
|
}
|
225
|
+
|
209
226
|
}
|
210
227
|
}
|
211
228
|
|
212
|
-
// Used
|
229
|
+
// Used Globally
|
213
230
|
@mixin ThemeHome($name,$color){
|
214
231
|
// inherit theme color for the book cover
|
215
232
|
.link.book.#{$name} {
|
216
|
-
background-color: $color;
|
233
|
+
background-color: setcolor($color);
|
217
234
|
}
|
218
235
|
}
|
219
236
|
|
@@ -221,23 +238,23 @@
|
|
221
238
|
@mixin ThemeTopbar($name,$color) {
|
222
239
|
// inherit theme color for the topbar link
|
223
240
|
.link.navigation.#{$name} {
|
224
|
-
color: $color;
|
241
|
+
color: setcolor($color);
|
225
242
|
}
|
226
243
|
// add theme color tint to background on hover
|
227
244
|
.link.navigation.#{$name}:hover {
|
228
|
-
background-color: rgba($color,10%);
|
245
|
+
background-color: rgba(setcolor($color),10%);
|
229
246
|
}
|
230
247
|
}
|
231
248
|
|
232
249
|
// Used globally
|
233
|
-
@mixin ThemeCover($
|
250
|
+
@mixin ThemeCover($book,$chapter,$color,$left:false) {
|
251
|
+
// optional arguments must come last
|
234
252
|
|
235
253
|
@if $chapter {
|
236
254
|
|
237
|
-
//
|
238
|
-
|
239
|
-
|
240
|
-
background-color: $color;
|
255
|
+
// chapter covers
|
256
|
+
.wrap.page-wrap.type-chapter.chapter-#{$chapter} {
|
257
|
+
background-color: setcolor($color);
|
241
258
|
|
242
259
|
@if $left {
|
243
260
|
.title.type-chapter {
|
@@ -247,23 +264,22 @@
|
|
247
264
|
}
|
248
265
|
} @else {
|
249
266
|
|
250
|
-
//
|
251
|
-
|
252
|
-
|
253
|
-
background-color: $color;
|
267
|
+
// book covers
|
268
|
+
.wrap.page-wrap.type-chapter.book-#{$book} {
|
269
|
+
background-color: setcolor($color);
|
254
270
|
}
|
255
271
|
}
|
256
272
|
}
|
257
273
|
|
258
|
-
// Used
|
259
|
-
@mixin PageInfo($
|
274
|
+
// Used Globally
|
275
|
+
@mixin PageInfo($color,$right) {
|
260
276
|
|
261
277
|
.title.page-weight {
|
262
|
-
color: $
|
278
|
+
color: setcolor($color);
|
263
279
|
}
|
264
280
|
|
265
281
|
.title.page-chapter {
|
266
|
-
color: $
|
282
|
+
color: setcolor($color);
|
267
283
|
@if $right {
|
268
284
|
right: #{$right}px;
|
269
285
|
}
|
@@ -271,113 +287,96 @@
|
|
271
287
|
}
|
272
288
|
|
273
289
|
// Used in Mindsets
|
274
|
-
@mixin ThemeRollerInput($
|
275
|
-
background-color: rgba($
|
276
|
-
color: $
|
290
|
+
@mixin ThemeRollerInput($color) {
|
291
|
+
background-color: rgba(setcolor($color),10%);
|
292
|
+
color: setcolor($color);
|
293
|
+
|
294
|
+
&.active {
|
295
|
+
background-color: setcolor($color);
|
296
|
+
color: white;
|
297
|
+
}
|
277
298
|
}
|
278
299
|
|
279
300
|
// Used in Mindsets
|
280
|
-
@mixin ThemeRollerOutput($
|
281
|
-
background-color: rgba($
|
282
|
-
border-color: rgba($
|
283
|
-
color: $
|
301
|
+
@mixin ThemeRollerOutput($color) {
|
302
|
+
background-color: rgba(setcolor($color),10%);
|
303
|
+
border-color: rgba(setcolor($color),20%);
|
304
|
+
color: setcolor($color);
|
284
305
|
}
|
285
306
|
|
286
|
-
// Used in Mindsets
|
287
|
-
@mixin ThemeRoller($
|
307
|
+
// Used in Mindsets, Brandvoice
|
308
|
+
@mixin ThemeRoller($chapter,$title,$color) {
|
288
309
|
|
289
310
|
@if $chapter {
|
290
311
|
|
291
|
-
.list.roller.chapter-#{$
|
312
|
+
.list.roller.chapter-#{$chapter} {
|
292
313
|
|
293
314
|
.item.roller.input {
|
294
|
-
@include ThemeRollerInput($
|
295
|
-
|
296
|
-
&.active {
|
297
|
-
background-color: $col;
|
298
|
-
color: white;
|
299
|
-
}
|
315
|
+
@include ThemeRollerInput($color);
|
300
316
|
}
|
301
317
|
|
302
318
|
.item.roller.output {
|
303
|
-
@include ThemeRollerOutput($
|
319
|
+
@include ThemeRollerOutput($color);
|
304
320
|
}
|
305
321
|
}
|
306
322
|
|
307
323
|
} @else {
|
308
324
|
|
309
|
-
.item.roller.input.title-#{$
|
310
|
-
@include ThemeRollerInput($
|
311
|
-
|
312
|
-
&.active {
|
313
|
-
background-color: $col;
|
314
|
-
color: white;
|
315
|
-
}
|
325
|
+
.item.roller.input.title-#{$title} {
|
326
|
+
@include ThemeRollerInput($color);
|
316
327
|
}
|
317
328
|
|
318
|
-
.item.roller.output.title-#{$
|
319
|
-
@include ThemeRollerOutput($
|
329
|
+
.item.roller.output.title-#{$title} {
|
330
|
+
@include ThemeRollerOutput($color);
|
320
331
|
}
|
321
332
|
}
|
322
333
|
}
|
323
334
|
|
324
|
-
// Used in Mindsets
|
325
|
-
@mixin ThemeChart($
|
335
|
+
// Used in Mindsets, Brandvoice
|
336
|
+
@mixin ThemeChart($color) {
|
326
337
|
.block.chart-pcent-title {
|
327
|
-
color: $
|
338
|
+
color: setcolor($color);
|
328
339
|
}
|
329
340
|
|
330
341
|
.block.chart-bar-bg {
|
331
|
-
background-color: $
|
342
|
+
background-color: setcolor($color);
|
332
343
|
}
|
333
344
|
}
|
334
345
|
|
335
|
-
|
336
|
-
|
346
|
+
@mixin ThemePagesCore($color,$right) {
|
347
|
+
// stroke: setcolor($color);
|
348
|
+
fill: setcolor($color);
|
337
349
|
|
338
|
-
@
|
350
|
+
@include PageInfo($color,$right);
|
339
351
|
|
340
|
-
|
341
|
-
fill: $col;
|
352
|
+
@include ThemeChart($color);
|
342
353
|
|
343
|
-
|
354
|
+
.block.number-container {
|
355
|
+
color: setcolor($color);
|
356
|
+
}
|
344
357
|
|
345
|
-
|
358
|
+
.lnk.stats {
|
359
|
+
color: setcolor($color);
|
360
|
+
}
|
346
361
|
|
347
|
-
|
348
|
-
|
349
|
-
|
362
|
+
.list.pies {
|
363
|
+
color: setcolor($color);
|
364
|
+
}
|
365
|
+
}
|
350
366
|
|
351
|
-
|
352
|
-
|
353
|
-
}
|
367
|
+
// Used in Mindsets
|
368
|
+
@mixin ThemePages($book,$chapter,$color,$right:false) {
|
354
369
|
|
355
|
-
|
356
|
-
|
357
|
-
|
370
|
+
@if $chapter {
|
371
|
+
|
372
|
+
.wrap.type-page.chapter-#{$chapter} {
|
373
|
+
@include ThemePagesCore($color,$right);
|
358
374
|
}
|
359
375
|
|
360
376
|
} @else {
|
361
377
|
|
362
|
-
.wrap.type-page.book-#{$
|
363
|
-
|
364
|
-
fill: $col;
|
365
|
-
|
366
|
-
@include PageInfo($col,$right);
|
367
|
-
|
368
|
-
@include ThemeChart($col);
|
369
|
-
|
370
|
-
.block.number-container {
|
371
|
-
color: $col;
|
372
|
-
}
|
373
|
-
|
374
|
-
.lnk.stats {
|
375
|
-
color: $col;
|
376
|
-
}
|
377
|
-
|
378
|
-
.list.pies {
|
379
|
-
color: $col;
|
380
|
-
}
|
378
|
+
.wrap.type-page.book-#{$book} {
|
379
|
+
@include ThemePagesCore($color,$right);
|
381
380
|
}
|
382
381
|
}
|
383
382
|
}
|
@@ -386,44 +385,38 @@
|
|
386
385
|
@mixin ThemeSnap($name,$color) {
|
387
386
|
svg.snap {
|
388
387
|
path.#{$name} {
|
389
|
-
fill:
|
388
|
+
fill: setcolor($color);
|
390
389
|
}
|
391
390
|
}
|
392
391
|
}
|
393
392
|
|
394
|
-
|
395
|
-
|
393
|
+
@mixin ThemeSearchCore($color) {
|
394
|
+
color: setcolor($color);
|
396
395
|
|
397
|
-
|
398
|
-
|
399
|
-
|
396
|
+
&:hover {
|
397
|
+
background-color: rgba(setcolor($color),10%);
|
398
|
+
}
|
400
399
|
|
401
|
-
|
402
|
-
|
400
|
+
.block.results-dot {
|
401
|
+
background-color: setcolor($color);
|
402
|
+
}
|
403
|
+
}
|
403
404
|
|
404
|
-
|
405
|
-
|
406
|
-
}
|
405
|
+
// Used Globally
|
406
|
+
@mixin ThemeSearch($book,$chapter,$color) {
|
407
407
|
|
408
|
-
|
409
|
-
|
410
|
-
|
408
|
+
@if $chapter {
|
409
|
+
|
410
|
+
// theme results by chapter
|
411
|
+
.block.results-entry.chapter-#{$chapter} {
|
412
|
+
@include ThemeSearchCore($color);
|
411
413
|
}
|
412
414
|
|
413
415
|
} @else {
|
414
416
|
|
415
|
-
//
|
416
|
-
|
417
|
-
|
418
|
-
color: $col;
|
419
|
-
|
420
|
-
&:hover {
|
421
|
-
background-color: rgba($col,10%);
|
422
|
-
}
|
423
|
-
|
424
|
-
.block.results-dot {
|
425
|
-
background-color: $col;
|
426
|
-
}
|
417
|
+
// theme results by book
|
418
|
+
.block.results-entry.book-#{$book} {
|
419
|
+
@include ThemeSearchCore($color);
|
427
420
|
}
|
428
421
|
}
|
429
422
|
}
|