jekyll-theme-woforo 0.1.3 → 0.2.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 +4 -4
- data/CHANGELOG.md +690 -0
- data/{LICENSE → LICENSE.txt} +5 -5
- data/README.md +128 -19
- data/_includes/analytics-providers/custom.html +3 -0
- data/_includes/analytics-providers/google-universal.html +9 -0
- data/_includes/analytics-providers/google.html +11 -0
- data/_includes/analytics.html +12 -0
- data/_includes/archive-single.html +38 -0
- data/_includes/author-profile-custom-links.html +7 -0
- data/_includes/author-profile.html +241 -0
- data/_includes/base_path +5 -0
- data/_includes/breadcrumbs.html +39 -0
- data/_includes/browser-upgrade.html +3 -0
- data/_includes/category-list.html +26 -0
- data/_includes/comment.html +22 -0
- data/_includes/comments-providers/custom.html +3 -0
- data/_includes/comments-providers/discourse.html +13 -0
- data/_includes/comments-providers/disqus.html +22 -0
- data/_includes/comments-providers/facebook.html +8 -0
- data/_includes/comments-providers/google-plus.html +2 -0
- data/_includes/comments-providers/scripts.html +18 -0
- data/_includes/comments-providers/staticman.html +42 -0
- data/_includes/comments.html +80 -0
- data/_includes/feature_row +50 -0
- data/_includes/figure +12 -0
- data/_includes/footer.html +22 -0
- data/_includes/footer/custom.html +3 -0
- data/_includes/gallery +47 -0
- data/_includes/group-by-array +47 -0
- data/_includes/head.html +19 -9
- data/_includes/head/custom.html +5 -0
- data/_includes/masthead.html +21 -0
- data/_includes/nav_list +47 -0
- data/_includes/page__hero.html +53 -0
- data/_includes/page__taxonomy.html +7 -0
- data/_includes/paginator.html +68 -0
- data/_includes/post_pagination.html +14 -0
- data/_includes/read-time.html +15 -0
- data/_includes/scripts.html +4 -0
- data/_includes/seo.html +145 -0
- data/_includes/sidebar.html +23 -0
- data/_includes/social-share.html +13 -0
- data/_includes/tag-list.html +26 -0
- data/_includes/toc +7 -0
- data/_layouts/archive-taxonomy.html +15 -0
- data/_layouts/archive.html +24 -0
- data/_layouts/compress.html +10 -0
- data/_layouts/default.html +25 -5
- data/_layouts/home.html +11 -0
- data/_layouts/single.html +74 -0
- data/_layouts/splash.html +20 -0
- data/_sass/_animations.scss +21 -0
- data/_sass/_archive.scss +238 -0
- data/_sass/_base.scss +315 -0
- data/_sass/_buttons.scss +153 -0
- data/_sass/_footer.scss +80 -0
- data/_sass/_forms.scss +391 -0
- data/_sass/_masthead.scss +53 -0
- data/_sass/_mixins.scss +53 -0
- data/_sass/_navigation.scss +544 -0
- data/_sass/_notices.scss +99 -0
- data/_sass/_page.scss +401 -0
- data/_sass/_print.scss +18 -0
- data/_sass/_reset.scss +187 -0
- data/_sass/_sidebar.scss +231 -0
- data/_sass/_syntax.scss +146 -0
- data/_sass/_tables.scss +38 -0
- data/_sass/_utilities.scss +470 -0
- data/_sass/_variables.scss +128 -0
- data/_sass/vendor/breakpoint/_breakpoint.scss +114 -0
- data/_sass/vendor/breakpoint/_context.scss +95 -0
- data/_sass/vendor/breakpoint/_helpers.scss +151 -0
- data/_sass/vendor/breakpoint/_legacy-settings.scss +50 -0
- data/_sass/vendor/breakpoint/_no-query.scss +15 -0
- data/_sass/vendor/breakpoint/_parsers.scss +215 -0
- data/_sass/vendor/breakpoint/_respond-to.scss +82 -0
- data/_sass/vendor/breakpoint/_settings.scss +71 -0
- data/_sass/vendor/breakpoint/parsers/_double.scss +33 -0
- data/_sass/vendor/breakpoint/parsers/_query.scss +82 -0
- data/_sass/vendor/breakpoint/parsers/_resolution.scss +31 -0
- data/_sass/vendor/breakpoint/parsers/_single.scss +26 -0
- data/_sass/vendor/breakpoint/parsers/_triple.scss +36 -0
- data/_sass/vendor/breakpoint/parsers/double/_default-pair.scss +21 -0
- data/_sass/vendor/breakpoint/parsers/double/_default.scss +22 -0
- data/_sass/vendor/breakpoint/parsers/double/_double-string.scss +22 -0
- data/_sass/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -0
- data/_sass/vendor/breakpoint/parsers/single/_default.scss +13 -0
- data/_sass/vendor/breakpoint/parsers/triple/_default.scss +18 -0
- data/_sass/vendor/font-awesome/_animated.scss +34 -0
- data/_sass/vendor/font-awesome/_bordered-pulled.scss +25 -0
- data/_sass/vendor/font-awesome/_core.scss +12 -0
- data/_sass/vendor/font-awesome/_fixed-width.scss +6 -0
- data/_sass/vendor/font-awesome/_font-awesome.scss +18 -0
- data/_sass/vendor/font-awesome/_icons.scss +789 -0
- data/_sass/vendor/font-awesome/_larger.scss +13 -0
- data/_sass/vendor/font-awesome/_list.scss +19 -0
- data/_sass/vendor/font-awesome/_mixins.scss +60 -0
- data/_sass/vendor/font-awesome/_path.scss +15 -0
- data/_sass/vendor/font-awesome/_rotated-flipped.scss +20 -0
- data/_sass/vendor/font-awesome/_screen-reader.scss +5 -0
- data/_sass/vendor/font-awesome/_stacked.scss +20 -0
- data/_sass/vendor/font-awesome/_variables.scss +800 -0
- data/_sass/vendor/magnific-popup/_magnific-popup.scss +649 -0
- data/_sass/vendor/magnific-popup/_settings.scss +46 -0
- data/_sass/vendor/susy/_su.scss +4 -0
- data/_sass/vendor/susy/_susy.scss +4 -0
- data/_sass/vendor/susy/_susyone.scss +4 -0
- data/_sass/vendor/susy/susy/_su.scss +7 -0
- data/_sass/vendor/susy/susy/language/_susy.scss +24 -0
- data/_sass/vendor/susy/susy/language/_susyone.scss +13 -0
- data/_sass/vendor/susy/susy/language/susy/_background.scss +385 -0
- data/_sass/vendor/susy/susy/language/susy/_bleed.scss +200 -0
- data/_sass/vendor/susy/susy/language/susy/_box-sizing.scss +47 -0
- data/_sass/vendor/susy/susy/language/susy/_breakpoint-plugin.scss +185 -0
- data/_sass/vendor/susy/susy/language/susy/_container.scss +81 -0
- data/_sass/vendor/susy/susy/language/susy/_context.scss +36 -0
- data/_sass/vendor/susy/susy/language/susy/_gallery.scss +94 -0
- data/_sass/vendor/susy/susy/language/susy/_grids.scss +64 -0
- data/_sass/vendor/susy/susy/language/susy/_gutters.scss +154 -0
- data/_sass/vendor/susy/susy/language/susy/_isolate.scss +77 -0
- data/_sass/vendor/susy/susy/language/susy/_margins.scss +94 -0
- data/_sass/vendor/susy/susy/language/susy/_padding.scss +74 -0
- data/_sass/vendor/susy/susy/language/susy/_rows.scss +138 -0
- data/_sass/vendor/susy/susy/language/susy/_settings.scss +216 -0
- data/_sass/vendor/susy/susy/language/susy/_span.scss +163 -0
- data/_sass/vendor/susy/susy/language/susy/_validation.scss +16 -0
- data/_sass/vendor/susy/susy/language/susyone/_background.scss +18 -0
- data/_sass/vendor/susy/susy/language/susyone/_functions.scss +377 -0
- data/_sass/vendor/susy/susy/language/susyone/_grid.scss +312 -0
- data/_sass/vendor/susy/susy/language/susyone/_isolation.scss +51 -0
- data/_sass/vendor/susy/susy/language/susyone/_margin.scss +93 -0
- data/_sass/vendor/susy/susy/language/susyone/_media.scss +105 -0
- data/_sass/vendor/susy/susy/language/susyone/_padding.scss +92 -0
- data/_sass/vendor/susy/susy/language/susyone/_settings.scss +60 -0
- data/_sass/vendor/susy/susy/output/_float.scss +9 -0
- data/_sass/vendor/susy/susy/output/_shared.scss +15 -0
- data/_sass/vendor/susy/susy/output/_support.scss +9 -0
- data/_sass/vendor/susy/susy/output/float/_container.scss +16 -0
- data/_sass/vendor/susy/susy/output/float/_end.scss +40 -0
- data/_sass/vendor/susy/susy/output/float/_isolate.scss +22 -0
- data/_sass/vendor/susy/susy/output/float/_span.scss +35 -0
- data/_sass/vendor/susy/susy/output/shared/_background.scss +26 -0
- data/_sass/vendor/susy/susy/output/shared/_container.scss +21 -0
- data/_sass/vendor/susy/susy/output/shared/_direction.scss +42 -0
- data/_sass/vendor/susy/susy/output/shared/_inspect.scss +25 -0
- data/_sass/vendor/susy/susy/output/shared/_margins.scss +23 -0
- data/_sass/vendor/susy/susy/output/shared/_output.scss +14 -0
- data/_sass/vendor/susy/susy/output/shared/_padding.scss +23 -0
- data/_sass/vendor/susy/susy/output/support/_background.scss +58 -0
- data/_sass/vendor/susy/susy/output/support/_box-sizing.scss +19 -0
- data/_sass/vendor/susy/susy/output/support/_clearfix.scss +18 -0
- data/_sass/vendor/susy/susy/output/support/_prefix.scss +19 -0
- data/_sass/vendor/susy/susy/output/support/_rem.scss +22 -0
- data/_sass/vendor/susy/susy/output/support/_support.scss +85 -0
- data/_sass/vendor/susy/susy/su/_grid.scss +103 -0
- data/_sass/vendor/susy/susy/su/_settings.scss +73 -0
- data/_sass/vendor/susy/susy/su/_utilities.scss +111 -0
- data/_sass/vendor/susy/susy/su/_validation.scss +57 -0
- data/assets/css/main.scss +79 -0
- data/assets/fonts/FontAwesome.otf +0 -0
- data/assets/fonts/fontawesome-webfont.eot +0 -0
- data/assets/fonts/fontawesome-webfont.svg +2671 -0
- data/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/assets/fonts/fontawesome-webfont.woff +0 -0
- data/assets/fonts/fontawesome-webfont.woff2 +0 -0
- data/assets/js/_main.js +100 -0
- data/assets/js/main.min.js +5 -0
- data/assets/js/plugins/jquery.fitvids.js +82 -0
- data/assets/js/plugins/jquery.greedy-navigation.js +72 -0
- data/assets/js/plugins/jquery.magnific-popup.js +2049 -0
- data/assets/js/plugins/jquery.smooth-scroll.min.js +8 -0
- data/assets/js/plugins/stickyfill.min.js +8 -0
- data/assets/js/vendor/jquery/jquery-1.12.4.min.js +5 -0
- metadata +243 -16
- data/_includes/header.html +0 -0
- data/_layouts/page.html +0 -5
- data/_layouts/post.html +0 -9
- data/_sass/woforo.scss +0 -24
|
@@ -0,0 +1,649 @@
|
|
|
1
|
+
/* Magnific Popup CSS */
|
|
2
|
+
|
|
3
|
+
@import "settings";
|
|
4
|
+
|
|
5
|
+
////////////////////////
|
|
6
|
+
//
|
|
7
|
+
// Contents:
|
|
8
|
+
//
|
|
9
|
+
// 1. Default Settings
|
|
10
|
+
// 2. General styles
|
|
11
|
+
// - Transluscent overlay
|
|
12
|
+
// - Containers, wrappers
|
|
13
|
+
// - Cursors
|
|
14
|
+
// - Helper classes
|
|
15
|
+
// 3. Appearance
|
|
16
|
+
// - Preloader & text that displays error messages
|
|
17
|
+
// - CSS reset for buttons
|
|
18
|
+
// - Close icon
|
|
19
|
+
// - "1 of X" counter
|
|
20
|
+
// - Navigation (left/right) arrows
|
|
21
|
+
// - Iframe content type styles
|
|
22
|
+
// - Image content type styles
|
|
23
|
+
// - Media query where size of arrows is reduced
|
|
24
|
+
// - IE7 support
|
|
25
|
+
//
|
|
26
|
+
////////////////////////
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
////////////////////////
|
|
31
|
+
// 1. Default Settings
|
|
32
|
+
////////////////////////
|
|
33
|
+
|
|
34
|
+
$mfp-overlay-color: #0b0b0b !default;
|
|
35
|
+
$mfp-overlay-opacity: 0.8 !default;
|
|
36
|
+
$mfp-shadow: 0 0 8px rgba(0, 0, 0, 0.6) !default; // shadow on image or iframe
|
|
37
|
+
$mfp-popup-padding-left: 8px !default; // Padding from left and from right side
|
|
38
|
+
$mfp-popup-padding-left-mobile: 6px !default; // Same as above, but is applied when width of window is less than 800px
|
|
39
|
+
|
|
40
|
+
$mfp-z-index-base: 1040 !default; // Base z-index of popup
|
|
41
|
+
$mfp-include-arrows: true !default; // include styles for nav arrows
|
|
42
|
+
$mfp-controls-opacity: 0.65 !default;
|
|
43
|
+
$mfp-controls-color: #FFF !default;
|
|
44
|
+
$mfp-controls-border-color: #3F3F3F !default;
|
|
45
|
+
$mfp-inner-close-icon-color: #333 !default;
|
|
46
|
+
$mfp-controls-text-color: #CCC !default; // Color of preloader and "1 of X" indicator
|
|
47
|
+
$mfp-controls-text-color-hover: #FFF !default;
|
|
48
|
+
$mfp-IE7support: true !default; // Very basic IE7 support
|
|
49
|
+
|
|
50
|
+
// Iframe-type options
|
|
51
|
+
$mfp-include-iframe-type: true !default;
|
|
52
|
+
$mfp-iframe-padding-top: 40px !default;
|
|
53
|
+
$mfp-iframe-background: #000 !default;
|
|
54
|
+
$mfp-iframe-max-width: 900px !default;
|
|
55
|
+
$mfp-iframe-ratio: 9/16 !default;
|
|
56
|
+
|
|
57
|
+
// Image-type options
|
|
58
|
+
$mfp-include-image-type: true !default;
|
|
59
|
+
$mfp-image-background: #444 !default;
|
|
60
|
+
$mfp-image-padding-top: 40px !default;
|
|
61
|
+
$mfp-image-padding-bottom: 40px !default;
|
|
62
|
+
$mfp-include-mobile-layout-for-image: true !default; // Removes paddings from top and bottom
|
|
63
|
+
|
|
64
|
+
// Image caption options
|
|
65
|
+
$mfp-caption-title-color: #F3F3F3 !default;
|
|
66
|
+
$mfp-caption-subtitle-color: #BDBDBD !default;
|
|
67
|
+
|
|
68
|
+
// A11y
|
|
69
|
+
$mfp-use-visuallyhidden: false !default; // Hide content from browsers, but make it available for screen readers
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
////////////////////////
|
|
74
|
+
// 2. General styles
|
|
75
|
+
////////////////////////
|
|
76
|
+
|
|
77
|
+
// Transluscent overlay
|
|
78
|
+
.mfp-bg {
|
|
79
|
+
top: 0;
|
|
80
|
+
left: 0;
|
|
81
|
+
width: 100%;
|
|
82
|
+
height: 100%;
|
|
83
|
+
z-index: $mfp-z-index-base + 2;
|
|
84
|
+
overflow: hidden;
|
|
85
|
+
position: fixed;
|
|
86
|
+
|
|
87
|
+
background: $mfp-overlay-color;
|
|
88
|
+
opacity: $mfp-overlay-opacity;
|
|
89
|
+
@if $mfp-IE7support {
|
|
90
|
+
filter: unquote("alpha(opacity=#{$mfp-overlay-opacity*100})");
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
// Wrapper for popup
|
|
95
|
+
.mfp-wrap {
|
|
96
|
+
top: 0;
|
|
97
|
+
left: 0;
|
|
98
|
+
width: 100%;
|
|
99
|
+
height: 100%;
|
|
100
|
+
z-index: $mfp-z-index-base + 3;
|
|
101
|
+
position: fixed;
|
|
102
|
+
outline: none !important;
|
|
103
|
+
-webkit-backface-visibility: hidden; // fixes webkit bug that can cause "false" scrollbar
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
// Root container
|
|
107
|
+
.mfp-container {
|
|
108
|
+
text-align: center;
|
|
109
|
+
position: absolute;
|
|
110
|
+
width: 100%;
|
|
111
|
+
height: 100%;
|
|
112
|
+
left: 0;
|
|
113
|
+
top: 0;
|
|
114
|
+
padding: 0 $mfp-popup-padding-left;
|
|
115
|
+
-webkit-box-sizing: border-box;
|
|
116
|
+
-moz-box-sizing: border-box;
|
|
117
|
+
box-sizing: border-box;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
// Vertical centerer helper
|
|
121
|
+
.mfp-container {
|
|
122
|
+
&:before {
|
|
123
|
+
content: '';
|
|
124
|
+
display: inline-block;
|
|
125
|
+
height: 100%;
|
|
126
|
+
vertical-align: middle;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
// Remove vertical centering when popup has class `mfp-align-top`
|
|
131
|
+
.mfp-align-top {
|
|
132
|
+
.mfp-container {
|
|
133
|
+
&:before {
|
|
134
|
+
display: none;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
// Popup content holder
|
|
140
|
+
.mfp-content {
|
|
141
|
+
position: relative;
|
|
142
|
+
display: inline-block;
|
|
143
|
+
vertical-align: middle;
|
|
144
|
+
margin: 0 auto;
|
|
145
|
+
text-align: left;
|
|
146
|
+
z-index: $mfp-z-index-base + 5;
|
|
147
|
+
}
|
|
148
|
+
.mfp-inline-holder,
|
|
149
|
+
.mfp-ajax-holder {
|
|
150
|
+
.mfp-content {
|
|
151
|
+
width: 100%;
|
|
152
|
+
cursor: auto;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
// Cursors
|
|
157
|
+
.mfp-ajax-cur {
|
|
158
|
+
cursor: progress;
|
|
159
|
+
}
|
|
160
|
+
.mfp-zoom-out-cur {
|
|
161
|
+
&, .mfp-image-holder .mfp-close {
|
|
162
|
+
cursor: -moz-zoom-out;
|
|
163
|
+
cursor: -webkit-zoom-out;
|
|
164
|
+
cursor: zoom-out;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
.mfp-zoom {
|
|
168
|
+
cursor: pointer;
|
|
169
|
+
cursor: -webkit-zoom-in;
|
|
170
|
+
cursor: -moz-zoom-in;
|
|
171
|
+
cursor: zoom-in;
|
|
172
|
+
}
|
|
173
|
+
.mfp-auto-cursor {
|
|
174
|
+
.mfp-content {
|
|
175
|
+
cursor: auto;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.mfp-close,
|
|
180
|
+
.mfp-arrow,
|
|
181
|
+
.mfp-preloader,
|
|
182
|
+
.mfp-counter {
|
|
183
|
+
-webkit-user-select:none;
|
|
184
|
+
-moz-user-select: none;
|
|
185
|
+
user-select: none;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
// Hide the image during the loading
|
|
189
|
+
.mfp-loading {
|
|
190
|
+
&.mfp-figure {
|
|
191
|
+
display: none;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
// Helper class that hides stuff
|
|
196
|
+
@if $mfp-use-visuallyhidden {
|
|
197
|
+
// From HTML5 Boilerplate https://github.com/h5bp/html5-boilerplate/blob/v4.2.0/doc/css.md#visuallyhidden
|
|
198
|
+
.mfp-hide {
|
|
199
|
+
border: 0 !important;
|
|
200
|
+
clip: rect(0 0 0 0) !important;
|
|
201
|
+
height: 1px !important;
|
|
202
|
+
margin: -1px !important;
|
|
203
|
+
overflow: hidden !important;
|
|
204
|
+
padding: 0 !important;
|
|
205
|
+
position: absolute !important;
|
|
206
|
+
width: 1px !important;
|
|
207
|
+
}
|
|
208
|
+
} @else {
|
|
209
|
+
.mfp-hide {
|
|
210
|
+
display: none !important;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
////////////////////////
|
|
216
|
+
// 3. Appearance
|
|
217
|
+
////////////////////////
|
|
218
|
+
|
|
219
|
+
// Preloader and text that displays error messages
|
|
220
|
+
.mfp-preloader {
|
|
221
|
+
color: $mfp-controls-text-color;
|
|
222
|
+
position: absolute;
|
|
223
|
+
top: 50%;
|
|
224
|
+
width: auto;
|
|
225
|
+
text-align: center;
|
|
226
|
+
margin-top: -0.8em;
|
|
227
|
+
left: 8px;
|
|
228
|
+
right: 8px;
|
|
229
|
+
z-index: $mfp-z-index-base + 4;
|
|
230
|
+
a {
|
|
231
|
+
color: $mfp-controls-text-color;
|
|
232
|
+
&:hover {
|
|
233
|
+
color: $mfp-controls-text-color-hover;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
// Hide preloader when content successfully loaded
|
|
239
|
+
.mfp-s-ready {
|
|
240
|
+
.mfp-preloader {
|
|
241
|
+
display: none;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
// Hide content when it was not loaded
|
|
246
|
+
.mfp-s-error {
|
|
247
|
+
.mfp-content {
|
|
248
|
+
display: none;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
// CSS-reset for buttons
|
|
253
|
+
button {
|
|
254
|
+
&.mfp-close,
|
|
255
|
+
&.mfp-arrow {
|
|
256
|
+
overflow: visible;
|
|
257
|
+
cursor: pointer;
|
|
258
|
+
background: transparent;
|
|
259
|
+
border: 0;
|
|
260
|
+
-webkit-appearance: none;
|
|
261
|
+
display: block;
|
|
262
|
+
outline: none;
|
|
263
|
+
padding: 0;
|
|
264
|
+
z-index: $mfp-z-index-base + 6;
|
|
265
|
+
-webkit-box-shadow: none;
|
|
266
|
+
box-shadow: none;
|
|
267
|
+
}
|
|
268
|
+
&::-moz-focus-inner {
|
|
269
|
+
padding: 0;
|
|
270
|
+
border: 0
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
// Close icon
|
|
276
|
+
.mfp-close {
|
|
277
|
+
width: 44px;
|
|
278
|
+
height: 44px;
|
|
279
|
+
line-height: 44px;
|
|
280
|
+
|
|
281
|
+
position: absolute;
|
|
282
|
+
right: 0;
|
|
283
|
+
top: 0;
|
|
284
|
+
text-decoration: none;
|
|
285
|
+
text-align: center;
|
|
286
|
+
opacity: $mfp-controls-opacity;
|
|
287
|
+
@if $mfp-IE7support {
|
|
288
|
+
filter: unquote("alpha(opacity=#{$mfp-controls-opacity*100})");
|
|
289
|
+
}
|
|
290
|
+
padding: 0 0 18px 10px;
|
|
291
|
+
color: $mfp-controls-color;
|
|
292
|
+
|
|
293
|
+
font-style: normal;
|
|
294
|
+
font-size: 28px;
|
|
295
|
+
font-family: $serif;
|
|
296
|
+
|
|
297
|
+
&:hover,
|
|
298
|
+
&:focus {
|
|
299
|
+
opacity: 1;
|
|
300
|
+
@if $mfp-IE7support {
|
|
301
|
+
filter: unquote("alpha(opacity=#{1*100})");
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
&:active {
|
|
306
|
+
top: 1px;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
.mfp-close-btn-in {
|
|
310
|
+
.mfp-close {
|
|
311
|
+
color: $mfp-inner-close-icon-color;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
.mfp-image-holder,
|
|
315
|
+
.mfp-iframe-holder {
|
|
316
|
+
.mfp-close {
|
|
317
|
+
color: $mfp-controls-color;
|
|
318
|
+
right: -6px;
|
|
319
|
+
text-align: right;
|
|
320
|
+
padding-right: 6px;
|
|
321
|
+
width: 100%;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
// "1 of X" counter
|
|
326
|
+
.mfp-counter {
|
|
327
|
+
position: absolute;
|
|
328
|
+
top: 0;
|
|
329
|
+
right: 0;
|
|
330
|
+
color: $mfp-controls-text-color;
|
|
331
|
+
font-size: 12px;
|
|
332
|
+
line-height: 18px;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
// Navigation arrows
|
|
336
|
+
@if $mfp-include-arrows {
|
|
337
|
+
.mfp-arrow {
|
|
338
|
+
position: absolute;
|
|
339
|
+
opacity: $mfp-controls-opacity;
|
|
340
|
+
@if $mfp-IE7support {
|
|
341
|
+
filter: unquote("alpha(opacity=#{$mfp-controls-opacity*100})");
|
|
342
|
+
}
|
|
343
|
+
margin: 0;
|
|
344
|
+
top: 50%;
|
|
345
|
+
margin-top: -55px;
|
|
346
|
+
padding: 0;
|
|
347
|
+
width: 90px;
|
|
348
|
+
height: 110px;
|
|
349
|
+
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
350
|
+
&:active {
|
|
351
|
+
margin-top: -54px;
|
|
352
|
+
}
|
|
353
|
+
&:hover,
|
|
354
|
+
&:focus {
|
|
355
|
+
opacity: 1;
|
|
356
|
+
@if $mfp-IE7support {
|
|
357
|
+
filter: unquote("alpha(opacity=#{1*100})");
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
&:before,
|
|
361
|
+
&:after,
|
|
362
|
+
.mfp-b,
|
|
363
|
+
.mfp-a {
|
|
364
|
+
content: '';
|
|
365
|
+
display: block;
|
|
366
|
+
width: 0;
|
|
367
|
+
height: 0;
|
|
368
|
+
position: absolute;
|
|
369
|
+
left: 0;
|
|
370
|
+
top: 0;
|
|
371
|
+
margin-top: 35px;
|
|
372
|
+
margin-left: 35px;
|
|
373
|
+
border: medium inset transparent;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
&:after,
|
|
377
|
+
.mfp-a {
|
|
378
|
+
|
|
379
|
+
border-top-width: 13px;
|
|
380
|
+
border-bottom-width: 13px;
|
|
381
|
+
top:8px;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
&:before,
|
|
385
|
+
.mfp-b {
|
|
386
|
+
border-top-width: 21px;
|
|
387
|
+
border-bottom-width: 21px;
|
|
388
|
+
opacity: 0.7;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.mfp-arrow-left {
|
|
394
|
+
left: 0;
|
|
395
|
+
|
|
396
|
+
&:after,
|
|
397
|
+
.mfp-a {
|
|
398
|
+
border-right: 17px solid $mfp-controls-color;
|
|
399
|
+
margin-left: 31px;
|
|
400
|
+
}
|
|
401
|
+
&:before,
|
|
402
|
+
.mfp-b {
|
|
403
|
+
margin-left: 25px;
|
|
404
|
+
border-right: 27px solid $mfp-controls-border-color;
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.mfp-arrow-right {
|
|
409
|
+
right: 0;
|
|
410
|
+
&:after,
|
|
411
|
+
.mfp-a {
|
|
412
|
+
border-left: 17px solid $mfp-controls-color;
|
|
413
|
+
margin-left: 39px
|
|
414
|
+
}
|
|
415
|
+
&:before,
|
|
416
|
+
.mfp-b {
|
|
417
|
+
border-left: 27px solid $mfp-controls-border-color;
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
// Iframe content type
|
|
425
|
+
@if $mfp-include-iframe-type {
|
|
426
|
+
.mfp-iframe-holder {
|
|
427
|
+
padding-top: $mfp-iframe-padding-top;
|
|
428
|
+
padding-bottom: $mfp-iframe-padding-top;
|
|
429
|
+
.mfp-content {
|
|
430
|
+
line-height: 0;
|
|
431
|
+
width: 100%;
|
|
432
|
+
max-width: $mfp-iframe-max-width;
|
|
433
|
+
}
|
|
434
|
+
.mfp-close {
|
|
435
|
+
top: -40px;
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
.mfp-iframe-scaler {
|
|
439
|
+
width: 100%;
|
|
440
|
+
height: 0;
|
|
441
|
+
overflow: hidden;
|
|
442
|
+
padding-top: $mfp-iframe-ratio * 100%;
|
|
443
|
+
iframe {
|
|
444
|
+
position: absolute;
|
|
445
|
+
display: block;
|
|
446
|
+
top: 0;
|
|
447
|
+
left: 0;
|
|
448
|
+
width: 100%;
|
|
449
|
+
height: 100%;
|
|
450
|
+
box-shadow: $mfp-shadow;
|
|
451
|
+
background: $mfp-iframe-background;
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
// Image content type
|
|
459
|
+
@if $mfp-include-image-type {
|
|
460
|
+
|
|
461
|
+
/* Main image in popup */
|
|
462
|
+
img {
|
|
463
|
+
&.mfp-img {
|
|
464
|
+
width: auto;
|
|
465
|
+
max-width: 100%;
|
|
466
|
+
height: auto;
|
|
467
|
+
display: block;
|
|
468
|
+
line-height: 0;
|
|
469
|
+
-webkit-box-sizing: border-box;
|
|
470
|
+
-moz-box-sizing: border-box;
|
|
471
|
+
box-sizing: border-box;
|
|
472
|
+
padding: $mfp-image-padding-top 0 $mfp-image-padding-bottom;
|
|
473
|
+
margin: 0 auto;
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
/* The shadow behind the image */
|
|
478
|
+
.mfp-figure {
|
|
479
|
+
line-height: 0;
|
|
480
|
+
&:after {
|
|
481
|
+
content: '';
|
|
482
|
+
position: absolute;
|
|
483
|
+
left: 0;
|
|
484
|
+
top: $mfp-image-padding-top;
|
|
485
|
+
bottom: $mfp-image-padding-bottom;
|
|
486
|
+
display: block;
|
|
487
|
+
right: 0;
|
|
488
|
+
width: auto;
|
|
489
|
+
height: auto;
|
|
490
|
+
z-index: -1;
|
|
491
|
+
box-shadow: $mfp-shadow;
|
|
492
|
+
background: $mfp-image-background;
|
|
493
|
+
}
|
|
494
|
+
small {
|
|
495
|
+
color: $mfp-caption-subtitle-color;
|
|
496
|
+
display: block;
|
|
497
|
+
font-size: 12px;
|
|
498
|
+
line-height: 14px;
|
|
499
|
+
}
|
|
500
|
+
figure {
|
|
501
|
+
margin: 0;
|
|
502
|
+
}
|
|
503
|
+
figcaption {
|
|
504
|
+
margin-top: 0;
|
|
505
|
+
margin-bottom: 0; // reset for bottom spacing
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
.mfp-bottom-bar {
|
|
509
|
+
margin-top: -$mfp-image-padding-bottom + 4;
|
|
510
|
+
position: absolute;
|
|
511
|
+
top: 100%;
|
|
512
|
+
left: 0;
|
|
513
|
+
width: 100%;
|
|
514
|
+
cursor: auto;
|
|
515
|
+
}
|
|
516
|
+
.mfp-title {
|
|
517
|
+
text-align: left;
|
|
518
|
+
line-height: 18px;
|
|
519
|
+
color: $mfp-caption-title-color;
|
|
520
|
+
word-wrap: break-word;
|
|
521
|
+
padding-right: 36px; // leave some space for counter at right side
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
.mfp-image-holder {
|
|
525
|
+
.mfp-content {
|
|
526
|
+
max-width: 100%;
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
.mfp-gallery {
|
|
531
|
+
.mfp-image-holder {
|
|
532
|
+
.mfp-figure {
|
|
533
|
+
cursor: pointer;
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
@if $mfp-include-mobile-layout-for-image {
|
|
540
|
+
@media screen and (max-width: 800px) and (orientation:landscape), screen and (max-height: 300px) {
|
|
541
|
+
/**
|
|
542
|
+
* Remove all paddings around the image on small screen
|
|
543
|
+
*/
|
|
544
|
+
.mfp-img-mobile {
|
|
545
|
+
.mfp-image-holder {
|
|
546
|
+
padding-left: 0;
|
|
547
|
+
padding-right: 0;
|
|
548
|
+
}
|
|
549
|
+
img {
|
|
550
|
+
&.mfp-img {
|
|
551
|
+
padding: 0;
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
.mfp-figure {
|
|
555
|
+
// The shadow behind the image
|
|
556
|
+
&:after {
|
|
557
|
+
top: 0;
|
|
558
|
+
bottom: 0;
|
|
559
|
+
}
|
|
560
|
+
small {
|
|
561
|
+
display: inline;
|
|
562
|
+
margin-left: 5px;
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
.mfp-bottom-bar {
|
|
566
|
+
background: rgba(0,0,0,0.6);
|
|
567
|
+
bottom: 0;
|
|
568
|
+
margin: 0;
|
|
569
|
+
top: auto;
|
|
570
|
+
padding: 3px 5px;
|
|
571
|
+
position: fixed;
|
|
572
|
+
-webkit-box-sizing: border-box;
|
|
573
|
+
-moz-box-sizing: border-box;
|
|
574
|
+
box-sizing: border-box;
|
|
575
|
+
&:empty {
|
|
576
|
+
padding: 0;
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
.mfp-counter {
|
|
580
|
+
right: 5px;
|
|
581
|
+
top: 3px;
|
|
582
|
+
}
|
|
583
|
+
.mfp-close {
|
|
584
|
+
top: 0;
|
|
585
|
+
right: 0;
|
|
586
|
+
width: 35px;
|
|
587
|
+
height: 35px;
|
|
588
|
+
line-height: 35px;
|
|
589
|
+
background: rgba(0, 0, 0, 0.6);
|
|
590
|
+
position: fixed;
|
|
591
|
+
text-align: center;
|
|
592
|
+
padding: 0;
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
|
|
600
|
+
|
|
601
|
+
// Scale navigation arrows and reduce padding from sides
|
|
602
|
+
@media all and (max-width: 900px) {
|
|
603
|
+
.mfp-arrow {
|
|
604
|
+
-webkit-transform: scale(0.75);
|
|
605
|
+
transform: scale(0.75);
|
|
606
|
+
}
|
|
607
|
+
.mfp-arrow-left {
|
|
608
|
+
-webkit-transform-origin: 0;
|
|
609
|
+
transform-origin: 0;
|
|
610
|
+
}
|
|
611
|
+
.mfp-arrow-right {
|
|
612
|
+
-webkit-transform-origin: 100%;
|
|
613
|
+
transform-origin: 100%;
|
|
614
|
+
}
|
|
615
|
+
.mfp-container {
|
|
616
|
+
padding-left: $mfp-popup-padding-left-mobile;
|
|
617
|
+
padding-right: $mfp-popup-padding-left-mobile;
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
// IE7 support
|
|
624
|
+
// Styles that make popup look nicier in old IE
|
|
625
|
+
@if $mfp-IE7support {
|
|
626
|
+
.mfp-ie7 {
|
|
627
|
+
.mfp-img {
|
|
628
|
+
padding: 0;
|
|
629
|
+
}
|
|
630
|
+
.mfp-bottom-bar {
|
|
631
|
+
width: 600px;
|
|
632
|
+
left: 50%;
|
|
633
|
+
margin-left: -300px;
|
|
634
|
+
margin-top: 5px;
|
|
635
|
+
padding-bottom: 5px;
|
|
636
|
+
}
|
|
637
|
+
.mfp-container {
|
|
638
|
+
padding: 0;
|
|
639
|
+
}
|
|
640
|
+
.mfp-content {
|
|
641
|
+
padding-top: 44px;
|
|
642
|
+
}
|
|
643
|
+
.mfp-close {
|
|
644
|
+
top: 0;
|
|
645
|
+
right: 0;
|
|
646
|
+
padding-top: 0;
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
}
|