swedbank-pay-design-guide-jekyll-theme 2.6.1 → 2.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 43f30d3e0dbcbb4f245c6b139c5088e377f9b31a7b3fabee50af5f221731e140
4
- data.tar.gz: f3ca2d804cb52e7f7bfe07f170ce39a39bcc12468e71434f7444cf6627f188fa
3
+ metadata.gz: 5139b7dd89db56dad179299ec6cec015bb8fe5b1e39c61836faee0d9fb601684
4
+ data.tar.gz: e470ceff59f60ac7d70662870ad4455853d3c21e1d454a021db43ef9587aa498
5
5
  SHA512:
6
- metadata.gz: 89660adaa6374392391b463406236f7730728c47438dc785978323b6686e81ea4da1ee2348178dc06711709e8e55380a82fe23e01cf97b5ff1f726a59fe451e5
7
- data.tar.gz: b28a9be2d346fb985e8420d69800878742e462f480ec8d68ce9a1db21580c68c829bf107492cd11f932ce6e456ef96fa335f77ab6cc1f541b3af008c72b8ed75
6
+ metadata.gz: 4b696cb70a20ead6259e2330c4940781ea244d460b02825dff78123f6584a4a6cd35c021209956b96b6f3e9bd9e86fb794c2f5af0d399fc8f2bfc1c5af2ce881
7
+ data.tar.gz: '099f4a79c0ce99dcdb8814edde76eba24ff5ec5dd3c6d285f90af97b151aae176e1bfcc7a82002973ed61ee9bb495883572b4cf26b648efa22a3ee874e06d24c'
data/_layouts/search.html CHANGED
@@ -19,6 +19,6 @@ layout: default
19
19
  </button>
20
20
  </form>
21
21
  <p id="search-hint-text" class="hint-text mb-5">Tip: Try using quotes for more precise
22
- results. <code>online payments</code> will give a different result compare to <code>"online payments"</code></p>
22
+ results. <code>online payments</code> will give a different result compared to <code>"online payments"</code>.</p>
23
23
 
24
24
  <div id="tipue_search_content"></div>
@@ -3,19 +3,48 @@
3
3
  nav {
4
4
  display: flex;
5
5
  font-family: Swedbank Headline, Arial, sans-serif;
6
- font-family: var(--brand-headline);
7
6
  justify-content: center;
8
7
  margin: 1rem 0;
9
8
  padding-left: 0;
10
9
 
11
10
  ul {
12
11
  display: flex;
13
- cursor: pointer;
12
+ color: #2f2424;
13
+ margin-top: 0;
14
+ margin-bottom: 0;
15
+ padding-left: 0;
16
+ line-height: 24px;
14
17
 
15
18
  li {
16
19
  border-radius: .125rem;
17
20
  display: flex;
18
21
  margin: .5rem;
22
+ color: #2f2424;
23
+
24
+ a {
25
+ border: 2px solid transparent;
26
+ color: #2f2424;
27
+ cursor: pointer;
28
+ min-width: 1.75rem;
29
+ padding-top: .1rem;
30
+ text-align: center;
31
+ -webkit-text-decoration: none;
32
+ text-decoration: none;
33
+ max-height: 29.6px;
34
+
35
+ &:hover {
36
+ border: 2px solid #2f2424;
37
+ border-radius: .125rem;
38
+ }
39
+ }
40
+
41
+ &.current {
42
+ background-color: #2f2424;
43
+
44
+ a {
45
+ color: white;
46
+ }
47
+ }
19
48
  }
20
49
  }
21
50
  }
@@ -1,4 +1,4 @@
1
- (function($){$.fn.tipuesearch=function(options){var set=$.extend({'contentLocation':'tipuesearch/tipuesearch_content.json','contextBuffer':60,'contextLength':60,'contextStart':90,'debug':false,'descriptiveWords':25,'highlightTerms':true,'liveContent':'*','liveDescription':'*','minimumLength':3,'mode':'static','newWindow':false,'show':9,'showContext':true,'showRelated':true,'showTime':true,'showTitleCount':true,'showURL':true,'wholeWords':true},options);return this.each(function(){var tipuesearch_in={pages:[]};$.ajaxSetup({async:false});var tipuesearch_t_c=0;$('#tipue_search_content').hide().html('<div class="tipue_search_spinner"><div class="tipue_search_rect1"></div><div class="tipue_search_rect2"></div><div class="rect3"></div></div>').show();if(set.mode=='live')
1
+ (function($){$.fn.tipuesearch=function(options){var set=$.extend({'contentLocation':'tipuesearch/tipuesearch_content.json','contextBuffer':60,'contextLength':60,'contextStart':90,'debug':false,'descriptiveWords':25, 'footerPages':10,'highlightTerms':true,'liveContent':'*','liveDescription':'*','minimumLength':3,'mode':'static','newWindow':false,'show':10,'showContext':true,'showRelated':true,'showTime':true,'showTitleCount':true,'showURL':true,'wholeWords':true},options);return this.each(function(){var tipuesearch_in={pages:[]};$.ajaxSetup({async:false});var tipuesearch_t_c=0;$('#tipue_search_content').hide().html('<div class="tipue_search_spinner"><div class="tipue_search_rect1"></div><div class="tipue_search_rect2"></div><div class="rect3"></div></div>').show();if(set.mode=='live')
2
2
  {for(var i=0;i<tipuesearch_pages.length;i++)
3
3
  {$.get(tipuesearch_pages[i]).done(function(html)
4
4
  {var cont=$(set.liveContent,html).text();cont=cont.replace(/\s+/g,' ');var desc=$(set.liveDescription,html).text();desc=desc.replace(/\s+/g,' ');var t_1=html.toLowerCase().indexOf('<title>');var t_2=html.toLowerCase().indexOf('</title>',t_1+7);if(t_1!=-1&&t_2!=-1)
@@ -143,13 +143,14 @@ if(f)
143
143
  {out+='</div>';}}
144
144
  if(c>set.show)
145
145
  {var pages=Math.ceil(c / set.show);var page=(start / set.show);out+='<nav><div id="tipue_search_foot"><ul id="tipue_search_foot_boxes">';if(start>0)
146
- {out+='<li role="navigation"><a class="tipue_search_foot_box" accesskey="b" id="'+(start-set.show)+'_'+replace+'">'+tipuesearch_string_6+'</a></li>';}
146
+ {out+='<li role="navigation"><a class="tipue_search_foot_box" accesskey="b" id="'+(start-set.show)+'_'+replace+'"><i class="swepay-icon-chevron-left" aria-label="back"></i></a></li>';} //tipuesearch_string_6
147
147
  if(page<=2)
148
148
  {var p_b=pages;if(pages>3)
149
149
  {p_b=3;}
150
150
  for(var f=0;f<p_b;f++)
151
151
  {if(f==page)
152
- {out+='<li class="current" role="navigation">'+(f+1)+'</li>';}
152
+ //{out+='<li class="current" role="navigation">'+(f+1)+'</li>';}
153
+ {out+='<li class="current" role="navigation"><a class="tipue_search_foot_box" id="'+(f*set.show)+'_'+replace+'">'+(f+1)+'</a></li>';}
153
154
  else
154
155
  {out+='<li role="navigation"><a class="tipue_search_foot_box" id="'+(f*set.show)+'_'+replace+'">'+(f+1)+'</a></li>';}}}
155
156
  else
@@ -157,11 +158,12 @@ else
157
158
  {p_b=pages;}
158
159
  for(var f=page-1;f<p_b;f++)
159
160
  {if(f==page)
160
- {out+='<li class="current" role="navigation">'+(f+1)+'</li>';}
161
+ //{out+='<li class="current" role="navigation">'+(f+1)+'</li>';}
162
+ {out+='<li class="current" role="navigation"><a class="tipue_search_foot_box" id="'+(f*set.show)+'_'+replace+'">'+(f+1)+'</a></li>';}
161
163
  else
162
164
  {out+='<li role="navigation"><a class="tipue_search_foot_box" id="'+(f*set.show)+'_'+replace+'">'+(f+1)+'</a></li>';}}}
163
165
  if(page+1!=pages)
164
- {out+='<li role="navigation"><a class="tipue_search_foot_box" accesskey="m" id="'+(start+set.show)+'_'+replace+'">'+tipuesearch_string_7+'</a></li>';}
166
+ {out+='<li role="navigation"><a class="tipue_search_foot_box" accesskey="m" id="'+(start+set.show)+'_'+replace+'"><i class="swepay-icon-chevron-right" aria-label="forward"></i></a></li>';} //tipuesearch_string_7
165
167
  out+='</ul></div></nav>';}}
166
168
  else
167
169
  {out+='<div id="tipue_search_warning">'+tipuesearch_string_8+'</div>';}}
@@ -60,7 +60,7 @@ var tipuesearch_string_3 = 'Search instead for';
60
60
  var tipuesearch_string_4 = '1 result';
61
61
  var tipuesearch_string_5 = 'results';
62
62
  var tipuesearch_string_6 = 'Back';
63
- var tipuesearch_string_7 = 'More';
63
+ var tipuesearch_string_7 = 'Next';
64
64
  var tipuesearch_string_8 = 'Nothing found.';
65
65
  var tipuesearch_string_9 = 'Common words are largely ignored.';
66
66
  var tipuesearch_string_10 = 'Search too short';
data/lib/gem_version.rb CHANGED
@@ -4,7 +4,7 @@ module Gem
4
4
  # Gem Specification
5
5
  class Specification
6
6
  def self.gem_version
7
- '2.6.1'
7
+ '2.6.2'
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swedbank-pay-design-guide-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.1
4
+ version: 2.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swedbank Pay
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-02 00:00:00.000000000 Z
11
+ date: 2025-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday