jekyll-theme-pirati 1.2.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -17
- data/_data/menu.yml +53 -0
- data/_includes/candidate_badge.html +6 -15
- data/_includes/footer.html +92 -12
- data/_includes/head.html +24 -25
- data/_includes/header.html +14 -14
- data/_includes/js/main.html +71 -14
- data/_includes/menu.html +43 -51
- data/_includes/people/profile_badge.html +1 -3
- data/_includes/right-bar/bar_cal.html +4 -6
- data/_includes/right-bar/bar_fb.html +3 -3
- data/_includes/right-bar/bar_garant.html +3 -2
- data/_includes/right-bar/bar_people.html +21 -18
- data/_includes/right-bar/bar_person_contact.html +11 -55
- data/_includes/right-bar/rbar.html +3 -3
- data/_layouts/komunalni-volby.html +9 -7
- data/_sass/_base.scss +114 -1
- data/_sass/_settings.scss +1 -1
- data/_sass/components/BasicPage.scss +6 -1
- data/_sass/components/hero.scss +2 -2
- data/_sass/components/icon.scss +5 -1
- data/_sass/components/program.scss +5 -1
- data/_sass/components/top-bar.scss +236 -491
- data/_sass/components/top-sub-nav.scss +1 -1
- data/_sass/objects/media.scss +46 -38
- data/_sass/utilities/utilities.scss +6 -6
- data/assets/css/main.scss +40 -106
- data/assets/js/apps.js +8 -0
- data/assets/js/apps/scroll-top/ScrollTop.vue +83 -0
- data/assets/js/apps/scroll-top/index.js +9 -0
- data/assets/js/apps/site-search/SiteSearch.vue +85 -0
- data/assets/js/apps/site-search/SiteSearchItemTemplate.vue +29 -0
- data/assets/js/apps/site-search/index.js +14 -0
- data/assets/js/index.js +52 -0
- metadata +9 -91
- data/_includes/js/custom.js +0 -245
- data/_includes/js/fb.js +0 -15
- data/_includes/js/piwik.js +0 -11
- data/_includes/js/tw.js +0 -15
- data/_includes/people/item.html +0 -49
- data/_includes/people/list-2col.html +0 -24
- data/_includes/people/list-group.html +0 -12
- data/_includes/title/title_header.html +0 -9
- data/_sass/components/scroll-top.scss +0 -32
- data/_sass/components/welcome-header.scss +0 -188
- data/_sass/foundation/_global.scss +0 -638
- data/_sass/foundation/components/_accordion-menu.scss +0 -32
- data/_sass/foundation/components/_accordion.scss +0 -129
- data/_sass/foundation/components/_badge.scss +0 -55
- data/_sass/foundation/components/_breadcrumbs.scss +0 -95
- data/_sass/foundation/components/_button-group.scss +0 -195
- data/_sass/foundation/components/_button.scss +0 -265
- data/_sass/foundation/components/_callout.scss +0 -105
- data/_sass/foundation/components/_close-button.scss +0 -61
- data/_sass/foundation/components/_drilldown.scss +0 -79
- data/_sass/foundation/components/_dropdown-menu.scss +0 -221
- data/_sass/foundation/components/_dropdown.scss +0 -65
- data/_sass/foundation/components/_flex-video.scss +0 -63
- data/_sass/foundation/components/_flex.scss +0 -28
- data/_sass/foundation/components/_float.scss +0 -27
- data/_sass/foundation/components/_label.scss +0 -55
- data/_sass/foundation/components/_media-object.scss +0 -115
- data/_sass/foundation/components/_menu-icon.scss +0 -9
- data/_sass/foundation/components/_menu.scss +0 -314
- data/_sass/foundation/components/_off-canvas.scss +0 -177
- data/_sass/foundation/components/_orbit.scss +0 -193
- data/_sass/foundation/components/_pagination.scss +0 -162
- data/_sass/foundation/components/_progress-bar.scss +0 -64
- data/_sass/foundation/components/_reveal.scss +0 -172
- data/_sass/foundation/components/_slider.scss +0 -133
- data/_sass/foundation/components/_sticky.scss +0 -38
- data/_sass/foundation/components/_switch.scss +0 -232
- data/_sass/foundation/components/_table.scss +0 -234
- data/_sass/foundation/components/_tabs.scss +0 -165
- data/_sass/foundation/components/_thumbnail.scss +0 -54
- data/_sass/foundation/components/_title-bar.scss +0 -89
- data/_sass/foundation/components/_tooltip.scss +0 -104
- data/_sass/foundation/components/_top-bar.scss +0 -168
- data/_sass/foundation/components/_visibility.scss +0 -132
- data/_sass/foundation/forms/_checkbox.scss +0 -40
- data/_sass/foundation/forms/_error.scss +0 -84
- data/_sass/foundation/forms/_fieldset.scss +0 -54
- data/_sass/foundation/forms/_forms.scss +0 -34
- data/_sass/foundation/forms/_help-text.scss +0 -30
- data/_sass/foundation/forms/_input-group.scss +0 -128
- data/_sass/foundation/forms/_label.scss +0 -48
- data/_sass/foundation/forms/_meter.scss +0 -109
- data/_sass/foundation/forms/_progress.scss +0 -85
- data/_sass/foundation/forms/_range.scss +0 -144
- data/_sass/foundation/forms/_select.scss +0 -67
- data/_sass/foundation/forms/_text.scss +0 -163
- data/_sass/foundation/foundation.scss +0 -102
- data/_sass/foundation/grid/_classes.scss +0 -151
- data/_sass/foundation/grid/_column.scss +0 -126
- data/_sass/foundation/grid/_flex-grid.scss +0 -274
- data/_sass/foundation/grid/_grid.scss +0 -60
- data/_sass/foundation/grid/_gutter.scss +0 -34
- data/_sass/foundation/grid/_layout.scss +0 -51
- data/_sass/foundation/grid/_position.scss +0 -73
- data/_sass/foundation/grid/_row.scss +0 -95
- data/_sass/foundation/grid/_size.scss +0 -24
- data/_sass/foundation/settings/_settings.scss +0 -567
- data/_sass/foundation/typography/_alignment.scss +0 -22
- data/_sass/foundation/typography/_base.scss +0 -443
- data/_sass/foundation/typography/_helpers.scss +0 -77
- data/_sass/foundation/typography/_print.scss +0 -77
- data/_sass/foundation/typography/_typography.scss +0 -28
- data/_sass/foundation/util/_breakpoint.scss +0 -275
- data/_sass/foundation/util/_color.scss +0 -60
- data/_sass/foundation/util/_flex.scss +0 -68
- data/_sass/foundation/util/_mixins.scss +0 -235
- data/_sass/foundation/util/_selector.scss +0 -40
- data/_sass/foundation/util/_unit.scss +0 -90
- data/_sass/foundation/util/_util.scss +0 -11
- data/_sass/foundation/util/_value.scss +0 -107
- data/_sass/jquery-ui.scss +0 -1311
- data/_sass/main.scss +0 -41
- data/_sass/minima.scss +0 -51
- data/_sass/minima/_base.scss +0 -254
- data/_sass/minima/_layout.scss +0 -255
- data/_sass/minima/_syntax-highlighting.scss +0 -71
- data/_sass/scroll-top.scss +0 -31
- data/assets/js/common-libs.min.js +0 -1
- data/assets/js/custom.min.js +0 -1
- data/assets/snippet/profile.html +0 -19
data/_includes/menu.html
CHANGED
@@ -1,64 +1,56 @@
|
|
1
|
-
<div class="
|
2
|
-
<div class="
|
3
|
-
<div class="c-top-bar
|
4
|
-
|
5
|
-
{% if page.url != '/' %}
|
6
|
-
<div class="top-bar-title">
|
1
|
+
<div class="row">
|
2
|
+
<div class="columns small-12">
|
3
|
+
<div class="c-top-bar">
|
4
|
+
<div class="c-top-bar__brand">
|
7
5
|
<a href="{{ '/' | relative_url }}">
|
8
6
|
<img src="{{ '/assets/img/brand/logo_napis.svg' | relative_url }}" alt="Pirátská strana">
|
9
7
|
</a>
|
10
8
|
</div>
|
11
|
-
{% endif %}
|
12
9
|
|
13
|
-
<
|
14
|
-
<
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
</li>
|
22
|
-
</ul>
|
23
|
-
|
24
|
-
<div class="menu-toggle-container hide-for-large">
|
25
|
-
<span data-responsive-toggle="responsive-menu" id="menuTogge" data-hide-for="large">
|
26
|
-
<button class="" type="button" data-toggle="">
|
27
|
-
<span class="menu-toggle-inner">
|
28
|
-
<span class="menu-toggle-description">Menu</span>
|
29
|
-
<i class="menu-icon dark"></i>
|
30
|
-
</span>
|
31
|
-
</button>
|
32
|
-
</span>
|
10
|
+
<div class="c-top-bar__search">
|
11
|
+
<div class="__vue-root" data-app="SiteSearch">
|
12
|
+
<!-- this will get replaced by Vue.js content, placeholder only -->
|
13
|
+
<div class="c-search">
|
14
|
+
<input class="c-search__input" type="search" id="search" placeholder="Hledaný výraz">
|
15
|
+
<button type="button" class="c-search__confirm" id="searchsub"><i class="fa fa-search" aria-hidden="true"></i></button>
|
16
|
+
</div>
|
17
|
+
</div>
|
33
18
|
</div>
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
</
|
48
|
-
{% endfor %}
|
49
|
-
</ul>
|
50
|
-
{% endif %}
|
19
|
+
|
20
|
+
<div id="responsive-menu" class="c-responsive-menu">
|
21
|
+
<ul class="c-responsive-menu__items" data-dropdown-menu="">
|
22
|
+
{% for item in site.data.menu.main %}
|
23
|
+
<li class="c-responsive-menu__item {% if page.url contains item.match %}c-responsive-menu__item--active{% endif %}">
|
24
|
+
<a href="{{ item.link | relative_url }}">{{ item.name }}</a>
|
25
|
+
|
26
|
+
{% comment %}
|
27
|
+
<!-- submenu not yet implemented -->
|
28
|
+
{% if item.submenu %}
|
29
|
+
<ul class="menu vertical">
|
30
|
+
{% for subitem in item.submenu %}
|
31
|
+
<li{% if page.url contains 'lide'%} class="is-active"{% endif %}>
|
32
|
+
<a href="{{ subitem.lik | relative_url }}"> {{ subitem.name }} </a>
|
51
33
|
</li>
|
52
34
|
{% endfor %}
|
53
|
-
|
54
35
|
</ul>
|
55
|
-
|
56
|
-
|
36
|
+
{% endif %}
|
37
|
+
{% endcomment %}
|
38
|
+
</li>
|
39
|
+
{% endfor %}
|
40
|
+
</ul>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
<div class="c-responsive-menu-toggle hide-for-large">
|
44
|
+
<span data-responsive-toggle="responsive-menu" id="menuTogge" data-hide-for="large">
|
45
|
+
<button class="c-responsive-menu-toogle__button" type="button" data-toggle="">
|
46
|
+
<span class="c-responsive-menu-toggle__caption">Menu</span>
|
47
|
+
<i class="menu-icon dark"></i>
|
48
|
+
</button>
|
49
|
+
</span>
|
57
50
|
</div>
|
58
|
-
|
59
|
-
|
60
|
-
|
61
51
|
</div>
|
62
52
|
</div>
|
63
53
|
</div>
|
64
|
-
|
54
|
+
|
55
|
+
<div class="c-top-bar__divider"></div>
|
56
|
+
|
@@ -8,9 +8,7 @@
|
|
8
8
|
{% endif %}
|
9
9
|
<div class="o-media o-media-list">
|
10
10
|
<div class="o-media__image o-media__image--lgspace {% if include.imgStyle == 'round' %}o-media__image--round{% endif %}">
|
11
|
-
{% if include.imgSize != 'big' %}
|
12
|
-
{% else %}
|
13
|
-
{% endif %}
|
11
|
+
<a href="{{ url }}"><img src="{{ include.item.img | prepend: 'assets/img/' | relative_url }}" alt="{{ label }}" {% if include.imgSize != 'big' %}style="width: 100px"{% endif %}></a>
|
14
12
|
</div>
|
15
13
|
<div class="o-media__body">
|
16
14
|
<div class="o-media__body-inner {% if include.style == 'card' %}o-media__body-inner--padded{% endif %}">
|
@@ -2,19 +2,17 @@
|
|
2
2
|
<ul class="c-widget-accordion c-widget-accordion--dark" data-accordion="" data-allow-all-closed="true">
|
3
3
|
<li class="c-widget-accordion-item is-active" data-accordion-item="">
|
4
4
|
<a href="#" class="c-widget-accordion-link">
|
5
|
-
<span class="c-widget-accordion__title">
|
6
|
-
{{ site.data.links.calendar.bar_title }}
|
7
|
-
</span>
|
5
|
+
<span class="c-widget-accordion__title">{{ site.calendar.title }}</span>
|
8
6
|
<span class="c-widget-accordion__icon c-widget-accordion__icon c-widget-accordion__icon--bottom" aria-hidden="true">
|
9
7
|
<i class="fa fa-calendar-o fa-lg u-rotate-15"></i>
|
10
8
|
</span>
|
11
9
|
</a>
|
12
10
|
<div class="c-widget-accordion-content" data-tab-content="">
|
13
|
-
<iframe src="{{site.
|
11
|
+
<iframe src="{{ site.calendar.page }}" style="border-width:0; width: 100%; height: 410px; border: 0; overflow: hidden;"></iframe>
|
14
12
|
|
15
|
-
{% if site.
|
13
|
+
{% if site.calendar.page %}
|
16
14
|
<div class="c-widget-accordion-content__cta">
|
17
|
-
<a class="dark expanded button large" href="{{ site.
|
15
|
+
<a class="dark expanded button large" href="{{ site.calendar.page | relative_url }}"> Zobrazit všechny akce </a>
|
18
16
|
</div>
|
19
17
|
{% endif %}
|
20
18
|
|
@@ -8,10 +8,10 @@
|
|
8
8
|
</span>
|
9
9
|
</a>
|
10
10
|
<div class="c-widget-accordion-content" data-tab-content="">
|
11
|
-
<div class="fb-page" data-href="{{site.
|
11
|
+
<div class="fb-page" data-href="{{ site.facebook.profilePage }}" data-tabs="timeline" data-width="500" data-height="550" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true">
|
12
12
|
<div class="fb-xfbml-parse-ignore">
|
13
|
-
<blockquote cite="{{site.
|
14
|
-
<a href="{{site.
|
13
|
+
<blockquote cite="{{ site.facebook.profilePage }}">
|
14
|
+
<a href="{{ site.facebook.profilePage }}">
|
15
15
|
Najdete nás na Facebooku:<br>
|
16
16
|
Česká pirátská strana - Praha</a>
|
17
17
|
</blockquote>
|
@@ -9,8 +9,9 @@
|
|
9
9
|
</span>
|
10
10
|
</a>
|
11
11
|
<div class="c-widget-accordion-content" data-tab-content="" id="toc">
|
12
|
-
<div class="c-widget-accordion-content-inner">
|
13
|
-
|
12
|
+
<div class="c-widget-accordion-content-inner c-widget-accordion-content-inner--unpadded">
|
13
|
+
{% assign garant = site.people | where:"uid",page.garant | first %}
|
14
|
+
{% include people/profile_badge.html item=garant style='card' showDescription=false %}
|
14
15
|
</div>
|
15
16
|
</div>
|
16
17
|
</li>
|
@@ -1,20 +1,23 @@
|
|
1
1
|
<div class="o-section-block">
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
2
|
+
<ul class="c-widget-accordion" data-accordion="" data-allow-all-closed="true">
|
3
|
+
<li class="c-widget-accordion-item is-active" data-accordion-item="">
|
4
|
+
<a href="#" class="c-widget-accordion-link">
|
5
|
+
<span class="c-widget-accordion__title">Lidé</span>
|
6
|
+
<span class="c-widget-accordion__icon c-widget-accordion__icon c-widget-accordion__icon--bottom c-widget-accordion__icon--bottomPulled" aria-hidden="true">
|
7
|
+
<i class="fa fa-users fa-lg"></i>
|
8
|
+
</span>
|
9
|
+
</a>
|
10
|
+
<div class="c-widget-accordion-content" data-tab-content="">
|
11
|
+
<div class="c-widget-accordion-content-inner c-widget-accordion-content-inner--unpadded c-widget-accordion-content-inner--nofill">
|
12
|
+
{% assign persons = site.people | sample:3 %}
|
13
|
+
{% for person in persons %}
|
14
|
+
{% include people/profile_badge.html item=person style='card' showContactInfo=false %}
|
15
|
+
{% endfor %}
|
16
|
+
</div>
|
17
|
+
<div class="c-widget-accordion-content__cta">
|
18
|
+
<a class="expanded button large" href="{{ '/lide/' | relative_url }}"> Poznejte celý náš tým! </a>
|
19
|
+
</div>
|
13
20
|
</div>
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
</div>
|
18
|
-
</li>
|
19
|
-
</ul>
|
20
|
-
</div>
|
21
|
+
</li>
|
22
|
+
</ul>
|
23
|
+
</div>
|
@@ -1,70 +1,26 @@
|
|
1
|
+
{% if page.mail or page.mob or page.profiles.wikipedia or page.profiles.facebook or page.profiles.twitter or page.profiles.github or page.profiles.forum or page.profiles.redmine %}
|
1
2
|
<div class="o-section-block">
|
2
3
|
<ul class="c-widget-accordion" data-accordion="" data-allow-all-closed="true">
|
3
4
|
<li class="c-widget-accordion-item is-active" data-accordion-item="">
|
4
5
|
<a href="#" class="c-widget-accordion-link">
|
5
|
-
<span class="c-widget-accordion__title">
|
6
|
+
<span class="c-widget-accordion__title">Kontakt</span>
|
6
7
|
<span class="c-widget-accordion__icon c-widget-accordion__icon c-widget-accordion__icon--bottom c-widget-accordion__icon--bottomPulled" aria-hidden="true">
|
7
8
|
<i class="fa fa-users fa-lg"></i>
|
8
9
|
</span>
|
9
10
|
</a>
|
10
11
|
<div class="c-widget-accordion-content" data-tab-content="">
|
11
12
|
<div class="c-widget-accordion-content-inner">
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
<h3>Odkazy</h3>
|
22
|
-
{% if page.profiles.web %}<i class="fa fa-globe"></i><a href="{{page.profiles.web}}">Webová stránka</a><br/>{% endif %}
|
23
|
-
{% if page.profiles.facebook %}<i class="fa fa-facebook"></i><a href="{{page.profiles.facebook}}">Facebook</a><br/>{% endif %}
|
24
|
-
{% if page.profiles.twitter %}<i class="fa fa-twitter"></i><a href="{{page.profiles.twitter}}">Twitter</a><br/>{% endif %}
|
25
|
-
{% if page.profiles.wikipedia %}<i class="fa fa-wikipedia-w"></i> <a href="{{ page.profiles.wikipedia }}">W: {{ page.profiles.wikipedia | remove: "https://cs.wikipedia.org/wiki/" }}</a><br/>{% endif %}
|
26
|
-
{% if page.profiles.report %}<i class="fa fa-file-text-o"></i> <a href="{{page.profiles.report}}">Report poslance</a><br/>{% endif %}
|
27
|
-
|
28
|
-
{% if page.asistenti %}
|
29
|
-
<hr />
|
30
|
-
<h3>Asistent/ka</h3>
|
31
|
-
{% for main in page.asistenti %}
|
32
|
-
<p>
|
33
|
-
<i class="fa fa-user-o"></i> {{main.name}}<br/>
|
34
|
-
{% if main.mail %}<i class="fa fa-envelope-o"></i> <a href="mailto:{{main.mail}}">{{main.mail}}</a><br/>{% endif %}
|
35
|
-
{% if main.tel %}<i class="fa fa-phone"></i> {{ main.tel }}<br/>{% endif %}
|
36
|
-
</p>
|
37
|
-
{% endfor %}
|
38
|
-
{% endif %}
|
39
|
-
|
40
|
-
{% if page.office %}
|
41
|
-
{% assign kancl = page.office | first %}
|
42
|
-
<hr />
|
43
|
-
<h3>Poslanecká kancelář</h3>
|
44
|
-
{{ kancl.address}}<br/>
|
45
|
-
{% if kancl.opening %}<br/><b>Otevírací doba:</b><br/>{{ kancl.opening}}<br/>{% endif %}
|
46
|
-
<br/><div class="c-widget-map">
|
47
|
-
<iframe
|
48
|
-
height="150"
|
49
|
-
frameborder="0" style="border:0; width:100%"
|
50
|
-
src="https://www.google.com/maps/embed/v1/place?key=AIzaSyCRuL_FU0HdeKCHVNfVJkv2nhNZPr05AJM&q={{ kancl.address | replace: ' ', '+' }}" allowfullscreen>
|
51
|
-
</iframe>
|
52
|
-
</div>
|
53
|
-
{% endif %}
|
54
|
-
|
55
|
-
{% else %}
|
56
|
-
{% if page.asistent %}
|
57
|
-
<i class="fa fa-user-o"></i> Asistent/ka: {{page.asistent.name}}<br/>
|
58
|
-
<i class="fa fa-envelope-o"></i> <a href="mailto:{{ page.asistent.mail}}">{{ page.asistent.mail}}</a><br/>
|
59
|
-
<i class="fa fa-phone"></i> {{ page.asistent.tel }}<br/>
|
60
|
-
{% else %}
|
61
|
-
{% if page.mail %}<i class="fa fa-envelope-o"></i> <a href="mailto:{{ page.mail | first}}">{{ page.mail | first}}</a><br/>{% endif %}
|
62
|
-
{% if page.mob %}<i class="fa fa-phone"></i> {{ page.mob }}<br/>{% endif %}
|
63
|
-
{% endif %}
|
64
|
-
{% include right-bar/rbar_profiles.html %}
|
65
|
-
{% endif %}
|
13
|
+
{% if page.mail %}<i class="fa fa-envelope-o"></i> <a href="mailto:{{ page.mail }}">{{ page.mail }}</a><br/>{% endif %}
|
14
|
+
{% if page.mob %}<i class="fa fa-phone"></i> <a href="tel:{{ page.mob }}">{{ page.mob }}</a><br/>{% endif %}
|
15
|
+
{% if page.profiles.wikipedia %}<i class="fa fa-wikipedia-w"></i> <a href="{{ page.profiles.wikipedia }}">W: {{ page.profiles.wikipedia | remove: "https://cs.wikipedia.org/wiki/" }}</a><br/>{% endif %}
|
16
|
+
{% if page.profiles.facebook %}<i class="fa fa-facebook"></i> <a href="{{ page.profiles.facebook }}">FB: {{ page.profiles.facebook | remove: "https://www.facebook.com/" }}</a><br/>{% endif %}
|
17
|
+
{% if page.profiles.twitter %}<i class="fa fa-twitter"></i> <a href="{{ page.profiles.twitter }}">TW: {{ page.profiles.twitter | remove: "https://twitter.com/" }}</a><br/>{% endif %}
|
18
|
+
{% if page.profiles.github %}<i class="fa fa-github"></i> <a href="{{ page.profiles.github }}">GH: {{ page.profiles.github | remove: "https://github.com/"}}</a><br/>{% endif %}
|
19
|
+
{% if page.profiles.forum %}<i class="fa fa-comments-o"></i> <a href="{{ page.profiles.forum }}">Forum: {{ page.profiles.forum | remove: "https://forum.pirati.cz/" }}</a><br/>{% endif %}
|
20
|
+
{% if page.profiles.redmine %}<i class="fa fa-check-square-o"></i> <a href="{{ page.profiles.redmine }}">Úkoly</a>{% endif %}
|
66
21
|
</div>
|
67
22
|
</div>
|
68
23
|
</li>
|
69
24
|
</ul>
|
70
25
|
</div>
|
26
|
+
{% endif %}
|
@@ -20,7 +20,7 @@
|
|
20
20
|
{% if page.rbar contains 'program' %}
|
21
21
|
{% include right-bar/bar_program.html %}
|
22
22
|
{% endif %}
|
23
|
-
{% if page.rbar contains 'cal' %}
|
23
|
+
{% if page.rbar contains 'cal' and site.calendar %}
|
24
24
|
{% include right-bar/bar_cal.html %}
|
25
25
|
{% endif %}
|
26
26
|
{% if page.rbar contains 'people' %}
|
@@ -29,10 +29,10 @@
|
|
29
29
|
{% if page.rbar contains 'video' %}
|
30
30
|
{% include right-bar/bar_video.html %}
|
31
31
|
{% endif %}
|
32
|
-
{% if page.rbar contains 'fb' %}
|
32
|
+
{% if page.rbar contains 'fb' and site.facebook.profilePage %}
|
33
33
|
{% include right-bar/bar_fb.html %}
|
34
34
|
{% endif %}
|
35
|
-
{% if page.rbar contains 'tw' %}
|
35
|
+
{% if page.rbar contains 'tw' and site.twitter.profile %}
|
36
36
|
{% include right-bar/bar_tw.html %}
|
37
37
|
{% endif %}
|
38
38
|
{% if page.rbar contains 'otevrenost' %}
|
@@ -20,12 +20,14 @@ layout: page
|
|
20
20
|
|
21
21
|
{% include candidate_badge.html candidate=leader_candidate leader=true %}
|
22
22
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
23
|
+
<div class="c-program-candidates__others">
|
24
|
+
{% for candidate in other_candidates %}
|
25
|
+
{% assign loopindex = forloop.index | modulo: 3 %}
|
26
|
+
{% if loopindex == 1 %}<div class="c-program-candidates__row">{% endif %}
|
27
|
+
{% include candidate_badge.html candidate=candidate leader=false %}
|
28
|
+
{% if loopindex == 0 or forloop.last %}</div>{% endif %}
|
29
|
+
{% endfor %}
|
30
|
+
</div>
|
29
31
|
</div>
|
30
32
|
|
31
33
|
{% if page.note %}
|
@@ -38,7 +40,7 @@ layout: page
|
|
38
40
|
<h3 class="o-section__heading o-section__heading--small">Program</h3>
|
39
41
|
</div>
|
40
42
|
<div class="c-program-items">
|
41
|
-
{% assign programCategories = site.program | sort:"order" %}
|
43
|
+
{% assign programCategories = site.program | where_exp:"item","item.categories contains page.category" | sort:"order" %}
|
42
44
|
{% for category in programCategories %}
|
43
45
|
<div class="c-program-items__item">
|
44
46
|
<div class="c-program-items__item-wrap">
|
data/_sass/_base.scss
CHANGED
@@ -21,4 +21,117 @@ hr {
|
|
21
21
|
border: 0;
|
22
22
|
height: 1px;
|
23
23
|
background: #f3f3f3;
|
24
|
-
}
|
24
|
+
}
|
25
|
+
|
26
|
+
.pricing-table {
|
27
|
+
|
28
|
+
border: solid 1px #DDDDDD;
|
29
|
+
background: #eee}
|
30
|
+
|
31
|
+
.pricing-table li {
|
32
|
+
|
33
|
+
border-bottom: dotted 1px #DDDDDD;
|
34
|
+
|
35
|
+
// font-size: 0.75rem;
|
36
|
+
|
37
|
+
padding: 0.875rem 1.125rem; }
|
38
|
+
|
39
|
+
.pricing-table li:last-child {
|
40
|
+
|
41
|
+
border-bottom: 0; }
|
42
|
+
|
43
|
+
.pricing-table .title {
|
44
|
+
|
45
|
+
background-color: red;
|
46
|
+
|
47
|
+
color: #EEEEEE;
|
48
|
+
|
49
|
+
font-size: 0.875rem;
|
50
|
+
|
51
|
+
border-bottom: 0; }
|
52
|
+
|
53
|
+
.pricing-table .price {
|
54
|
+
|
55
|
+
color: #333333;
|
56
|
+
|
57
|
+
font-size: 1.75rem;
|
58
|
+
|
59
|
+
border-bottom: 0; }
|
60
|
+
|
61
|
+
.pricing-table .description {
|
62
|
+
|
63
|
+
color: #777777;
|
64
|
+
|
65
|
+
// font-size: 0.625rem;
|
66
|
+
}
|
67
|
+
|
68
|
+
.pricing-table .small {
|
69
|
+
|
70
|
+
color: #777777;
|
71
|
+
font-size: 0.625rem;
|
72
|
+
text-align:right;
|
73
|
+
}
|
74
|
+
|
75
|
+
#mc_embed_signup label {
|
76
|
+
font-size: 1rem;
|
77
|
+
|
78
|
+
|
79
|
+
}
|
80
|
+
|
81
|
+
.pricing-table .button {
|
82
|
+
|
83
|
+
margin: 0; }
|
84
|
+
|
85
|
+
.pricing-table .pricing-table-header-img {
|
86
|
+
|
87
|
+
padding:0px;margin:0px;height:98px;
|
88
|
+
background-position: 55% 0px;
|
89
|
+
background-repeat:no-repeat;
|
90
|
+
}
|
91
|
+
|
92
|
+
#tabs {
|
93
|
+
padding: 0px;
|
94
|
+
background: none;
|
95
|
+
border-width: 0px;
|
96
|
+
}
|
97
|
+
#tabs .ui-tabs-nav {
|
98
|
+
padding-left: 0px;
|
99
|
+
background: transparent;
|
100
|
+
border-width: 0px 0px 1px 0px;
|
101
|
+
-moz-border-radius: 0px;
|
102
|
+
-webkit-border-radius: 0px;
|
103
|
+
border-radius: 0px;
|
104
|
+
}
|
105
|
+
|
106
|
+
.ui-tabs .ui-tabs-nav li {
|
107
|
+
margin-right: 0.34em;
|
108
|
+
background: #eee;
|
109
|
+
}
|
110
|
+
|
111
|
+
.ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
|
112
|
+
background: #007fff !important;}
|
113
|
+
|
114
|
+
#tabs .ui-tabs-panel {
|
115
|
+
background: #eee;
|
116
|
+
border-width: 0px 1px 1px 1px;
|
117
|
+
}
|
118
|
+
|
119
|
+
.asterisk {color:red}
|
120
|
+
|
121
|
+
#mc_embed_signup_scroll .c-cta-button--primary {
|
122
|
+
color: rgb(255, 255, 255);
|
123
|
+
background-color: rgb(92, 184, 92);
|
124
|
+
border-color: rgb(92, 184, 92);
|
125
|
+
width:100%;
|
126
|
+
text-align:center;
|
127
|
+
margin-top:10px;
|
128
|
+
}
|
129
|
+
|
130
|
+
|
131
|
+
.election-teaser {
|
132
|
+
margin-top: 35px;
|
133
|
+
|
134
|
+
@include breakpoint(small down) {
|
135
|
+
margin: 1.5rem 0;
|
136
|
+
}
|
137
|
+
}
|