intia-theme 0.1.51 → 0.1.52
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/header.html +20 -16
- data/_sass/_icons.scss +8 -0
- data/_sass/_layout.scss +29 -60
- data/assets/img/icons/remove.svg +3 -0
- data/assets/js/main.js +23 -2
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1ab00b94fabf6baf9b4494f85dc6697ee503e586e88c6e45cda41df2092fb803
|
|
4
|
+
data.tar.gz: e59fc45f360b37c9020f302dfd22b34bb52f83c0834cfe9c292f92e50c8f7c07
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e7239a6b15ec22c0f81a0888752e255053dd95ddd1922cbc040223913b55bf29501af4cfd1e6695c457619650623041d89d5556a1b076bd21a6017f232fe80e1
|
|
7
|
+
data.tar.gz: 61cc042ff04102b1cb5f619041e1a004d41edd24811b640a7f2bcf2209ef239294f7264e557fc0e2b6262b0203be0314444942aa684ac4c8e3382aaa1bd061a3
|
data/_includes/header.html
CHANGED
|
@@ -12,7 +12,26 @@
|
|
|
12
12
|
</a>
|
|
13
13
|
</div>
|
|
14
14
|
<div class="navbar-menu" id="navMenu" :class="{ 'is-active': openNav }">
|
|
15
|
-
<div class="navbar-end buttons">
|
|
15
|
+
<div id="SearchOverlay" class="searchbar-overlay navbar-end buttons">
|
|
16
|
+
<div class="navbar-item searchbar">
|
|
17
|
+
<div class="field">
|
|
18
|
+
<div id="search-container" class="control">
|
|
19
|
+
<input class="input search-input" type="text" id="search-input" placeholder="Suchbegriff eintippen">
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
<ul id="results-container" class="search-result-list"></ul>
|
|
23
|
+
</div>
|
|
24
|
+
<div class="navbar-end">
|
|
25
|
+
<div class="navbar-item navbar-search">
|
|
26
|
+
<a id="closeSearch">
|
|
27
|
+
<span class="icon">
|
|
28
|
+
<i class="fa-solid icon-remove"></i>
|
|
29
|
+
</span>
|
|
30
|
+
</a>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
<div id="navmenu" class="navbar-end buttons">
|
|
16
35
|
{% if site.data.navigation %}
|
|
17
36
|
{% for item in site.data.navigation %}
|
|
18
37
|
{% if item.dropdown %}
|
|
@@ -55,7 +74,6 @@
|
|
|
55
74
|
</div>
|
|
56
75
|
</div>
|
|
57
76
|
</nav>
|
|
58
|
-
|
|
59
77
|
{% unless page.hide_beadcrumb %}
|
|
60
78
|
<section class="breadcrumb-section green-version">
|
|
61
79
|
<div class="container breadcrumb-container">
|
|
@@ -91,20 +109,6 @@
|
|
|
91
109
|
{% else %}
|
|
92
110
|
{% endunless %}
|
|
93
111
|
|
|
94
|
-
|
|
95
|
-
<div id="SearchOverlay" class="overlay">
|
|
96
|
-
|
|
97
|
-
<div class="overlay-content">
|
|
98
|
-
|
|
99
|
-
<div class="field">
|
|
100
|
-
<div id="search-container" class="control">
|
|
101
|
-
<input class="input" type="text" id="search-input" placeholder="Suchbegriff eintippen">
|
|
102
|
-
</div>
|
|
103
|
-
</div>
|
|
104
|
-
<span class="closebtn" id="closeSearch" title="Close Overlay">×</span>
|
|
105
|
-
<ul id="results-container"></ul>
|
|
106
|
-
</div>
|
|
107
|
-
</div>
|
|
108
112
|
<!-- Script pointing to search-script.js -->
|
|
109
113
|
<script src="/assets/js/search.js" type="text/javascript"></script>
|
|
110
114
|
|
data/_sass/_icons.scss
CHANGED
|
@@ -19,3 +19,11 @@
|
|
|
19
19
|
height: 32px;
|
|
20
20
|
filter: invert(35%) sepia(93%) saturate(355%) hue-rotate(124deg) brightness(93%) contrast(88%);
|
|
21
21
|
}
|
|
22
|
+
.icon-remove:before {
|
|
23
|
+
@extend .custom-button-icons;
|
|
24
|
+
background: url(/assets/img/icons/remove.svg) no-repeat;
|
|
25
|
+
width: 32px;
|
|
26
|
+
height: 32px;
|
|
27
|
+
filter: invert(35%) sepia(93%) saturate(355%) hue-rotate(124deg) brightness(93%) contrast(88%);
|
|
28
|
+
}
|
|
29
|
+
|
data/_sass/_layout.scss
CHANGED
|
@@ -183,68 +183,36 @@ ul {
|
|
|
183
183
|
padding-top: 0.5rem !important;
|
|
184
184
|
}
|
|
185
185
|
//Search overlay
|
|
186
|
-
.
|
|
187
|
-
|
|
188
|
-
width: 100%;
|
|
189
|
-
display: none;
|
|
190
|
-
position: fixed;
|
|
191
|
-
z-index: 40;
|
|
192
|
-
top: 0;
|
|
193
|
-
left: 0;
|
|
194
|
-
background-color: #1e7d73be;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.overlay-content {
|
|
198
|
-
position: relative;
|
|
199
|
-
top: 46%;
|
|
200
|
-
width: 80%;
|
|
201
|
-
margin-top: 30px;
|
|
202
|
-
margin: auto;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
.overlay .closebtn {
|
|
206
|
-
font-size: 60px;
|
|
207
|
-
cursor: pointer;
|
|
208
|
-
color: white;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.overlay .closebtn:hover {
|
|
212
|
-
color: #ccc;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
.overlay input[type=text] {
|
|
216
|
-
padding: 15px;
|
|
217
|
-
font-size: 17px;
|
|
218
|
-
float: left;
|
|
219
|
-
width: 80%;
|
|
220
|
-
background: white;
|
|
221
|
-
border: 3px solid $primary-dark;
|
|
186
|
+
.searchbar .field{
|
|
187
|
+
margin-bottom: 0;
|
|
222
188
|
}
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
background: #f1f1f1;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
.overlay button {
|
|
229
|
-
float: left;
|
|
230
|
-
width: 20%;
|
|
231
|
-
padding: 15px;
|
|
232
|
-
background: #ddd;
|
|
233
|
-
font-size: 17px;
|
|
234
|
-
border: none;
|
|
235
|
-
cursor: pointer;
|
|
189
|
+
.searchbar-overlay{
|
|
190
|
+
display: none;
|
|
236
191
|
}
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
192
|
+
.searchbar{
|
|
193
|
+
height: 47px;
|
|
194
|
+
width: 800px;
|
|
195
|
+
padding-top: 0 !important;
|
|
240
196
|
}
|
|
241
|
-
|
|
242
197
|
.search-item {
|
|
243
|
-
color:
|
|
198
|
+
color: black;
|
|
244
199
|
}
|
|
245
|
-
.overlay
|
|
200
|
+
.searchbar-overlay ul{
|
|
246
201
|
list-style-type: none;
|
|
247
202
|
}
|
|
203
|
+
.search-result-list {
|
|
204
|
+
display: none;
|
|
205
|
+
background-color: #e7f2ea;
|
|
206
|
+
color: black;
|
|
207
|
+
border-bottom-left-radius: 45px;
|
|
208
|
+
border-bottom-right-radius: 45px;
|
|
209
|
+
border-left: 3px solid #1e7d73;
|
|
210
|
+
border-right: 3px solid #1e7d73;
|
|
211
|
+
border-bottom: 3px solid #1e7d73;
|
|
212
|
+
}
|
|
213
|
+
.search-input:active, .search-input:hover{
|
|
214
|
+
border-color: #1e7d73 !important ;
|
|
215
|
+
}
|
|
248
216
|
|
|
249
217
|
.button.is-dark.has-dropdown:hover .navbar-dropdown,
|
|
250
218
|
.button.is-dark.is-hovered.has-dropdown .navbar-dropdown {
|
|
@@ -399,7 +367,6 @@ a .tooltip-popup {
|
|
|
399
367
|
// Navi
|
|
400
368
|
.navbar {
|
|
401
369
|
padding-top: 0.6rem;
|
|
402
|
-
padding-bottom: 2.6rem;
|
|
403
370
|
}
|
|
404
371
|
|
|
405
372
|
.navbar.is-primary .navbar-dropdown a.navbar-item.is-active {
|
|
@@ -1132,9 +1099,6 @@ div.faq {
|
|
|
1132
1099
|
color: #1e7d73;
|
|
1133
1100
|
cursor: default;
|
|
1134
1101
|
}
|
|
1135
|
-
.navbar {
|
|
1136
|
-
padding-bottom: 2.3rem;
|
|
1137
|
-
}
|
|
1138
1102
|
.hero.is-medium .hero-body {
|
|
1139
1103
|
padding-top: 1rem;
|
|
1140
1104
|
}
|
|
@@ -1222,7 +1186,6 @@ div.faq {
|
|
|
1222
1186
|
}
|
|
1223
1187
|
.navbar {
|
|
1224
1188
|
padding-top: 0.6rem;
|
|
1225
|
-
padding-bottom: 0.6rem;
|
|
1226
1189
|
}
|
|
1227
1190
|
.navbar-brand img {
|
|
1228
1191
|
margin: 1rem;
|
|
@@ -1341,4 +1304,10 @@ div.faq {
|
|
|
1341
1304
|
image-rendering: -webkit-optimize-contrast;
|
|
1342
1305
|
padding-bottom: 15px;
|
|
1343
1306
|
}
|
|
1307
|
+
//Searchbar
|
|
1308
|
+
.searchbar{
|
|
1309
|
+
height: 47px;
|
|
1310
|
+
width: auto;
|
|
1311
|
+
padding-top: 0 !important;
|
|
1312
|
+
}
|
|
1344
1313
|
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48">
|
|
2
|
+
|
|
3
|
+
<g transform="matrix(2,0,0,2,0,0)"><path d="M.44,21.44a1.49,1.49,0,0,0,0,2.12,1.5,1.5,0,0,0,2.12,0l9.26-9.26a.25.25,0,0,1,.36,0l9.26,9.26a1.5,1.5,0,0,0,2.12,0,1.49,1.49,0,0,0,0-2.12L14.3,12.18a.25.25,0,0,1,0-.36l9.26-9.26A1.5,1.5,0,0,0,21.44.44L12.18,9.7a.25.25,0,0,1-.36,0L2.56.44A1.5,1.5,0,0,0,.44,2.56L9.7,11.82a.25.25,0,0,1,0,.36Z" style="fill: #000000"></path></g></svg>
|
data/assets/js/main.js
CHANGED
|
@@ -51,11 +51,32 @@ window.onscroll = function(ev) {
|
|
|
51
51
|
|
|
52
52
|
document.getElementById("openSearch").addEventListener("click", openSearch);
|
|
53
53
|
document.getElementById("closeSearch").addEventListener("click", closeSearch);
|
|
54
|
+
document.getElementById("search-input").addEventListener("input", showsearchresults);
|
|
55
|
+
|
|
56
|
+
var searchOverlay = document.getElementById("SearchOverlay");
|
|
57
|
+
var navmenu = document.getElementById("navmenu");
|
|
58
|
+
var resultsContainer = document.getElementById("results-container");
|
|
59
|
+
var searchInput = document.getElementById("search-input");
|
|
54
60
|
|
|
55
61
|
function openSearch() {
|
|
56
|
-
|
|
62
|
+
searchOverlay.style.display = "flex";
|
|
63
|
+
navmenu.style.display = "none";
|
|
57
64
|
}
|
|
58
65
|
|
|
59
66
|
function closeSearch() {
|
|
60
|
-
|
|
67
|
+
searchOverlay.style.display = "none";
|
|
68
|
+
navmenu.style.display = "flex";
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
function showsearchresults(e) {
|
|
73
|
+
if(e.target.value.length>0){
|
|
74
|
+
resultsContainer.style.display = "block";
|
|
75
|
+
searchInput.style.borderBottomLeftRadius = "0px";
|
|
76
|
+
searchInput.style.borderBottomRightRadius = "0px";
|
|
77
|
+
}else{
|
|
78
|
+
resultsContainer.style.display = "none";
|
|
79
|
+
searchInput.style.borderBottomLeftRadius = "45px";
|
|
80
|
+
searchInput.style.borderBottomRightRadius = "45px";
|
|
81
|
+
}
|
|
61
82
|
}
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: intia-theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.52
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marc Schmidt
|
|
@@ -67,6 +67,7 @@ files:
|
|
|
67
67
|
- assets/img/icons/external.svg
|
|
68
68
|
- assets/img/icons/handshake.svg
|
|
69
69
|
- assets/img/icons/internal.png
|
|
70
|
+
- assets/img/icons/remove.svg
|
|
70
71
|
- assets/img/icons/search.svg
|
|
71
72
|
- assets/img/internal-link.png
|
|
72
73
|
- assets/img/logo-black.png
|