intia-theme 0.1.5 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/button.html +7 -0
  3. data/_includes/contact.html +70 -0
  4. data/_includes/footer.html +1 -1
  5. data/_includes/hero.html +19 -4
  6. data/_includes/highlighter.html +7 -0
  7. data/_includes/introduction.md +6 -0
  8. data/_includes/latest-story.html +35 -0
  9. data/_includes/left-right-blocks.html +46 -49
  10. data/_includes/stories.html +40 -0
  11. data/_includes/story-slider.html +3 -4
  12. data/_layouts/default.html +8 -5
  13. data/_layouts/plattform.html +0 -0
  14. data/_sass/_layout.scss +265 -7
  15. data/_sass/_main.scss +23 -8
  16. data/assets/img/arrow-down.png +0 -0
  17. data/assets/img/external-link.png +0 -0
  18. data/assets/img/logo-green-white.png +0 -0
  19. data/assets/img/logo-short-green.png +0 -0
  20. data/assets/img/logo-short.png +0 -0
  21. data/assets/js/main.js +42 -1
  22. data/assets/js/search.js +6 -0
  23. data/assets/templates/contact.png +0 -0
  24. data/assets/templates/glossary-abstract.png +0 -0
  25. data/assets/templates/glossary-full-entry.png +0 -0
  26. data/assets/templates/header-a.png +0 -0
  27. data/assets/templates/header-b.png +0 -0
  28. data/assets/templates/header-c.png +0 -0
  29. data/assets/templates/header-glossary.png +0 -0
  30. data/assets/templates/highlighter-a.png +0 -0
  31. data/assets/templates/highlighter-b.png +0 -0
  32. data/assets/templates/highlighter-c.png +0 -0
  33. data/assets/templates/highlighter-d.png +0 -0
  34. data/assets/templates/left-right-blocks.png +0 -0
  35. data/assets/templates/methods-filter.png +0 -0
  36. data/assets/templates/stories-a.png +0 -0
  37. data/assets/templates/stories-b.png +0 -0
  38. data/assets/templates/stories-teaser.png +0 -0
  39. data/assets/templates/textblock-highlight.png +0 -0
  40. data/assets/templates/textblock-with-image.png +0 -0
  41. data/assets/templates/textblock.png +0 -0
  42. data/assets/templates/tooltip.png +0 -0
  43. data/node_modules/@creativebulma/bulma-tooltip/LICENSE +21 -0
  44. data/node_modules/@creativebulma/bulma-tooltip/README.md +34 -0
  45. data/node_modules/@creativebulma/bulma-tooltip/dist/bulma-tooltip.css +1919 -0
  46. data/node_modules/@creativebulma/bulma-tooltip/dist/bulma-tooltip.min.css +2 -0
  47. data/node_modules/@creativebulma/bulma-tooltip/package.json +104 -0
  48. data/node_modules/@creativebulma/bulma-tooltip/src/docs/archetypes/default.md +6 -0
  49. data/node_modules/@creativebulma/bulma-tooltip/src/docs/config.toml +18 -0
  50. data/node_modules/@creativebulma/bulma-tooltip/src/docs/content/_index.md +27 -0
  51. data/node_modules/@creativebulma/bulma-tooltip/src/docs/content/changelog.md +11 -0
  52. data/node_modules/@creativebulma/bulma-tooltip/src/docs/content/get-started.md +128 -0
  53. data/node_modules/@creativebulma/bulma-tooltip/src/docs/content/how-to/customize.md +48 -0
  54. data/node_modules/@creativebulma/bulma-tooltip/src/docs/content/release/1.0.1.md +11 -0
  55. data/node_modules/@creativebulma/bulma-tooltip/src/docs/content/release/1.0.2.md +13 -0
  56. data/node_modules/@creativebulma/bulma-tooltip/src/docs/content/release/1.1.0.md +13 -0
  57. data/node_modules/@creativebulma/bulma-tooltip/src/docs/content/release/1.2.md +13 -0
  58. data/node_modules/@creativebulma/bulma-tooltip/src/docs/content/release/1.md +13 -0
  59. data/node_modules/@creativebulma/bulma-tooltip/src/docs/data/social.json +7 -0
  60. data/node_modules/@creativebulma/bulma-tooltip/src/docs/data/variables.json +62 -0
  61. data/node_modules/@creativebulma/bulma-tooltip/src/docs/data/versions.json +14 -0
  62. data/node_modules/@creativebulma/bulma-tooltip/src/docs/layouts/partials/head.html +26 -0
  63. data/node_modules/@creativebulma/bulma-tooltip/src/docs/static/css/bulma-tooltip.css +1919 -0
  64. data/node_modules/@creativebulma/bulma-tooltip/src/docs/static/css/bulma-tooltip.min.css +2 -0
  65. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/LICENSE +20 -0
  66. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/archetypes/changelog.md +11 -0
  67. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/archetypes/default.md +2 -0
  68. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/404.html +33 -0
  69. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/_default/_markup/render-link.html +1 -0
  70. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/_default/baseof.html +11 -0
  71. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/_default/list.html +0 -0
  72. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/_default/single.html +25 -0
  73. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/index.html +24 -0
  74. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/partials/footer.html +6 -0
  75. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/partials/head.html +25 -0
  76. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/partials/header.html +0 -0
  77. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/partials/menu.html +33 -0
  78. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/partials/navbar.html +31 -0
  79. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/shortcodes/api.html +71 -0
  80. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/shortcodes/button.html +17 -0
  81. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/shortcodes/changelog.html +13 -0
  82. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/shortcodes/link.html +13 -0
  83. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/shortcodes/notification.html +2 -0
  84. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/shortcodes/options.html +22 -0
  85. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/shortcodes/preview.html +31 -0
  86. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/shortcodes/tab.html +16 -0
  87. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/shortcodes/table.html +21 -0
  88. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/shortcodes/tabs.html +24 -0
  89. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/shortcodes/tag.html +35 -0
  90. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/shortcodes/variables.html +18 -0
  91. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/static/css/docs.css +375 -0
  92. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/static/images/clippy.svg +1 -0
  93. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/static/js/clipboard.min.js +7 -0
  94. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/static/js/docs.js +79 -0
  95. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/static/js/highlight.pack.js +3 -0
  96. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/theme.toml +21 -0
  97. data/node_modules/@creativebulma/bulma-tooltip/src/sass/_animation.sass +4 -0
  98. data/node_modules/@creativebulma/bulma-tooltip/src/sass/_position.sass +124 -0
  99. data/node_modules/@creativebulma/bulma-tooltip/src/sass/_responsiveness.sass +151 -0
  100. data/node_modules/@creativebulma/bulma-tooltip/src/sass/_variables.sass +12 -0
  101. data/node_modules/@creativebulma/bulma-tooltip/src/sass/index.sass +131 -0
  102. data/package-lock.json +6 -0
  103. data/package.json +3 -0
  104. metadata +93 -3
  105. data/_includes/introduction.html +0 -8
data/_sass/_layout.scss CHANGED
@@ -62,7 +62,13 @@ div.highlight {
62
62
  border-radius: 65px;
63
63
  margin-top: 3em;
64
64
  }
65
- .highlighter-image {
65
+ .overtitle {
66
+ margin-bottom: 0 !important;
67
+ padding-bottom: 0 !important;
68
+ }
69
+ .title-with-overtitle {
70
+ margin-top: 0 !important;
71
+ padding-top: 0.25em !important;
66
72
  }
67
73
  // Globals
68
74
  img.is-rounded {
@@ -70,11 +76,28 @@ img.is-rounded {
70
76
  }
71
77
  .arrow-image {
72
78
  z-index: 10;
73
- position: relative;
74
- bottom: -90px;
79
+ top: calc(50% - 68px);
80
+ position: sticky;
75
81
  width: 64px;
82
+ cursor: pointer;
83
+ display: flex;
84
+ flex-direction: column;
85
+ }
86
+ .is-pointed-down {
87
+ transform: scaleY(-1);
88
+ }
89
+ .is-hidden {
90
+ visibility: hidden;
91
+ }
92
+ .is-visible {
93
+ visibility: visible;
94
+ }
95
+ .left {
96
+ text-align: left;
97
+ }
98
+ .right {
99
+ text-align: right;
76
100
  }
77
-
78
101
  .clear {
79
102
  clear: both;
80
103
  display: block;
@@ -83,12 +106,13 @@ img.is-rounded {
83
106
 
84
107
  // Buttons - Mybe global in Buttons und raus damit?
85
108
  .button.is-dark {
86
- background-color: #229387;
109
+ background-color: $primary-dark;
87
110
  }
88
111
 
89
112
  // Navi
90
113
  .navbar {
91
114
  padding-top: 0.6rem;
115
+ padding-bottom: 2.6rem;
92
116
  }
93
117
 
94
118
  .navbar.is-primary .navbar-dropdown a.navbar-item.is-active {
@@ -139,6 +163,9 @@ img.is-rounded {
139
163
  .hero-body {
140
164
  background-color: white;
141
165
  }
166
+ .home .hero-body h1 {
167
+ max-width: 60%;
168
+ }
142
169
  .hero.is-large .hero-body {
143
170
  padding-bottom: 12rem;
144
171
  }
@@ -146,6 +173,13 @@ img.is-rounded {
146
173
  .hero-body img {
147
174
  float: right;
148
175
  margin-left: 200px;
176
+ top: -175px;
177
+ position: inherit;
178
+ }
179
+ .home .hero-body img {
180
+ max-width: 40%;
181
+ height: 66vh;
182
+ object-fit: cover;
149
183
  }
150
184
  .hero {
151
185
  display: block;
@@ -155,7 +189,7 @@ img.is-rounded {
155
189
  padding-top: 70px;
156
190
  }
157
191
  .hero.is-medium .hero-body {
158
- padding: 13rem 9rem 4.5rem;
192
+ padding: 10rem 9rem 4.5rem;
159
193
  }
160
194
 
161
195
  .hero-body .button,
@@ -173,14 +207,52 @@ img.is-rounded {
173
207
  //// Hero sub-pages with green text
174
208
  .subpage h1,
175
209
  .subpage p {
176
- color: #229387 !important;
210
+ color: $primary-dark !important;
211
+ }
212
+ .subpage .hero-body img,
213
+ .toppage .hero-body img {
214
+ float: none;
215
+ margin-left: auto;
216
+ margin-right: auto;
217
+ display: block;
218
+ top: 0;
219
+ max-width: auto;
220
+ }
221
+ .buttons-hero {
222
+ display: none;
223
+ }
224
+
225
+ .pdf .buttons-hero {
226
+ display: block;
227
+ align-items: center;
228
+ flex-wrap: wrap;
229
+ justify-content: flex-start;
230
+ }
231
+ .hero-body .container .buttons-hero .button {
232
+ float: none;
233
+ }
234
+
235
+ //// Hero top-pages with green box
236
+ .toppage .hero-body {
237
+ background-color: $light !important;
238
+ }
239
+
240
+ .glossary {
241
+ text-align: center;
177
242
  }
178
243
 
179
244
  // Content
245
+ #main .columns {
246
+ width: 100%;
247
+ }
180
248
  .subtitle {
181
249
  padding: 50px;
182
250
  }
183
251
 
252
+ .post h3 {
253
+ font-weight: 600;
254
+ padding-top: 2rem;
255
+ }
184
256
  .card {
185
257
  // margin-left: 3rem;
186
258
  // margin-right: 3rem;
@@ -214,6 +286,7 @@ img.is-rounded {
214
286
  .card-image:first-child img {
215
287
  border-top-left-radius: 65px;
216
288
  border-top-right-radius: 65px;
289
+ max-height: 100vh;
217
290
  }
218
291
 
219
292
  .card-content {
@@ -231,6 +304,7 @@ img.is-rounded {
231
304
  .card-image:last-child img {
232
305
  border-bottom-left-radius: 65px;
233
306
  border-bottom-right-radius: 65px;
307
+ max-height: 100vh;
234
308
  }
235
309
 
236
310
  .story-card {
@@ -314,12 +388,80 @@ img.is-rounded {
314
388
  border: 0px !important;
315
389
  box-shadow: none !important;
316
390
  }
391
+ .slider-navigation-previous img,
392
+ .slider-navigation-next img {
393
+ border-radius: 0%;
394
+ }
395
+
396
+ //highlighter
397
+ .highlighter {
398
+ background-color: $light;
399
+ border-radius: 65px;
400
+ padding: 75px;
401
+ font-size: 1.4rem;
402
+ }
403
+
404
+ .min-height25p {
405
+ min-height: 25vw;
406
+ }
407
+
408
+ .highlighter h1 {
409
+ text-align: left;
410
+ padding-top: 0;
411
+ }
412
+ .highlighter h2 {
413
+ padding-top: 0;
414
+ font-size: 2rem;
415
+ font-weight: 600;
416
+ }
417
+ .two-columns p {
418
+ column-count: 2;
419
+ column-gap: 5rem;
420
+ }
421
+
422
+ .highlighter .button {
423
+ float: right;
424
+ }
425
+
426
+ .highlighter img {
427
+ border-radius: 0;
428
+ height: auto;
429
+ width: 50%;
430
+ float: right;
431
+ padding-left: 5rem;
432
+ padding-right: 5rem;
433
+ }
434
+ .highlighter .column {
435
+ margin-right: 4rem;
436
+ padding-top: 2rem;
437
+ padding-bottom: 2rem;
438
+ }
439
+
440
+ .highlighter .is-round {
441
+ display: flex;
442
+ background-color: white;
443
+ border-radius: 1000px;
444
+ padding: 3rem;
445
+ float: none;
446
+ overflow: hidden;
447
+ height: 300px;
448
+ width: 300px;
449
+ }
450
+ .highlighter .is-round img {
451
+ background-color: white;
452
+ padding-left: 0;
453
+ padding-right: 0;
454
+ height: auto;
455
+ width: auto;
456
+ }
457
+
317
458
  // Footer
318
459
 
319
460
  .footer {
320
461
  font-size: 0.75rem;
321
462
  margin-top: 5rem;
322
463
  line-height: 1rem;
464
+ padding-top: 0;
323
465
  }
324
466
  .footer img.column {
325
467
  padding: 0 !important;
@@ -339,6 +481,14 @@ footer .columns {
339
481
  margin-left: auto;
340
482
  margin-right: auto;
341
483
  font-size: 0.75rem;
484
+ padding-top: 2em;
485
+ padding-bottom: 2em;
486
+ }
487
+ .footer .footer-nav {
488
+ padding-top: 0;
489
+ }
490
+ .footer .footer-nav .column {
491
+ padding-left: 0;
342
492
  }
343
493
  .footer-logos .column {
344
494
  flex-basis: auto;
@@ -383,3 +533,111 @@ footer .columns {
383
533
  text-align: left !important;
384
534
  }
385
535
  }
536
+
537
+ // Tool-Tip
538
+
539
+ a:hover .tooltip-popup {
540
+ visibility: visible;
541
+ display: block;
542
+ }
543
+ .tooltip-popup {
544
+ position: relative;
545
+ width: 20vw;
546
+ visibility: hidden;
547
+ display: none;
548
+ background: $light;
549
+ border-radius: 65px;
550
+ }
551
+
552
+ // Contect
553
+
554
+ .input,
555
+ .textarea,
556
+ #thema {
557
+ border: 3px solid $primary-dark;
558
+ border-radius: 45px;
559
+ padding-left: 2.5em;
560
+ padding-right: 2.5em;
561
+ }
562
+ .input,
563
+ #thema {
564
+ height: 2.75em;
565
+ }
566
+
567
+ .textarea {
568
+ padding-left: 2.5em;
569
+ padding-top: 1.5em;
570
+ min-height: 13.5em !important;
571
+ }
572
+ .label {
573
+ color: $primary-dark;
574
+ font-weight: 600;
575
+ padding-left: 1rem;
576
+ margin-bottom: 0 !important;
577
+ }
578
+ .contact .column {
579
+ padding: 5rem;
580
+ padding-left: 0;
581
+ }
582
+ .select:not(.is-multiple):not(.is-loading)::after {
583
+ border-color: $primary-dark;
584
+ right: 2.3em;
585
+ z-index: 4;
586
+ }
587
+ .contact .control.has-icons-left .icon.is-left {
588
+ left: 5px;
589
+ top: 2px;
590
+ }
591
+ .contact .button {
592
+ float: right;
593
+ }
594
+
595
+ // newss
596
+ .news {
597
+ box-shadow: none;
598
+ }
599
+ .news-item {
600
+ margin-left: 5%;
601
+ margin-right: 5%;
602
+ }
603
+ .news-container .card-content .content {
604
+ margin: 50px;
605
+ }
606
+ .story-news {
607
+ background-color: $light;
608
+ border-bottom-left-radius: 65px !important;
609
+ border-bottom-right-radius: 65px !important;
610
+ border-top-left-radius: 65px !important;
611
+ border-top-right-radius: 65px !important;
612
+ }
613
+ .news-slider .button {
614
+ float: right;
615
+ }
616
+ .column.news-image {
617
+ padding: 0;
618
+ }
619
+ .column.news-image .image {
620
+ height: 100%;
621
+ }
622
+ .column.news-image img {
623
+ border-top-right-radius: 0 !important;
624
+ border-bottom-right-radius: 0 !important;
625
+ height: 100%;
626
+ object-fit: cover;
627
+ }
628
+ .column.news-content {
629
+ padding: 3em;
630
+ }
631
+ .news-content h2 {
632
+ margin-bottom: 2rem;
633
+ padding-top: 0;
634
+ }
635
+ .news-content h4 {
636
+ font-size: 0.75rem;
637
+ letter-spacing: 0.3rem;
638
+ }
639
+ .news-content {
640
+ width: 100%;
641
+ display: flow-root;
642
+ margin: auto;
643
+ }
data/_sass/_main.scss CHANGED
@@ -17,26 +17,39 @@ $dark: #09443e;
17
17
  @import "../node_modules/bulma/bulma.sass";
18
18
  // Extensions
19
19
  @import "../node_modules/bulma-block-list/src/block-list.scss";
20
+ @import "../node_modules/@creativebulma/bulma-tooltip/src/sass/index.sass";
20
21
  // Bulma Config
21
22
  $column-gap: 1rem;
22
23
  $modal-content-width: 800px;
23
24
  $tabs-link-active-color: $primary;
24
25
  $tabs-link-active-border-bottom-color: $primary;
25
26
  // Global
27
+ html {
28
+ scroll-behavior: smooth;
29
+ }
26
30
  body {
27
31
  font-size: 1.5rem;
28
32
  line-height: 2.25rem;
29
33
  }
30
34
 
31
- h1, h2, h3, p {
32
- padding-bottom:30px;
35
+ h1,
36
+ h2,
37
+ h3,
38
+ p {
39
+ padding-bottom: 30px;
33
40
  }
34
- h1, h2{
35
- padding-top:90px;
41
+ h1,
42
+ h2 {
43
+ padding-top: 90px;
36
44
  }
37
45
 
38
- .card h1, .card h2, .card p, .slider h1, .slider h2, .slider p {
39
- padding-top:0;
46
+ .card h1,
47
+ .card h2,
48
+ .card p,
49
+ .slider h1,
50
+ .slider h2,
51
+ .slider p {
52
+ padding-top: 0;
40
53
  padding-bottom: 0;
41
54
  }
42
55
 
@@ -49,7 +62,7 @@ h1 p {
49
62
  }
50
63
 
51
64
  .green h1,
52
- .green h1 p{
65
+ .green h1 p {
53
66
  text-align: left;
54
67
  }
55
68
 
@@ -64,7 +77,9 @@ h2 p {
64
77
  }
65
78
 
66
79
  h3 {
67
- font-size: 1.17rem;
80
+ font-weight: 600;
81
+ font-size: 1.7rem;
82
+ padding-top: 50px;
68
83
  }
69
84
 
70
85
  h4 {
Binary file
Binary file
Binary file
Binary file
Binary file
data/assets/js/main.js CHANGED
@@ -6,4 +6,45 @@ const carousels = bulmaCarousel.attach('.carousel',{
6
6
  icons: {
7
7
  'previous': `<img src="../assets/img/arrow-left.png"></img>`,
8
8
  'next': `<img src="../assets/img/arrow-left.png" style="transform: rotate(180deg);"></img>`}
9
- });
9
+ });
10
+
11
+ var scrollUpArrow= document.getElementById("scroll-up");
12
+ var scrollDownArrow= document.getElementById("scroll-down");
13
+ var scrollStep=10,
14
+ scrollTimer=null
15
+
16
+ scrollUpArrow.addEventListener("mouseenter", function(evt){
17
+ scroll(-scrollStep)
18
+ })
19
+ scrollUpArrow.addEventListener("mouseleave", function(evt){
20
+ if(scrollTimer!=null)clearTimeout(scrollTimer);
21
+ })
22
+ scrollDownArrow.addEventListener("mouseleave", function(evt){
23
+ if(scrollTimer!=null)clearTimeout(scrollTimer);
24
+ })
25
+ scrollDownArrow.addEventListener("mouseenter", function(evt){
26
+ scroll(scrollStep)
27
+ })
28
+ function scroll(yDisplacement){
29
+ if(scrollTimer!=null)clearTimeout(scrollTimer);
30
+
31
+ scrollTimer = setTimeout(function(){
32
+ window.scroll({
33
+ top:window.scrollY+yDisplacement,
34
+ left:0,
35
+ behavior: 'smooth'
36
+ })
37
+ scroll(yDisplacement)
38
+ }, 50);
39
+ }
40
+
41
+ window.onscroll = function(ev) {
42
+ if ((window.innerHeight + window.scrollY) >= document.body.offsetHeight) {
43
+ scrollDownArrow.classList.add("is-hidden");
44
+ }else if(window.pageYOffset === 0){
45
+ scrollUpArrow.classList.add("is-hidden");
46
+ }else{
47
+ scrollDownArrow.classList.remove("is-hidden");
48
+ scrollUpArrow.classList.remove("is-hidden");
49
+ }
50
+ };
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Simple-Jekyll-Search
3
+ * Copyright 2015-2020, Christian Fei
4
+ * Licensed under the MIT License.
5
+ */
6
+ !function(){"use strict";var f={compile:function(r){return i.template.replace(i.pattern,function(t,e){var n=i.middleware(e,r[e],i.template);return void 0!==n?n:r[e]||t})},setOptions:function(t){i.pattern=t.pattern||i.pattern,i.template=t.template||i.template,"function"==typeof t.middleware&&(i.middleware=t.middleware)}};const i={pattern:/\{(.*?)\}/g,template:"",middleware:function(){}};var n=function(t,e){var n=e.length,r=t.length;if(n<r)return!1;if(r===n)return t===e;t:for(var i=0,o=0;i<r;i++){for(var u=t.charCodeAt(i);o<n;)if(e.charCodeAt(o++)===u)continue t;return!1}return!0},e=new function(){this.matches=function(t,e){return n(e.toLowerCase(),t.toLowerCase())}},r=new function(){this.matches=function(e,t){return!!e&&(e=e.trim().toLowerCase(),(t=t.trim().toLowerCase()).split(" ").filter(function(t){return 0<=e.indexOf(t)}).length===t.split(" ").length)}},d={put:function(t){if(l(t))return a(t);if(function(t){return Boolean(t)&&"[object Array]"===Object.prototype.toString.call(t)}(t))return function(n){const r=[];s();for(let t=0,e=n.length;t<e;t++)l(n[t])&&r.push(a(n[t]));return r}(t);return undefined},clear:s,search:function(t){return t?function(e,n,r,i){const o=[];for(let t=0;t<e.length&&o.length<i.limit;t++){var u=function(t,e,n,r){for(const i in t)if(!function(n,r){for(let t=0,e=r.length;t<e;t++){var i=r[t];if(new RegExp(i).test(n))return!0}return!1}(t[i],r.exclude)&&n.matches(t[i],e))return t}(e[t],n,r,i);u&&o.push(u)}return o}(u,t,c.searchStrategy,c).sort(c.sort):[]},setOptions:function(t){c=t||{},c.fuzzy=t.fuzzy||!1,c.limit=t.limit||10,c.searchStrategy=t.fuzzy?e:r,c.sort=t.sort||o,c.exclude=t.exclude||[]}};function o(){return 0}const u=[];let c={};function s(){return u.length=0,u}function l(t){return Boolean(t)&&"[object Object]"===Object.prototype.toString.call(t)}function a(t){return u.push(t),u}c.fuzzy=!1,c.limit=10,c.searchStrategy=c.fuzzy?e:r,c.sort=o,c.exclude=[];var p={load:function(t,e){const n=window.XMLHttpRequest?new window.XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");n.open("GET",t,!0),n.onreadystatechange=h(n,e),n.send()}};function h(e,n){return function(){if(4===e.readyState&&200===e.status)try{n(null,JSON.parse(e.responseText))}catch(t){n(t,null)}}}var m=function y(t){if(!(e=t)||!("undefined"!=typeof e.required&&e.required instanceof Array))throw new Error("-- OptionsValidator: required options missing");var e;if(!(this instanceof y))return new y(t);const r=t.required;this.getRequiredOptions=function(){return r},this.validate=function(e){const n=[];return r.forEach(function(t){"undefined"==typeof e[t]&&n.push(t)}),n}},w={merge:function(t,e){const n={};for(const r in t)n[r]=t[r],"undefined"!=typeof e[r]&&(n[r]=e[r]);return n},isJSON:function(t){try{return t instanceof Object&&JSON.parse(JSON.stringify(t))?!0:!1}catch(e){return!1}}};!function(t){let i={searchInput:null,resultsContainer:null,json:[],success:Function.prototype,searchResultTemplate:'<li><a href="{url}" title="{desc}">{title}</a></li>',templateMiddleware:Function.prototype,sortMiddleware:function(){return 0},noResultsText:"No results found",limit:10,fuzzy:!1,debounceTime:null,exclude:[]},n;const e=function(t,e){e?(clearTimeout(n),n=setTimeout(t,e)):t.call()};var r=["searchInput","resultsContainer","json"];const o=m({required:r});function u(t){d.put(t),i.searchInput.addEventListener("input",function(t){-1===[13,16,20,37,38,39,40,91].indexOf(t.which)&&(c(),e(function(){l(t.target.value)},i.debounceTime))})}function c(){i.resultsContainer.innerHTML=""}function s(t){i.resultsContainer.innerHTML+=t}function l(t){var e;(e=t)&&0<e.length&&(c(),function(e,n){var r=e.length;if(0===r)return s(i.noResultsText);for(let t=0;t<r;t++)e[t].query=n,s(f.compile(e[t]))}(d.search(t),t))}function a(t){throw new Error("SimpleJekyllSearch --- "+t)}t.SimpleJekyllSearch=function(t){var n;0<o.validate(t).length&&a("You must specify the following required options: "+r),i=w.merge(i,t),f.setOptions({template:i.searchResultTemplate,middleware:i.templateMiddleware}),d.setOptions({fuzzy:i.fuzzy,limit:i.limit,sort:i.sortMiddleware,exclude:i.exclude}),w.isJSON(i.json)?u(i.json):(n=i.json,p.load(n,function(t,e){t&&a("failed to get JSON ("+n+")"),u(e)}));t={search:l};return"function"==typeof i.success&&i.success.call(t),t}}(window)}();
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020 CreativeBulma
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,34 @@
1
+ # Introduction
2
+ This components has been developped as a [Bulma](https://bulma.io) extension and brings the ability to **easily display a tooltip attached to any kind of element, in different position**.
3
+
4
+ [![npm](https://img.shields.io/npm/v/@creativebulma/bulma-tooltip.svg)](https://www.npmjs.com/package/@creativebulma/bulma-tooltip)
5
+ [![npm](https://img.shields.io/npm/dm/@creativebulma/bulma-tooltip.svg)](https://www.npmjs.com/package/@creativebulma/bulma-tooltip)
6
+ [![](https://data.jsdelivr.com/v1/package/npm/@creativebulma/bulma-tooltip/badge)](https://www.jsdelivr.com/package/npm/@creativebulma/bulma-tooltip)
7
+
8
+ ---
9
+
10
+ ## Prerequisites
11
+ This component extends [Bulma CSS Framework](https://bulma.io) and requires it to work.
12
+
13
+ ## Get Started
14
+ ```shell
15
+ npm i -D @creativebulma/bulma-tooltip
16
+ ```
17
+ Full installation steps can be found here: [installation steps](https://demo.creativebulma.net/components/tooltip/1.2/get-started)
18
+
19
+ ## Documentation & Demo
20
+ Full documentation and demo are available [here](https://demo.creativebulma.net/components/tooltip/1.2/get-started)
21
+
22
+ ## About the project
23
+ BulmaBoilerplate is © 2020 by [CreativeBulma](https://creativebulma.net).
24
+
25
+ **If you enjoy this component, have a look at our [MarketPlace](https://creativebulma.net) and discover Free and Premium Bulma components and Templates.**
26
+
27
+ ## License
28
+ BulmaBoilerplate is distributed under [MIT](https://github.com/CreativeBulma/bulma-tooltip/blob/master/LICENSE) license.
29
+
30
+ ## Contributing
31
+ **Contribution are welcome!**
32
+ You found a bug, a typo issue ? Feel free to create a PR on the [github repository](https://github.com/CreativeBulma/bulma-tooltip/) of this project.
33
+
34
+ When contributing to this project, please first discuss the change you wish to make via issue on the [github repository](https://github.com/CreativeBulma/bulma-tooltip/issues), email, or any other method with the owners of this project before making a change.