linaro-jekyll-theme 0.1.2 → 0.1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (266) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +52 -19
  3. data/_data/authors.yml +7 -0
  4. data/_data/company.yml +29 -0
  5. data/_data/footer.yml +111 -0
  6. data/_data/linaro.yml +4 -0
  7. data/_data/members_db.yaml +115 -0
  8. data/_data/nav.yml +62 -0
  9. data/_data/news.yaml +230 -0
  10. data/_data/sub-nav-stacked.yml +67 -0
  11. data/_data/sub-nav.yml +61 -0
  12. data/_includes/_theme-includes/_blog/pagination.html +1 -1
  13. data/_includes/_theme-includes/_footer/footer.html +54 -23
  14. data/_includes/_theme-includes/_head/head.html +15 -7
  15. data/_includes/_theme-includes/_navigation/nav.html +62 -14
  16. data/_includes/_theme-includes/_navigation/stacked-nav.html +20 -0
  17. data/_includes/_theme-includes/_navigation/tabbed-nav.html +35 -0
  18. data/_includes/_theme-includes/_page-structure/breadcrumb.html +77 -27
  19. data/_includes/_theme-includes/_page-structure/home-hero-shape.html +34 -0
  20. data/_includes/_theme-includes/_page-structure/home-hero.html +23 -0
  21. data/_includes/_theme-includes/_page-structure/shape-divider.html +12 -0
  22. data/_includes/_theme-includes/_script-includes/css.html +40 -1
  23. data/_includes/_theme-includes/_script-includes/google-analytics/script.html +10 -0
  24. data/_includes/_theme-includes/_script-includes/gtm/gtm-noscript.html +2 -1
  25. data/_includes/_theme-includes/_script-includes/gtm/gtm-script.html +9 -7
  26. data/_includes/_theme-includes/_script-includes/javascript.html +50 -2
  27. data/_includes/_theme-includes/_third-party/disqus.html +1 -1
  28. data/_includes/_theme-includes/_third-party/mailchimp-homepage.html +1 -6
  29. data/_includes/_theme-includes/members.html +3 -3
  30. data/_includes/image.html +6 -1
  31. data/_includes/media.html +9 -1
  32. data/_includes/youtube.html +7 -0
  33. data/{assets/vendor.js → _layouts/about.html} +0 -0
  34. data/_layouts/accessory-display-page.html +88 -0
  35. data/_layouts/blog-breadcrumbless.html +49 -0
  36. data/_layouts/blog.html +56 -0
  37. data/_layouts/contact.html +10 -0
  38. data/_layouts/default-empty.html +11 -0
  39. data/_layouts/default-no-sub-nav.html +15 -0
  40. data/_layouts/default-plain.html +16 -0
  41. data/_layouts/default-stacked-breadcrumb.html +23 -0
  42. data/_layouts/default-stacked.html +22 -0
  43. data/_layouts/default.html +20 -0
  44. data/_layouts/empty.html +10 -0
  45. data/_layouts/{plain-page.html → fluid-no-sub-nav.html} +2 -2
  46. data/_layouts/fluid.html +15 -0
  47. data/_layouts/home-shape.html +18 -0
  48. data/_layouts/home.html +18 -0
  49. data/_layouts/post.html +146 -0
  50. data/_layouts/product-display-page.html +262 -0
  51. data/_layouts/project-display-page.html +28 -0
  52. data/_sass/bootstrap/_variables.scss +28 -5
  53. data/{_assets/css → _sass}/core/animations.scss +0 -0
  54. data/{_assets/css → _sass}/core/blog.scss +36 -25
  55. data/{_assets/css → _sass}/core/breadcrumb.scss +20 -1
  56. data/_sass/core/carousel-styles.scss +3 -0
  57. data/{_assets/css → _sass}/core/carousel.scss +0 -0
  58. data/{_assets/css → _sass}/core/cookieconsent.scss +31 -2
  59. data/_sass/core/custom.scss +3 -0
  60. data/{_assets/css → _sass}/core/fa.scss +7 -2
  61. data/{_assets/css → _sass}/core/flipclock.scss +0 -0
  62. data/{_assets/css → _sass}/core/font-awesome.min.scss +0 -0
  63. data/{_assets/css → _sass}/core/fonts.scss +0 -0
  64. data/{_assets/css → _sass}/core/footer.scss +55 -13
  65. data/_sass/core/homepage.scss +40 -0
  66. data/{_assets/css → _sass}/core/lightbox.scss +0 -0
  67. data/{_assets/css → _sass}/core/nav.scss +136 -15
  68. data/{_assets/css → _sass}/core/openhours.scss +0 -0
  69. data/{_assets/css → _sass}/core/owl.carousel.min.scss +1 -1
  70. data/{_assets/css → _sass}/core/owl.theme.default.min.scss +0 -0
  71. data/{_assets/css → _sass}/core/products.scss +1 -1
  72. data/{_assets/css → _sass}/core/projects.scss +0 -0
  73. data/{_assets/css → _sass}/core/social-media-icons.scss +0 -0
  74. data/{_assets/css → _sass}/core/syntax.scss +0 -0
  75. data/{_assets/css → _sass}/core/tables.scss +38 -0
  76. data/_sass/core/theme.scss +538 -0
  77. data/_sass/custom.scss +0 -0
  78. data/assets/css/main-blog.scss +19 -0
  79. data/assets/css/main-home.scss +16 -0
  80. data/assets/css/main-lightbox.scss +22 -0
  81. data/assets/css/main-openhours.scss +19 -0
  82. data/assets/css/main-products.scss +20 -0
  83. data/assets/css/main-projects.scss +20 -0
  84. data/{_assets → assets}/css/main.scss +6 -0
  85. data/assets/fonts/fontawesome-webfont.eot +0 -0
  86. data/assets/fonts/fontawesome-webfont.svg +2671 -0
  87. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  88. data/assets/fonts/fontawesome-webfont.woff +0 -0
  89. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
  90. data/assets/fonts/fontello.eot +0 -0
  91. data/assets/fonts/fontello.svg +44 -0
  92. data/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
  93. data/assets/fonts/glyphicons-halflings-regular.woff +0 -0
  94. data/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
  95. data/assets/fonts/lato-regular/LICENSE.txt +93 -0
  96. data/assets/fonts/lato-regular/Lato-regular.eot +0 -0
  97. data/assets/fonts/lato-regular/Lato-regular.svg +435 -0
  98. data/assets/fonts/lato-regular/Lato-regular.ttf +0 -0
  99. data/assets/fonts/lato-regular/Lato-regular.woff +0 -0
  100. data/assets/fonts/lato-regular/Lato-regular.woff2 +0 -0
  101. data/{_assets → assets}/images/96boards-Logo.svg +0 -0
  102. data/{_assets → assets}/images/Linaro-Logo_light.png +0 -0
  103. data/{_assets → assets}/images/Linaro-Logo_standard.svg +0 -0
  104. data/{_assets → assets}/images/Linaro-Sprinkle.svg +0 -0
  105. data/assets/images/avatar-placeholder.png +0 -0
  106. data/assets/images/background-image.jpg +0 -0
  107. data/assets/images/banner.jpg +0 -0
  108. data/assets/images/close.png +0 -0
  109. data/assets/images/css3.png +0 -0
  110. data/assets/images/favicon.ico +0 -0
  111. data/assets/images/favicon.png +0 -0
  112. data/assets/images/html5.png +0 -0
  113. data/assets/images/jekyll.svg +1 -0
  114. data/assets/images/js.jpeg +0 -0
  115. data/assets/images/loading.gif +0 -0
  116. data/assets/images/next.png +0 -0
  117. data/assets/images/owl.video.play.png +0 -0
  118. data/assets/images/placeholder.png +0 -0
  119. data/assets/images/prev.png +0 -0
  120. data/assets/images/social-media-image.png +0 -0
  121. data/assets/js/app/main.js +16 -23
  122. data/{_assets/js/app/search-page.js → assets/js/app/search.js} +1 -1
  123. data/{_assets/js/app/sticky-navbar.js → assets/js/app/sticky.js} +0 -0
  124. data/assets/js/app/tables.js +8 -0
  125. data/assets/js/vendor/cognito-forms.js +150 -0
  126. data/assets/js/vendor/cookieconsent.min.js +2 -9
  127. data/assets/js/vendor/flipclock.min.js +33 -0
  128. data/assets/js/vendor/lightbox.min.js +14 -0
  129. data/robots.txt +9 -0
  130. metadata +156 -226
  131. data/_assets/css/_bootstrap-compass.scss +0 -9
  132. data/_assets/css/_bootstrap-mincer.scss +0 -19
  133. data/_assets/css/_bootstrap-sprockets.scss +0 -9
  134. data/_assets/css/_bootstrap.scss +0 -56
  135. data/_assets/css/blog-pages.scss +0 -5
  136. data/_assets/css/bootstrap/_alerts.scss +0 -73
  137. data/_assets/css/bootstrap/_badges.scss +0 -68
  138. data/_assets/css/bootstrap/_breadcrumbs.scss +0 -28
  139. data/_assets/css/bootstrap/_button-groups.scss +0 -244
  140. data/_assets/css/bootstrap/_buttons.scss +0 -168
  141. data/_assets/css/bootstrap/_carousel.scss +0 -270
  142. data/_assets/css/bootstrap/_close.scss +0 -36
  143. data/_assets/css/bootstrap/_code.scss +0 -69
  144. data/_assets/css/bootstrap/_component-animations.scss +0 -37
  145. data/_assets/css/bootstrap/_dropdowns.scss +0 -216
  146. data/_assets/css/bootstrap/_forms.scss +0 -617
  147. data/_assets/css/bootstrap/_glyphicons.scss +0 -307
  148. data/_assets/css/bootstrap/_grid.scss +0 -84
  149. data/_assets/css/bootstrap/_input-groups.scss +0 -171
  150. data/_assets/css/bootstrap/_jumbotron.scss +0 -54
  151. data/_assets/css/bootstrap/_labels.scss +0 -66
  152. data/_assets/css/bootstrap/_list-group.scss +0 -130
  153. data/_assets/css/bootstrap/_media.scss +0 -66
  154. data/_assets/css/bootstrap/_mixins.scss +0 -40
  155. data/_assets/css/bootstrap/_modals.scss +0 -150
  156. data/_assets/css/bootstrap/_navbar.scss +0 -662
  157. data/_assets/css/bootstrap/_navs.scss +0 -242
  158. data/_assets/css/bootstrap/_normalize.scss +0 -424
  159. data/_assets/css/bootstrap/_pager.scss +0 -54
  160. data/_assets/css/bootstrap/_pagination.scss +0 -89
  161. data/_assets/css/bootstrap/_panels.scss +0 -271
  162. data/_assets/css/bootstrap/_popovers.scss +0 -131
  163. data/_assets/css/bootstrap/_print.scss +0 -101
  164. data/_assets/css/bootstrap/_progress-bars.scss +0 -87
  165. data/_assets/css/bootstrap/_responsive-embed.scss +0 -35
  166. data/_assets/css/bootstrap/_responsive-utilities.scss +0 -179
  167. data/_assets/css/bootstrap/_scaffolding.scss +0 -161
  168. data/_assets/css/bootstrap/_tables.scss +0 -234
  169. data/_assets/css/bootstrap/_theme.scss +0 -291
  170. data/_assets/css/bootstrap/_thumbnails.scss +0 -38
  171. data/_assets/css/bootstrap/_tooltip.scss +0 -101
  172. data/_assets/css/bootstrap/_type.scss +0 -298
  173. data/_assets/css/bootstrap/_utilities.scss +0 -55
  174. data/_assets/css/bootstrap/_variables.scss +0 -874
  175. data/_assets/css/bootstrap/_wells.scss +0 -29
  176. data/_assets/css/bootstrap/mixins/_alerts.scss +0 -14
  177. data/_assets/css/bootstrap/mixins/_background-variant.scss +0 -12
  178. data/_assets/css/bootstrap/mixins/_border-radius.scss +0 -18
  179. data/_assets/css/bootstrap/mixins/_buttons.scss +0 -65
  180. data/_assets/css/bootstrap/mixins/_center-block.scss +0 -7
  181. data/_assets/css/bootstrap/mixins/_clearfix.scss +0 -22
  182. data/_assets/css/bootstrap/mixins/_forms.scss +0 -88
  183. data/_assets/css/bootstrap/mixins/_gradients.scss +0 -58
  184. data/_assets/css/bootstrap/mixins/_grid-framework.scss +0 -81
  185. data/_assets/css/bootstrap/mixins/_grid.scss +0 -122
  186. data/_assets/css/bootstrap/mixins/_hide-text.scss +0 -21
  187. data/_assets/css/bootstrap/mixins/_image.scss +0 -33
  188. data/_assets/css/bootstrap/mixins/_labels.scss +0 -12
  189. data/_assets/css/bootstrap/mixins/_list-group.scss +0 -32
  190. data/_assets/css/bootstrap/mixins/_nav-divider.scss +0 -10
  191. data/_assets/css/bootstrap/mixins/_nav-vertical-align.scss +0 -9
  192. data/_assets/css/bootstrap/mixins/_opacity.scss +0 -8
  193. data/_assets/css/bootstrap/mixins/_pagination.scss +0 -24
  194. data/_assets/css/bootstrap/mixins/_panels.scss +0 -24
  195. data/_assets/css/bootstrap/mixins/_progress-bar.scss +0 -10
  196. data/_assets/css/bootstrap/mixins/_reset-filter.scss +0 -8
  197. data/_assets/css/bootstrap/mixins/_reset-text.scss +0 -18
  198. data/_assets/css/bootstrap/mixins/_resize.scss +0 -6
  199. data/_assets/css/bootstrap/mixins/_responsive-visibility.scss +0 -21
  200. data/_assets/css/bootstrap/mixins/_size.scss +0 -10
  201. data/_assets/css/bootstrap/mixins/_tab-focus.scss +0 -9
  202. data/_assets/css/bootstrap/mixins/_table-row.scss +0 -28
  203. data/_assets/css/bootstrap/mixins/_text-emphasis.scss +0 -12
  204. data/_assets/css/bootstrap/mixins/_text-overflow.scss +0 -8
  205. data/_assets/css/bootstrap/mixins/_vendor-prefixes.scss +0 -222
  206. data/_assets/css/core/critical.scss +0 -991
  207. data/_assets/css/core/homepage.scss +0 -16
  208. data/_assets/css/core/members-sprite.scss +0 -425
  209. data/_assets/css/core/theme.scss +0 -244
  210. data/_assets/css/documentation-pages.scss +0 -3
  211. data/_assets/css/home-page.scss +0 -3
  212. data/_assets/css/openhours-page.scss +0 -4
  213. data/_assets/css/products-pages.scss +0 -5
  214. data/_assets/css/projects-pages.scss +0 -5
  215. data/_assets/js/app/96boards.js +0 -133
  216. data/_assets/js/app/mixitup.js +0 -23
  217. data/_assets/js/app.js +0 -5
  218. data/_assets/js/vendor/bootstrap.min.js +0 -7
  219. data/_assets/js/vendor/cookieconsent.min.js +0 -15
  220. data/_assets/js/vendor/filtrify.js +0 -11
  221. data/_assets/js/vendor/flipclock.min.js +0 -2
  222. data/_assets/js/vendor/jquery.min.js +0 -4
  223. data/_assets/js/vendor/lazysizes.min.js +0 -2
  224. data/_assets/js/vendor/lightbox.js +0 -519
  225. data/_assets/js/vendor/loadCSS.js +0 -35
  226. data/_assets/js/vendor/loadCSS.min.js +0 -2
  227. data/_assets/js/vendor/mc-validate.js +0 -14
  228. data/_assets/js/vendor/owl.carousel.min.js +0 -27
  229. data/_assets/js/vendor/picturefill.min.js +0 -5
  230. data/_assets/js/vendor/shuffle.js +0 -2004
  231. data/_assets/js/vendor.js +0 -6
  232. data/_includes/_theme-includes/_footer/backup.html +0 -71
  233. data/_includes/_theme-includes/_head/ascii-art.html +0 -11
  234. data/_includes/_theme-includes/_navigation/_sub-navigation/tabbed-nav.html +0 -150
  235. data/_includes/_theme-includes/_page-structure/old-breadcrumb.html +0 -139
  236. data/_includes/_theme-includes/_third-party/mailchimp-sub-footer.html +0 -40
  237. data/_layouts/empty-container-page.html +0 -13
  238. data/_sass/animations.scss +0 -125
  239. data/_sass/blog.scss +0 -188
  240. data/_sass/breadcrumb.scss +0 -48
  241. data/_sass/carousel.scss +0 -122
  242. data/_sass/cookieconsent.scss +0 -13
  243. data/_sass/critical.scss +0 -991
  244. data/_sass/fa.scss +0 -2331
  245. data/_sass/flipclock.scss +0 -435
  246. data/_sass/font-awesome.min.scss +0 -4
  247. data/_sass/fonts.scss +0 -7
  248. data/_sass/footer.scss +0 -76
  249. data/_sass/lightbox.scss +0 -213
  250. data/_sass/members-sprite.scss +0 -425
  251. data/_sass/nav.scss +0 -533
  252. data/_sass/openhours.scss +0 -51
  253. data/_sass/owl.carousel.min.scss +0 -6
  254. data/_sass/owl.theme.default.min.scss +0 -6
  255. data/_sass/products.scss +0 -214
  256. data/_sass/projects.scss +0 -34
  257. data/_sass/social-media-icons.scss +0 -71
  258. data/_sass/syntax.scss +0 -65
  259. data/_sass/tables.scss +0 -87
  260. data/_sass/theme.scss +0 -208
  261. data/assets/js/app/mixitup.js +0 -23
  262. data/assets/js/app/search-page.js +0 -41
  263. data/assets/js/app/sticky-navbar.js +0 -65
  264. data/assets/js/vendor/lightbox.js +0 -519
  265. data/assets/js/vendor/picturefill.min.js +0 -5
  266. data/assets/js/vendor/shuffle.js +0 -2004
data/_sass/theme.scss DELETED
@@ -1,208 +0,0 @@
1
- //Body
2
- body {
3
- background:transparent;
4
- letter-spacing: 0.5px;
5
- overflow-x: hidden;
6
- font-weight: 300;
7
- font-family: 'LatoWeb', HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;
8
- -webkit-font-smoothing: antialiased;
9
- }
10
-
11
- //Selection for Highlighting Text on Web Page.
12
- ::-webkit-selection,
13
- ::-moz-selection,
14
- ::selection {
15
- background-color: #19947B;
16
- color: #fff;
17
- }
18
- //Search Dropdown input focus
19
- #searchDropdown input:focus {
20
- outline: none;
21
- }
22
- //Headings
23
- h1, h2, h3, h4, h5, h6 {
24
- font-family: 'LatoWeb', HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;
25
- font-weight: bold;
26
- line-height: 1.1;
27
- color: inherit;
28
- }
29
-
30
- //Horizontal Rule Styling
31
- hr {
32
- border-top: 2px solid $gray-light;
33
- }
34
-
35
- //Paragraphs
36
- p{
37
- font-size: 20px;
38
- font-weight:300;
39
- color: #000000;
40
- line-height: 1.66em;
41
- word-wrap: break-word;
42
- }
43
- //Padded Paragraph
44
- .padded-para{
45
- padding:20px;
46
- }
47
-
48
- #spaced-para{
49
- font-size: 18px;
50
- line-height: 40px;
51
- }
52
-
53
- // Paragraphs that are justified.
54
- p .justified{
55
- text-align: justify;
56
- text-justify: inter-word;
57
- }
58
-
59
- // Tab Content paragraph
60
- #content-container p {
61
- font-size: 20px;
62
- color: black;
63
- line-height: 1.66em;
64
- }
65
- //Main Container Style margin accounts for Nav
66
- #main-container{
67
- margin-top:80px;
68
- overflow-x: hidden;
69
- }
70
-
71
- //Content Container
72
- .row.content-container{ margin-top:20px;}
73
-
74
- //Content Container block elements
75
- .content-container p {
76
- font-size: 20px;
77
- color: black;
78
- line-height: 1.66em;
79
- }
80
- .content-container ul { font-size:18px; }
81
- .content-container ol { font-size: 18px;}
82
-
83
- //Home Page Heading
84
- #homepage-heading {
85
- color: $brand-warning;
86
- font-size: 30pt;
87
- font-weight: normal;
88
- line-height: 1.25;
89
- }
90
-
91
-
92
- //Homepage Sub Tag
93
- p.sub-tag {
94
- width: 65%;
95
- margin-bottom: 30px;
96
- margin-top: 20px;
97
- font-size: 21px;
98
- color: #FFF;
99
- font-weight: 200;
100
- }
101
-
102
- // Buttons
103
- #buttons > a
104
- {
105
- -webkit-border-radius: 20px !important;
106
- -moz-border-radius: 20px !important;
107
- border-radius: 20px !important;
108
- padding: 10px 16px;
109
- font-size: 18px;
110
- line-height: 1.3333333;
111
- }
112
-
113
- //Partners Panel Styling.
114
- .partners-panel img {
115
- margin-bottom: 60px;
116
- height:25%;
117
- width:80%;
118
- }
119
- .partners-panel{
120
- height:500px;
121
- margin-top: 40px;
122
- }
123
- //Bottom Border Five Pixels.
124
- .bottom-border-five{ margin-bottom: 5px; }
125
-
126
- //Alternate row for theme
127
- .row .alternate-row {
128
- background-color: #E5E5E5;
129
- padding: 40px 0;
130
- }
131
- .small-img{
132
- height:100px;
133
- width:auto;
134
- }
135
- @media (min-width: $screen-md) {
136
- .partners-panel {
137
- margin-top:80px;
138
- }
139
- .margin-image {
140
- padding:40px;
141
- }
142
-
143
- }
144
- .members-panel { margin-top:50px; }
145
-
146
- .margin-top { margin-top: 40px;}
147
-
148
- .panel-body.members-panel-body {
149
- margin-top: -55px;
150
- border: 0;
151
- }
152
- .new-panel .panel-primary > .panel-heading {
153
- color: #000000;
154
- font-weight: bold;
155
- background-color: transparent;
156
- border:0;
157
- }
158
-
159
- // Iframe for Search page.
160
- #searchIframe {
161
- border:none;
162
- }
163
-
164
- //Vertical Center
165
- .vcenter {
166
- display: inline-block;
167
- vertical-align: middle;
168
- float: none;
169
- }
170
-
171
- //Contact Hero Banner
172
- .contact-hero{
173
- height:200px;
174
- line-height: 200px;
175
- text-align: center;
176
- font-size:18px;
177
- color: #fff;
178
- background: url(asset_path("noise-1bbc9b.png")) repeat;
179
- }
180
-
181
-
182
- //----------BOOTSTRAP STYLES ----------------
183
-
184
- .panel-primary {
185
- border:0;
186
- }
187
-
188
- //Bootstrap Glyphicon Override.
189
- .glyphicon {
190
- width: 14px;
191
- height: 14px;
192
- }
193
- //Remove button focus
194
- .btn:focus,.btn:active:focus,.btn.active:focus,
195
- .btn.focus,.btn:active.focus,.btn.active.focus {
196
- outline: none;
197
- }
198
-
199
- //Jumbotron Custom Styling
200
- .jumbotron{
201
- margin-bottom: 0;
202
- margin-top:0;
203
- background: #FFF; /* Old browsers */
204
- background: -moz-linear-gradient(top, #2a4b41 0%, #000000 100%); /* FF3.6-15 */
205
- background: -webkit-linear-gradient(top, #2a4b41 0%,#000000 100%); /* Chrome10-25,Safari5.1-6 */
206
- background: linear-gradient(to bottom, #2a4b41 0%, #000000 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
207
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=#2a4b41, endColorstr='#000000',GradientType=0 ); /* IE6-9 */
208
- }
@@ -1,23 +0,0 @@
1
- /**!
2
- * MixItUp v2.1.11
3
- *
4
- * @copyright Copyright 2015 KunkaLabs Limited.
5
- * @author KunkaLabs Limited.
6
- * @link https://mixitup.kunkalabs.com
7
- *
8
- * @license Commercial use requires a commercial license.
9
- * https://mixitup.kunkalabs.com/licenses/
10
- *
11
- * Non-commercial use permitted under terms of CC-BY-NC license.
12
- * http://creativecommons.org/licenses/by-nc/3.0/
13
- */
14
- !function(a,b){"use strict";a.MixItUp=function(){var b=this;b._execAction("_constructor",0),a.extend(b,{selectors:{target:".mix",filter:".filter",sort:".sort"},animation:{enable:!0,effects:"fade scale",duration:600,easing:"ease",perspectiveDistance:"3000",perspectiveOrigin:"50% 50%",queue:!0,queueLimit:1,animateChangeLayout:!1,animateResizeContainer:!0,animateResizeTargets:!1,staggerSequence:!1,reverseOut:!1},callbacks:{onMixLoad:!1,onMixStart:!1,onMixBusy:!1,onMixEnd:!1,onMixFail:!1,_user:!1},controls:{enable:!0,live:!1,toggleFilterButtons:!1,toggleLogic:"or",activeClass:"active"},layout:{display:"inline-block",containerClass:"",containerClassFail:"fail"},load:{filter:"all",sort:!1},_$body:null,_$container:null,_$targets:null,_$parent:null,_$sortButtons:null,_$filterButtons:null,_suckMode:!1,_mixing:!1,_sorting:!1,_clicking:!1,_loading:!0,_changingLayout:!1,_changingClass:!1,_changingDisplay:!1,_origOrder:[],_startOrder:[],_newOrder:[],_activeFilter:null,_toggleArray:[],_toggleString:"",_activeSort:"default:asc",_newSort:null,_startHeight:null,_newHeight:null,_incPadding:!0,_newDisplay:null,_newClass:null,_targetsBound:0,_targetsDone:0,_queue:[],_$show:a(),_$hide:a()}),b._execAction("_constructor",1)},a.MixItUp.prototype={constructor:a.MixItUp,_instances:{},_handled:{_filter:{},_sort:{}},_bound:{_filter:{},_sort:{}},_actions:{},_filters:{},extend:function(b){for(var c in b)a.MixItUp.prototype[c]=b[c]},addAction:function(b,c,d,e){a.MixItUp.prototype._addHook("_actions",b,c,d,e)},addFilter:function(b,c,d,e){a.MixItUp.prototype._addHook("_filters",b,c,d,e)},_addHook:function(b,c,d,e,f){var g=a.MixItUp.prototype[b],h={};f=1===f||"post"===f?"post":"pre",h[c]={},h[c][f]={},h[c][f][d]=e,a.extend(!0,g,h)},_init:function(b,c){var d=this;if(d._execAction("_init",0,arguments),c&&a.extend(!0,d,c),d._$body=a("body"),d._domNode=b,d._$container=a(b),d._$container.addClass(d.layout.containerClass),d._id=b.id,d._platformDetect(),d._brake=d._getPrefixedCSS("transition","none"),d._refresh(!0),d._$parent=d._$targets.parent().length?d._$targets.parent():d._$container,d.load.sort&&(d._newSort=d._parseSort(d.load.sort),d._newSortString=d.load.sort,d._activeSort=d.load.sort,d._sort(),d._printSort()),d._activeFilter="all"===d.load.filter?d.selectors.target:"none"===d.load.filter?"":d.load.filter,d.controls.enable&&d._bindHandlers(),d.controls.toggleFilterButtons){d._buildToggleArray();for(var e=0;e<d._toggleArray.length;e++)d._updateControls({filter:d._toggleArray[e],sort:d._activeSort},!0)}else d.controls.enable&&d._updateControls({filter:d._activeFilter,sort:d._activeSort});d._filter(),d._init=!0,d._$container.data("mixItUp",d),d._execAction("_init",1,arguments),d._buildState(),d._$targets.css(d._brake),d._goMix(d.animation.enable)},_platformDetect:function(){var a=this,c=["Webkit","Moz","O","ms"],d=["webkit","moz"],e=window.navigator.appVersion.match(/Chrome\/(\d+)\./)||!1,f="undefined"!=typeof InstallTrigger,g=function(a){for(var b=0;b<c.length;b++)if(c[b]+"Transition"in a.style)return{prefix:"-"+c[b].toLowerCase()+"-",vendor:c[b]};return"transition"in a.style?"":!1},h=g(a._domNode);a._execAction("_platformDetect",0),a._chrome=e?parseInt(e[1],10):!1,a._ff=f?parseInt(window.navigator.userAgent.match(/rv:([^)]+)\)/)[1]):!1,a._prefix=h.prefix,a._vendor=h.vendor,a._suckMode=window.atob&&a._prefix?!1:!0,a._suckMode&&(a.animation.enable=!1),a._ff&&a._ff<=4&&(a.animation.enable=!1);for(var i=0;i<d.length&&!window.requestAnimationFrame;i++)window.requestAnimationFrame=window[d[i]+"RequestAnimationFrame"];"function"!=typeof Object.getPrototypeOf&&("object"==typeof"test".__proto__?Object.getPrototypeOf=function(a){return a.__proto__}:Object.getPrototypeOf=function(a){return a.constructor.prototype}),a._domNode.nextElementSibling===b&&Object.defineProperty(Element.prototype,"nextElementSibling",{get:function(){for(var a=this.nextSibling;a;){if(1===a.nodeType)return a;a=a.nextSibling}return null}}),a._execAction("_platformDetect",1)},_refresh:function(a,c){var d=this;d._execAction("_refresh",0,arguments),d._$targets=d._$container.find(d.selectors.target);for(var e=0;e<d._$targets.length;e++){var f=d._$targets[e];if(f.dataset===b||c){f.dataset={};for(var g=0;g<f.attributes.length;g++){var h=f.attributes[g],i=h.name,j=h.value;if(i.indexOf("data-")>-1){var k=d._helpers._camelCase(i.substring(5,i.length));f.dataset[k]=j}}}f.mixParent===b&&(f.mixParent=d._id)}if(d._$targets.length&&a||!d._origOrder.length&&d._$targets.length){d._origOrder=[];for(var e=0;e<d._$targets.length;e++){var f=d._$targets[e];d._origOrder.push(f)}}d._execAction("_refresh",1,arguments)},_bindHandlers:function(){var c=this,d=a.MixItUp.prototype._bound._filter,e=a.MixItUp.prototype._bound._sort;c._execAction("_bindHandlers",0),c.controls.live?c._$body.on("click.mixItUp."+c._id,c.selectors.sort,function(){c._processClick(a(this),"sort")}).on("click.mixItUp."+c._id,c.selectors.filter,function(){c._processClick(a(this),"filter")}):(c._$sortButtons=a(c.selectors.sort),c._$filterButtons=a(c.selectors.filter),c._$sortButtons.on("click.mixItUp."+c._id,function(){c._processClick(a(this),"sort")}),c._$filterButtons.on("click.mixItUp."+c._id,function(){c._processClick(a(this),"filter")})),d[c.selectors.filter]=d[c.selectors.filter]===b?1:d[c.selectors.filter]+1,e[c.selectors.sort]=e[c.selectors.sort]===b?1:e[c.selectors.sort]+1,c._execAction("_bindHandlers",1)},_processClick:function(c,d){var e=this,f=function(c,d,f){var g=a.MixItUp.prototype;g._handled["_"+d][e.selectors[d]]=g._handled["_"+d][e.selectors[d]]===b?1:g._handled["_"+d][e.selectors[d]]+1,g._handled["_"+d][e.selectors[d]]===g._bound["_"+d][e.selectors[d]]&&(c[(f?"remove":"add")+"Class"](e.controls.activeClass),delete g._handled["_"+d][e.selectors[d]])};if(e._execAction("_processClick",0,arguments),!e._mixing||e.animation.queue&&e._queue.length<e.animation.queueLimit){if(e._clicking=!0,"sort"===d){var g=c.attr("data-sort");(!c.hasClass(e.controls.activeClass)||g.indexOf("random")>-1)&&(a(e.selectors.sort).removeClass(e.controls.activeClass),f(c,d),e.sort(g))}if("filter"===d){var h,i=c.attr("data-filter"),j="or"===e.controls.toggleLogic?",":"";e.controls.toggleFilterButtons?(e._buildToggleArray(),c.hasClass(e.controls.activeClass)?(f(c,d,!0),h=e._toggleArray.indexOf(i),e._toggleArray.splice(h,1)):(f(c,d),e._toggleArray.push(i)),e._toggleArray=a.grep(e._toggleArray,function(a){return a}),e._toggleString=e._toggleArray.join(j),e.filter(e._toggleString)):c.hasClass(e.controls.activeClass)||(a(e.selectors.filter).removeClass(e.controls.activeClass),f(c,d),e.filter(i))}e._execAction("_processClick",1,arguments)}else"function"==typeof e.callbacks.onMixBusy&&e.callbacks.onMixBusy.call(e._domNode,e._state,e),e._execAction("_processClickBusy",1,arguments)},_buildToggleArray:function(){var a=this,b=a._activeFilter.replace(/\s/g,"");if(a._execAction("_buildToggleArray",0,arguments),"or"===a.controls.toggleLogic)a._toggleArray=b.split(",");else{a._toggleArray=b.split("."),!a._toggleArray[0]&&a._toggleArray.shift();for(var c,d=0;c=a._toggleArray[d];d++)a._toggleArray[d]="."+c}a._execAction("_buildToggleArray",1,arguments)},_updateControls:function(c,d){var e=this,f={filter:c.filter,sort:c.sort},g=function(a,b){try{d&&"filter"===h&&"none"!==f.filter&&""!==f.filter?a.filter(b).addClass(e.controls.activeClass):a.removeClass(e.controls.activeClass).filter(b).addClass(e.controls.activeClass)}catch(c){}},h="filter",i=null;e._execAction("_updateControls",0,arguments),c.filter===b&&(f.filter=e._activeFilter),c.sort===b&&(f.sort=e._activeSort),f.filter===e.selectors.target&&(f.filter="all");for(var j=0;2>j;j++)i=e.controls.live?a(e.selectors[h]):e["_$"+h+"Buttons"],i&&g(i,"[data-"+h+'="'+f[h]+'"]'),h="sort";e._execAction("_updateControls",1,arguments)},_filter:function(){var b=this;b._execAction("_filter",0);for(var c=0;c<b._$targets.length;c++){var d=a(b._$targets[c]);d.is(b._activeFilter)?b._$show=b._$show.add(d):b._$hide=b._$hide.add(d)}b._execAction("_filter",1)},_sort:function(){var a=this,b=function(a){for(var b=a.slice(),c=b.length,d=c;d--;){var e=parseInt(Math.random()*c),f=b[d];b[d]=b[e],b[e]=f}return b};a._execAction("_sort",0),a._startOrder=[];for(var c=0;c<a._$targets.length;c++){var d=a._$targets[c];a._startOrder.push(d)}switch(a._newSort[0].sortBy){case"default":a._newOrder=a._origOrder;break;case"random":a._newOrder=b(a._startOrder);break;case"custom":a._newOrder=a._newSort[0].order;break;default:a._newOrder=a._startOrder.concat().sort(function(b,c){return a._compare(b,c)})}a._execAction("_sort",1)},_compare:function(a,b,c){c=c?c:0;var d=this,e=d._newSort[c].order,f=function(a){return a.dataset[d._newSort[c].sortBy]||0},g=isNaN(1*f(a))?f(a).toLowerCase():1*f(a),h=isNaN(1*f(b))?f(b).toLowerCase():1*f(b);return h>g?"asc"===e?-1:1:g>h?"asc"===e?1:-1:g===h&&d._newSort.length>c+1?d._compare(a,b,c+1):0},_printSort:function(a){var b=this,c=a?b._startOrder:b._newOrder,d=b._$parent[0].querySelectorAll(b.selectors.target),e=d.length?d[d.length-1].nextElementSibling:null,f=document.createDocumentFragment();b._execAction("_printSort",0,arguments);for(var g=0;g<d.length;g++){var h=d[g],i=h.nextSibling;"absolute"!==h.style.position&&(i&&"#text"===i.nodeName&&b._$parent[0].removeChild(i),b._$parent[0].removeChild(h))}for(var g=0;g<c.length;g++){var j=c[g];if("default"!==b._newSort[0].sortBy||"desc"!==b._newSort[0].order||a)f.appendChild(j),f.appendChild(document.createTextNode(" "));else{var k=f.firstChild;f.insertBefore(j,k),f.insertBefore(document.createTextNode(" "),j)}}e?b._$parent[0].insertBefore(f,e):b._$parent[0].appendChild(f),b._execAction("_printSort",1,arguments)},_parseSort:function(a){for(var b=this,c="string"==typeof a?a.split(" "):[a],d=[],e=0;e<c.length;e++){var f="string"==typeof a?c[e].split(":"):["custom",c[e]],g={sortBy:b._helpers._camelCase(f[0]),order:f[1]||"asc"};if(d.push(g),"default"===g.sortBy||"random"===g.sortBy)break}return b._execFilter("_parseSort",d,arguments)},_parseEffects:function(){var a=this,b={opacity:"",transformIn:"",transformOut:"",filter:""},c=function(b,c,d){if(a.animation.effects.indexOf(b)>-1){if(c){var e=a.animation.effects.indexOf(b+"(");if(e>-1){var f=a.animation.effects.substring(e),g=/\(([^)]+)\)/.exec(f),h=g[1];return{val:h}}}return!0}return!1},d=function(a,b){return b?"-"===a.charAt(0)?a.substr(1,a.length):"-"+a:a},e=function(a,e){for(var f=[["scale",".01"],["translateX","20px"],["translateY","20px"],["translateZ","20px"],["rotateX","90deg"],["rotateY","90deg"],["rotateZ","180deg"]],g=0;g<f.length;g++){var h=f[g][0],i=f[g][1],j=e&&"scale"!==h;b[a]+=c(h)?h+"("+d(c(h,!0).val||i,j)+") ":""}};return b.opacity=c("fade")?c("fade",!0).val||"0":"1",e("transformIn"),a.animation.reverseOut?e("transformOut",!0):b.transformOut=b.transformIn,b.transition={},b.transition=a._getPrefixedCSS("transition","all "+a.animation.duration+"ms "+a.animation.easing+", opacity "+a.animation.duration+"ms linear"),a.animation.stagger=c("stagger")?!0:!1,a.animation.staggerDuration=parseInt(c("stagger")&&c("stagger",!0).val?c("stagger",!0).val:100),a._execFilter("_parseEffects",b)},_buildState:function(a){var b=this,c={};return b._execAction("_buildState",0),c={activeFilter:""===b._activeFilter?"none":b._activeFilter,activeSort:a&&b._newSortString?b._newSortString:b._activeSort,fail:!b._$show.length&&""!==b._activeFilter,$targets:b._$targets,$show:b._$show,$hide:b._$hide,totalTargets:b._$targets.length,totalShow:b._$show.length,totalHide:b._$hide.length,display:a&&b._newDisplay?b._newDisplay:b.layout.display},a?b._execFilter("_buildState",c):(b._state=c,void b._execAction("_buildState",1))},_goMix:function(a){var b=this,c=function(){b._chrome&&31===b._chrome&&f(b._$parent[0]),b._setInter(),d()},d=function(){var a=window.pageYOffset,c=window.pageXOffset;document.documentElement.scrollHeight;b._getInterMixData(),b._setFinal(),b._getFinalMixData(),window.pageYOffset!==a&&window.scrollTo(c,a),b._prepTargets(),window.requestAnimationFrame?requestAnimationFrame(e):setTimeout(function(){e()},20)},e=function(){b._animateTargets(),0===b._targetsBound&&b._cleanUp()},f=function(a){var b=a.parentElement,c=document.createElement("div"),d=document.createDocumentFragment();b.insertBefore(c,a),d.appendChild(a),b.replaceChild(a,c)},g=b._buildState(!0);b._execAction("_goMix",0,arguments),!b.animation.duration&&(a=!1),b._mixing=!0,b._$container.removeClass(b.layout.containerClassFail),"function"==typeof b.callbacks.onMixStart&&b.callbacks.onMixStart.call(b._domNode,b._state,g,b),b._$container.trigger("mixStart",[b._state,g,b]),b._getOrigMixData(),a&&!b._suckMode?window.requestAnimationFrame?requestAnimationFrame(c):c():b._cleanUp(),b._execAction("_goMix",1,arguments)},_getTargetData:function(a,b){var c,d=this;a.dataset[b+"PosX"]=a.offsetLeft,a.dataset[b+"PosY"]=a.offsetTop,d.animation.animateResizeTargets&&(c=d._suckMode?{marginBottom:"",marginRight:""}:window.getComputedStyle(a),a.dataset[b+"MarginBottom"]=parseInt(c.marginBottom),a.dataset[b+"MarginRight"]=parseInt(c.marginRight),a.dataset[b+"Width"]=a.offsetWidth,a.dataset[b+"Height"]=a.offsetHeight)},_getOrigMixData:function(){var a=this,b=a._suckMode?{boxSizing:""}:window.getComputedStyle(a._$parent[0]),c=b.boxSizing||b[a._vendor+"BoxSizing"];a._incPadding="border-box"===c,a._execAction("_getOrigMixData",0),!a._suckMode&&(a.effects=a._parseEffects()),a._$toHide=a._$hide.filter(":visible"),a._$toShow=a._$show.filter(":hidden"),a._$pre=a._$targets.filter(":visible"),a._startHeight=a._incPadding?a._$parent.outerHeight():a._$parent.height();for(var d=0;d<a._$pre.length;d++){var e=a._$pre[d];a._getTargetData(e,"orig")}a._execAction("_getOrigMixData",1)},_setInter:function(){var a=this;a._execAction("_setInter",0),a._changingLayout&&a.animation.animateChangeLayout?(a._$toShow.css("display",a._newDisplay),a._changingClass&&a._$container.removeClass(a.layout.containerClass).addClass(a._newClass)):a._$toShow.css("display",a.layout.display),a._execAction("_setInter",1)},_getInterMixData:function(){var a=this;a._execAction("_getInterMixData",0);for(var b=0;b<a._$toShow.length;b++){var c=a._$toShow[b];a._getTargetData(c,"inter")}for(var b=0;b<a._$pre.length;b++){var c=a._$pre[b];a._getTargetData(c,"inter")}a._execAction("_getInterMixData",1)},_setFinal:function(){var a=this;a._execAction("_setFinal",0),a._sorting&&a._printSort(),a._$toHide.removeStyle("display"),a._changingLayout&&a.animation.animateChangeLayout&&a._$pre.css("display",a._newDisplay),a._execAction("_setFinal",1)},_getFinalMixData:function(){var a=this;a._execAction("_getFinalMixData",0);for(var b=0;b<a._$toShow.length;b++){var c=a._$toShow[b];a._getTargetData(c,"final")}for(var b=0;b<a._$pre.length;b++){var c=a._$pre[b];a._getTargetData(c,"final")}a._newHeight=a._incPadding?a._$parent.outerHeight():a._$parent.height(),a._sorting&&a._printSort(!0),a._$toShow.removeStyle("display"),a._$pre.css("display",a.layout.display),a._changingClass&&a.animation.animateChangeLayout&&a._$container.removeClass(a._newClass).addClass(a.layout.containerClass),a._execAction("_getFinalMixData",1)},_prepTargets:function(){var b=this,c={_in:b._getPrefixedCSS("transform",b.effects.transformIn),_out:b._getPrefixedCSS("transform",b.effects.transformOut)};b._execAction("_prepTargets",0),b.animation.animateResizeContainer&&b._$parent.css("height",b._startHeight+"px");for(var d=0;d<b._$toShow.length;d++){var e=b._$toShow[d],f=a(e);e.style.opacity=b.effects.opacity,e.style.display=b._changingLayout&&b.animation.animateChangeLayout?b._newDisplay:b.layout.display,f.css(c._in),b.animation.animateResizeTargets&&(e.style.width=e.dataset.finalWidth+"px",e.style.height=e.dataset.finalHeight+"px",e.style.marginRight=-(e.dataset.finalWidth-e.dataset.interWidth)+1*e.dataset.finalMarginRight+"px",e.style.marginBottom=-(e.dataset.finalHeight-e.dataset.interHeight)+1*e.dataset.finalMarginBottom+"px")}for(var d=0;d<b._$pre.length;d++){var e=b._$pre[d],f=a(e),g={x:e.dataset.origPosX-e.dataset.interPosX,y:e.dataset.origPosY-e.dataset.interPosY},c=b._getPrefixedCSS("transform","translate("+g.x+"px,"+g.y+"px)");f.css(c),b.animation.animateResizeTargets&&(e.style.width=e.dataset.origWidth+"px",e.style.height=e.dataset.origHeight+"px",e.dataset.origWidth-e.dataset.finalWidth&&(e.style.marginRight=-(e.dataset.origWidth-e.dataset.interWidth)+1*e.dataset.origMarginRight+"px"),e.dataset.origHeight-e.dataset.finalHeight&&(e.style.marginBottom=-(e.dataset.origHeight-e.dataset.interHeight)+1*e.dataset.origMarginBottom+"px"))}b._execAction("_prepTargets",1)},_animateTargets:function(){var b=this;b._execAction("_animateTargets",0),b._targetsDone=0,b._targetsBound=0,b._$parent.css(b._getPrefixedCSS("perspective",b.animation.perspectiveDistance+"px")).css(b._getPrefixedCSS("perspective-origin",b.animation.perspectiveOrigin)),b.animation.animateResizeContainer&&b._$parent.css(b._getPrefixedCSS("transition","height "+b.animation.duration+"ms ease")).css("height",b._newHeight+"px");for(var c=0;c<b._$toShow.length;c++){var d=b._$toShow[c],e=a(d),f={x:d.dataset.finalPosX-d.dataset.interPosX,y:d.dataset.finalPosY-d.dataset.interPosY},g=b._getDelay(c),h={};d.style.opacity="";for(var i=0;2>i;i++){var j=0===i?j=b._prefix:"";b._ff&&b._ff<=20&&(h[j+"transition-property"]="all",h[j+"transition-timing-function"]=b.animation.easing+"ms",h[j+"transition-duration"]=b.animation.duration+"ms"),h[j+"transition-delay"]=g+"ms",h[j+"transform"]="translate("+f.x+"px,"+f.y+"px)"}(b.effects.transform||b.effects.opacity)&&b._bindTargetDone(e),b._ff&&b._ff<=20?e.css(h):e.css(b.effects.transition).css(h)}for(var c=0;c<b._$pre.length;c++){var d=b._$pre[c],e=a(d),f={x:d.dataset.finalPosX-d.dataset.interPosX,y:d.dataset.finalPosY-d.dataset.interPosY},g=b._getDelay(c);(d.dataset.finalPosX!==d.dataset.origPosX||d.dataset.finalPosY!==d.dataset.origPosY)&&b._bindTargetDone(e),e.css(b._getPrefixedCSS("transition","all "+b.animation.duration+"ms "+b.animation.easing+" "+g+"ms")),e.css(b._getPrefixedCSS("transform","translate("+f.x+"px,"+f.y+"px)")),b.animation.animateResizeTargets&&(d.dataset.origWidth-d.dataset.finalWidth&&1*d.dataset.finalWidth&&(d.style.width=d.dataset.finalWidth+"px",d.style.marginRight=-(d.dataset.finalWidth-d.dataset.interWidth)+1*d.dataset.finalMarginRight+"px"),d.dataset.origHeight-d.dataset.finalHeight&&1*d.dataset.finalHeight&&(d.style.height=d.dataset.finalHeight+"px",d.style.marginBottom=-(d.dataset.finalHeight-d.dataset.interHeight)+1*d.dataset.finalMarginBottom+"px"))}b._changingClass&&b._$container.removeClass(b.layout.containerClass).addClass(b._newClass);for(var c=0;c<b._$toHide.length;c++){for(var d=b._$toHide[c],e=a(d),g=b._getDelay(c),k={},i=0;2>i;i++){var j=0===i?j=b._prefix:"";k[j+"transition-delay"]=g+"ms",k[j+"transform"]=b.effects.transformOut,k.opacity=b.effects.opacity}e.css(b.effects.transition).css(k),(b.effects.transform||b.effects.opacity)&&b._bindTargetDone(e)}b._execAction("_animateTargets",1)},_bindTargetDone:function(b){var c=this,d=b[0];c._execAction("_bindTargetDone",0,arguments),d.dataset.bound||(d.dataset.bound=!0,c._targetsBound++,b.on("webkitTransitionEnd.mixItUp transitionend.mixItUp",function(e){(e.originalEvent.propertyName.indexOf("transform")>-1||e.originalEvent.propertyName.indexOf("opacity")>-1)&&a(e.originalEvent.target).is(c.selectors.target)&&(b.off(".mixItUp"),d.dataset.bound="",c._targetDone())})),c._execAction("_bindTargetDone",1,arguments)},_targetDone:function(){var a=this;a._execAction("_targetDone",0),a._targetsDone++,a._targetsDone===a._targetsBound&&a._cleanUp(),a._execAction("_targetDone",1)},_cleanUp:function(){var b=this,c=b.animation.animateResizeTargets?"transform opacity width height margin-bottom margin-right":"transform opacity",d=function(){b._$targets.removeStyle("transition",b._prefix)};b._execAction("_cleanUp",0),b._changingLayout?b._$show.css("display",b._newDisplay):b._$show.css("display",b.layout.display),b._$targets.css(b._brake),b._$targets.removeStyle(c,b._prefix).removeAttr("data-inter-pos-x data-inter-pos-y data-final-pos-x data-final-pos-y data-orig-pos-x data-orig-pos-y data-orig-height data-orig-width data-final-height data-final-width data-inter-width data-inter-height data-orig-margin-right data-orig-margin-bottom data-inter-margin-right data-inter-margin-bottom data-final-margin-right data-final-margin-bottom"),b._$hide.removeStyle("display"),b._$parent.removeStyle("height transition perspective-distance perspective perspective-origin-x perspective-origin-y perspective-origin perspectiveOrigin",b._prefix),b._sorting&&(b._printSort(),b._activeSort=b._newSortString,b._sorting=!1),b._changingLayout&&(b._changingDisplay&&(b.layout.display=b._newDisplay,b._changingDisplay=!1),b._changingClass&&(b._$parent.removeClass(b.layout.containerClass).addClass(b._newClass),b.layout.containerClass=b._newClass,b._changingClass=!1),b._changingLayout=!1),b._refresh(),b._buildState(),b._state.fail&&b._$container.addClass(b.layout.containerClassFail),b._$show=a(),b._$hide=a(),window.requestAnimationFrame&&requestAnimationFrame(d),b._mixing=!1,"function"==typeof b.callbacks._user&&b.callbacks._user.call(b._domNode,b._state,b),"function"==typeof b.callbacks.onMixEnd&&b.callbacks.onMixEnd.call(b._domNode,b._state,b),b._$container.trigger("mixEnd",[b._state,b]),b._state.fail&&("function"==typeof b.callbacks.onMixFail&&b.callbacks.onMixFail.call(b._domNode,b._state,b),b._$container.trigger("mixFail",[b._state,b])),b._loading&&("function"==typeof b.callbacks.onMixLoad&&b.callbacks.onMixLoad.call(b._domNode,b._state,b),b._$container.trigger("mixLoad",[b._state,b])),b._queue.length&&(b._execAction("_queue",0),b.multiMix(b._queue[0][0],b._queue[0][1],b._queue[0][2]),b._queue.splice(0,1)),b._execAction("_cleanUp",1),b._loading=!1},_getPrefixedCSS:function(a,b,c){var d=this,e={},f="",g=-1;for(g=0;2>g;g++)f=0===g?d._prefix:"",c?e[f+a]=f+b:e[f+a]=b;return d._execFilter("_getPrefixedCSS",e,arguments)},_getDelay:function(a){var b=this,c="function"==typeof b.animation.staggerSequence?b.animation.staggerSequence.call(b._domNode,a,b._state):a,d=b.animation.stagger?c*b.animation.staggerDuration:0;return b._execFilter("_getDelay",d,arguments)},_parseMultiMixArgs:function(a){for(var b=this,c={command:null,animate:b.animation.enable,callback:null},d=0;d<a.length;d++){var e=a[d];null!==e&&("object"==typeof e||"string"==typeof e?c.command=e:"boolean"==typeof e?c.animate=e:"function"==typeof e&&(c.callback=e))}return b._execFilter("_parseMultiMixArgs",c,arguments)},_parseInsertArgs:function(b){for(var c=this,d={index:0,$object:a(),multiMix:{filter:c._state.activeFilter},callback:null},e=0;e<b.length;e++){var f=b[e];"number"==typeof f?d.index=f:"object"==typeof f&&f instanceof a?d.$object=f:"object"==typeof f&&c._helpers._isElement(f)?d.$object=a(f):"object"==typeof f&&null!==f?d.multiMix=f:"boolean"!=typeof f||f?"function"==typeof f&&(d.callback=f):d.multiMix=!1}return c._execFilter("_parseInsertArgs",d,arguments)},_execAction:function(a,b,c){var d=this,e=b?"post":"pre";if(!d._actions.isEmptyObject&&d._actions.hasOwnProperty(a))for(var f in d._actions[a][e])d._actions[a][e][f].call(d,c)},_execFilter:function(a,b,c){var d=this;if(d._filters.isEmptyObject||!d._filters.hasOwnProperty(a))return b;for(var e in d._filters[a])return d._filters[a][e].call(d,c)},_helpers:{_camelCase:function(a){return a.replace(/-([a-z])/g,function(a){return a[1].toUpperCase()})},_isElement:function(a){return window.HTMLElement?a instanceof HTMLElement:null!==a&&1===a.nodeType&&"string"===a.nodeName}},isMixing:function(){var a=this;return a._execFilter("isMixing",a._mixing)},filter:function(){var a=this,b=a._parseMultiMixArgs(arguments);a._clicking&&(a._toggleString=""),a.multiMix({filter:b.command},b.animate,b.callback)},sort:function(){var a=this,b=a._parseMultiMixArgs(arguments);a.multiMix({sort:b.command},b.animate,b.callback)},changeLayout:function(){var a=this,b=a._parseMultiMixArgs(arguments);a.multiMix({changeLayout:b.command},b.animate,b.callback)},multiMix:function(){var a=this,c=a._parseMultiMixArgs(arguments);if(a._execAction("multiMix",0,arguments),a._mixing)a.animation.queue&&a._queue.length<a.animation.queueLimit?(a._queue.push(arguments),a.controls.enable&&!a._clicking&&a._updateControls(c.command),a._execAction("multiMixQueue",1,arguments)):("function"==typeof a.callbacks.onMixBusy&&a.callbacks.onMixBusy.call(a._domNode,a._state,a),a._$container.trigger("mixBusy",[a._state,a]),a._execAction("multiMixBusy",1,arguments));else{a.controls.enable&&!a._clicking&&(a.controls.toggleFilterButtons&&a._buildToggleArray(),a._updateControls(c.command,a.controls.toggleFilterButtons)),a._queue.length<2&&(a._clicking=!1),delete a.callbacks._user,c.callback&&(a.callbacks._user=c.callback);var d=c.command.sort,e=c.command.filter,f=c.command.changeLayout;a._refresh(),d&&(a._newSort=a._parseSort(d),a._newSortString=d,a._sorting=!0,a._sort()),e!==b&&(e="all"===e?a.selectors.target:e,a._activeFilter=e),a._filter(),f&&(a._newDisplay="string"==typeof f?f:f.display||a.layout.display,a._newClass=f.containerClass||"",(a._newDisplay!==a.layout.display||a._newClass!==a.layout.containerClass)&&(a._changingLayout=!0,a._changingClass=a._newClass!==a.layout.containerClass,a._changingDisplay=a._newDisplay!==a.layout.display)),a._$targets.css(a._brake),a._goMix(c.animate^a.animation.enable?c.animate:a.animation.enable),a._execAction("multiMix",1,arguments)}},insert:function(){var a=this,b=a._parseInsertArgs(arguments),c="function"==typeof b.callback?b.callback:null,d=document.createDocumentFragment(),e=function(){return a._refresh(),a._$targets.length?b.index<a._$targets.length||!a._$targets.length?a._$targets[b.index]:a._$targets[a._$targets.length-1].nextElementSibling:a._$parent[0].children[0]}();if(a._execAction("insert",0,arguments),b.$object){for(var f=0;f<b.$object.length;f++){var g=b.$object[f];d.appendChild(g),d.appendChild(document.createTextNode(" "))}a._$parent[0].insertBefore(d,e)}a._execAction("insert",1,arguments),"object"==typeof b.multiMix&&a.multiMix(b.multiMix,c)},prepend:function(){var a=this,b=a._parseInsertArgs(arguments);a.insert(0,b.$object,b.multiMix,b.callback)},append:function(){var a=this,b=a._parseInsertArgs(arguments);a.insert(a._state.totalTargets,b.$object,b.multiMix,b.callback)},getOption:function(a){var c=this,d=function(a,c){for(var d=c.split("."),e=d.pop(),f=d.length,g=1,h=d[0]||c;(a=a[h])&&f>g;)h=d[g],g++;return a!==b?a[e]!==b?a[e]:a:void 0};return a?c._execFilter("getOption",d(c,a),arguments):c},setOptions:function(b){var c=this;c._execAction("setOptions",0,arguments),"object"==typeof b&&a.extend(!0,c,b),c._execAction("setOptions",1,arguments)},getState:function(){var a=this;return a._execFilter("getState",a._state,a)},forceRefresh:function(){var a=this;a._refresh(!1,!0)},destroy:function(b){var c=this,d=a.MixItUp.prototype._bound._filter,e=a.MixItUp.prototype._bound._sort;c._execAction("destroy",0,arguments),c._$body.add(a(c.selectors.sort)).add(a(c.selectors.filter)).off(".mixItUp");for(var f=0;f<c._$targets.length;f++){var g=c._$targets[f];b&&(g.style.display=""),delete g.mixParent}c._execAction("destroy",1,arguments),d[c.selectors.filter]&&d[c.selectors.filter]>1?d[c.selectors.filter]--:1===d[c.selectors.filter]&&delete d[c.selectors.filter],e[c.selectors.sort]&&e[c.selectors.sort]>1?e[c.selectors.sort]--:1===e[c.selectors.sort]&&delete e[c.selectors.sort],delete a.MixItUp.prototype._instances[c._id]}},a.fn.mixItUp=function(){var c,d=arguments,e=[],f=function(b,c){var d=new a.MixItUp,e=function(){return("00000"+(16777216*Math.random()<<0).toString(16)).substr(-6).toUpperCase()};d._execAction("_instantiate",0,arguments),b.id=b.id?b.id:"MixItUp"+e(),d._instances[b.id]||(d._instances[b.id]=d,d._init(b,c)),d._execAction("_instantiate",1,arguments)};return c=this.each(function(){if(d&&"string"==typeof d[0]){var c=a.MixItUp.prototype._instances[this.id];if("isLoaded"===d[0])e.push(c?!0:!1);else{var g=c[d[0]](d[1],d[2],d[3]);g!==b&&e.push(g)}}else f(this,d[0])}),e.length?e.length>1?e:e[0]:c},a.fn.removeStyle=function(c,d){return d=d?d:"",this.each(function(){for(var e=this,f=c.split(" "),g=0;g<f.length;g++)for(var h=0;4>h;h++){switch(h){case 0:var i=f[g];break;case 1:var i=a.MixItUp.prototype._helpers._camelCase(i);break;case 2:var i=d+f[g];break;case 3:var i=a.MixItUp.prototype._helpers._camelCase(d+f[g])}if(e.style[i]!==b&&"unknown"!=typeof e.style[i]&&e.style[i].length>0&&(e.style[i]=""),!d&&1===h)break}e.attributes&&e.attributes.style&&e.attributes.style!==b&&""===e.attributes.style.value&&e.attributes.removeNamedItem("style")})}}(jQuery);
15
-
16
- $(function(){
17
- $('#project_grid').mixItUp({
18
- animation: {
19
- enabled:false
20
- }
21
- });
22
-
23
- });
@@ -1,41 +0,0 @@
1
- function getAllUrlParams(url) {
2
- var queryString = url ? url.split('?')[1] : window.location.search.slice(1);
3
- var obj = {};
4
- if (queryString) {
5
- queryString = queryString.split('#')[0];
6
- var arr = queryString.split('&');
7
-
8
- for (var i=0; i<arr.length; i++) {
9
- var a = arr[i].split('=');
10
- var paramNum = undefined;
11
- var paramName = a[0].replace(/\[\d*\]/, function(v) {
12
- paramNum = v.slice(1,-1);
13
- return '';
14
- });
15
-
16
- var paramValue = typeof(a[1])==='undefined' ? true : a[1];
17
- paramName = paramName.toLowerCase();
18
- paramValue = paramValue.toLowerCase();
19
- if (obj[paramName]) {
20
- if (typeof obj[paramName] === 'string') {
21
- obj[paramName] = [obj[paramName]];
22
- }
23
- if (typeof paramNum === 'undefined') {
24
- obj[paramName].push(paramValue);
25
- }
26
- else {
27
- obj[paramName][paramNum] = paramValue;
28
- }
29
- }
30
- else {
31
- obj[paramName] = paramValue;
32
- }
33
- }
34
- }
35
- return obj;
36
- }
37
-
38
- var searchQuery = getAllUrlParams().q;
39
-
40
-
41
- $('#searchIframe').attr('src', "https://search.linaro.org/search/?fields.label=96Boards&q=" + searchQuery);
@@ -1,65 +0,0 @@
1
- $(document).ready(function(){
2
-
3
- var menu = $('#tabbed-nav-bar');
4
-
5
- if(menu.length){
6
-
7
- var origOffsetY = menu.offset().top;
8
- var navHeight = $("nav#main-navigation").height;
9
-
10
- var text = $('#tabbed-nav-bar ul.nav-tabs li.active').text();
11
- $('#sub-navigation-header').text(text);
12
-
13
- function scroll() {
14
- var text = $('#tabbed-nav-bar ul.nav-tabs li.active').text();
15
- $('#sub-navigation-header').text(text);
16
- $('#sub-navigation-header').hide();
17
-
18
-
19
- if ( $(window).scrollTop() > origOffsetY) {
20
- $('#tabbed-nav-bar').addClass('sticky-nav');
21
- $("nav#main-navigation").hide();
22
- $('#main-container').css('margin-top','160px');
23
- if ($(window).width() < 1200) {
24
- $('#tabbed-nav-bar nav').removeClass('navbar-default');
25
- $('#tabbed-nav-bar nav').addClass('navbar-inverse');
26
-
27
-
28
- $('#tabbed-nav-bar ul.nav-tabs').addClass('nav-stacked');
29
- $('#sub-navigation-header').show();
30
- }
31
- else {
32
- $('#tabbed-nav-bar nav').addClass('navbar-default');
33
- $('#tabbed-nav-bar nav').removeClass('navbar-inverse');
34
-
35
- $('#tabbed-nav-bar ul.nav-tabs').removeClass('nav-stacked');
36
- $('#sub-navigation-header').hide();
37
- }
38
- }
39
- else {
40
- $('#tabbed-nav-bar').removeClass('sticky-nav');
41
- $('#main-container').css('margin-top','80px');
42
- $("nav#main-navigation").show();
43
-
44
- $('#tabbed-nav-bar nav').addClass('navbar-default');
45
- $('#tabbed-nav-bar nav').removeClass('navbar-inverse');
46
-
47
- if ($(window).width() < 1200) {
48
- $('#tabbed-nav-bar ul.nav-tabs').addClass('nav-stacked');
49
- $('#sub-navigation-header').show();
50
- }
51
- else {
52
- $('#tabbed-nav-bar ul.nav-tabs').removeClass('nav-stacked');
53
- $('#sub-navigation-header').hide();
54
- }
55
-
56
-
57
- }
58
- }
59
- scroll();
60
- $(window).scroll(function(){
61
- scroll();
62
- });
63
- $(window).resize(scroll);
64
- }
65
- });