minimal-mistakes-jekyll 4.0.6 → 4.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/_includes/comments.html +2 -2
- data/_includes/nav_list +4 -2
- data/_sass/_animations.scss +20 -20
- data/_sass/_archive.scss +1 -1
- data/_sass/_buttons.scss +152 -152
- data/_sass/_navigation.scss +542 -431
- data/_sass/_print.scss +1 -1
- data/_sass/_reset.scss +1 -1
- data/_sass/_sidebar.scss +0 -4
- data/_sass/_utilities.scss +1 -1
- data/_sass/_variables.scss +80 -99
- data/_sass/vendor/magnific-popup/_magnific-popup.scss +649 -649
- data/_sass/vendor/magnific-popup/_settings.scss +1 -1
- data/assets/css/main.scss +47 -7
- metadata +2 -2
data/_sass/_print.scss
CHANGED
data/_sass/_reset.scss
CHANGED
data/_sass/_sidebar.scss
CHANGED
data/_sass/_utilities.scss
CHANGED
data/_sass/_variables.scss
CHANGED
@@ -6,142 +6,123 @@
|
|
6
6
|
Typography
|
7
7
|
========================================================================== */
|
8
8
|
|
9
|
-
$doc-font-size : 16;
|
9
|
+
$doc-font-size : 16 !default;
|
10
10
|
|
11
11
|
/* paragraph indention */
|
12
|
-
$paragraph-indent : false; // true, false (default)
|
13
|
-
$indent-var : 1.3em;
|
12
|
+
$paragraph-indent : false !default; // true, false (default)
|
13
|
+
$indent-var : 1.3em !default;
|
14
14
|
|
15
15
|
/* system typefaces */
|
16
|
-
$serif : Georgia, Times, serif;
|
17
|
-
$sans-serif : -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial, sans-serif;
|
18
|
-
$monospace : Monaco, Consolas, "Lucida Console", monospace;
|
16
|
+
$serif : Georgia, Times, serif !default;
|
17
|
+
$sans-serif : -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial, sans-serif !default;
|
18
|
+
$monospace : Monaco, Consolas, "Lucida Console", monospace !default;
|
19
19
|
|
20
20
|
/* sans serif typefaces */
|
21
|
-
$sans-serif-narrow : $sans-serif;
|
22
|
-
$helvetica : Helvetica, "Helvetica Neue", Arial, sans-serif;
|
21
|
+
$sans-serif-narrow : $sans-serif !default;
|
22
|
+
$helvetica : Helvetica, "Helvetica Neue", Arial, sans-serif !default;
|
23
23
|
|
24
24
|
/* serif typefaces */
|
25
|
-
$georgia : Georgia, serif;
|
26
|
-
$times : Times, serif;
|
27
|
-
$bodoni : "Bodoni MT", serif;
|
28
|
-
$calisto : "Calisto MT", serif;
|
29
|
-
$garamond : Garamond, serif;
|
25
|
+
$georgia : Georgia, serif !default;
|
26
|
+
$times : Times, serif !default;
|
27
|
+
$bodoni : "Bodoni MT", serif !default;
|
28
|
+
$calisto : "Calisto MT", serif !default;
|
29
|
+
$garamond : Garamond, serif !default;
|
30
30
|
|
31
|
-
$global-font-family : $sans-serif;
|
32
|
-
$header-font-family : $sans-serif;
|
33
|
-
$caption-font-family : $serif;
|
31
|
+
$global-font-family : $sans-serif !default;
|
32
|
+
$header-font-family : $sans-serif !default;
|
33
|
+
$caption-font-family : $serif !default;
|
34
34
|
|
35
35
|
/* type scale */
|
36
|
-
$type-size-1 : 2.441em; // ~39.056px
|
37
|
-
$type-size-2 : 1.953em; // ~31.248px
|
38
|
-
$type-size-3 : 1.563em; // ~25.008px
|
39
|
-
$type-size-4 : 1.25em; // ~20px
|
40
|
-
$type-size-5 : 1em; // ~16px
|
41
|
-
$type-size-6 : 0.75em; // ~12px
|
42
|
-
$type-size-7 : 0.6875em; // ~11px
|
43
|
-
$type-size-8 : 0.625em; // ~10px
|
36
|
+
$type-size-1 : 2.441em !default; // ~39.056px
|
37
|
+
$type-size-2 : 1.953em !default; // ~31.248px
|
38
|
+
$type-size-3 : 1.563em !default; // ~25.008px
|
39
|
+
$type-size-4 : 1.25em !default; // ~20px
|
40
|
+
$type-size-5 : 1em !default; // ~16px
|
41
|
+
$type-size-6 : 0.75em !default; // ~12px
|
42
|
+
$type-size-7 : 0.6875em !default; // ~11px
|
43
|
+
$type-size-8 : 0.625em !default; // ~10px
|
44
44
|
|
45
45
|
|
46
46
|
/*
|
47
47
|
Colors
|
48
48
|
========================================================================== */
|
49
49
|
|
50
|
-
$gray : #7a8288;
|
51
|
-
$dark-gray : mix(#000, $gray, 40%);
|
52
|
-
$darker-gray : mix(#000, $gray, 60%);
|
53
|
-
$light-gray : mix(#fff, $gray, 50%);
|
54
|
-
$lighter-gray : mix(#fff, $gray, 90%);
|
55
|
-
|
56
|
-
$body-color : #fff;
|
57
|
-
$background-color : #fff;
|
58
|
-
$code-background-color : #fafafa;
|
59
|
-
$code-background-color-dark : $light-gray;
|
60
|
-
$text-color : $dark-gray;
|
61
|
-
$border-color : $lighter-gray;
|
62
|
-
|
63
|
-
$primary-color : #7a8288;
|
64
|
-
$success-color : #62c462;
|
65
|
-
$warning-color : #f89406;
|
66
|
-
$danger-color : #ee5f5b;
|
67
|
-
$info-color : #52adc8;
|
50
|
+
$gray : #7a8288 !default;
|
51
|
+
$dark-gray : mix(#000, $gray, 40%) !default;
|
52
|
+
$darker-gray : mix(#000, $gray, 60%) !default;
|
53
|
+
$light-gray : mix(#fff, $gray, 50%) !default;
|
54
|
+
$lighter-gray : mix(#fff, $gray, 90%) !default;
|
55
|
+
|
56
|
+
$body-color : #fff !default;
|
57
|
+
$background-color : #fff !default;
|
58
|
+
$code-background-color : #fafafa !default;
|
59
|
+
$code-background-color-dark : $light-gray !default;
|
60
|
+
$text-color : $dark-gray !default;
|
61
|
+
$border-color : $lighter-gray !default;
|
62
|
+
|
63
|
+
$primary-color : #7a8288 !default;
|
64
|
+
$success-color : #62c462 !default;
|
65
|
+
$warning-color : #f89406 !default;
|
66
|
+
$danger-color : #ee5f5b !default;
|
67
|
+
$info-color : #52adc8 !default;
|
68
68
|
|
69
69
|
/* brands */
|
70
|
-
$behance-color : #1769FF;
|
71
|
-
$dribbble-color : #ea4c89;
|
72
|
-
$facebook-color : #3b5998;
|
73
|
-
$flickr-color : #ff0084;
|
74
|
-
$foursquare-color : #0072b1;
|
75
|
-
$github-color : #171516;
|
76
|
-
$google-plus-color : #dd4b39;
|
77
|
-
$instagram-color : #517fa4;
|
78
|
-
$lastfm-color : #d51007;
|
79
|
-
$linkedin-color : #007bb6;
|
80
|
-
$pinterest-color : #cb2027;
|
81
|
-
$rss-color : #fa9b39;
|
82
|
-
$soundcloud-color : #ff3300;
|
83
|
-
$stackoverflow-color : #fe7a15;
|
84
|
-
$tumblr-color : #32506d;
|
85
|
-
$twitter-color : #55acee;
|
86
|
-
$vimeo-color : #1ab7ea;
|
87
|
-
$vine-color : #00bf8f;
|
88
|
-
$youtube-color : #bb0000;
|
89
|
-
$xing-color : #006567;
|
70
|
+
$behance-color : #1769FF !default;
|
71
|
+
$dribbble-color : #ea4c89 !default;
|
72
|
+
$facebook-color : #3b5998 !default;
|
73
|
+
$flickr-color : #ff0084 !default;
|
74
|
+
$foursquare-color : #0072b1 !default;
|
75
|
+
$github-color : #171516 !default;
|
76
|
+
$google-plus-color : #dd4b39 !default;
|
77
|
+
$instagram-color : #517fa4 !default;
|
78
|
+
$lastfm-color : #d51007 !default;
|
79
|
+
$linkedin-color : #007bb6 !default;
|
80
|
+
$pinterest-color : #cb2027 !default;
|
81
|
+
$rss-color : #fa9b39 !default;
|
82
|
+
$soundcloud-color : #ff3300 !default;
|
83
|
+
$stackoverflow-color : #fe7a15 !default;
|
84
|
+
$tumblr-color : #32506d !default;
|
85
|
+
$twitter-color : #55acee !default;
|
86
|
+
$vimeo-color : #1ab7ea !default;
|
87
|
+
$vine-color : #00bf8f !default;
|
88
|
+
$youtube-color : #bb0000 !default;
|
89
|
+
$xing-color : #006567 !default;
|
90
90
|
|
91
91
|
|
92
92
|
/* links */
|
93
|
-
$link-color : $info-color;
|
94
|
-
$link-color-hover : mix(#000, $link-color, 25%);
|
95
|
-
$link-color-visited : mix(#fff, $link-color, 25%);
|
96
|
-
$masthead-link-color : $primary-color;
|
97
|
-
$masthead-link-color-hover : mix(#000, $primary-color, 25%);
|
93
|
+
$link-color : $info-color !default;
|
94
|
+
$link-color-hover : mix(#000, $link-color, 25%) !default;
|
95
|
+
$link-color-visited : mix(#fff, $link-color, 25%) !default;
|
96
|
+
$masthead-link-color : $primary-color !default;
|
97
|
+
$masthead-link-color-hover : mix(#000, $primary-color, 25%) !default;
|
98
98
|
|
99
99
|
|
100
100
|
/*
|
101
101
|
Breakpoints
|
102
102
|
========================================================================== */
|
103
103
|
|
104
|
-
|
105
|
-
|
106
|
-
$
|
107
|
-
$
|
108
|
-
$
|
109
|
-
$large : 1024px;
|
110
|
-
$x-large : 1280px;
|
104
|
+
$small : 600px !default;
|
105
|
+
$medium : 768px !default;
|
106
|
+
$medium-wide : 900px !default;
|
107
|
+
$large : 1024px !default;
|
108
|
+
$x-large : 1280px !default;
|
111
109
|
|
112
110
|
|
113
111
|
/*
|
114
112
|
Grid
|
115
113
|
========================================================================== */
|
116
114
|
|
117
|
-
$right-sidebar-width-narrow : 200px;
|
118
|
-
$right-sidebar-width : 300px;
|
119
|
-
$right-sidebar-width-wide : 400px;
|
120
|
-
|
121
|
-
$susy: (
|
122
|
-
columns: 12,
|
123
|
-
// column-width: 90px,
|
124
|
-
gutters: 1/4,
|
125
|
-
math: fluid,
|
126
|
-
output: float,
|
127
|
-
gutter-position: after,
|
128
|
-
container: $large,
|
129
|
-
global-box-sizing: border-box,
|
130
|
-
// debug: (
|
131
|
-
// image: show,
|
132
|
-
// color: blue,
|
133
|
-
// output: overlay,
|
134
|
-
// toggle: top right,
|
135
|
-
// ),
|
136
|
-
);
|
115
|
+
$right-sidebar-width-narrow : 200px !default;
|
116
|
+
$right-sidebar-width : 300px !default;
|
117
|
+
$right-sidebar-width-wide : 400px !default;
|
137
118
|
|
138
119
|
|
139
120
|
/*
|
140
121
|
Other
|
141
122
|
========================================================================== */
|
142
123
|
|
143
|
-
$border-radius : 4px;
|
144
|
-
$box-shadow : 0 1px 1px rgba(0, 0, 0, 0.125);
|
145
|
-
$navicon-width : 28px;
|
146
|
-
$navicon-height : 4px;
|
147
|
-
$global-transition : all 0.2s ease-in-out;
|
124
|
+
$border-radius : 4px !default;
|
125
|
+
$box-shadow : 0 1px 1px rgba(0, 0, 0, 0.125) !default;
|
126
|
+
$navicon-width : 28px !default;
|
127
|
+
$navicon-height : 4px !default;
|
128
|
+
$global-transition : all 0.2s ease-in-out !default;
|
@@ -1,649 +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
|
-
}
|
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
|
+
}
|