intia-theme 0.1.3 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/contact.html +70 -0
  3. data/_includes/footer.html +1 -1
  4. data/_includes/hero.html +5 -4
  5. data/_includes/story-slider.html +1 -2
  6. data/_layouts/default.html +7 -3
  7. data/_sass/_layout.scss +199 -15
  8. data/_sass/_main.scss +20 -7
  9. data/assets/img/arrow-down.png +0 -0
  10. data/assets/img/logo-green-white.png +0 -0
  11. data/assets/img/logo-short-green.png +0 -0
  12. data/assets/img/logo-short.png +0 -0
  13. data/assets/js/main.js +42 -1
  14. data/assets/templates/contact.png +0 -0
  15. data/assets/templates/glossary-abstract.png +0 -0
  16. data/assets/templates/glossary-full-entry.png +0 -0
  17. data/assets/templates/header-a.png +0 -0
  18. data/assets/templates/header-b.png +0 -0
  19. data/assets/templates/header-c.png +0 -0
  20. data/assets/templates/header-glossary.png +0 -0
  21. data/assets/templates/highlighter-a.png +0 -0
  22. data/assets/templates/highlighter-b.png +0 -0
  23. data/assets/templates/highlighter-c.png +0 -0
  24. data/assets/templates/highlighter-d.png +0 -0
  25. data/assets/templates/left-right-blocks.png +0 -0
  26. data/assets/templates/methods-filter.png +0 -0
  27. data/assets/templates/stories-a.png +0 -0
  28. data/assets/templates/stories-b.png +0 -0
  29. data/assets/templates/stories-teaser.png +0 -0
  30. data/assets/templates/textblock-highlight.png +0 -0
  31. data/assets/templates/textblock-with-image.png +0 -0
  32. data/assets/templates/textblock.png +0 -0
  33. data/assets/templates/tooltip.png +0 -0
  34. data/node_modules/@creativebulma/bulma-tooltip/LICENSE +21 -0
  35. data/node_modules/@creativebulma/bulma-tooltip/README.md +34 -0
  36. data/node_modules/@creativebulma/bulma-tooltip/dist/bulma-tooltip.css +1919 -0
  37. data/node_modules/@creativebulma/bulma-tooltip/dist/bulma-tooltip.min.css +2 -0
  38. data/node_modules/@creativebulma/bulma-tooltip/package.json +104 -0
  39. data/node_modules/@creativebulma/bulma-tooltip/src/docs/archetypes/default.md +6 -0
  40. data/node_modules/@creativebulma/bulma-tooltip/src/docs/config.toml +18 -0
  41. data/node_modules/@creativebulma/bulma-tooltip/src/docs/content/_index.md +27 -0
  42. data/node_modules/@creativebulma/bulma-tooltip/src/docs/content/changelog.md +11 -0
  43. data/node_modules/@creativebulma/bulma-tooltip/src/docs/content/get-started.md +128 -0
  44. data/node_modules/@creativebulma/bulma-tooltip/src/docs/content/how-to/customize.md +48 -0
  45. data/node_modules/@creativebulma/bulma-tooltip/src/docs/content/release/1.0.1.md +11 -0
  46. data/node_modules/@creativebulma/bulma-tooltip/src/docs/content/release/1.0.2.md +13 -0
  47. data/node_modules/@creativebulma/bulma-tooltip/src/docs/content/release/1.1.0.md +13 -0
  48. data/node_modules/@creativebulma/bulma-tooltip/src/docs/content/release/1.2.md +13 -0
  49. data/node_modules/@creativebulma/bulma-tooltip/src/docs/content/release/1.md +13 -0
  50. data/node_modules/@creativebulma/bulma-tooltip/src/docs/data/social.json +7 -0
  51. data/node_modules/@creativebulma/bulma-tooltip/src/docs/data/variables.json +62 -0
  52. data/node_modules/@creativebulma/bulma-tooltip/src/docs/data/versions.json +14 -0
  53. data/node_modules/@creativebulma/bulma-tooltip/src/docs/layouts/partials/head.html +26 -0
  54. data/node_modules/@creativebulma/bulma-tooltip/src/docs/static/css/bulma-tooltip.css +1919 -0
  55. data/node_modules/@creativebulma/bulma-tooltip/src/docs/static/css/bulma-tooltip.min.css +2 -0
  56. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/LICENSE +20 -0
  57. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/archetypes/changelog.md +11 -0
  58. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/archetypes/default.md +2 -0
  59. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/404.html +33 -0
  60. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/_default/_markup/render-link.html +1 -0
  61. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/_default/baseof.html +11 -0
  62. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/_default/list.html +0 -0
  63. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/_default/single.html +25 -0
  64. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/index.html +24 -0
  65. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/partials/footer.html +6 -0
  66. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/partials/head.html +25 -0
  67. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/partials/header.html +0 -0
  68. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/partials/menu.html +33 -0
  69. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/partials/navbar.html +31 -0
  70. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/shortcodes/api.html +71 -0
  71. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/shortcodes/button.html +17 -0
  72. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/shortcodes/changelog.html +13 -0
  73. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/shortcodes/link.html +13 -0
  74. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/shortcodes/notification.html +2 -0
  75. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/shortcodes/options.html +22 -0
  76. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/shortcodes/preview.html +31 -0
  77. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/shortcodes/tab.html +16 -0
  78. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/shortcodes/table.html +21 -0
  79. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/shortcodes/tabs.html +24 -0
  80. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/shortcodes/tag.html +35 -0
  81. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/layouts/shortcodes/variables.html +18 -0
  82. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/static/css/docs.css +375 -0
  83. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/static/images/clippy.svg +1 -0
  84. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/static/js/clipboard.min.js +7 -0
  85. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/static/js/docs.js +79 -0
  86. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/static/js/highlight.pack.js +3 -0
  87. data/node_modules/@creativebulma/bulma-tooltip/src/docs/themes/creativebulma/theme.toml +21 -0
  88. data/node_modules/@creativebulma/bulma-tooltip/src/sass/_animation.sass +4 -0
  89. data/node_modules/@creativebulma/bulma-tooltip/src/sass/_position.sass +124 -0
  90. data/node_modules/@creativebulma/bulma-tooltip/src/sass/_responsiveness.sass +151 -0
  91. data/node_modules/@creativebulma/bulma-tooltip/src/sass/_variables.sass +12 -0
  92. data/node_modules/@creativebulma/bulma-tooltip/src/sass/index.sass +131 -0
  93. data/package-lock.json +6 -0
  94. data/package.json +3 -0
  95. metadata +85 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ee311aee41a62cd387c9c614a126c0656fe27e855f0997972f3670c7606d779e
4
- data.tar.gz: 9bbaf10edc06c16403a87b30fe25f21f3212cb442f9e862d252256f1d82302e4
3
+ metadata.gz: 69feaddac06933818dad03eefdc8c253db949d04dbaa4d9616c28dbfb601847d
4
+ data.tar.gz: a3f0330ef5c58422cd2f7e3ef67bbee2d241588024ee3d1958185a9dfc4ce8e6
5
5
  SHA512:
6
- metadata.gz: ce96af5c0a36eb1157db4c73cfc26ec511176e66bac2496b3ffc5cf7b64a685194713a2e9b448c2b6b6e5a236cad497d29a926a2ecb481729488d5678dfe4514
7
- data.tar.gz: a9d2cec53bfb0a615da9d43f7df1b009da205edcae7c69e143b17fd08e5c919fd58c6cab499bc3e3dd3fd5540e905f2142b4892843f7847718c9784fc8061f45
6
+ metadata.gz: e8f3b4cbd3f656aef54bf1aacc57612c390607a451f2022f87f57af85093f5cd0ca3f7aa2fcfbc54f8bb027505f42b086b2fdb342f3de9d550dbe364d387b567
7
+ data.tar.gz: a0ad607fcebbde4e9dd4e1c96f0eaf203e2789277387621a8029b95b5b012952197850e24e6586a466b208d1d5f6e4d430975d6194b4310264bebaf80a213d73
@@ -0,0 +1,70 @@
1
+ {% if page.contact %}
2
+ <div class="green contact">
3
+ <h1>Write us</h1>
4
+ Lorem ipsum leo risus, porta ac consectetur ac, vestibulum at eros. Donec id elit non mi porta gravida at eget
5
+ metus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Cras mattis
6
+ consectetur purus sit amet fermentum.
7
+ <form action="https://submit-form.com/ujaWfjyi" class="columns">
8
+ <div class="column is-6">
9
+ <div class="field">
10
+ <label class="label">Name</label>
11
+ <div class="control has-icons-left">
12
+ <input class="input" type="text" id="name" name="name" placeholder="Name" required>
13
+ <span class="icon is-small is-left">
14
+ <i class="fas fa-user"></i>
15
+ </span>
16
+ </div>
17
+ </div>
18
+ <div class="field">
19
+ <label class="label">E-Mail</label>
20
+ <div class="control has-icons-left">
21
+ <input class="input" type="email" id="email" name="email" placeholder="E-Mail">
22
+ <span class="icon is-small is-left">
23
+ <i class="fas fa-envelope"></i>
24
+ </span>
25
+ </div>
26
+ </div>
27
+ <div class="field">
28
+ <label class="label">Thema</label>
29
+ <div class="control">
30
+ <div class="select">
31
+ <select id="thema" name="thema">
32
+ <option value="Sonstige">Sonstige</option>
33
+ <option value="Plattform">Plattform</option>
34
+ <option value="Innovationskoffer">Innovationskoffer</option>
35
+ <option value="Methoden">Methoden</option>
36
+ <option value="Prototypen">Prototypen</option>
37
+ <option value="Stories">Stories</option>
38
+ </select>
39
+ </div>
40
+ </div>
41
+ </div>
42
+ </div>
43
+ <div class="column is-6">
44
+ <div class="field">
45
+ <label class="label">Nachricht</label>
46
+ <div class="control">
47
+ <textarea
48
+ class="textarea"
49
+ id="message"
50
+ name="message"
51
+ placeholder="Wie können wir dir helfen?"
52
+ required=""
53
+ ></textarea>
54
+ </div>
55
+ </div>
56
+ <div class="checkbox columns">
57
+ <div class="column is-1">
58
+ <input class="column" type="checkbox" id="agree" name="privacy-policy" value="agreed" required oninvalid="this.setCustomValidity('Bitte dieses Feld anklicken, um fortzufahren')"
59
+ oninput="this.setCustomValidity('')">
60
+ </div>
61
+
62
+ <div class="column">
63
+ <label for="agree">Ich akzeptiere das für die Daten-Erfassung der Dienst Formspark.io genutzt wird. Für nähere Informationen zur Daten-Erfassung <a href="https://formspark.io/legal/privacy-policy/">hier klicken</a>.</label><br><br>
64
+ <button class="button is-rounded is-dark" type="submit">Abschicken</button>
65
+ </div>
66
+ </div>
67
+ </div>
68
+ </form>
69
+ </div>
70
+ {% endif %}
@@ -18,7 +18,7 @@
18
18
  {% if site.data.navigation %}
19
19
  <div class="column ">
20
20
  <div class="title">Site Map</div>
21
- <div class="columns">
21
+ <div class="columns footer-nav">
22
22
  {% for item in site.data.navigation %}
23
23
  <div class="column">
24
24
  <a href="{{ subitem.link | relative_url }} " class="link"><strong>{{ item.name }}</strong></a>
data/_includes/hero.html CHANGED
@@ -1,10 +1,13 @@
1
1
  <section class="hero is-primary is-hidden-print {% if page.hero_height %} {{ page.hero_height }} {% else %} is-medium {% endif %} {% if page.hero_tags %} {{ page.hero_tags }} {% endif %}" {% if page.hero_background_image %} style="background: url('{{ page.hero_background_image }}') no-repeat center center; background-size: cover;" {% endif %}>
2
2
  <div class="hero-body">
3
3
  <div class="container">
4
+ {% if page.title_above %}
5
+ <h1 class="overtitle subtitle is-4">{{ page.title_above }}</h1>
6
+ {% endif %}
7
+ <h1 class="title is-1 {% if page.title_above %} title-with-overtitle {% endif %}">{{ page.title }}</h1>
4
8
  {% if page.hero_image %}
5
9
  <img src="{{page.hero_image}}" alt="placeholder" class="is-rounded is-hidden-mobile">
6
10
  {% endif %}
7
- <h1 class="title is-1">{{ page.title }}</h1>
8
11
  <p class="subtitle is-4">{{ page.subtitle }}</p>
9
12
  {% if page.hero_link %}
10
13
  <a href="{{ page.hero_link | relative_url }}" class="button is-rounded is-dark">
@@ -15,7 +18,5 @@
15
18
  </a>
16
19
  {% endif %}
17
20
  </div>
18
- <img src="../assets/img/arrow-down.png" alt="placeholder" class="arrow-image is-pulled-left is-hidden-mobile">
19
21
  </div>
20
- </section>
21
- <i class="fas {{ section.icon }}"></i>
22
+ </section>
@@ -3,7 +3,7 @@
3
3
  <h1 class="slider-titel">Aktuelles</h1>
4
4
 
5
5
  <div class="carousel">
6
- {% for story in site.posts %}
6
+ {% for story in site.posts limit:5 %}
7
7
  <div class="story-carousel-item">
8
8
  <div class="container">
9
9
  <div class="section">
@@ -36,6 +36,5 @@
36
36
  </div>
37
37
  {% endfor %}
38
38
  </div>
39
- <img src="../assets/img/arrow-down.png" alt="placeholder" class="arrow-image is-pulled-right is-hidden-mobile">
40
39
  </div>
41
40
  {% endif %}
@@ -10,16 +10,20 @@ The Default layout that everything is using
10
10
  {% include head.html %}
11
11
  <body>
12
12
  {% include header.html %}
13
+ <div class="arrow-image is-pulled-left is-hidden-mobile">
14
+ <img id="scroll-up" src="{{ site.baseurl }}/assets/img/arrow-down.png" alt="placeholder">
15
+ <img id="scroll-down" src="{{ site.baseurl }}/assets/img/arrow-down.png" alt="placeholder" class="is-pointed-down">
16
+ </div>
13
17
  {% unless page.hide_hero %}
14
18
  {% include hero.html %}
15
19
  {% else %}
16
-
17
20
  {% endunless %}
18
- <div class="content-wrapper has-background-primary-light">
21
+ <div id="main" class="content-wrapper has-background-primary-light">
19
22
 
20
23
  {% include story-slider.html %}
24
+ {% include contact.html %}
21
25
  <div class="columns is-centered">
22
- <div class="column is-10-desktop is-12-tablet">
26
+ <div id="content" class="column is-10-desktop is-12-tablet">
23
27
  {% include introduction.html %}
24
28
  {% include left-right-blocks.html %}
25
29
  {{content | markdownify}}
data/_sass/_layout.scss CHANGED
@@ -46,17 +46,55 @@ div.highlight {
46
46
  top: 30px;
47
47
  }
48
48
 
49
+ .green {
50
+ background-color: $light;
51
+ padding-left: 5%;
52
+ padding-right: 5%;
53
+ padding-top: 6rem;
54
+ padding-bottom: 8rem;
55
+ }
56
+
57
+ .highlighter {
58
+ background-color: $light;
59
+ padding-left: 5%;
60
+ padding-right: 5%;
61
+ padding-bottom: 5%;
62
+ border-radius: 65px;
63
+ margin-top: 3em;
64
+ }
65
+ .highlighter-image {
66
+ }
67
+
68
+ .overtitle {
69
+ margin-bottom: 0 !important;
70
+ padding-bottom: 0 !important;
71
+ }
72
+ .title-with-overtitle {
73
+ margin-top: 0 !important;
74
+ padding-top: 0.25em !important;
75
+ }
49
76
  // Globals
50
77
  img.is-rounded {
51
78
  border-radius: 65px;
52
79
  }
53
80
  .arrow-image {
54
81
  z-index: 10;
55
- position: relative;
56
- bottom: -90px;
82
+ top: calc(50% - 68px);
83
+ position: sticky;
57
84
  width: 64px;
85
+ cursor: pointer;
86
+ display: flex;
87
+ flex-direction: column;
88
+ }
89
+ .is-pointed-down {
90
+ transform: scaleY(-1);
91
+ }
92
+ .is-hidden {
93
+ visibility: hidden;
94
+ }
95
+ .is-visible {
96
+ visibility: visible;
58
97
  }
59
-
60
98
  .clear {
61
99
  clear: both;
62
100
  display: block;
@@ -65,12 +103,13 @@ img.is-rounded {
65
103
 
66
104
  // Buttons - Mybe global in Buttons und raus damit?
67
105
  .button.is-dark {
68
- background-color: #229387;
106
+ background-color: $primary-dark;
69
107
  }
70
108
 
71
109
  // Navi
72
110
  .navbar {
73
111
  padding-top: 0.6rem;
112
+ padding-bottom: 2.6rem;
74
113
  }
75
114
 
76
115
  .navbar.is-primary .navbar-dropdown a.navbar-item.is-active {
@@ -128,6 +167,8 @@ img.is-rounded {
128
167
  .hero-body img {
129
168
  float: right;
130
169
  margin-left: 200px;
170
+ top: -175px;
171
+ position: inherit;
131
172
  }
132
173
  .hero {
133
174
  display: block;
@@ -137,7 +178,7 @@ img.is-rounded {
137
178
  padding-top: 70px;
138
179
  }
139
180
  .hero.is-medium .hero-body {
140
- padding: 13rem 9rem 4.5rem;
181
+ padding: 10rem 9rem 4.5rem;
141
182
  }
142
183
 
143
184
  .hero-body .button,
@@ -153,12 +194,32 @@ img.is-rounded {
153
194
  text-align: left;
154
195
  }
155
196
  //// Hero sub-pages with green text
156
- .subpage h1, .subpage p {
157
- color: #229387 !important;
197
+ .subpage h1,
198
+ .subpage p {
199
+ color: $primary-dark !important;
200
+ }
201
+ .subpage .hero-body img,
202
+ .toppage .hero-body img {
203
+ float: none;
204
+ margin-left: auto;
205
+ margin-right: auto;
206
+ display: block;
207
+ top: 0;
158
208
  }
159
209
 
210
+ //// Hero top-pages with green box
211
+ .toppage .hero-body {
212
+ background-color: $light !important;
213
+ }
214
+
215
+ .glossary {
216
+ text-align: center;
217
+ }
160
218
 
161
219
  // Content
220
+ #main .columns {
221
+ width: 100%;
222
+ }
162
223
  .subtitle {
163
224
  padding: 50px;
164
225
  }
@@ -231,14 +292,6 @@ img.is-rounded {
231
292
  }
232
293
 
233
294
  // story-slider
234
-
235
- .green {
236
- background-color: #e7f2ea;
237
- padding-left: 5%;
238
- padding-right: 5%;
239
- padding-top: 6rem;
240
- padding-bottom: 8rem;
241
- }
242
295
  .slider {
243
296
  box-shadow: none;
244
297
  }
@@ -304,12 +357,80 @@ img.is-rounded {
304
357
  border: 0px !important;
305
358
  box-shadow: none !important;
306
359
  }
360
+ .slider-navigation-previous img,
361
+ .slider-navigation-next img {
362
+ border-radius: 0%;
363
+ }
364
+
365
+ //highlighter
366
+ .highlighter {
367
+ background-color: $light;
368
+ border-radius: 65px;
369
+ padding: 75px;
370
+ font-size: 1.4rem;
371
+ }
372
+
373
+ .min-height25p {
374
+ min-height: 25vw;
375
+ }
376
+
377
+ .highlighter h1 {
378
+ text-align: left;
379
+ padding-top: 0;
380
+ }
381
+ .highlighter h2 {
382
+ padding-top: 0;
383
+ font-size: 2rem;
384
+ font-weight: 600;
385
+ }
386
+ .two-columns p {
387
+ column-count: 2;
388
+ column-gap: 5rem;
389
+ }
390
+
391
+ .highlighter .button {
392
+ float: right;
393
+ }
394
+
395
+ .highlighter img {
396
+ border-radius: 0;
397
+ height: auto;
398
+ width: 50%;
399
+ float: right;
400
+ padding-left: 5rem;
401
+ padding-right: 5rem;
402
+ }
403
+ .highlighter .column {
404
+ margin-right: 4rem;
405
+ padding-top: 2rem;
406
+ padding-bottom: 2rem;
407
+ }
408
+
409
+ .highlighter .is-round {
410
+ display: flex;
411
+ background-color: white;
412
+ border-radius: 1000px;
413
+ padding: 3rem;
414
+ float: none;
415
+ overflow: hidden;
416
+ height: 300px;
417
+ width: 300px;
418
+ }
419
+ .highlighter .is-round img {
420
+ background-color: white;
421
+ padding-left: 0;
422
+ padding-right: 0;
423
+ height: auto;
424
+ width: auto;
425
+ }
426
+
307
427
  // Footer
308
428
 
309
429
  .footer {
310
430
  font-size: 0.75rem;
311
431
  margin-top: 5rem;
312
432
  line-height: 1rem;
433
+ padding-top: 0;
313
434
  }
314
435
  .footer img.column {
315
436
  padding: 0 !important;
@@ -329,6 +450,14 @@ footer .columns {
329
450
  margin-left: auto;
330
451
  margin-right: auto;
331
452
  font-size: 0.75rem;
453
+ padding-top: 2em;
454
+ padding-bottom: 2em;
455
+ }
456
+ .footer .footer-nav {
457
+ padding-top: 0;
458
+ }
459
+ .footer .footer-nav .column {
460
+ padding-left: 0;
332
461
  }
333
462
  .footer-logos .column {
334
463
  flex-basis: auto;
@@ -373,3 +502,58 @@ footer .columns {
373
502
  text-align: left !important;
374
503
  }
375
504
  }
505
+
506
+ // Tool-Tip
507
+
508
+ a:hover .tooltip-popup {
509
+ visibility: visible;
510
+ display: block;
511
+ }
512
+ .tooltip-popup {
513
+ position: relative;
514
+ width: 20vw;
515
+ visibility: hidden;
516
+ display: none;
517
+ background: $light;
518
+ border-radius: 65px;
519
+ }
520
+
521
+ // Contect
522
+
523
+ .input, .textarea, #thema {
524
+ border: 3px solid $primary-dark;
525
+ border-radius: 45px;
526
+ padding-left: 2.5em;
527
+ padding-right: 2.5em;
528
+ }
529
+ .input, #thema {
530
+ height: 2.75em;
531
+ }
532
+
533
+ .textarea {
534
+ padding-left: 2.5em;
535
+ padding-top: 1.5em;
536
+ min-height: 13.5em !important;
537
+ }
538
+ .label {
539
+ color: $primary-dark;
540
+ font-weight: 600;
541
+ padding-left: 1rem;
542
+ margin-bottom: 0 !important;
543
+ }
544
+ .contact .column {
545
+ padding: 5rem;
546
+ padding-left: 0;
547
+ }
548
+ .select:not(.is-multiple):not(.is-loading)::after {
549
+ border-color: $primary-dark;
550
+ right: 2.3em;
551
+ z-index: 4;
552
+ }
553
+ .contact .control.has-icons-left .icon.is-left {
554
+ left: 5px;
555
+ top: 2px;
556
+ }
557
+ .contact .button {
558
+ float: right;
559
+ }
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
 
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
+ };
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.