swedbank-pay-design-guide-jekyll-theme 2.1.13 → 2.1.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e00256044e2bcfb1e8557ee85d12c91b34509582663d04b3d7b7ee2df6ffa4af
4
- data.tar.gz: 248fa8d33d8557814c5ecc2a8eb2153657113f7046721ad5299bc5a06bcc0fe5
3
+ metadata.gz: bea02ffe904bba4a0d83bc959716c254270f019db2e9bdafa62d0c4588ed79d0
4
+ data.tar.gz: e8ca0c2770cb388138d273c1bbeea004f55d7a365ff4594d51afa25669f266b9
5
5
  SHA512:
6
- metadata.gz: 41fdd35711d08ef1f2297239172ef6749d18a7dc47ef8e4854e2601768891b497d9a96a360eeef2ba0de50e76047152114f809deba6fdf38ce29cdc9c8c5f581
7
- data.tar.gz: ef20a84c1e13111e323712a4025bd40c325e9ae514044f453d075780b50a0c90c583d61bb78f0ea17c75937f90461e242eff361e1913ca3b96035e0da75156df
6
+ metadata.gz: d632e046539d3d2a4f5f48df9878d243dcc45f732d062d3edbc3b262ec18a8709c649c21bbcb96f96de1dd298b0b55fe67a055a8657269d63ae567cb2ee04d7d
7
+ data.tar.gz: 482e402899cd2db7de794142cb08c76eafe832ad8f2a878d39f25d74166709a383ac8c8854800c71f465136898b5de5d31e915d2644d595c1c10af6fedb9d428
@@ -70,12 +70,12 @@
70
70
  </a>
71
71
  </header>
72
72
  <div class="documentation">
73
- <div class="search-box search-expander">
73
+ <div class="form-group search-box search-expander">
74
74
  {% if site.search.enabled == true %}
75
75
  <form class="search d-flex"
76
76
  method="get" action="{{ site.search.url | relative_url }}">
77
77
  <input name="q" type="text" id="tipue_search_input"
78
- class="search-input"
78
+ class="form-control search-input"
79
79
  placeholder="Search in documentation"
80
80
  onfocus="this.placeholder=''"
81
81
  onblur="this.placeholder='Search in documentation'"
@@ -142,7 +142,6 @@ $front-page-max-width: $breakpoint-lg;
142
142
  margin-bottom: 8rem;
143
143
 
144
144
  .front-page-intro-cards {
145
- position: absolute;
146
145
  left: 0;
147
146
  width: 100%;
148
147
  }
@@ -119,7 +119,7 @@ body {
119
119
  .dg-sidebar {
120
120
  border-right: 1px solid $background-gray;
121
121
 
122
- @media screen and (max-width: $breakpoint-lg){
122
+ @media screen and (max-width: $breakpoint-lg) {
123
123
  position: fixed;
124
124
  }
125
125
 
@@ -134,9 +134,10 @@ body {
134
134
  }
135
135
 
136
136
  .documentation {
137
- @media screen and (max-width: $breakpoint-lg){
137
+ @media screen and (max-width: $breakpoint-lg) {
138
138
  overflow-y: auto;
139
139
  }
140
+
140
141
  > div {
141
142
  &.row {
142
143
  margin-right: 0;
@@ -150,6 +151,7 @@ body {
150
151
  font-size: 1.75rem
151
152
  }
152
153
  }
154
+
153
155
  code[data-processed='true'].language-mermaid {
154
156
  background: none;
155
157
  border: none;
@@ -219,6 +221,11 @@ body {
219
221
  max-width: 880px;
220
222
  }
221
223
 
224
+ .row.card-list > div {
225
+ display: flex;
226
+ align-self: stretch;
227
+ }
228
+
222
229
  .language-mermaid {
223
230
  $apricot: #fbf2ea;
224
231
  $pink: #efb7b6;
@@ -367,7 +374,7 @@ body {
367
374
  top: 2rem;
368
375
  transition: opacity .3s;
369
376
 
370
- @media screen and (max-width: $breakpoint-lg){
377
+ @media screen and (max-width: $breakpoint-lg) {
371
378
  top: 6rem;
372
379
  }
373
380
 
@@ -395,23 +402,42 @@ body {
395
402
  background-color: rgba(0,0,0,0.5); /* Black background with opacity */
396
403
  z-index: 3; /* Specify a stack order in case you're using a different order for other elements */
397
404
  }
398
- }
405
+ }
399
406
 
400
407
  .search-box {
401
408
  position: absolute;
402
409
  right: 8rem;
403
- top: 2rem;
410
+ top: 1.5rem;
404
411
  z-index: 2;
405
412
 
413
+
414
+ .search-input {
415
+ border-top-right-radius: 0;
416
+ border-bottom-right-radius: 0;
417
+ }
418
+
419
+ #search-btn {
420
+ border-top-left-radius: 0;
421
+ border-bottom-left-radius: 0;
422
+ height: 56px;
423
+ }
424
+
406
425
  @media screen and (max-width: $breakpoint-lg) {
407
426
  position: fixed;
408
427
  right: 1rem;
409
- top: 1.5rem;
428
+ top: 1rem;
410
429
  z-index: 401;
411
430
 
412
431
  #tipue_search_input {
413
432
  display: none;
414
433
  }
434
+
435
+ #search-btn {
436
+ border-top-left-radius: 8px;
437
+ border-top-left-radius: var(--border-radius);
438
+ border-bottom-left-radius: 8px;
439
+ border-bottom-left-radius: var(--border-radius);
440
+ }
415
441
  }
416
442
  }
417
443
 
@@ -227,9 +227,12 @@ function _handleSimpleSidebar (e) {
227
227
 
228
228
  searchButton.addEventListener("click", function(e) {
229
229
  const searchInput = document.querySelector(".search-input");
230
+ const searchBtn = document.querySelector("#search-btn");
230
231
 
231
232
  if (searchInput.style.display !== "block") {
232
233
  searchInput.style.display = "block";
234
+ searchBtn.style.borderTopLeftRadius = "0";
235
+ searchBtn.style.borderBottomLeftRadius = "0";
233
236
  searchInput.focus();
234
237
  e.preventDefault();
235
238
  }
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.1.13'
7
+ '2.1.14'
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.1.13
4
+ version: 2.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swedbank Pay
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-24 00:00:00.000000000 Z
11
+ date: 2024-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday