intia-theme 0.1.4 → 0.1.8

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 +263 -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
@@ -60,8 +60,15 @@ div.highlight {
60
60
  padding-right: 5%;
61
61
  padding-bottom: 5%;
62
62
  border-radius: 65px;
63
+ margin-top: 3em;
63
64
  }
64
- .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;
65
72
  }
66
73
  // Globals
67
74
  img.is-rounded {
@@ -69,11 +76,28 @@ img.is-rounded {
69
76
  }
70
77
  .arrow-image {
71
78
  z-index: 10;
72
- position: relative;
73
- bottom: -90px;
79
+ top: calc(50% - 68px);
80
+ position: sticky;
74
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;
75
100
  }
76
-
77
101
  .clear {
78
102
  clear: both;
79
103
  display: block;
@@ -82,12 +106,13 @@ img.is-rounded {
82
106
 
83
107
  // Buttons - Mybe global in Buttons und raus damit?
84
108
  .button.is-dark {
85
- background-color: #229387;
109
+ background-color: $primary-dark;
86
110
  }
87
111
 
88
112
  // Navi
89
113
  .navbar {
90
114
  padding-top: 0.6rem;
115
+ padding-bottom: 2.6rem;
91
116
  }
92
117
 
93
118
  .navbar.is-primary .navbar-dropdown a.navbar-item.is-active {
@@ -138,6 +163,9 @@ img.is-rounded {
138
163
  .hero-body {
139
164
  background-color: white;
140
165
  }
166
+ .home .hero-body h1 {
167
+ max-width: 60%;
168
+ }
141
169
  .hero.is-large .hero-body {
142
170
  padding-bottom: 12rem;
143
171
  }
@@ -145,6 +173,13 @@ img.is-rounded {
145
173
  .hero-body img {
146
174
  float: right;
147
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;
148
183
  }
149
184
  .hero {
150
185
  display: block;
@@ -154,7 +189,7 @@ img.is-rounded {
154
189
  padding-top: 70px;
155
190
  }
156
191
  .hero.is-medium .hero-body {
157
- padding: 13rem 9rem 4.5rem;
192
+ padding: 10rem 9rem 4.5rem;
158
193
  }
159
194
 
160
195
  .hero-body .button,
@@ -172,14 +207,52 @@ img.is-rounded {
172
207
  //// Hero sub-pages with green text
173
208
  .subpage h1,
174
209
  .subpage p {
175
- 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;
176
242
  }
177
243
 
178
244
  // Content
245
+ #main .columns {
246
+ width: 100%;
247
+ }
179
248
  .subtitle {
180
249
  padding: 50px;
181
250
  }
182
251
 
252
+ .post h3 {
253
+ font-weight: 600;
254
+ padding-top: 2rem;
255
+ }
183
256
  .card {
184
257
  // margin-left: 3rem;
185
258
  // margin-right: 3rem;
@@ -313,12 +386,80 @@ img.is-rounded {
313
386
  border: 0px !important;
314
387
  box-shadow: none !important;
315
388
  }
389
+ .slider-navigation-previous img,
390
+ .slider-navigation-next img {
391
+ border-radius: 0%;
392
+ }
393
+
394
+ //highlighter
395
+ .highlighter {
396
+ background-color: $light;
397
+ border-radius: 65px;
398
+ padding: 75px;
399
+ font-size: 1.4rem;
400
+ }
401
+
402
+ .min-height25p {
403
+ min-height: 25vw;
404
+ }
405
+
406
+ .highlighter h1 {
407
+ text-align: left;
408
+ padding-top: 0;
409
+ }
410
+ .highlighter h2 {
411
+ padding-top: 0;
412
+ font-size: 2rem;
413
+ font-weight: 600;
414
+ }
415
+ .two-columns p {
416
+ column-count: 2;
417
+ column-gap: 5rem;
418
+ }
419
+
420
+ .highlighter .button {
421
+ float: right;
422
+ }
423
+
424
+ .highlighter img {
425
+ border-radius: 0;
426
+ height: auto;
427
+ width: 50%;
428
+ float: right;
429
+ padding-left: 5rem;
430
+ padding-right: 5rem;
431
+ }
432
+ .highlighter .column {
433
+ margin-right: 4rem;
434
+ padding-top: 2rem;
435
+ padding-bottom: 2rem;
436
+ }
437
+
438
+ .highlighter .is-round {
439
+ display: flex;
440
+ background-color: white;
441
+ border-radius: 1000px;
442
+ padding: 3rem;
443
+ float: none;
444
+ overflow: hidden;
445
+ height: 300px;
446
+ width: 300px;
447
+ }
448
+ .highlighter .is-round img {
449
+ background-color: white;
450
+ padding-left: 0;
451
+ padding-right: 0;
452
+ height: auto;
453
+ width: auto;
454
+ }
455
+
316
456
  // Footer
317
457
 
318
458
  .footer {
319
459
  font-size: 0.75rem;
320
460
  margin-top: 5rem;
321
461
  line-height: 1rem;
462
+ padding-top: 0;
322
463
  }
323
464
  .footer img.column {
324
465
  padding: 0 !important;
@@ -338,6 +479,14 @@ footer .columns {
338
479
  margin-left: auto;
339
480
  margin-right: auto;
340
481
  font-size: 0.75rem;
482
+ padding-top: 2em;
483
+ padding-bottom: 2em;
484
+ }
485
+ .footer .footer-nav {
486
+ padding-top: 0;
487
+ }
488
+ .footer .footer-nav .column {
489
+ padding-left: 0;
341
490
  }
342
491
  .footer-logos .column {
343
492
  flex-basis: auto;
@@ -382,3 +531,110 @@ footer .columns {
382
531
  text-align: left !important;
383
532
  }
384
533
  }
534
+
535
+ // Tool-Tip
536
+
537
+ a:hover .tooltip-popup {
538
+ visibility: visible;
539
+ display: block;
540
+ }
541
+ .tooltip-popup {
542
+ position: relative;
543
+ width: 20vw;
544
+ visibility: hidden;
545
+ display: none;
546
+ background: $light;
547
+ border-radius: 65px;
548
+ }
549
+
550
+ // Contect
551
+
552
+ .input, .textarea, #thema {
553
+ border: 3px solid $primary-dark;
554
+ border-radius: 45px;
555
+ padding-left: 2.5em;
556
+ padding-right: 2.5em;
557
+ }
558
+ .input, #thema {
559
+ height: 2.75em;
560
+ }
561
+
562
+ .textarea {
563
+ padding-left: 2.5em;
564
+ padding-top: 1.5em;
565
+ min-height: 13.5em !important;
566
+ }
567
+ .label {
568
+ color: $primary-dark;
569
+ font-weight: 600;
570
+ padding-left: 1rem;
571
+ margin-bottom: 0 !important;
572
+ }
573
+ .contact .column {
574
+ padding: 5rem;
575
+ padding-left: 0;
576
+ }
577
+ .select:not(.is-multiple):not(.is-loading)::after {
578
+ border-color: $primary-dark;
579
+ right: 2.3em;
580
+ z-index: 4;
581
+ }
582
+ .contact .control.has-icons-left .icon.is-left {
583
+ left: 5px;
584
+ top: 2px;
585
+ }
586
+ .contact .button {
587
+ float: right;
588
+ }
589
+
590
+
591
+
592
+ // newss
593
+ .news {
594
+ box-shadow: none;
595
+ }
596
+ .news-item {
597
+ margin-left: 5%;
598
+ margin-right: 5%;
599
+ }
600
+ .news-container .card-content .content {
601
+ margin: 50px;
602
+ }
603
+ .story-news {
604
+ background-color: $light;
605
+ border-bottom-left-radius: 65px !important;
606
+ border-bottom-right-radius: 65px !important;
607
+ border-top-left-radius: 65px !important;
608
+ border-top-right-radius: 65px !important;
609
+ }
610
+ .news-slider .button {
611
+ float: right;
612
+ }
613
+ .column.news-image {
614
+ padding: 0;
615
+ }
616
+ .column.news-image .image {
617
+ height: 100%;
618
+ }
619
+ .column.news-image img {
620
+ border-top-right-radius: 0 !important;
621
+ border-bottom-right-radius: 0 !important;
622
+ height: 100%;
623
+ object-fit: cover;
624
+ }
625
+ .column.news-content {
626
+ padding: 3em;
627
+ }
628
+ .news-content h2 {
629
+ margin-bottom: 2rem;
630
+ padding-top: 0;
631
+ }
632
+ .news-content h4 {
633
+ font-size: 0.75rem;
634
+ letter-spacing: 0.3rem;
635
+ }
636
+ .news-content {
637
+ width: 100%;
638
+ display: flow-root;
639
+ margin: auto;
640
+ }
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.