jekyll-theme-pirati 0.1.0
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 +7 -0
- data/LICENSE +21 -0
- data/LICENSE.txt +21 -0
- data/README.md +55 -0
- data/_includes/accordeon/accordeon-column.html +8 -0
- data/_includes/accordeon/accordeon.html +12 -0
- data/_includes/article-list/featured_article.html +55 -0
- data/_includes/article-list/list-3col.html +55 -0
- data/_includes/article-list/pagination.html +36 -0
- data/_includes/article-list/standard_article.html +45 -0
- data/_includes/disqus_comments.html +20 -0
- data/_includes/footer.html +23 -0
- data/_includes/google-analytics.html +12 -0
- data/_includes/head.html +60 -0
- data/_includes/header.html +115 -0
- data/_includes/icon-github.html +1 -0
- data/_includes/icon-github.svg +1 -0
- data/_includes/icon-twitter.html +1 -0
- data/_includes/icon-twitter.svg +1 -0
- data/_includes/js/custom.js +245 -0
- data/_includes/js/fb.js +15 -0
- data/_includes/js/main.html +18 -0
- data/_includes/js/piwik.js +11 -0
- data/_includes/js/tw.js +15 -0
- data/_includes/people/item.html +31 -0
- data/_includes/people/list-2col.html +25 -0
- data/_includes/right-bar/bar_cal.html +15 -0
- data/_includes/right-bar/bar_fb.html +23 -0
- data/_includes/right-bar/bar_foto.html +20 -0
- data/_includes/right-bar/bar_map.html +37 -0
- data/_includes/right-bar/bar_people.html +25 -0
- data/_includes/right-bar/bar_program.html +35 -0
- data/_includes/right-bar/bar_teams_summary.html +22 -0
- data/_includes/right-bar/bar_teams_toc.html +31 -0
- data/_includes/right-bar/bar_textbox.html +23 -0
- data/_includes/right-bar/bar_toc.html +77 -0
- data/_includes/right-bar/bar_tw.html +16 -0
- data/_includes/right-bar/bar_video.html +23 -0
- data/_includes/right-bar/rbar.html +39 -0
- data/_includes/right-bar/social-bar.html +16 -0
- data/_includes/social.html +14 -0
- data/_includes/submenu.html +22 -0
- data/_includes/title/title_header.html +9 -0
- data/_layouts/blank.html +14 -0
- data/_layouts/compress.html +10 -0
- data/_layouts/default.html +23 -0
- data/_layouts/home.html +34 -0
- data/_layouts/page.html +34 -0
- data/_layouts/post.html +110 -0
- data/_layouts/redirected.html +13 -0
- data/_layouts/team.html +45 -0
- data/_sass/_base.scss +24 -0
- data/_sass/_settings.scss +569 -0
- data/_sass/_sprites.scss +0 -0
- data/_sass/components/BasicPage.scss +464 -0
- data/_sass/components/BlogPosting.scss +274 -0
- data/_sass/components/Person.scss +42 -0
- data/_sass/components/Slider.scss +0 -0
- data/_sass/components/banner.scss +75 -0
- data/_sass/components/blockquote.scss +53 -0
- data/_sass/components/card.scss +154 -0
- data/_sass/components/contact-bar.scss +93 -0
- data/_sass/components/content-card.scss +31 -0
- data/_sass/components/cta-button.scss +54 -0
- data/_sass/components/header-bar.scss +108 -0
- data/_sass/components/hero.scss +164 -0
- data/_sass/components/highlight.scss +60 -0
- data/_sass/components/icon.scss +25 -0
- data/_sass/components/pagination.scss +75 -0
- data/_sass/components/pripoj-se.scss +97 -0
- data/_sass/components/scroll-top.scss +32 -0
- data/_sass/components/simple-accordion.scss +85 -0
- data/_sass/components/tag.scss +30 -0
- data/_sass/components/top-bar.scss +492 -0
- data/_sass/components/top-sub-nav.scss +186 -0
- data/_sass/components/vertical-navigation.scss +68 -0
- data/_sass/components/welcome-header.scss +188 -0
- data/_sass/components/widget-accordion.scss +293 -0
- data/_sass/components/widget-share-box.scss +57 -0
- data/_sass/components/widget-simple-text.scss +15 -0
- data/_sass/foundation/_global.scss +638 -0
- data/_sass/foundation/components/_accordion-menu.scss +32 -0
- data/_sass/foundation/components/_accordion.scss +129 -0
- data/_sass/foundation/components/_badge.scss +55 -0
- data/_sass/foundation/components/_breadcrumbs.scss +95 -0
- data/_sass/foundation/components/_button-group.scss +195 -0
- data/_sass/foundation/components/_button.scss +265 -0
- data/_sass/foundation/components/_callout.scss +105 -0
- data/_sass/foundation/components/_close-button.scss +61 -0
- data/_sass/foundation/components/_drilldown.scss +79 -0
- data/_sass/foundation/components/_dropdown-menu.scss +221 -0
- data/_sass/foundation/components/_dropdown.scss +65 -0
- data/_sass/foundation/components/_flex-video.scss +63 -0
- data/_sass/foundation/components/_flex.scss +28 -0
- data/_sass/foundation/components/_float.scss +27 -0
- data/_sass/foundation/components/_label.scss +55 -0
- data/_sass/foundation/components/_media-object.scss +115 -0
- data/_sass/foundation/components/_menu-icon.scss +9 -0
- data/_sass/foundation/components/_menu.scss +314 -0
- data/_sass/foundation/components/_off-canvas.scss +177 -0
- data/_sass/foundation/components/_orbit.scss +193 -0
- data/_sass/foundation/components/_pagination.scss +162 -0
- data/_sass/foundation/components/_progress-bar.scss +64 -0
- data/_sass/foundation/components/_reveal.scss +172 -0
- data/_sass/foundation/components/_slider.scss +133 -0
- data/_sass/foundation/components/_sticky.scss +38 -0
- data/_sass/foundation/components/_switch.scss +232 -0
- data/_sass/foundation/components/_table.scss +234 -0
- data/_sass/foundation/components/_tabs.scss +165 -0
- data/_sass/foundation/components/_thumbnail.scss +54 -0
- data/_sass/foundation/components/_title-bar.scss +89 -0
- data/_sass/foundation/components/_tooltip.scss +104 -0
- data/_sass/foundation/components/_top-bar.scss +168 -0
- data/_sass/foundation/components/_visibility.scss +132 -0
- data/_sass/foundation/forms/_checkbox.scss +40 -0
- data/_sass/foundation/forms/_error.scss +84 -0
- data/_sass/foundation/forms/_fieldset.scss +54 -0
- data/_sass/foundation/forms/_forms.scss +34 -0
- data/_sass/foundation/forms/_help-text.scss +30 -0
- data/_sass/foundation/forms/_input-group.scss +128 -0
- data/_sass/foundation/forms/_label.scss +48 -0
- data/_sass/foundation/forms/_meter.scss +109 -0
- data/_sass/foundation/forms/_progress.scss +85 -0
- data/_sass/foundation/forms/_range.scss +144 -0
- data/_sass/foundation/forms/_select.scss +67 -0
- data/_sass/foundation/forms/_text.scss +163 -0
- data/_sass/foundation/foundation.scss +102 -0
- data/_sass/foundation/grid/_classes.scss +151 -0
- data/_sass/foundation/grid/_column.scss +126 -0
- data/_sass/foundation/grid/_flex-grid.scss +274 -0
- data/_sass/foundation/grid/_grid.scss +60 -0
- data/_sass/foundation/grid/_gutter.scss +34 -0
- data/_sass/foundation/grid/_layout.scss +51 -0
- data/_sass/foundation/grid/_position.scss +73 -0
- data/_sass/foundation/grid/_row.scss +95 -0
- data/_sass/foundation/grid/_size.scss +24 -0
- data/_sass/foundation/settings/_settings.scss +567 -0
- data/_sass/foundation/typography/_alignment.scss +22 -0
- data/_sass/foundation/typography/_base.scss +443 -0
- data/_sass/foundation/typography/_helpers.scss +77 -0
- data/_sass/foundation/typography/_print.scss +77 -0
- data/_sass/foundation/typography/_typography.scss +28 -0
- data/_sass/foundation/util/_breakpoint.scss +275 -0
- data/_sass/foundation/util/_color.scss +60 -0
- data/_sass/foundation/util/_flex.scss +68 -0
- data/_sass/foundation/util/_mixins.scss +235 -0
- data/_sass/foundation/util/_selector.scss +40 -0
- data/_sass/foundation/util/_unit.scss +90 -0
- data/_sass/foundation/util/_util.scss +11 -0
- data/_sass/foundation/util/_value.scss +107 -0
- data/_sass/main.scss +40 -0
- data/_sass/minima.scss +51 -0
- data/_sass/minima/_base.scss +254 -0
- data/_sass/minima/_layout.scss +255 -0
- data/_sass/minima/_syntax-highlighting.scss +71 -0
- data/_sass/objects/media.scss +55 -0
- data/_sass/objects/section.scss +247 -0
- data/_sass/objects/space.scss +7 -0
- data/_sass/scroll-top.scss +31 -0
- data/_sass/utilities/utilities.scss +190 -0
- data/assets/css/main.scss +110 -0
- data/assets/favicon/apple-touch-icon-114x114.png +0 -0
- data/assets/favicon/apple-touch-icon-120x120.png +0 -0
- data/assets/favicon/apple-touch-icon-144x144.png +0 -0
- data/assets/favicon/apple-touch-icon-152x152.png +0 -0
- data/assets/favicon/apple-touch-icon-57x57.png +0 -0
- data/assets/favicon/apple-touch-icon-60x60.png +0 -0
- data/assets/favicon/apple-touch-icon-72x72.png +0 -0
- data/assets/favicon/apple-touch-icon-76x76.png +0 -0
- data/assets/favicon/favicon-128.png +0 -0
- data/assets/favicon/favicon-16x16.png +0 -0
- data/assets/favicon/favicon-196x196.png +0 -0
- data/assets/favicon/favicon-32x32.png +0 -0
- data/assets/favicon/favicon-96x96.png +0 -0
- data/assets/favicon/favicon.ico +0 -0
- data/assets/favicon/mstile-144x144.png +0 -0
- data/assets/favicon/mstile-150x150.png +0 -0
- data/assets/favicon/mstile-310x150.png +0 -0
- data/assets/favicon/mstile-310x310.png +0 -0
- data/assets/favicon/mstile-70x70.png +0 -0
- data/assets/fonts/bebasneue_regular-webfont.eot +0 -0
- data/assets/fonts/bebasneue_regular-webfont.svg +3906 -0
- data/assets/fonts/bebasneue_regular-webfont.ttf +0 -0
- data/assets/fonts/bebasneue_regular-webfont.woff +0 -0
- data/assets/fonts/bebasneue_regular-webfont.woff2 +0 -0
- data/assets/icons/blog.png +0 -0
- data/assets/icons/compass.png +0 -0
- data/assets/icons/facebook.png +0 -0
- data/assets/icons/github.png +0 -0
- data/assets/icons/googleplus.png +0 -0
- data/assets/icons/instagram.png +0 -0
- data/assets/icons/linkedin.png +0 -0
- data/assets/icons/pinterest.png +0 -0
- data/assets/icons/piratewiki.png +0 -0
- data/assets/icons/redmine.png +0 -0
- data/assets/icons/twitter.png +0 -0
- data/assets/icons/vkontakte.png +0 -0
- data/assets/icons/youtube.png +0 -0
- data/assets/img/brand/logo-group.png +0 -0
- data/assets/img/brand/logo-group.svg +27 -0
- data/assets/img/brand/logo-round.png +0 -0
- data/assets/img/brand/logo-round.svg +104 -0
- data/assets/img/brand/logo.ai +5083 -16
- data/assets/img/brand/logo.pdf +1405 -4
- data/assets/img/brand/logo.png +0 -0
- data/assets/img/brand/logo.svg +10 -0
- data/assets/img/brand/logo_easy.png +0 -0
- data/assets/img/brand/logo_napis.ai +5003 -21
- data/assets/img/brand/logo_napis.pdf +1482 -3
- data/assets/img/brand/logo_napis.png +0 -0
- data/assets/img/brand/logo_napis.svg +48 -0
- data/assets/img/brand/logo_napis_male.png +0 -0
- data/assets/img/brand/logo_napis_white.ai +5106 -16
- data/assets/img/brand/logo_napis_white.pdf +1532 -2
- data/assets/img/brand/logo_napis_white.png +0 -0
- data/assets/img/brand/logo_napis_white.svg +51 -0
- data/assets/img/brand/logo_white.ai +5194 -23
- data/assets/img/brand/logo_white.pdf +1388 -4
- data/assets/img/brand/logo_white.png +0 -0
- data/assets/img/brand/logo_white.svg +14 -0
- data/assets/img/brand/logotyp_email.png +0 -0
- data/assets/img/brand/logow.svg +19 -0
- data/assets/img/header/background.jpg +0 -0
- data/assets/img/people/jakub-pirat.jpg +0 -0
- data/assets/img/posts/obrazek.u.tohoto.postu.jpg +0 -0
- data/assets/img/tiles/lightGrey.png +0 -0
- data/assets/img/tiles/tableOfContent.png +0 -0
- data/assets/js/common-libs.min.js +1 -0
- data/assets/js/custom.min.js +1 -0
- data/assets/people/piratska-strana.png +0 -0
- data/assets/people/ppp.jpg +0 -0
- metadata +316 -0
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
// Foundation for Sites by ZURB
|
|
2
|
+
// foundation.zurb.com
|
|
3
|
+
// Licensed under MIT Open Source
|
|
4
|
+
|
|
5
|
+
////
|
|
6
|
+
/// @group orbit
|
|
7
|
+
////
|
|
8
|
+
|
|
9
|
+
/// Default color for Orbit's bullets.
|
|
10
|
+
/// @type Color
|
|
11
|
+
$orbit-bullet-background: $medium-gray !default;
|
|
12
|
+
|
|
13
|
+
/// Default active color for Orbit's bullets.
|
|
14
|
+
/// @type Color
|
|
15
|
+
$orbit-bullet-background-active: $dark-gray !default;
|
|
16
|
+
|
|
17
|
+
/// Default diameter for Orbit's bullets.
|
|
18
|
+
/// @type Number
|
|
19
|
+
$orbit-bullet-diameter: 1.2rem !default;
|
|
20
|
+
|
|
21
|
+
/// Default margin between Orbit's bullets.
|
|
22
|
+
/// @type Number
|
|
23
|
+
$orbit-bullet-margin: 0.1rem !default;
|
|
24
|
+
|
|
25
|
+
/// Default distance from slide region for Orbit's bullets.
|
|
26
|
+
/// @type Number
|
|
27
|
+
$orbit-bullet-margin-top: 0.8rem !default;
|
|
28
|
+
|
|
29
|
+
/// Default bottom margin from Orbit's bullets to whatever content may lurk below it.
|
|
30
|
+
/// @type Number
|
|
31
|
+
$orbit-bullet-margin-bottom: 0.8rem !default;
|
|
32
|
+
|
|
33
|
+
/// Default background color for Orbit's caption.
|
|
34
|
+
/// @type Color
|
|
35
|
+
$orbit-caption-background: rgba($black, 0.5) !default;
|
|
36
|
+
|
|
37
|
+
/// Default padding for Orbit's caption.
|
|
38
|
+
/// @type Number
|
|
39
|
+
$orbit-caption-padding: 1rem !default;
|
|
40
|
+
|
|
41
|
+
/// Default background color for Orbit's controls when hovered.
|
|
42
|
+
/// @type Color
|
|
43
|
+
$orbit-control-background-hover: rgba($black, 0.5) !default;
|
|
44
|
+
|
|
45
|
+
/// Default padding for Orbit's controls.
|
|
46
|
+
/// @type Number
|
|
47
|
+
$orbit-control-padding: 1rem !default;
|
|
48
|
+
|
|
49
|
+
/// Default z-index for Orbit's controls.
|
|
50
|
+
/// @type Number
|
|
51
|
+
$orbit-control-zindex: 10 !default;
|
|
52
|
+
|
|
53
|
+
/// Adds styles for the outer Orbit wrapper. These styles are used on the `.orbit` class.
|
|
54
|
+
@mixin orbit-wrapper {
|
|
55
|
+
position: relative;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/// Adds styles for the inner Orbit slide container. These styles are used on the `.orbit-container` class.
|
|
59
|
+
@mixin orbit-container {
|
|
60
|
+
position: relative;
|
|
61
|
+
margin: 0;
|
|
62
|
+
overflow: hidden;
|
|
63
|
+
list-style: none;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/// Adds styles for the individual slides of an Orbit slider. These styles are used on the `.orbit-slide` class.
|
|
67
|
+
@mixin orbit-slide {
|
|
68
|
+
width: 100%;
|
|
69
|
+
max-height: 100%;
|
|
70
|
+
|
|
71
|
+
&.no-motionui {
|
|
72
|
+
&.is-active {
|
|
73
|
+
top: 0;
|
|
74
|
+
left: 0;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@mixin orbit-figure {
|
|
80
|
+
margin: 0;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
@mixin orbit-image {
|
|
84
|
+
margin: 0;
|
|
85
|
+
width: 100%;
|
|
86
|
+
max-width: 100%;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/// Adds styles for an orbit slide caption. These styles are used on the `.orbit-caption` class.
|
|
90
|
+
@mixin orbit-caption {
|
|
91
|
+
position: absolute;
|
|
92
|
+
bottom: 0;
|
|
93
|
+
width: 100%;
|
|
94
|
+
padding: $orbit-caption-padding;
|
|
95
|
+
margin-bottom: 0;
|
|
96
|
+
color: foreground($orbit-caption-background);
|
|
97
|
+
background-color: $orbit-caption-background;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/// Adds base styles for the next/previous buttons in an Orbit slider. These styles are shared between the `.orbit-next` and `.orbit-previous` classes in the default CSS.
|
|
101
|
+
@mixin orbit-control {
|
|
102
|
+
@include disable-mouse-outline;
|
|
103
|
+
@include vertical-center;
|
|
104
|
+
z-index: $orbit-control-zindex;
|
|
105
|
+
padding: $orbit-control-padding;
|
|
106
|
+
color: $white;
|
|
107
|
+
|
|
108
|
+
&:hover,
|
|
109
|
+
&:active,
|
|
110
|
+
&:focus {
|
|
111
|
+
background-color: $orbit-control-background-hover;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/// Adds styles for the Orbit previous button. These styles are used on the `.orbit-previous` class.
|
|
116
|
+
@mixin orbit-previous {
|
|
117
|
+
#{$global-left}: 0;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/// Adds styles for the Orbit next button. These styles are used on the `.orbit-next` class.
|
|
121
|
+
@mixin orbit-next {
|
|
122
|
+
#{$global-left}: auto;
|
|
123
|
+
#{$global-right}: 0;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/// Adds styles for a container of Orbit bullets. /// Adds styles for the Orbit previous button. These styles are used on the `.orbit-bullets` class.
|
|
127
|
+
@mixin orbit-bullets {
|
|
128
|
+
@include disable-mouse-outline;
|
|
129
|
+
position: relative;
|
|
130
|
+
margin-top: $orbit-bullet-margin-top;
|
|
131
|
+
margin-bottom: $orbit-bullet-margin-bottom;
|
|
132
|
+
text-align: center;
|
|
133
|
+
|
|
134
|
+
button {
|
|
135
|
+
width: $orbit-bullet-diameter;
|
|
136
|
+
height: $orbit-bullet-diameter;
|
|
137
|
+
margin: $orbit-bullet-margin;
|
|
138
|
+
background-color: $orbit-bullet-background;
|
|
139
|
+
border-radius: 50%;
|
|
140
|
+
|
|
141
|
+
&:hover {
|
|
142
|
+
background-color: $orbit-bullet-background-active;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
&.is-active {
|
|
146
|
+
background-color: $orbit-bullet-background-active;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
@mixin foundation-orbit {
|
|
152
|
+
.orbit {
|
|
153
|
+
@include orbit-wrapper;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.orbit-container {
|
|
157
|
+
@include orbit-container;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.orbit-slide {
|
|
161
|
+
@include orbit-slide;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.orbit-figure {
|
|
165
|
+
@include orbit-figure;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.orbit-image {
|
|
169
|
+
@include orbit-image;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.orbit-caption {
|
|
173
|
+
@include orbit-caption;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
%orbit-control {
|
|
177
|
+
@include orbit-control;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.orbit-previous {
|
|
181
|
+
@extend %orbit-control;
|
|
182
|
+
@include orbit-previous;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.orbit-next {
|
|
186
|
+
@extend %orbit-control;
|
|
187
|
+
@include orbit-next;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.orbit-bullets {
|
|
191
|
+
@include orbit-bullets;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
// Foundation for Sites by ZURB
|
|
2
|
+
// foundation.zurb.com
|
|
3
|
+
// Licensed under MIT Open Source
|
|
4
|
+
|
|
5
|
+
////
|
|
6
|
+
/// @group pagination
|
|
7
|
+
////
|
|
8
|
+
|
|
9
|
+
/// Font size of pagination items.
|
|
10
|
+
/// @type Number
|
|
11
|
+
$pagination-font-size: rem-calc(14) !default;
|
|
12
|
+
|
|
13
|
+
/// Default bottom margin of the media object.
|
|
14
|
+
/// @type Number
|
|
15
|
+
$pagination-margin-bottom: $global-margin !default;
|
|
16
|
+
|
|
17
|
+
/// Text color of pagination items.
|
|
18
|
+
/// @type Color
|
|
19
|
+
$pagination-item-color: $black !default;
|
|
20
|
+
|
|
21
|
+
/// Padding inside of pagination items.
|
|
22
|
+
/// @type Number
|
|
23
|
+
$pagination-item-padding: rem-calc(3 10) !default;
|
|
24
|
+
|
|
25
|
+
/// Right margin to separate pagination items.
|
|
26
|
+
/// @type Number
|
|
27
|
+
$pagination-item-spacing: rem-calc(1) !default;
|
|
28
|
+
|
|
29
|
+
/// Default radius for pagination items.
|
|
30
|
+
/// @type Number
|
|
31
|
+
$pagination-radius: $global-radius !default;
|
|
32
|
+
|
|
33
|
+
/// Background color of pagination items on hover.
|
|
34
|
+
/// @type Color
|
|
35
|
+
$pagination-item-background-hover: $light-gray !default;
|
|
36
|
+
|
|
37
|
+
/// Background color of pagination item for the current page.
|
|
38
|
+
/// @type Color
|
|
39
|
+
$pagination-item-background-current: $primary-color !default;
|
|
40
|
+
|
|
41
|
+
/// Text color of the pagination item for the current page.
|
|
42
|
+
/// @type Color
|
|
43
|
+
$pagination-item-color-current: foreground($pagination-item-background-current) !default;
|
|
44
|
+
|
|
45
|
+
/// Text color of a disabled pagination item.
|
|
46
|
+
/// @type Color
|
|
47
|
+
$pagination-item-color-disabled: $medium-gray !default;
|
|
48
|
+
|
|
49
|
+
/// Color of the ellipsis in a pagination menu.
|
|
50
|
+
/// @type Color
|
|
51
|
+
$pagination-ellipsis-color: $black !default;
|
|
52
|
+
|
|
53
|
+
/// If `false`, don't display page number links on mobile, only next/previous links.
|
|
54
|
+
/// @type Boolean
|
|
55
|
+
$pagination-mobile-items: false !default;
|
|
56
|
+
|
|
57
|
+
/// If `true`, arrows are added to the next and previous links of pagination.
|
|
58
|
+
/// @type Boolean
|
|
59
|
+
$pagination-arrows: true !default;
|
|
60
|
+
|
|
61
|
+
/// Adds styles for a pagination container. Apply this to a `<ul>`.
|
|
62
|
+
@mixin pagination-container {
|
|
63
|
+
@include clearfix;
|
|
64
|
+
margin-#{$global-left}: 0;
|
|
65
|
+
margin-bottom: $pagination-margin-bottom;
|
|
66
|
+
|
|
67
|
+
// List item
|
|
68
|
+
li {
|
|
69
|
+
font-size: $pagination-font-size;
|
|
70
|
+
margin-#{$global-right}: $pagination-item-spacing;
|
|
71
|
+
border-radius: $pagination-radius;
|
|
72
|
+
|
|
73
|
+
@if $pagination-mobile-items {
|
|
74
|
+
display: inline-block;
|
|
75
|
+
}
|
|
76
|
+
@else {
|
|
77
|
+
display: none;
|
|
78
|
+
|
|
79
|
+
&:last-child,
|
|
80
|
+
&:first-child {
|
|
81
|
+
display: inline-block;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@include breakpoint(medium) {
|
|
85
|
+
display: inline-block;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
// Page links
|
|
91
|
+
a,
|
|
92
|
+
button {
|
|
93
|
+
color: $pagination-item-color;
|
|
94
|
+
display: block;
|
|
95
|
+
padding: $pagination-item-padding;
|
|
96
|
+
border-radius: $global-radius;
|
|
97
|
+
|
|
98
|
+
&:hover {
|
|
99
|
+
background: $pagination-item-background-hover;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/// Adds styles for the current pagination item. Apply this to an `<a>`.
|
|
105
|
+
@mixin pagination-item-current {
|
|
106
|
+
padding: $pagination-item-padding;
|
|
107
|
+
background: $pagination-item-background-current;
|
|
108
|
+
color: $pagination-item-color-current;
|
|
109
|
+
cursor: default;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/// Adds styles for a disabled pagination item. Apply this to an `<a>`.
|
|
113
|
+
@mixin pagination-item-disabled {
|
|
114
|
+
padding: $pagination-item-padding;
|
|
115
|
+
color: $pagination-item-color-disabled;
|
|
116
|
+
cursor: not-allowed;
|
|
117
|
+
|
|
118
|
+
&:hover {
|
|
119
|
+
background: transparent;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/// Adds styles for an ellipsis for use in a pagination list.
|
|
124
|
+
@mixin pagination-ellipsis {
|
|
125
|
+
content: '\2026';
|
|
126
|
+
padding: $pagination-item-padding;
|
|
127
|
+
color: $pagination-ellipsis-color;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
@mixin foundation-pagination {
|
|
131
|
+
.pagination {
|
|
132
|
+
@include pagination-container;
|
|
133
|
+
|
|
134
|
+
.current {
|
|
135
|
+
@include pagination-item-current;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.disabled {
|
|
139
|
+
@include pagination-item-disabled;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.ellipsis::after {
|
|
143
|
+
@include pagination-ellipsis;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
@if $pagination-arrows {
|
|
148
|
+
.pagination-previous a::before,
|
|
149
|
+
.pagination-previous.disabled::before {
|
|
150
|
+
content: '\00ab';
|
|
151
|
+
display: inline-block;
|
|
152
|
+
margin-#{$global-right}: 0.5rem;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.pagination-next a::after,
|
|
156
|
+
.pagination-next.disabled::after {
|
|
157
|
+
content: '\00bb';
|
|
158
|
+
display: inline-block;
|
|
159
|
+
margin-#{$global-left}: 0.5rem;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
// Foundation for Sites by ZURB
|
|
2
|
+
// foundation.zurb.com
|
|
3
|
+
// Licensed under MIT Open Source
|
|
4
|
+
|
|
5
|
+
/// Adds styles for a progress bar container.
|
|
6
|
+
@mixin progress-container {
|
|
7
|
+
background-color: $progress-background;
|
|
8
|
+
height: $progress-height;
|
|
9
|
+
margin-bottom: $progress-margin-bottom;
|
|
10
|
+
border-radius: $progress-radius;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/// Adds styles for the inner meter of a progress bar.
|
|
14
|
+
@mixin progress-meter {
|
|
15
|
+
position: relative;
|
|
16
|
+
display: block;
|
|
17
|
+
width: 0%;
|
|
18
|
+
height: 100%;
|
|
19
|
+
background-color: $progress-meter-background;
|
|
20
|
+
|
|
21
|
+
@if has-value($progress-radius) {
|
|
22
|
+
border-radius: $global-radius;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/// Adds styles for text in the progress meter.
|
|
27
|
+
@mixin progress-meter-text {
|
|
28
|
+
@include absolute-center;
|
|
29
|
+
position: absolute;
|
|
30
|
+
margin: 0;
|
|
31
|
+
font-size: 0.75rem;
|
|
32
|
+
font-weight: bold;
|
|
33
|
+
color: $white;
|
|
34
|
+
white-space: nowrap;
|
|
35
|
+
|
|
36
|
+
@if has-value($progress-radius) {
|
|
37
|
+
border-radius: $progress-radius;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@mixin foundation-progress-bar {
|
|
42
|
+
// Progress bar
|
|
43
|
+
.progress {
|
|
44
|
+
@include progress-container;
|
|
45
|
+
|
|
46
|
+
@each $name, $color in $foundation-palette {
|
|
47
|
+
&.#{$name} {
|
|
48
|
+
.progress-meter {
|
|
49
|
+
background-color: $color;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
// Inner meter
|
|
56
|
+
.progress-meter {
|
|
57
|
+
@include progress-meter;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// Inner meter text
|
|
61
|
+
.progress-meter-text {
|
|
62
|
+
@include progress-meter-text;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
// Foundation for Sites by ZURB
|
|
2
|
+
// foundation.zurb.com
|
|
3
|
+
// Licensed under MIT Open Source
|
|
4
|
+
|
|
5
|
+
////
|
|
6
|
+
/// @group reveal
|
|
7
|
+
////
|
|
8
|
+
|
|
9
|
+
/// Default background color of a modal.
|
|
10
|
+
/// @type Color
|
|
11
|
+
$reveal-background: $white !default;
|
|
12
|
+
|
|
13
|
+
/// Default width of a modal, with no class applied.
|
|
14
|
+
/// @type Number
|
|
15
|
+
$reveal-width: 600px !default;
|
|
16
|
+
|
|
17
|
+
/// Default maximum width of a modal.
|
|
18
|
+
/// @type Number
|
|
19
|
+
$reveal-max-width: $global-width !default;
|
|
20
|
+
|
|
21
|
+
/// Default padding inside a modal.
|
|
22
|
+
/// @type Number
|
|
23
|
+
$reveal-padding: $global-padding !default;
|
|
24
|
+
|
|
25
|
+
/// Default border around a modal.
|
|
26
|
+
/// @type Number
|
|
27
|
+
$reveal-border: 1px solid $medium-gray !default;
|
|
28
|
+
|
|
29
|
+
/// Default radius for modal.
|
|
30
|
+
/// @type Number
|
|
31
|
+
$reveal-radius: $global-radius !default;
|
|
32
|
+
|
|
33
|
+
/// z-index for modals. The overlay uses this value, while the modal itself uses this value plus one.
|
|
34
|
+
/// @type Number
|
|
35
|
+
$reveal-zindex: 1005 !default;
|
|
36
|
+
|
|
37
|
+
/// Background color of modal overlays.
|
|
38
|
+
/// @type Color
|
|
39
|
+
$reveal-overlay-background: rgba($black, 0.45) !default;
|
|
40
|
+
|
|
41
|
+
/// Adds styles for a modal overlay.
|
|
42
|
+
/// @param {Color} $background [$reveal-overlay-background] - Background color of the overlay.
|
|
43
|
+
@mixin reveal-overlay {
|
|
44
|
+
display: none;
|
|
45
|
+
position: fixed;
|
|
46
|
+
top: 0;
|
|
47
|
+
bottom: 0;
|
|
48
|
+
left: 0;
|
|
49
|
+
right: 0;
|
|
50
|
+
z-index: $reveal-zindex;
|
|
51
|
+
background-color: $reveal-overlay-background;
|
|
52
|
+
overflow-y: scroll;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/// Adds base styles for a modal.
|
|
56
|
+
@mixin reveal-modal-base {
|
|
57
|
+
@include disable-mouse-outline;
|
|
58
|
+
display: none;
|
|
59
|
+
z-index: $reveal-zindex + 1;
|
|
60
|
+
padding: $reveal-padding;
|
|
61
|
+
border: $reveal-border;
|
|
62
|
+
background-color: $reveal-background;
|
|
63
|
+
border-radius: $reveal-radius;
|
|
64
|
+
|
|
65
|
+
@include breakpoint(medium) {
|
|
66
|
+
min-height: 0;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
// Make sure rows don't have a min-width on them
|
|
70
|
+
.column,
|
|
71
|
+
.columns {
|
|
72
|
+
min-width: 0;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
// Strip margins from the last item in the modal
|
|
76
|
+
> :last-child {
|
|
77
|
+
margin-bottom: 0;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/// Adjusts the width of a modal.
|
|
82
|
+
/// @param {Number} $width - Width of the modal. Generally a percentage.
|
|
83
|
+
/// @param {Number} $max-width [$reveal-max-width] - Maximum width of the modal.
|
|
84
|
+
@mixin reveal-modal-width(
|
|
85
|
+
$width: $reveal-width,
|
|
86
|
+
$max-width: $reveal-max-width
|
|
87
|
+
) {
|
|
88
|
+
@include breakpoint(medium) {
|
|
89
|
+
@extend %reveal-centered;
|
|
90
|
+
width: $width;
|
|
91
|
+
max-width: $reveal-max-width;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/// Creates a full-screen modal, which stretches the full width and height of the window.
|
|
96
|
+
@mixin reveal-modal-fullscreen {
|
|
97
|
+
// scss-lint:disable DuplicateProperty
|
|
98
|
+
top: 0;
|
|
99
|
+
left: 0;
|
|
100
|
+
width: 100%;
|
|
101
|
+
height: 100%;
|
|
102
|
+
height: 100vh;
|
|
103
|
+
min-height: 100vh;
|
|
104
|
+
max-width: none;
|
|
105
|
+
margin-left: 0;
|
|
106
|
+
border: 0;
|
|
107
|
+
border-radius: 0;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
@mixin foundation-reveal {
|
|
111
|
+
// [TODO] Is this necessary?
|
|
112
|
+
// scss-lint:disable QualifyingElement
|
|
113
|
+
body.is-reveal-open {
|
|
114
|
+
overflow: hidden;
|
|
115
|
+
}
|
|
116
|
+
// html gets this class only in iOS
|
|
117
|
+
html.is-reveal-open,
|
|
118
|
+
html.is-reveal-open body {
|
|
119
|
+
height: 100%;
|
|
120
|
+
overflow: hidden;
|
|
121
|
+
user-select: none;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
// Overlay
|
|
125
|
+
.reveal-overlay {
|
|
126
|
+
@include reveal-overlay;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
// Modal container
|
|
130
|
+
.reveal {
|
|
131
|
+
@include reveal-modal-base;
|
|
132
|
+
@include reveal-modal-width($reveal-width);
|
|
133
|
+
position: relative;
|
|
134
|
+
top: 100px;
|
|
135
|
+
margin-left: auto;
|
|
136
|
+
margin-right: auto;
|
|
137
|
+
overflow-y: auto;
|
|
138
|
+
|
|
139
|
+
// Placeholder selector for medium-and-up modals
|
|
140
|
+
// Prevents duplicate CSS when defining multiple Reveal sizes
|
|
141
|
+
@include breakpoint(medium) {
|
|
142
|
+
%reveal-centered {
|
|
143
|
+
left: auto;
|
|
144
|
+
right: auto;
|
|
145
|
+
margin: 0 auto;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
// Remove padding
|
|
150
|
+
&.collapse {
|
|
151
|
+
padding: 0;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
// Sizing classes
|
|
155
|
+
&.tiny { @include reveal-modal-width(30%); }
|
|
156
|
+
&.small { @include reveal-modal-width(50%); }
|
|
157
|
+
&.large { @include reveal-modal-width(90%); }
|
|
158
|
+
|
|
159
|
+
// Full-screen mode
|
|
160
|
+
&.full {
|
|
161
|
+
@include reveal-modal-fullscreen;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
@include breakpoint($-zf-zero-breakpoint only) {
|
|
165
|
+
@include reveal-modal-fullscreen;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
&.without-overlay {
|
|
169
|
+
position: fixed;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|