intia-theme 0.1.47 → 0.1.50

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: c9eabd4b44294d2229e76ca1d8cff86e47fedc665a4c545aff32c9a98949e314
4
- data.tar.gz: ed3fb735bbc3fbbd6342c74d0d03e3ed59568071a270332fe8d18f9fd0d58471
3
+ metadata.gz: cec1ea04e1cc6720050be7285b05d244e2058d920be8591f4bf66c8f78142494
4
+ data.tar.gz: d6d7190cdc4e9d53000b6179b68737f7d59750d8e6f8e1f4a41d844b2010fd90
5
5
  SHA512:
6
- metadata.gz: df629b19fc1141e3c9e81ef86b84df095e1ed91801653b229dd794a5b8ee1b77f9bb3061dad62e3a6b9df58961c18d1e33d27498a7f4c1fbd0f9441486fad8ab
7
- data.tar.gz: b4dcfeeb65b2ccf0ec3f4741360ccdfe9957bb0786a7bb50d874a4a8d0c091122e92baca145b0d754d037db3bf16a9bb211ef592a7bfc060ad362797ec2711f2
6
+ metadata.gz: c356fedd81ea2eb43105a3337a6c2f6a2f6bb2113752d01b50e5f73d5796b852e64c14062806df2c6ade7fb75e6c79f82651ef4630ff1f9504ccad92af3f5599
7
+ data.tar.gz: 397dbfd6df6e4db964502498bcaf9368780f2df9290a8c0633b97b4730b07c29c60649fe82ef3000c81473c370a6e40cb6a275014a629f257e5c62508d3d06ab
@@ -3,8 +3,18 @@
3
3
  <span> {{ include.label }} </span>
4
4
 
5
5
  {% unless include.no-icon %}
6
+ {% if include.type == "external" %}
6
7
  <span class="icon is-small">
7
- <i class="fas fa-chevron-right fa-xs"></i>
8
- </span>
8
+ <i class="fas icon-external fa-xs invert"></i>
9
+ </span>
10
+ {% elsif include.type == "download" %}
11
+ <span class="icon is-small">
12
+ <i class="fas icon-download fa-xs invert"></i>
13
+ </span>
14
+ {% else %}
15
+ <span class="icon is-small">
16
+ <i class="fas fa-chevron-right fa-xs"></i>
17
+ </span>
18
+ {% endif %}
9
19
  {% endunless %}
10
20
  </a>
@@ -45,4 +45,39 @@
45
45
  </div>
46
46
  </div>
47
47
  </div>
48
- </nav>
48
+ </nav>
49
+
50
+ {% unless page.hide_beadcrumb %}
51
+ <section class="breadcrumb-section green-version">
52
+ <div class="container breadcrumb-container">
53
+ <nav class="breadcrumb has-arrow-separator" aria-label="breadcrumbs">
54
+ <ul>
55
+ {% assign crumbs = page.url | remove:'/index.html' | split: '/' %}
56
+ <li><a href="/">{{ site.title }}</a></li>
57
+ {% if site.breadcrumb_from_url %}
58
+ {% for crumb in crumbs offset: 1 %}
59
+ {% if forloop.last %}
60
+ <li><a href="#">{{ page.title }}</a></li>
61
+ {% else %}
62
+ <li><a href="{% assign crumb_limit = forloop.index | plus: 1 %}{% for crumb in crumbs limit: crumb_limit %}{{ crumb | append: '/' | replace:'without-plugin/','without-plugins/' }}{% endfor %}">{{ crumb | replace:'-',' ' | remove:'.html' | capitalize }}</a></li>
63
+ {% endif %}
64
+ {% endfor %}
65
+ {% else %}
66
+ {% if page.breadcrumbs %}
67
+ {% for crumb in page.breadcrumbs %}
68
+ <li><a>{{ crumb }}</a></li>
69
+ {% endfor %}
70
+ {% elsif page.title_above %}
71
+ <li><a >{{ page.title_above }}</a></li>
72
+ {% else %}
73
+ {% endif %}
74
+ {% unless crumbs == empty %}
75
+ <li><a href="#">{{ page.title }}</a></li>
76
+ {% endunless %}
77
+ {% endif %}
78
+ </ul>
79
+ </nav>
80
+ </div>
81
+ </section>
82
+ {% else %}
83
+ {% endunless %}
data/_sass/_helper.scss CHANGED
@@ -4,6 +4,9 @@
4
4
  .fas {
5
5
  line-height: 2.25rem !important;
6
6
  }
7
+ .invert{
8
+ filter: invert(100%);
9
+ }
7
10
  .custom-icon {
8
11
  content: "";
9
12
  background: url(https://via.placeholder.com/48x48) no-repeat;
@@ -13,3 +16,13 @@
13
16
  height: 48px;
14
17
  float: left;
15
18
  }
19
+ .custom-button-icons {
20
+ content: "";
21
+ background: url(https://via.placeholder.com/48x48) no-repeat;
22
+ background-position: center center;
23
+ background-size: contain !important;
24
+ display: block;
25
+ width: 15px;
26
+ height: 15px;
27
+ float: left;
28
+ }
data/_sass/_icons.scss CHANGED
@@ -3,3 +3,12 @@
3
3
  @extend .custom-icon;
4
4
  background: url(/assets/img/icons/handshake.svg) no-repeat;
5
5
  }
6
+ .icon-download:before {
7
+ @extend .custom-button-icons;
8
+ background: url(/assets/img/icons/download.svg) no-repeat;
9
+ }
10
+ .icon-external:before {
11
+ @extend .custom-button-icons;
12
+ background: url(/assets/img/icons/external.svg) no-repeat;
13
+ transform: rotate(-90deg);
14
+ }
data/_sass/_layout.scss CHANGED
@@ -1049,6 +1049,52 @@ div.faq {
1049
1049
  padding-bottom: 50px;
1050
1050
  }
1051
1051
 
1052
+ // Breadcrumbs
1053
+ .breadcrumb-section {
1054
+ margin-top: 7.5rem;
1055
+ // position: fixed;
1056
+ // z-index: 29;
1057
+ width: 100%;
1058
+ background-color: white;
1059
+ border-top: 2px solid #1e7d73;
1060
+ border-bottom: 2px solid #1e7d73;
1061
+ }
1062
+ .breadcrumb a {
1063
+ color: #1e7d73;
1064
+ cursor: default;
1065
+ }
1066
+ .navbar {
1067
+ padding-bottom: 2.3rem;
1068
+ }
1069
+ .hero.is-medium .hero-body {
1070
+ padding-top: 1rem;
1071
+ }
1072
+
1073
+ // Green version adopted
1074
+ .breadcrumb-section.green-version {
1075
+ background-color: #e7f2ea;
1076
+ border: 0;
1077
+ }
1078
+ .green-version .breadcrumb a {
1079
+ color: #000;
1080
+ }
1081
+ .green-version .breadcrumb li + li::before {
1082
+ color: #000;
1083
+ }
1084
+
1085
+ // Dark-green adopted
1086
+ // Green version adopted
1087
+ .breadcrumb-section.dark-green-version {
1088
+ background-color: #1e7d73;
1089
+ border: 0;
1090
+ }
1091
+ .dark-green-version .breadcrumb a {
1092
+ color: #ffffff;
1093
+ }
1094
+ .dark-green-version .breadcrumb li + li::before {
1095
+ color: #ffffff;
1096
+ }
1097
+
1052
1098
  // Mobil
1053
1099
 
1054
1100
  @include mobile {
Binary file
@@ -0,0 +1,6 @@
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)"><g>
4
+ <path d="M11.33,14.08a.94.94,0,0,0,1.34,0l9-9A.95.95,0,0,0,21,3.5H19.56a.93.93,0,0,0-.67.28l-6.54,6.53a.48.48,0,0,1-.7,0L5.11,3.78a1,1,0,0,0-.67-.28H3a.95.95,0,0,0-.67,1.61Z" style="fill: #000000"></path>
5
+ <path d="M22.39,17.67H1.61a1.42,1.42,0,1,0,0,2.83H22.39a1.42,1.42,0,1,0,0-2.83Z" style="fill: #000000"></path>
6
+ </g></g></svg>
Binary file
@@ -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="M21.5,4a1.5,1.5,0,0,0-3,0V15.76a.25.25,0,0,1-.15.23.26.26,0,0,1-.28-.05l-13-13A1.5,1.5,0,0,0,2.94,5.06l13,13a.24.24,0,0,1,0,.27.25.25,0,0,1-.23.15H4a1.5,1.5,0,0,0,0,3H19a2.5,2.5,0,0,0,1.78-.74A2.53,2.53,0,0,0,21.5,19Z" style="fill: #000000"></path></g></svg>
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: intia-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.47
4
+ version: 0.1.50
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marc Schmidt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-22 00:00:00.000000000 Z
11
+ date: 2022-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -61,7 +61,12 @@ files:
61
61
  - assets/img/arrow-left.png
62
62
  - assets/img/download_link.png
63
63
  - assets/img/external-link.png
64
+ - assets/img/icons/download.png
65
+ - assets/img/icons/download.svg
66
+ - assets/img/icons/external.png
67
+ - assets/img/icons/external.svg
64
68
  - assets/img/icons/handshake.svg
69
+ - assets/img/icons/internal.png
65
70
  - assets/img/internal-link.png
66
71
  - assets/img/logo-black.png
67
72
  - assets/img/logo-dites.png