bootstrap-generators 3.0.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -8
- data/Rakefile +3 -7
- data/lib/bootstrap/generators/version.rb +1 -1
- data/lib/generators/bootstrap/install/templates/assets/stylesheets/bootstrap-variables.less +57 -40
- data/lib/generators/bootstrap/install/templates/assets/stylesheets/bootstrap-variables.scss +57 -40
- data/lib/generators/bootstrap/install/templates/layouts/starter.html.erb +1 -1
- data/lib/generators/bootstrap/install/templates/layouts/starter.html.haml +1 -1
- data/readme-template.md.erb +1 -1
- data/vendor/assets/fonts/glyphicons-halflings-regular.eot +0 -0
- data/vendor/assets/fonts/glyphicons-halflings-regular.svg +200 -199
- data/vendor/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/vendor/assets/fonts/glyphicons-halflings-regular.woff +0 -0
- data/vendor/assets/javascripts/bootstrap.js +5 -5
- data/vendor/assets/javascripts/bootstrap/affix.js +4 -4
- data/vendor/assets/javascripts/bootstrap/alert.js +3 -3
- data/vendor/assets/javascripts/bootstrap/button.js +3 -3
- data/vendor/assets/javascripts/bootstrap/carousel.js +4 -4
- data/vendor/assets/javascripts/bootstrap/collapse.js +4 -4
- data/vendor/assets/javascripts/bootstrap/dropdown.js +4 -4
- data/vendor/assets/javascripts/bootstrap/modal.js +4 -4
- data/vendor/assets/javascripts/bootstrap/popover.js +4 -4
- data/vendor/assets/javascripts/bootstrap/scrollspy.js +4 -4
- data/vendor/assets/javascripts/bootstrap/tab.js +5 -5
- data/vendor/assets/javascripts/bootstrap/tooltip.js +4 -4
- data/vendor/assets/javascripts/bootstrap/transition.js +3 -3
- data/vendor/assets/stylesheets/bootstrap.css +1039 -746
- data/vendor/twitter/bootstrap/less/alerts.less +1 -1
- data/vendor/twitter/bootstrap/less/bootstrap.less +0 -10
- data/vendor/twitter/bootstrap/less/breadcrumbs.less +2 -2
- data/vendor/twitter/bootstrap/less/button-groups.less +6 -1
- data/vendor/twitter/bootstrap/less/buttons.less +2 -4
- data/vendor/twitter/bootstrap/less/carousel.less +32 -10
- data/vendor/twitter/bootstrap/less/code.less +5 -8
- data/vendor/twitter/bootstrap/less/dropdowns.less +1 -2
- data/vendor/twitter/bootstrap/less/forms.less +21 -10
- data/vendor/twitter/bootstrap/less/glyphicons.less +20 -15
- data/vendor/twitter/bootstrap/less/grid.less +32 -285
- data/vendor/twitter/bootstrap/less/input-groups.less +9 -0
- data/vendor/twitter/bootstrap/less/jumbotron.less +2 -2
- data/vendor/twitter/bootstrap/less/list-group.less +12 -12
- data/vendor/twitter/bootstrap/less/mixins.less +164 -29
- data/vendor/twitter/bootstrap/less/modals.less +2 -11
- data/vendor/twitter/bootstrap/less/navbar.less +10 -7
- data/vendor/twitter/bootstrap/less/navs.less +53 -20
- data/vendor/twitter/bootstrap/less/normalize.less +16 -6
- data/vendor/twitter/bootstrap/less/pagination.less +2 -0
- data/vendor/twitter/bootstrap/less/panels.less +31 -7
- data/vendor/twitter/bootstrap/less/print.less +6 -1
- data/vendor/twitter/bootstrap/less/progress-bars.less +4 -7
- data/vendor/twitter/bootstrap/less/responsive-utilities.less +57 -68
- data/vendor/twitter/bootstrap/less/scaffolding.less +1 -12
- data/vendor/twitter/bootstrap/less/tables.less +40 -40
- data/vendor/twitter/bootstrap/less/theme.less +32 -17
- data/vendor/twitter/bootstrap/less/thumbnails.less +14 -15
- data/vendor/twitter/bootstrap/less/tooltip.less +8 -8
- data/vendor/twitter/bootstrap/less/type.less +71 -30
- data/vendor/twitter/bootstrap/less/utilities.less +15 -1
- data/vendor/twitter/bootstrap/less/variables.less +56 -39
- data/vendor/twitter/bootstrap/sass/_alerts.scss +1 -1
- data/vendor/twitter/bootstrap/sass/_breadcrumbs.scss +2 -2
- data/vendor/twitter/bootstrap/sass/_button-groups.scss +6 -1
- data/vendor/twitter/bootstrap/sass/_buttons.scss +2 -4
- data/vendor/twitter/bootstrap/sass/_carousel.scss +32 -10
- data/vendor/twitter/bootstrap/sass/_close.scss +2 -0
- data/vendor/twitter/bootstrap/sass/_code.scss +5 -8
- data/vendor/twitter/bootstrap/sass/_dropdowns.scss +1 -2
- data/vendor/twitter/bootstrap/sass/_forms.scss +23 -10
- data/vendor/twitter/bootstrap/sass/_glyphicons.scss +20 -15
- data/vendor/twitter/bootstrap/sass/_grid.scss +32 -285
- data/vendor/twitter/bootstrap/sass/_input-groups.scss +9 -0
- data/vendor/twitter/bootstrap/sass/_jumbotron.scss +2 -2
- data/vendor/twitter/bootstrap/sass/_list-group.scss +16 -16
- data/vendor/twitter/bootstrap/sass/_mixins.scss +167 -34
- data/vendor/twitter/bootstrap/sass/_modals.scss +2 -15
- data/vendor/twitter/bootstrap/sass/_navbar.scss +10 -7
- data/vendor/twitter/bootstrap/sass/_navs.scss +53 -20
- data/vendor/twitter/bootstrap/sass/_normalize.scss +16 -6
- data/vendor/twitter/bootstrap/sass/_pagination.scss +2 -0
- data/vendor/twitter/bootstrap/sass/_panels.scss +31 -7
- data/vendor/twitter/bootstrap/sass/_print.scss +6 -1
- data/vendor/twitter/bootstrap/sass/_progress-bars.scss +4 -7
- data/vendor/twitter/bootstrap/sass/_responsive-utilities.scss +37 -48
- data/vendor/twitter/bootstrap/sass/_scaffolding.scss +1 -12
- data/vendor/twitter/bootstrap/sass/_tables.scss +52 -44
- data/vendor/twitter/bootstrap/sass/_theme.scss +26 -11
- data/vendor/twitter/bootstrap/sass/_thumbnails.scss +13 -12
- data/vendor/twitter/bootstrap/sass/_tooltip.scss +8 -8
- data/vendor/twitter/bootstrap/sass/_type.scss +71 -30
- data/vendor/twitter/bootstrap/sass/_utilities.scss +15 -1
- data/vendor/twitter/bootstrap/sass/_variables.scss +56 -39
- data/vendor/twitter/bootstrap/sass/bootstrap.scss +0 -10
- metadata +2 -5
- data/vendor/assets/javascripts/bootstrap-ie.js +0 -2
- data/vendor/assets/javascripts/bootstrap-ie/html5shiv.js +0 -8
- data/vendor/assets/javascripts/bootstrap-ie/respond.min.js +0 -6
@@ -9,6 +9,9 @@
|
|
9
9
|
.clearfix {
|
10
10
|
@include clearfix();
|
11
11
|
}
|
12
|
+
.center-block {
|
13
|
+
@include center-block();
|
14
|
+
}
|
12
15
|
.pull-right {
|
13
16
|
float: right !important;
|
14
17
|
}
|
@@ -20,6 +23,7 @@
|
|
20
23
|
// Toggling content
|
21
24
|
// -------------------------
|
22
25
|
|
26
|
+
// Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1
|
23
27
|
.hide {
|
24
28
|
display: none !important;
|
25
29
|
}
|
@@ -30,7 +34,17 @@
|
|
30
34
|
visibility: hidden;
|
31
35
|
}
|
32
36
|
.text-hide {
|
33
|
-
@include hide
|
37
|
+
@include text-hide();
|
38
|
+
}
|
39
|
+
|
40
|
+
|
41
|
+
// Hide from screenreaders and browsers
|
42
|
+
//
|
43
|
+
// Credit: HTML5 Boilerplate
|
44
|
+
|
45
|
+
.hidden {
|
46
|
+
display: none !important;
|
47
|
+
visibility: hidden !important;
|
34
48
|
}
|
35
49
|
|
36
50
|
|
@@ -48,12 +48,21 @@ $font-size-base: 14px !default;
|
|
48
48
|
$font-size-large: ceil($font-size-base * 1.25) !default; // ~18px
|
49
49
|
$font-size-small: ceil($font-size-base * 0.85) !default; // ~12px
|
50
50
|
|
51
|
+
$font-size-h1: floor($font-size-base * 2.6) !default; // ~36px
|
52
|
+
$font-size-h2: floor($font-size-base * 2.15) !default; // ~30px
|
53
|
+
$font-size-h3: ceil($font-size-base * 1.7) !default; // ~24px
|
54
|
+
$font-size-h4: ceil($font-size-base * 1.25) !default; // ~18px
|
55
|
+
$font-size-h5: $font-size-base !default;
|
56
|
+
$font-size-h6: ceil($font-size-base * 0.85) !default; // ~12px
|
57
|
+
|
51
58
|
$line-height-base: 1.428571429 !default; // 20/14
|
52
59
|
$line-height-computed: floor($font-size-base * $line-height-base) !default; // ~20px
|
53
60
|
|
54
61
|
$headings-font-family: $font-family-base !default;
|
55
62
|
$headings-font-weight: 500 !default;
|
56
63
|
$headings-line-height: 1.1 !default;
|
64
|
+
$headings-color: inherit !default;
|
65
|
+
|
57
66
|
|
58
67
|
// Iconography
|
59
68
|
// -------------------------
|
@@ -82,6 +91,7 @@ $border-radius-base: 4px !default;
|
|
82
91
|
$border-radius-large: 6px !default;
|
83
92
|
$border-radius-small: 3px !default;
|
84
93
|
|
94
|
+
$component-active-color: #fff !default;
|
85
95
|
$component-active-bg: $brand-primary !default;
|
86
96
|
|
87
97
|
$caret-width-base: 4px !default;
|
@@ -165,12 +175,12 @@ $dropdown-border: rgba(0,0,0,.15) !default;
|
|
165
175
|
$dropdown-fallback-border: #ccc !default;
|
166
176
|
$dropdown-divider-bg: #e5e5e5 !default;
|
167
177
|
|
168
|
-
$dropdown-link-active-color: #fff !default;
|
169
|
-
$dropdown-link-active-bg: $component-active-bg !default;
|
170
|
-
|
171
178
|
$dropdown-link-color: $gray-dark !default;
|
172
|
-
$dropdown-link-hover-color:
|
173
|
-
$dropdown-link-hover-bg:
|
179
|
+
$dropdown-link-hover-color: darken($gray-dark, 5%) !default;
|
180
|
+
$dropdown-link-hover-bg: #f5f5f5 !default;
|
181
|
+
|
182
|
+
$dropdown-link-active-color: $component-active-color !default;
|
183
|
+
$dropdown-link-active-bg: $component-active-bg !default;
|
174
184
|
|
175
185
|
$dropdown-link-disabled-color: $gray-light !default;
|
176
186
|
|
@@ -200,25 +210,33 @@ $zindex-modal: 1050 !default;
|
|
200
210
|
// --------------------------------------------------
|
201
211
|
|
202
212
|
// Extra small screen / phone
|
213
|
+
// Note: Deprecated $screen-xs and $screen-phone as of v3.0.1
|
203
214
|
$screen-xs: 480px !default;
|
204
|
-
$screen-
|
215
|
+
$screen-xs-min: $screen-xs !default;
|
216
|
+
$screen-phone: $screen-xs-min !default;
|
205
217
|
|
206
218
|
// Small screen / tablet
|
219
|
+
// Note: Deprecated $screen-sm and $screen-tablet as of v3.0.1
|
207
220
|
$screen-sm: 768px !default;
|
208
|
-
$screen-
|
221
|
+
$screen-sm-min: $screen-sm !default;
|
222
|
+
$screen-tablet: $screen-sm-min !default;
|
209
223
|
|
210
224
|
// Medium screen / desktop
|
225
|
+
// Note: Deprecated $screen-md and $screen-desktop as of v3.0.1
|
211
226
|
$screen-md: 992px !default;
|
212
|
-
$screen-
|
227
|
+
$screen-md-min: $screen-md !default;
|
228
|
+
$screen-desktop: $screen-md-min !default;
|
213
229
|
|
214
230
|
// Large screen / wide desktop
|
231
|
+
// Note: Deprecated $screen-lg and $screen-lg-desktop as of v3.0.1
|
215
232
|
$screen-lg: 1200px !default;
|
216
|
-
$screen-lg-
|
233
|
+
$screen-lg-min: $screen-lg !default;
|
234
|
+
$screen-lg-desktop: $screen-lg-min !default;
|
217
235
|
|
218
236
|
// So media queries don't overlap when required, provide a maximum
|
219
|
-
$screen-xs-max: ($screen-sm - 1) !default;
|
220
|
-
$screen-sm-max: ($screen-md - 1) !default;
|
221
|
-
$screen-md-max: ($screen-lg - 1) !default;
|
237
|
+
$screen-xs-max: ($screen-sm-min - 1) !default;
|
238
|
+
$screen-sm-max: ($screen-md-min - 1) !default;
|
239
|
+
$screen-md-max: ($screen-lg-min - 1) !default;
|
222
240
|
|
223
241
|
|
224
242
|
// Grid system
|
@@ -229,7 +247,7 @@ $grid-columns: 12 !default;
|
|
229
247
|
// Padding, to be divided by two and applied to the left and right of all columns
|
230
248
|
$grid-gutter-width: 30px !default;
|
231
249
|
// Point at which the navbar stops collapsing
|
232
|
-
$grid-float-breakpoint: $screen-
|
250
|
+
$grid-float-breakpoint: $screen-sm-min !default;
|
233
251
|
|
234
252
|
|
235
253
|
// Navbar
|
@@ -238,13 +256,14 @@ $grid-float-breakpoint: $screen-tablet !default;
|
|
238
256
|
// Basics of a navbar
|
239
257
|
$navbar-height: 50px !default;
|
240
258
|
$navbar-margin-bottom: $line-height-computed !default;
|
241
|
-
$navbar-default-color: #777 !default;
|
242
|
-
$navbar-default-bg: #f8f8f8 !default;
|
243
|
-
$navbar-default-border: darken($navbar-default-bg, 6.5%) !default;
|
244
259
|
$navbar-border-radius: $border-radius-base !default;
|
245
260
|
$navbar-padding-horizontal: floor($grid-gutter-width / 2) !default;
|
246
261
|
$navbar-padding-vertical: (($navbar-height - $line-height-computed) / 2) !default;
|
247
262
|
|
263
|
+
$navbar-default-color: #777 !default;
|
264
|
+
$navbar-default-bg: #f8f8f8 !default;
|
265
|
+
$navbar-default-border: darken($navbar-default-bg, 6.5%) !default;
|
266
|
+
|
248
267
|
// Navbar links
|
249
268
|
$navbar-default-link-color: #777 !default;
|
250
269
|
$navbar-default-link-hover-color: #333 !default;
|
@@ -256,7 +275,7 @@ $navbar-default-link-disabled-bg: transparent !default;
|
|
256
275
|
|
257
276
|
// Navbar brand label
|
258
277
|
$navbar-default-brand-color: $navbar-default-link-color !default;
|
259
|
-
$navbar-default-brand-hover-color: darken($navbar-default-
|
278
|
+
$navbar-default-brand-hover-color: darken($navbar-default-brand-color, 10%) !default;
|
260
279
|
$navbar-default-brand-hover-bg: transparent !default;
|
261
280
|
|
262
281
|
// Navbar toggle
|
@@ -286,13 +305,6 @@ $navbar-inverse-brand-color: $navbar-inverse-link-color !default;
|
|
286
305
|
$navbar-inverse-brand-hover-color: #fff !default;
|
287
306
|
$navbar-inverse-brand-hover-bg: transparent !default;
|
288
307
|
|
289
|
-
// Inverted navbar search
|
290
|
-
// Normal navbar needs no special styles or vars
|
291
|
-
$navbar-inverse-search-bg: lighten($navbar-inverse-bg, 25%) !default;
|
292
|
-
$navbar-inverse-search-bg-focus: #fff !default;
|
293
|
-
$navbar-inverse-search-border: $navbar-inverse-bg !default;
|
294
|
-
$navbar-inverse-search-placeholder-color: #ccc !default;
|
295
|
-
|
296
308
|
// Inverted navbar toggle
|
297
309
|
$navbar-inverse-toggle-hover-bg: #333 !default;
|
298
310
|
$navbar-inverse-toggle-icon-bar-bg: #fff !default;
|
@@ -324,8 +336,9 @@ $nav-tabs-justified-link-border-color: #ddd !default;
|
|
324
336
|
$nav-tabs-justified-active-link-border-color: $body-bg !default;
|
325
337
|
|
326
338
|
// Pills
|
339
|
+
$nav-pills-border-radius: $border-radius-base !default;
|
327
340
|
$nav-pills-active-link-hover-bg: $component-active-bg !default;
|
328
|
-
$nav-pills-active-link-hover-color:
|
341
|
+
$nav-pills-active-link-hover-color: $component-active-color !default;
|
329
342
|
|
330
343
|
|
331
344
|
// Pagination
|
@@ -355,21 +368,13 @@ $pager-disabled-color: $gray-light !default;
|
|
355
368
|
$jumbotron-padding: 30px !default;
|
356
369
|
$jumbotron-color: inherit !default;
|
357
370
|
$jumbotron-bg: $gray-lighter !default;
|
358
|
-
|
359
371
|
$jumbotron-heading-color: inherit !default;
|
372
|
+
$jumbotron-font-size: ceil($font-size-base * 1.5) !default;
|
360
373
|
|
361
374
|
|
362
375
|
// Form states and alerts
|
363
376
|
// -------------------------
|
364
377
|
|
365
|
-
$state-warning-text: #c09853 !default;
|
366
|
-
$state-warning-bg: #fcf8e3 !default;
|
367
|
-
$state-warning-border: darken(adjust-hue($state-warning-bg, -10), 3%) !default;
|
368
|
-
|
369
|
-
$state-danger-text: #b94a48 !default;
|
370
|
-
$state-danger-bg: #f2dede !default;
|
371
|
-
$state-danger-border: darken(adjust-hue($state-danger-bg, -10), 3%) !default;
|
372
|
-
|
373
378
|
$state-success-text: #468847 !default;
|
374
379
|
$state-success-bg: #dff0d8 !default;
|
375
380
|
$state-success-border: darken(adjust-hue($state-success-bg, -10), 5%) !default;
|
@@ -378,6 +383,14 @@ $state-info-text: #3a87ad !default;
|
|
378
383
|
$state-info-bg: #d9edf7 !default;
|
379
384
|
$state-info-border: darken(adjust-hue($state-info-bg, -10), 7%) !default;
|
380
385
|
|
386
|
+
$state-warning-text: #c09853 !default;
|
387
|
+
$state-warning-bg: #fcf8e3 !default;
|
388
|
+
$state-warning-border: darken(adjust-hue($state-warning-bg, -10), 5%) !default;
|
389
|
+
|
390
|
+
$state-danger-text: #b94a48 !default;
|
391
|
+
$state-danger-bg: #f2dede !default;
|
392
|
+
$state-danger-border: darken(adjust-hue($state-danger-bg, -10), 5%) !default;
|
393
|
+
|
381
394
|
|
382
395
|
// Tooltips
|
383
396
|
// -------------------------
|
@@ -478,7 +491,7 @@ $list-group-border: #ddd !default;
|
|
478
491
|
$list-group-border-radius: $border-radius-base !default;
|
479
492
|
|
480
493
|
$list-group-hover-bg: #f5f5f5 !default;
|
481
|
-
$list-group-active-color:
|
494
|
+
$list-group-active-color: $component-active-color !default;
|
482
495
|
$list-group-active-bg: $component-active-bg !default;
|
483
496
|
$list-group-active-border: $list-group-active-bg !default;
|
484
497
|
|
@@ -553,6 +566,7 @@ $badge-border-radius: 10px !default;
|
|
553
566
|
$breadcrumb-bg: #f5f5f5 !default;
|
554
567
|
$breadcrumb-color: #ccc !default;
|
555
568
|
$breadcrumb-active-color: $gray-light !default;
|
569
|
+
$breadcrumb-separator: "/" !default;
|
556
570
|
|
557
571
|
|
558
572
|
// Carousel
|
@@ -573,8 +587,8 @@ $carousel-caption-color: #fff !default;
|
|
573
587
|
|
574
588
|
// Close
|
575
589
|
// ------------------------
|
576
|
-
$close-color: #000 !default;
|
577
590
|
$close-font-weight: bold !default;
|
591
|
+
$close-color: #000 !default;
|
578
592
|
$close-text-shadow: 0 1px 0 #fff !default;
|
579
593
|
|
580
594
|
|
@@ -611,10 +625,13 @@ $component-offset-horizontal: 180px !default;
|
|
611
625
|
// --------------------------------------------------
|
612
626
|
|
613
627
|
// Small screen / tablet
|
614
|
-
$container-tablet:
|
628
|
+
$container-tablet: ((720px + $grid-gutter-width)) !default;
|
629
|
+
$container-sm: $container-tablet !default;
|
615
630
|
|
616
631
|
// Medium screen / desktop
|
617
|
-
$container-desktop:
|
632
|
+
$container-desktop: ((940px + $grid-gutter-width)) !default;
|
633
|
+
$container-md: $container-desktop !default;
|
618
634
|
|
619
635
|
// Large screen / wide desktop
|
620
|
-
$container-
|
636
|
+
$container-large-desktop: ((1140px + $grid-gutter-width)) !default;
|
637
|
+
$container-lg: $container-large-desktop !default;
|
@@ -1,13 +1,3 @@
|
|
1
|
-
/*!
|
2
|
-
* Bootstrap v3.0.0
|
3
|
-
*
|
4
|
-
* Copyright 2013 Twitter, Inc
|
5
|
-
* Licensed under the Apache License v2.0
|
6
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
7
|
-
*
|
8
|
-
* Designed and built with all the love in the world by @mdo and @fat.
|
9
|
-
*/
|
10
|
-
|
11
1
|
// Core variables and mixins
|
12
2
|
@import "variables";
|
13
3
|
@import "mixins";
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap-generators
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Décio Ferreira
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -112,9 +112,6 @@ files:
|
|
112
112
|
- vendor/assets/fonts/glyphicons-halflings-regular.svg
|
113
113
|
- vendor/assets/fonts/glyphicons-halflings-regular.ttf
|
114
114
|
- vendor/assets/fonts/glyphicons-halflings-regular.woff
|
115
|
-
- vendor/assets/javascripts/bootstrap-ie.js
|
116
|
-
- vendor/assets/javascripts/bootstrap-ie/html5shiv.js
|
117
|
-
- vendor/assets/javascripts/bootstrap-ie/respond.min.js
|
118
115
|
- vendor/assets/javascripts/bootstrap.js
|
119
116
|
- vendor/assets/javascripts/bootstrap/affix.js
|
120
117
|
- vendor/assets/javascripts/bootstrap/alert.js
|
@@ -1,8 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
HTML5 Shiv v3.6.2pre | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
|
3
|
-
*/
|
4
|
-
(function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag();
|
5
|
-
a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/\w+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x<style>article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}</style>";
|
6
|
-
c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="<xyz></xyz>";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode||
|
7
|
-
"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",version:"3.6.2pre",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f);if(g)return a.createDocumentFragment();
|
8
|
-
for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d<h;d++)c.createElement(e[d]);return c}};l.html5=e;q(f)})(this,document);
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas. Dual MIT/BSD license */
|
2
|
-
/*! NOTE: If you're already including a window.matchMedia polyfill via Modernizr or otherwise, you don't need this part */
|
3
|
-
window.matchMedia=window.matchMedia||function(a){"use strict";var c,d=a.documentElement,e=d.firstElementChild||d.firstChild,f=a.createElement("body"),g=a.createElement("div");return g.id="mq-test-1",g.style.cssText="position:absolute;top:-100em",f.style.background="none",f.appendChild(g),function(a){return g.innerHTML='­<style media="'+a+'"> #mq-test-1 { width: 42px; }</style>',d.insertBefore(f,e),c=42===g.offsetWidth,d.removeChild(f),{matches:c,media:a}}}(document);
|
4
|
-
|
5
|
-
/*! Respond.js v1.1.0: min/max-width media query polyfill. (c) Scott Jehl. MIT/GPLv2 Lic. j.mp/respondjs */
|
6
|
-
(function(a){"use strict";function x(){u(!0)}var b={};a.respond=b,b.update=function(){},b.mediaQueriesSupported=a.matchMedia&&a.matchMedia("only all").matches,b.mediaQueriesSupported;var q,r,t,c=a.document,d=c.documentElement,e=[],f=[],g=[],h={},i=30,j=c.getElementsByTagName("head")[0]||d,k=c.getElementsByTagName("base")[0],l=j.getElementsByTagName("link"),m=[],n=function(){for(var b=0;l.length>b;b++){var c=l[b],d=c.href,e=c.media,f=c.rel&&"stylesheet"===c.rel.toLowerCase();d&&f&&!h[d]&&(c.styleSheet&&c.styleSheet.rawCssText?(p(c.styleSheet.rawCssText,d,e),h[d]=!0):(!/^([a-zA-Z:]*\/\/)/.test(d)&&!k||d.replace(RegExp.$1,"").split("/")[0]===a.location.host)&&m.push({href:d,media:e}))}o()},o=function(){if(m.length){var a=m.shift();v(a.href,function(b){p(b,a.href,a.media),h[a.href]=!0,setTimeout(function(){o()},0)})}},p=function(a,b,c){var d=a.match(/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi),g=d&&d.length||0;b=b.substring(0,b.lastIndexOf("/"));var h=function(a){return a.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+b+"$2$3")},i=!g&&c;b.length&&(b+="/"),i&&(g=1);for(var j=0;g>j;j++){var k,l,m,n;i?(k=c,f.push(h(a))):(k=d[j].match(/@media *([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1,f.push(RegExp.$2&&h(RegExp.$2))),m=k.split(","),n=m.length;for(var o=0;n>o;o++)l=m[o],e.push({media:l.split("(")[0].match(/(only\s+)?([a-zA-Z]+)\s?/)&&RegExp.$2||"all",rules:f.length-1,hasquery:l.indexOf("(")>-1,minw:l.match(/\(min\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:l.match(/\(max\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}u()},s=function(){var a,b=c.createElement("div"),e=c.body,f=!1;return b.style.cssText="position:absolute;font-size:1em;width:1em",e||(e=f=c.createElement("body"),e.style.background="none"),e.appendChild(b),d.insertBefore(e,d.firstChild),a=b.offsetWidth,f?d.removeChild(e):e.removeChild(b),a=t=parseFloat(a)},u=function(a){var b="clientWidth",h=d[b],k="CSS1Compat"===c.compatMode&&h||c.body[b]||h,m={},n=l[l.length-1],o=(new Date).getTime();if(a&&q&&i>o-q)return clearTimeout(r),r=setTimeout(u,i),void 0;q=o;for(var p in e)if(e.hasOwnProperty(p)){var v=e[p],w=v.minw,x=v.maxw,y=null===w,z=null===x,A="em";w&&(w=parseFloat(w)*(w.indexOf(A)>-1?t||s():1)),x&&(x=parseFloat(x)*(x.indexOf(A)>-1?t||s():1)),v.hasquery&&(y&&z||!(y||k>=w)||!(z||x>=k))||(m[v.media]||(m[v.media]=[]),m[v.media].push(f[v.rules]))}for(var B in g)g.hasOwnProperty(B)&&g[B]&&g[B].parentNode===j&&j.removeChild(g[B]);for(var C in m)if(m.hasOwnProperty(C)){var D=c.createElement("style"),E=m[C].join("\n");D.type="text/css",D.media=C,j.insertBefore(D,n.nextSibling),D.styleSheet?D.styleSheet.cssText=E:D.appendChild(c.createTextNode(E)),g.push(D)}},v=function(a,b){var c=w();c&&(c.open("GET",a,!0),c.onreadystatechange=function(){4!==c.readyState||200!==c.status&&304!==c.status||b(c.responseText)},4!==c.readyState&&c.send(null))},w=function(){var b=!1;try{b=new a.XMLHttpRequest}catch(c){b=new a.ActiveXObject("Microsoft.XMLHTTP")}return function(){return b}}();n(),b.update=n,a.addEventListener?a.addEventListener("resize",x,!1):a.attachEvent&&a.attachEvent("onresize",x)})(this);
|