jekyll-theme-pirati 5.0.0 → 5.1.0

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: '098d7f56c66c3bd48ad3895ea8b0e07fc9d0653c10d6a3f48ffef8f96aa6aeb9'
4
- data.tar.gz: a11d9628d7c556b9b2ccb5a1eebe1fcb12ff3645944f168942e4a6f617dd9e54
3
+ metadata.gz: fd2aa80e615915940aaa51edc1a7243d2706cde3790637c1dcd27487dbdcf6fc
4
+ data.tar.gz: 7028312acbb65c6d83943ca72170725477509486f32e503526e4383a01e4c2e9
5
5
  SHA512:
6
- metadata.gz: f88efe2087beeef783b7368e0d59a751dadd7356ecbc2f3c5f7bb9e01a006aafc38f27db8eb8b1a760cdd5bfce39cbb7865c36fda8622ccdcbe15b516554adb3
7
- data.tar.gz: dbcba5c4aa2b525dd517bc46efc4b49e7dd214abe369863fc87676d1ab9f24a5732b34b2df71d1ea1279a46a170b3f3df5c6454e7232f4ea81f88e3bdedde284
6
+ metadata.gz: 0f9ff16d2813703a7ec3898594cb5579d0dde744745249f55d31c53b840e72d07db171c4e5f9104863a783627386aead73a52213df88bb804ae7fd8a57478c8b
7
+ data.tar.gz: d09fae5987bab0f1ac149b3733ec657d4ba5a5105c0e776691439f3b29a26b3f7e904fbc3f7d5740dc621642eac122553eb980107831892846dd159a3c59d3ec
@@ -1,4 +1,3 @@
1
- <h2>Sídlo a kontaktní centrum</h2>
2
1
  <div class="o-media">
3
2
  {% if site.organization.residenceImg %}
4
3
  <div class="o-media__section">
@@ -0,0 +1,58 @@
1
+ <table>
2
+ <tbody>
3
+ {% if site.contactSummaryItems %}
4
+ {% for line in site.contactSummaryItems %}
5
+ <tr>
6
+ {% if line.type == 'organizationEmail' %}
7
+ <td><i class="fa fa-envelope"></i>&nbsp;&nbsp;Emailová adresa:</td>
8
+ <td><a class="c-emphasized-anchor" href="mailto:{{ site.organization.email }}">{{ site.organization.email }}</a></td>
9
+ {% elsif line.type == 'organizationRedmineLink' %}
10
+ <td><i class="fa fa-envelope"></i>&nbsp;&nbsp;Podatelna (Redmine):</td>
11
+ <td><a class="c-emphasized-anchor" href="{{ site.organization.redmineLink }}">podatelna</a></td>
12
+ {% elsif line.type == 'organizationPhone' %}
13
+ <td><i class="fa fa-phone"></i>&nbsp;&nbsp;Telefonický kontakt</td>
14
+ <td><a class="c-emphasized-anchor" href="tel:{{ site.organization.phone }}">{{ site.organization.phone }}</a></td>
15
+ {% elsif line.type == 'organizationTransparentAccount' %}
16
+ <td><i class="fa fa-university"></i>&nbsp;&nbsp;Transparentní {% if line.includeMoreLink %}účty{% else %}účet{% endif %}</td>
17
+ <td>{{ site.organization.transparentAccount }}{% if line.includeMoreLink %} a <a class="c-emphasized-anchor" href="https://wiki.pirati.cz/fo/seznam_uctu">další účty</a>{% endif %}</td>
18
+ {% elsif line.type == 'organizationDataBox' %}
19
+ <td><i class="fa fa-files-o"></i>&nbsp;&nbsp;Datová schránka</td>
20
+ <td>{{ site.organization.dataBoxId }}</td>
21
+ {% elsif line.type == 'piratiRootWebsite' %}
22
+ <td><i class="fa fa-desktop"></i>&nbsp;&nbsp;Celostátní web</td>
23
+ <td><a class="c-emphasized-anchor" href="https://www.pirati.cz">www.pirati.cz</a></td>
24
+ {% elsif line.type == 'custom' %}
25
+ <td>{% if line.iconClass %}<i class="{{ line.iconClass }}"></i>&nbsp;&nbsp;{% endif %}{{ line.label }}</td>
26
+ <td class="c-content-block">{{ line.body }}</td>
27
+ {% endif %}
28
+ </tr>
29
+ {% endfor %}
30
+ {% else %}
31
+ {% comment %}Support legacy configuration where site.contactSummaryItems is undefined{% endcomment %}
32
+ <tr>
33
+ <td><i class="fa fa-envelope"></i>&nbsp;&nbsp;Emailová adresa:</td>
34
+ <td><a class="c-emphasized-anchor" href="mailto:{{ site.organization.email }}">{{ site.organization.email }}</a></td>
35
+ </tr>
36
+ <tr>
37
+ <td><i class="fa fa-envelope"></i>&nbsp;&nbsp;Podatelna (Redmine):</td>
38
+ <td><a class="c-emphasized-anchor" href="{{ site.organization.redmineLink }}">podatelna</a></td>
39
+ </tr>
40
+ <tr>
41
+ <td><i class="fa fa-phone"></i>&nbsp;&nbsp;Telefonický kontakt</td>
42
+ <td><a class="c-emphasized-anchor" href="tel:{{ site.organization.phone }}">{{ site.organization.phone }}</a></td>
43
+ </tr>
44
+ <tr>
45
+ <td><i class="fa fa-desktop"></i>&nbsp;&nbsp;Celostátní web</td>
46
+ <td><a class="c-emphasized-anchor" href="https://www.pirati.cz">www.pirati.cz</a></td>
47
+ </tr>
48
+ <tr>
49
+ <td><i class="fa fa-files-o"></i>&nbsp;&nbsp;Datová schránka</td>
50
+ <td>{{ site.organization.dataBoxId | default: 'b2i4r6j' }}</td>
51
+ </tr>
52
+ <tr>
53
+ <td><i class="fa fa-university"></i>&nbsp;&nbsp;Transparentní účty</td>
54
+ <td>{{ site.organization.transparentAccount | default: '2100048174/2010' }} a <a class="c-emphasized-anchor" href="https://wiki.pirati.cz/fo/seznam_uctu">další účty</a></td>
55
+ </tr>
56
+ {% endif %}
57
+ </tbody>
58
+ </table>
@@ -0,0 +1,8 @@
1
+ <a href="{% if include.box.url contains "http" %}{{include.box.url}}{% else %}{{include.box.url | relative_url }}{% endif %}" class="c-card c-card--border">
2
+ <div class="c-card-header">
3
+ <div class="c-card__title"> {{include.box.text}} </div>
4
+ </div>
5
+ <div class="c-card__icon c-card__icon--pos4">
6
+ <i class="{{include.box.icon}}" aria-hidden="true"></i>
7
+ </div>
8
+ </a>
@@ -0,0 +1,18 @@
1
+ <div class="row small-up-4">
2
+ <div class="c-banner-section-row">
3
+ <div class="small-6 columns">
4
+ {% include title/buttom.html box=include.boxes.left-top %}
5
+ </div>
6
+ <div class="small-6 columns">
7
+ {% include title/buttom.html box=include.boxes.right-top %}
8
+ </div>
9
+ </div>
10
+ <div class="c-banner-section-row">
11
+ <div class="small-6 columns">
12
+ {% include title/buttom.html box=include.boxes.left-bottom %}
13
+ </div>
14
+ <div class="small-6 columns">
15
+ {% include title/buttom.html box=include.boxes.right-bottom %}
16
+ </div>
17
+ </div>
18
+ </div>
@@ -0,0 +1,9 @@
1
+ <article class="c-card c-card--big">
2
+ <div class="c-card-header c-card-header--white">
3
+ </div>
4
+ <div class="c-card-image-wrapper">
5
+ <a href="{% if include.url contains "http" %}{{include.url}}{% else %}{{include.url | relative_url }}{% endif %}">
6
+ <img src="{{ include.foto | prepend: site.baseurl }}" class="c-card__image" alt="{{include.alt}}">
7
+ </a>
8
+ </div>
9
+ </article>
@@ -0,0 +1,22 @@
1
+ <div class="row">
2
+ <div class="medium-12 large-8 columns">
3
+ <section class="o-section o-section--spaceBot">
4
+ <div class="o-section-inner o-section-inner--leftBlock">
5
+ <header class="o-section-header">
6
+ <h1 class="o-section__heading">Aktuální témata</h1>
7
+ </header>
8
+ {% for article in site.posts limit: 6 %}
9
+ {% include articles/horizontal-article.html article=article %}
10
+ {% endfor %}
11
+ <div class="c-BlogPosting-excerpt-nextBox">
12
+ <a href="{{'/aktuality/' | relative_url}}" rel="next" class="button expanded large">Další články</a>
13
+ </div>
14
+ </div>
15
+ </section>
16
+ </div>
17
+ {% if page.rbar %}
18
+ <div class="medium-12 large-4 columns">
19
+ {% include right-bar/rbar.html param='rbar' %}
20
+ </div>
21
+ {% endif %}
22
+ </div>
@@ -16,13 +16,14 @@ title: Kontaktní informace
16
16
  </header>
17
17
  <div class="o-section-block o-section-block--fill">
18
18
  <div class="u-cf">
19
- <div class="medium-12 large-8 columns o-section-mediumdown-divided-small">
19
+ <div class="medium-12 {% if contentSize == 'even' %}large-6{% else %}large-8{% endif %} columns o-section-mediumdown-divided-small">
20
20
  <div itemprop="description" class="c-content-block c-emphasized-text">
21
21
  {{ content }}
22
22
  </div>
23
23
  </div>
24
- <div class="medium-12 large-4 columns o-section-mediumdown-divided-small">
25
- {% include contacts/basic-contacts.html %}
24
+ <div class="medium-12 {% if contentSize == 'even' %}large-6{% else %}large-4{% endif %} columns o-section-mediumdown-divided-small">
25
+ <h2>Základní údaje</h2>
26
+ {% include contacts/summary-table.html %}
26
27
  </div>
27
28
  </div>
28
29
  </div>
@@ -33,9 +34,9 @@ title: Kontaktní informace
33
34
  </div>
34
35
  </div>
35
36
  <hr>
36
- <div class="row o-section-block o-section-block--divided">
37
37
 
38
- <div class="medium-12 large-8 columns">
38
+ <div class="row o-section-block o-section-block--divided">
39
+ <div class="medium-12 {% if contentSize == 'even' %}large-6{% else %}large-8{% endif %} columns">
39
40
  <section class="o-section o-section--spaceBot">
40
41
  <div class="o-section-inner">
41
42
  <div class="o-section-block">
@@ -50,15 +51,15 @@ title: Kontaktní informace
50
51
  </div>
51
52
 
52
53
  {% unless page.noresidence %}
53
- <div class="medium-12 large-4 columns">
54
+ <div class="medium-12 {% if contentSize == 'even' %}large-6{% else %}large-4{% endif %} columns">
54
55
  <div class="o-section o-section--spaceBot">
55
56
  <div class="o-section-inner">
56
57
  <div class="o-section-block">
58
+ <h2>Sídlo a kontaktní centrum</h2>
57
59
  {% include contacts/residence.html %}
58
60
  </div>
59
61
  </div>
60
62
  </div>
61
63
  </div>
62
64
  {% endunless %}
63
-
64
65
  </div>
@@ -68,19 +68,24 @@ layout: default
68
68
  <div class="c-widget-share-box c-widget-share-box--mediumstacked">
69
69
  <div class="c-widget-share-box-headline">Sdílení je aktem lásky</div>
70
70
  <div class="c-widget-share-box-content">
71
-
72
- <!-- https://mycyberuniverse.com/web/social-media-share-bar-jekyll-blog-website.html -->
71
+
72
+ <!-- https://mycyberuniverse.com/web/social-media-share-bar-jekyll-blog-website.html -->
73
73
  <div class="share-buttons">
74
- <a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url }}"
75
- onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
76
- title="Share on Facebook" >
77
- <i class="fa fa-facebook-official share-button"> facebook</i>
74
+ <a
75
+ href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url }}"
76
+ class="share-buttons__button share-buttons__button--facebook"
77
+ onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
78
+ title="Share on Facebook" >
79
+ <i class="fa fa-facebook-official share-buttons__button-icon"></i>
80
+ Facebook
78
81
  </a>
79
- </br>
80
- <a href="https://twitter.com/intent/tweet?text={{ page.title }}&url={{ page.url | absolute_url }}"
81
- onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
82
- title="Share on Twitter" >
83
- <i class="fa fa-twitter share-button"> twitter</i>
82
+ <a
83
+ href="https://twitter.com/intent/tweet?text={{ page.title }}&url={{ page.url | absolute_url }}"
84
+ class="share-buttons__button share-buttons__button--twitter"
85
+ onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
86
+ title="Share on Twitter" >
87
+ <i class="fa fa-twitter share-buttons__button-icon"></i>
88
+ Twitter
84
89
  </a>
85
90
  </div>
86
91
  </div>
@@ -9,19 +9,19 @@ $icon-ns: '';
9
9
  }
10
10
 
11
11
  .#{$icon-ns}c-icon.#{$icon-ns}c-icon--facebook {
12
- background: #1672b9;
12
+ background: $facebook-color;
13
13
  }
14
14
 
15
15
  .#{$icon-ns}c-icon.#{$icon-ns}c-icon--twitter {
16
- background: #91cfff;
16
+ background: $twitter-color;
17
17
  }
18
18
 
19
19
  .#{$icon-ns}c-icon.#{$icon-ns}c-icon--googlePlus {
20
- background: #cc0303;
20
+ background: $gplus-color;
21
21
  }
22
22
 
23
23
  .#{$icon-ns}c-icon.#{$icon-ns}c-icon--instagram {
24
- background: #d10869;
24
+ background: $instagram-color;
25
25
  }
26
26
 
27
27
  .#{$icon-ns}c-icon.#{$icon-ns}c-icon--rounded {
@@ -51,81 +51,67 @@
51
51
 
52
52
  /* All buttons */
53
53
  .share-buttons {
54
+ display: flex;
55
+ flex-direction: column;
54
56
  }
55
57
 
56
- /* Each button */
57
- .share-button {
58
- margin: 0px;
59
- margin-bottom: 10px;
60
- margin-right: 3px;
61
- border: 1px solid #D3D6D2;
62
- padding: 5px 10px 5px 10px;
58
+ @mixin widgetShareButtonStyle($lead-color) {
59
+ .share-buttons__button-icon {
60
+ color: $lead-color;
61
+ }
62
+
63
+ &:hover {
64
+ background: $lead-color;
65
+ border-color: $lead-color;
66
+
67
+ .share-buttons__button-icon {
68
+ color: $white;
69
+ }
70
+ }
63
71
  }
64
- .share-button:hover {
72
+
73
+ /* Each button */
74
+ .share-buttons__button {
75
+ margin: 0 0 1rem;
76
+ margin-bottom: 10px;
77
+ margin-right: 3px;
78
+ border: 1px solid $medium-gray;
79
+ padding: .5rem 1rem;
80
+
81
+ &:hover {
65
82
  opacity: 1;
66
- color: #ffffff;
67
- }
83
+ color: $secondary-color;
84
+ }
68
85
 
69
- /* Facebook button */
70
- .fa-facebook-official {
71
- color: #3b5998;
72
- }
73
- .fa-facebook-official:hover {
74
- background-color: #3b5998;
75
- }
86
+ &.share-buttons__button--facebook {
87
+ @include widgetShareButtonStyle($facebook-color);
88
+ }
76
89
 
77
- /* Twitter button */
78
- .fa-twitter {
79
- color: #55acee;
80
- }
81
- .fa-twitter:hover {
82
- background-color: #55acee;
83
- }
90
+ &.share-buttons__button--twitter {
91
+ @include widgetShareButtonStyle($twitter-color);
92
+ }
84
93
 
85
- /* Google-PLus button */
86
- .fa-google-plus {
87
- color: #dd4b39;
88
- }
89
- .fa-google-plus:hover {
90
- background-color: #dd4b39;
91
- }
94
+ &.share-buttons__button--gplus {
95
+ @include widgetShareButtonStyle($gplus-color);
96
+ }
92
97
 
93
- /* Pinterest button */
94
- .fa-pinterest-p {
95
- color: #cb2027;
96
- }
97
- .fa-pinterest-p:hover {
98
- background-color: #cb2027;
99
- }
98
+ &.share-buttons__button--pinterest {
99
+ @include widgetShareButtonStyle($pinterest-color);
100
+ }
100
101
 
101
- /* Tumblr button */
102
- .fa-tumblr {
103
- color: #32506d;
104
- }
105
- .fa-tumblr:hover {
106
- background-color: #32506d;
107
- }
102
+ &.share-buttons__button--tumblr {
103
+ @include widgetShareButtonStyle($tumblr-color);
104
+ }
108
105
 
109
- /* Reddit button */
110
- .fa-reddit-alien {
111
- color: #ff4500;
112
- }
113
- .fa-reddit-alien:hover {
114
- background-color: #ff4500;
115
- }
106
+ &.share-buttons__button--reddit {
107
+ @include widgetShareButtonStyle($reddit-color);
108
+ }
116
109
 
117
- /* LinkedIn button */
118
- .fa-linkedin {
119
- color: #007bb5;
120
- }
121
- .fa-linkedin:hover {
122
- background-color: #007bb5;
123
- }
110
+ &.share-buttons__button--linkedin {
111
+ @include widgetShareButtonStyle($linkedin-color);
112
+ }
124
113
 
125
- /* Email button */
126
- .fa-envelope {
127
- color: #444444;
128
- }
129
- .fa-envelope:hover {
130
- background-color: #444444;
114
+ &.share-buttons__button--envelope {
115
+ @include widgetShareButtonStyle($envelope-color);
116
+ }
131
117
  }
@@ -1,5 +1,6 @@
1
1
  @import 'settings';
2
2
  @import 'fonts';
3
+ @import 'social-palette';
3
4
 
4
5
  @import "foundation-sites/scss/foundation";
5
6
  @include foundation-everything;
@@ -0,0 +1,9 @@
1
+ $facebook-color: #1672b9;
2
+ $twitter-color: #91cfff;
3
+ $gplus-color: #cc0303;
4
+ $instagram-color: #d10869;
5
+ $pinterest-color: #cb2027;
6
+ $tumblr-color: #32506d;
7
+ $reddit-color: #ff4500;
8
+ $linkedin-color: #007bb5;
9
+ $envelope-color: #444444;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-pirati
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 5.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jitka Novotná
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-07-06 00:00:00.000000000 Z
12
+ date: 2018-07-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -72,8 +72,8 @@ files:
72
72
  - _includes/articles/pagination.html
73
73
  - _includes/articles/vertical-article.html
74
74
  - _includes/candidate-badge.html
75
- - _includes/contacts/basic-contacts.html
76
75
  - _includes/contacts/residence.html
76
+ - _includes/contacts/summary-table.html
77
77
  - _includes/disqus_comments.html
78
78
  - _includes/footer.html
79
79
  - _includes/google-analytics.html
@@ -81,6 +81,10 @@ files:
81
81
  - _includes/header.html
82
82
  - _includes/headline-media.html
83
83
  - _includes/homepage/banner.html
84
+ - _includes/homepage/buttom.html
85
+ - _includes/homepage/four-buttoms.html
86
+ - _includes/homepage/gif-box.html
87
+ - _includes/homepage/news-with-rbar.html
84
88
  - _includes/icon-github.html
85
89
  - _includes/icon-github.svg
86
90
  - _includes/icon-twitter.html
@@ -674,6 +678,7 @@ files:
674
678
  - _sass/objects/section.scss
675
679
  - _sass/objects/space.scss
676
680
  - _sass/pirati.scss
681
+ - _sass/social-palette.scss
677
682
  - _sass/utilities/utilities.scss
678
683
  - assets/css/main.scss
679
684
  - assets/fonts/BebasNeue-Thin.ttf
@@ -1,33 +0,0 @@
1
- <h2>Základní údaje</h2>
2
- <table>
3
- <tbody>
4
- <tr>
5
- <td>
6
- <i class="fa fa-envelope"></i>&nbsp;&nbsp;Emailová adresa:
7
- </td>
8
- <td>
9
- <a class="c-emphasized-anchor" href="mailto:{{ site.organization.email }}">{{ site.organization.email }}</a>
10
- </td>
11
- </tr>
12
- <tr>
13
- <td><i class="fa fa-envelope"></i>&nbsp;&nbsp;Podatelna (Redmine):</td>
14
- <td><a class="c-emphasized-anchor" href="{{ site.organization.redmineLink }}">podatelna</a></td>
15
- </tr>
16
- <tr>
17
- <td><i class="fa fa-phone"></i>&nbsp;&nbsp;Telefonický kontakt</td>
18
- <td><a class="c-emphasized-anchor" href="tel:{{ site.organization.phone }}">{{ site.organization.phone }}</a></td>
19
- </tr>
20
- <tr>
21
- <td><i class="fa fa-desktop"></i>&nbsp;&nbsp;Celostátní web</td>
22
- <td><a class="c-emphasized-anchor" href="https://www.pirati.cz">www.pirati.cz</a></td>
23
- </tr>
24
- <tr>
25
- <td><i class="fa fa-files-o"></i>&nbsp;&nbsp;Datová schránka</td>
26
- <td> b2i4r6j </td>
27
- </tr>
28
- <tr>
29
- <td><i class="fa fa-university"></i>&nbsp;&nbsp;Transparentní účty</td>
30
- <td> 2100048174/2010 a <a class="c-emphasized-anchor" href="https://wiki.pirati.cz/fo/seznam_uctu">další účty</a> </td>
31
- </tr>
32
- </tbody>
33
- </table>