foundation-rails 5.0.2.0 → 5.0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/foundation/rails/version.rb +1 -1
- data/vendor/assets/javascripts/foundation/foundation.abide.js +27 -6
- data/vendor/assets/javascripts/foundation/foundation.accordion.js +1 -1
- data/vendor/assets/javascripts/foundation/foundation.alert.js +3 -3
- data/vendor/assets/javascripts/foundation/foundation.clearing.js +25 -12
- data/vendor/assets/javascripts/foundation/foundation.dropdown.js +25 -7
- data/vendor/assets/javascripts/foundation/foundation.interchange.js +6 -5
- data/vendor/assets/javascripts/foundation/foundation.joyride.js +19 -16
- data/vendor/assets/javascripts/foundation/foundation.js +12 -9
- data/vendor/assets/javascripts/foundation/foundation.magellan.js +13 -1
- data/vendor/assets/javascripts/foundation/foundation.offcanvas.js +2 -2
- data/vendor/assets/javascripts/foundation/foundation.orbit.js +42 -20
- data/vendor/assets/javascripts/foundation/foundation.reveal.js +80 -36
- data/vendor/assets/javascripts/foundation/foundation.tab.js +14 -5
- data/vendor/assets/javascripts/foundation/foundation.tooltip.js +9 -8
- data/vendor/assets/javascripts/foundation/foundation.topbar.js +5 -4
- data/vendor/assets/javascripts/vendor/modernizr.js +1405 -3
- data/vendor/assets/stylesheets/foundation.scss +2 -0
- data/vendor/assets/stylesheets/foundation/_functions.scss +3 -0
- data/vendor/assets/stylesheets/foundation/_settings.scss +244 -50
- data/vendor/assets/stylesheets/foundation/components/_accordion.scss +15 -15
- data/vendor/assets/stylesheets/foundation/components/_alert-boxes.scss +4 -4
- data/vendor/assets/stylesheets/foundation/components/_block-grid.scss +3 -2
- data/vendor/assets/stylesheets/foundation/components/_breadcrumbs.scss +3 -3
- data/vendor/assets/stylesheets/foundation/components/_button-groups.scss +10 -4
- data/vendor/assets/stylesheets/foundation/components/_buttons.scss +8 -6
- data/vendor/assets/stylesheets/foundation/components/_clearing.scss +1 -1
- data/vendor/assets/stylesheets/foundation/components/_dropdown-buttons.scss +0 -0
- data/vendor/assets/stylesheets/foundation/components/_dropdown.scss +5 -5
- data/vendor/assets/stylesheets/foundation/components/_flex-video.scss +0 -0
- data/vendor/assets/stylesheets/foundation/components/_forms.scss +43 -19
- data/vendor/assets/stylesheets/foundation/components/_global.scss +29 -18
- data/vendor/assets/stylesheets/foundation/components/_grid.scss +41 -25
- data/vendor/assets/stylesheets/foundation/components/_inline-lists.scss +0 -0
- data/vendor/assets/stylesheets/foundation/components/_joyride.scss +1 -1
- data/vendor/assets/stylesheets/foundation/components/_keystrokes.scss +5 -5
- data/vendor/assets/stylesheets/foundation/components/_labels.scss +0 -0
- data/vendor/assets/stylesheets/foundation/components/_magellan.scss +0 -0
- data/vendor/assets/stylesheets/foundation/components/_offcanvas.scss +110 -98
- data/vendor/assets/stylesheets/foundation/components/_orbit.scss +12 -10
- data/vendor/assets/stylesheets/foundation/components/_pagination.scss +1 -1
- data/vendor/assets/stylesheets/foundation/components/_panels.scss +6 -6
- data/vendor/assets/stylesheets/foundation/components/_pricing-tables.scss +0 -0
- data/vendor/assets/stylesheets/foundation/components/_progress-bars.scss +1 -1
- data/vendor/assets/stylesheets/foundation/components/_reveal.scss +2 -2
- data/vendor/assets/stylesheets/foundation/components/_side-nav.scss +4 -4
- data/vendor/assets/stylesheets/foundation/components/_split-buttons.scss +0 -0
- data/vendor/assets/stylesheets/foundation/components/_sub-nav.scss +9 -9
- data/vendor/assets/stylesheets/foundation/components/_switch.scss +30 -28
- data/vendor/assets/stylesheets/foundation/components/_tables.scss +2 -2
- data/vendor/assets/stylesheets/foundation/components/_tabs.scss +75 -73
- data/vendor/assets/stylesheets/foundation/components/_thumbs.scss +1 -2
- data/vendor/assets/stylesheets/foundation/components/_tooltips.scss +1 -1
- data/vendor/assets/stylesheets/foundation/components/_top-bar.scss +61 -47
- data/vendor/assets/stylesheets/foundation/components/_type.scss +13 -14
- data/vendor/assets/stylesheets/foundation/components/_visibility.scss +23 -8
- data/vendor/assets/stylesheets/normalize.scss +0 -0
- metadata +3 -5
- data/vendor/_settings.scss +0 -992
- data/vendor/assets/stylesheets/foundation/components/_functions.scss +0 -70
@@ -40,6 +40,7 @@ $thumb-transition-speed: 200ms !default;
|
|
40
40
|
line-height: 0;
|
41
41
|
display: inline-block;
|
42
42
|
border: $thumb-border-style $border-width $thumb-border-color;
|
43
|
+
max-width: 100%;
|
43
44
|
@if $experimental {
|
44
45
|
-webkit-box-shadow: $box-shadow;
|
45
46
|
}
|
@@ -65,7 +66,5 @@ $thumb-transition-speed: 200ms !default;
|
|
65
66
|
|
66
67
|
&.radius { @include radius($thumb-radius); }
|
67
68
|
}
|
68
|
-
a.th { display: inline-block; max-width:100%; }
|
69
|
-
|
70
69
|
}
|
71
70
|
}
|
@@ -8,7 +8,7 @@ $include-html-tooltip-classes: $include-html-classes !default;
|
|
8
8
|
$has-tip-border-bottom: dotted 1px #ccc !default;
|
9
9
|
$has-tip-font-weight: bold !default;
|
10
10
|
$has-tip-font-color: #333 !default;
|
11
|
-
$has-tip-border-bottom-hover: dotted 1px
|
11
|
+
$has-tip-border-bottom-hover: dotted 1px scale-color($primary-color, $lightness: -55%) !default;
|
12
12
|
$has-tip-font-color-hover: $primary-color !default;
|
13
13
|
$has-tip-cursor-type: help !default;
|
14
14
|
|
@@ -14,8 +14,6 @@ $topbar-bg: $topbar-bg-color !default;
|
|
14
14
|
$topbar-height: 45px !default;
|
15
15
|
$topbar-margin-bottom: 0 !default;
|
16
16
|
|
17
|
-
// Control Input height for top bar
|
18
|
-
|
19
17
|
// Controlling the styles for the title in the top bar
|
20
18
|
$topbar-title-weight: normal !default;
|
21
19
|
$topbar-title-font-size: rem-calc(17) !default;
|
@@ -24,6 +22,7 @@ $topbar-title-font-size: rem-calc(17) !default;
|
|
24
22
|
$topbar-dropdown-bg: #333 !default;
|
25
23
|
$topbar-dropdown-link-color: #fff !default;
|
26
24
|
$topbar-dropdown-link-bg: #333 !default;
|
25
|
+
$topbar-dropdown-link-weight: normal !default;
|
27
26
|
$topbar-dropdown-toggle-size: 5px !default;
|
28
27
|
$topbar-dropdown-toggle-color: #fff !default;
|
29
28
|
$topbar-dropdown-toggle-alpha: 0.4 !default;
|
@@ -37,7 +36,7 @@ $topbar-link-font-size: rem-calc(13) !default;
|
|
37
36
|
$topbar-link-hover-lightness: -10% !default; // Darken by 10%
|
38
37
|
$topbar-link-bg-hover: #272727 !default;
|
39
38
|
$topbar-link-bg-active: $primary-color !default;
|
40
|
-
$topbar-link-bg-active-hover:
|
39
|
+
$topbar-link-bg-active-hover: scale-color($primary-color, $lightness: -14%) !default;
|
41
40
|
$topbar-link-font-family: $body-font-family !default;
|
42
41
|
|
43
42
|
$topbar-button-font-size: 0.75rem;
|
@@ -64,22 +63,22 @@ $topbar-breakpoint: #{lower-bound($medium-range)} !default; // Change to 9999px
|
|
64
63
|
$topbar-media-query: $medium-up !default;
|
65
64
|
|
66
65
|
// Divider Styles
|
67
|
-
$topbar-divider-border-bottom: solid 1px
|
68
|
-
$topbar-divider-border-top: solid 1px
|
66
|
+
$topbar-divider-border-bottom: solid 1px scale-color($topbar-bg-color, $lightness: 13%) !default;
|
67
|
+
$topbar-divider-border-top: solid 1px scale-color($topbar-bg-color, $lightness: -50%) !default;
|
69
68
|
|
70
69
|
// Sticky Class
|
71
70
|
$topbar-sticky-class: ".sticky" !default;
|
72
71
|
$topbar-arrows: true !default; //Set false to remove the triangle icon from the menu item
|
73
72
|
|
74
|
-
// Used to provide media query values for javascript components.
|
75
|
-
// This class is generated despite the value of $include-html-top-bar-classes
|
76
|
-
// to ensure width calculations work correctly.
|
77
|
-
meta.foundation-mq-topbar {
|
78
|
-
font-family: "/" + unquote($topbar-media-query) + "/";
|
79
|
-
width: $topbar-breakpoint;
|
80
|
-
}
|
81
|
-
|
82
73
|
@include exports("top-bar") {
|
74
|
+
// Used to provide media query values for javascript components.
|
75
|
+
// This class is generated despite the value of $include-html-top-bar-classes
|
76
|
+
// to ensure width calculations work correctly.
|
77
|
+
meta.foundation-mq-topbar {
|
78
|
+
font-family: "/" + unquote($topbar-media-query) + "/";
|
79
|
+
width: $topbar-breakpoint;
|
80
|
+
}
|
81
|
+
|
83
82
|
@if $include-html-top-bar-classes {
|
84
83
|
|
85
84
|
/* Wrapped around .top-bar to contain to grid width */
|
@@ -138,14 +137,14 @@ meta.foundation-mq-topbar {
|
|
138
137
|
|
139
138
|
input { height: auto; padding-top: .35rem; padding-bottom: .35rem; font-size: $topbar-button-font-size; }
|
140
139
|
|
141
|
-
.button {
|
142
|
-
padding-top: .45rem;
|
143
|
-
padding-bottom: .35rem;
|
144
|
-
margin-bottom: 0;
|
145
|
-
font-size: $topbar-button-font-size;
|
140
|
+
.button {
|
141
|
+
padding-top: .45rem;
|
142
|
+
padding-bottom: .35rem;
|
143
|
+
margin-bottom: 0;
|
144
|
+
font-size: $topbar-button-font-size;
|
146
145
|
// position: relative;
|
147
146
|
// top: -1px;
|
148
|
-
|
147
|
+
|
149
148
|
}
|
150
149
|
|
151
150
|
// Title Area
|
@@ -199,18 +198,21 @@ meta.foundation-mq-topbar {
|
|
199
198
|
padding-#{$default-float}: 40px;
|
200
199
|
|
201
200
|
a {
|
202
|
-
text-indent: -48px;
|
203
|
-
width: 34px;
|
201
|
+
// text-indent: -48px;
|
204
202
|
height: 34px;
|
205
203
|
line-height: 33px;
|
206
204
|
padding: 0;
|
205
|
+
padding-right: 25px;
|
207
206
|
color: $topbar-menu-link-color;
|
207
|
+
position: relative;
|
208
208
|
|
209
|
-
|
209
|
+
&::after {
|
210
|
+
content:"";
|
210
211
|
position: absolute;
|
211
212
|
#{$opposite-direction}: 0;
|
212
213
|
display: block;
|
213
214
|
width: 16px;
|
215
|
+
top:0;
|
214
216
|
height: 0;
|
215
217
|
// Shh, don't tell, but box-shadows create the menu icon :)
|
216
218
|
@if $experimental {
|
@@ -249,7 +251,7 @@ meta.foundation-mq-topbar {
|
|
249
251
|
}
|
250
252
|
}
|
251
253
|
}
|
252
|
-
|
254
|
+
|
253
255
|
|
254
256
|
|
255
257
|
}
|
@@ -289,32 +291,32 @@ meta.foundation-mq-topbar {
|
|
289
291
|
font-size: $topbar-link-font-size;
|
290
292
|
font-weight: $topbar-link-weight;
|
291
293
|
background: $topbar-dropdown-bg;
|
292
|
-
|
294
|
+
|
293
295
|
&.button {
|
294
296
|
background: $primary-color;
|
295
297
|
font-size: $topbar-link-font-size;
|
296
|
-
padding-
|
297
|
-
padding-
|
298
|
+
padding-#{$opposite-direction}: $topbar-height / 3;
|
299
|
+
padding-#{$default-float}: $topbar-height / 3;
|
298
300
|
&:hover {
|
299
|
-
background:
|
301
|
+
background: scale-color($primary-color, $lightness: -27%);
|
300
302
|
}
|
301
303
|
}
|
302
304
|
&.button.secondary {
|
303
305
|
background: $secondary-color;
|
304
306
|
&:hover {
|
305
|
-
background:
|
307
|
+
background: scale-color($secondary-color, $lightness: -11%);
|
306
308
|
}
|
307
309
|
}
|
308
310
|
&.button.success {
|
309
311
|
background: $success-color;
|
310
312
|
&:hover {
|
311
|
-
background:
|
313
|
+
background: scale-color($success-color, $lightness: -21%);
|
312
314
|
}
|
313
315
|
}
|
314
316
|
&.button.alert {
|
315
317
|
background: $alert-color;
|
316
318
|
&:hover {
|
317
|
-
background:
|
319
|
+
background: scale-color($alert-color, $lightness: -18%);
|
318
320
|
}
|
319
321
|
}
|
320
322
|
|
@@ -331,8 +333,8 @@ meta.foundation-mq-topbar {
|
|
331
333
|
&.active > a {
|
332
334
|
background: $topbar-link-bg-active;
|
333
335
|
color: $topbar-link-color-active;
|
334
|
-
|
335
|
-
|
336
|
+
&:hover {
|
337
|
+
background: $topbar-link-bg-active-hover;
|
336
338
|
}
|
337
339
|
}
|
338
340
|
}
|
@@ -347,7 +349,7 @@ meta.foundation-mq-topbar {
|
|
347
349
|
& > a {
|
348
350
|
&:after {
|
349
351
|
@if ($topbar-arrows){
|
350
|
-
@include css-triangle($topbar-dropdown-toggle-size, rgba($topbar-dropdown-toggle-color, $topbar-dropdown-toggle-alpha), $default-float);
|
352
|
+
@include css-triangle($topbar-dropdown-toggle-size, rgba($topbar-dropdown-toggle-color, $topbar-dropdown-toggle-alpha), $default-float);
|
351
353
|
}
|
352
354
|
margin-#{$opposite-direction}: $topbar-height / 3;
|
353
355
|
margin-top: -($topbar-dropdown-toggle-size / 2) - 2;
|
@@ -377,7 +379,7 @@ meta.foundation-mq-topbar {
|
|
377
379
|
height: auto;
|
378
380
|
|
379
381
|
a {
|
380
|
-
font-weight:
|
382
|
+
font-weight: $topbar-dropdown-link-weight;
|
381
383
|
padding: 8px $topbar-height / 3;
|
382
384
|
&.parent-link {
|
383
385
|
font-weight: $topbar-link-weight;
|
@@ -391,6 +393,8 @@ meta.foundation-mq-topbar {
|
|
391
393
|
display: block;
|
392
394
|
}
|
393
395
|
}
|
396
|
+
&.has-form { padding: 8px $topbar-height / 3; }
|
397
|
+
.button { top: auto; }
|
394
398
|
}
|
395
399
|
|
396
400
|
label {
|
@@ -457,11 +461,13 @@ meta.foundation-mq-topbar {
|
|
457
461
|
color: $topbar-link-color-hover;
|
458
462
|
}
|
459
463
|
}
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
464
|
+
&:not(.has-form) {
|
465
|
+
a:not(.button) {
|
466
|
+
padding: 0 $topbar-height / 3;
|
467
|
+
line-height: $topbar-height;
|
468
|
+
background: $topbar-bg;
|
469
|
+
&:hover { background: $topbar-link-bg-hover; }
|
470
|
+
}
|
465
471
|
}
|
466
472
|
}
|
467
473
|
|
@@ -498,6 +504,7 @@ meta.foundation-mq-topbar {
|
|
498
504
|
top: 1rem;
|
499
505
|
margin-top: -2px;
|
500
506
|
#{$opposite-direction}: 5px;
|
507
|
+
line-height: 1.2;
|
501
508
|
}
|
502
509
|
}
|
503
510
|
}
|
@@ -548,8 +555,8 @@ meta.foundation-mq-topbar {
|
|
548
555
|
height: $topbar-height;
|
549
556
|
}
|
550
557
|
|
551
|
-
// Position overrides for ul.right
|
552
|
-
|
558
|
+
// Position overrides for ul.right and ul.left
|
559
|
+
.right {
|
553
560
|
li .dropdown {
|
554
561
|
left: auto;
|
555
562
|
right: 0;
|
@@ -557,12 +564,20 @@ meta.foundation-mq-topbar {
|
|
557
564
|
li .dropdown { right: 100%; }
|
558
565
|
}
|
559
566
|
}
|
567
|
+
.left {
|
568
|
+
li .dropdown {
|
569
|
+
right: auto;
|
570
|
+
left: 0;
|
571
|
+
|
572
|
+
li .dropdown { left: 100%; }
|
573
|
+
}
|
574
|
+
}
|
560
575
|
}
|
561
576
|
|
562
577
|
// Degrade gracefully when Javascript is disabled. Displays dropdown and changes
|
563
578
|
// background & text color on hover.
|
564
579
|
.no-js .top-bar-section {
|
565
|
-
|
580
|
+
ul li {
|
566
581
|
// Apply the hover link color when it has that class
|
567
582
|
&:hover > a {
|
568
583
|
background: $topbar-link-bg-hover;
|
@@ -576,15 +591,14 @@ meta.foundation-mq-topbar {
|
|
576
591
|
}
|
577
592
|
}
|
578
593
|
|
579
|
-
|
594
|
+
.has-dropdown {
|
580
595
|
&:hover {
|
581
596
|
& > .dropdown {
|
582
597
|
display: block;
|
583
598
|
}
|
584
599
|
}
|
585
|
-
|
586
|
-
|
600
|
+
}
|
601
|
+
}
|
587
602
|
}
|
588
|
-
|
589
603
|
}
|
590
|
-
}
|
604
|
+
}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
$include-html-type-classes: $include-html-classes !default;
|
4
4
|
|
5
5
|
// We use these to control header font styles
|
6
|
-
$header-font-family:
|
6
|
+
$header-font-family: $body-font-family !default;
|
7
7
|
$header-font-weight: 300 !default;
|
8
8
|
$header-font-style: normal !default;
|
9
9
|
$header-font-color: #222 !default;
|
@@ -22,14 +22,14 @@ $h6-font-size: 1rem !default;
|
|
22
22
|
|
23
23
|
// These control how subheaders are styled.
|
24
24
|
$subheader-line-height: 1.4 !default;
|
25
|
-
$subheader-font-color:
|
25
|
+
$subheader-font-color: scale-color($header-font-color, $lightness: 35%) !default;
|
26
26
|
$subheader-font-weight: 300 !default;
|
27
27
|
$subheader-top-margin: .2rem !default;
|
28
28
|
$subheader-bottom-margin: .5rem !default;
|
29
29
|
|
30
30
|
// A general <small> styling
|
31
31
|
$small-font-size: 60% !default;
|
32
|
-
$small-font-color:
|
32
|
+
$small-font-color: scale-color($header-font-color, $lightness: 35%) !default;
|
33
33
|
|
34
34
|
// We use these to style paragraphs
|
35
35
|
$paragraph-font-family: inherit !default;
|
@@ -43,14 +43,14 @@ $paragraph-aside-font-style: italic !default;
|
|
43
43
|
$paragraph-text-rendering: optimizeLegibility !default;
|
44
44
|
|
45
45
|
// We use these to style <code> tags
|
46
|
-
$code-color:
|
46
|
+
$code-color: scale-color($alert-color, $lightness: -27%) !default;
|
47
47
|
$code-font-family: Consolas, 'Liberation Mono', Courier, monospace !default;
|
48
48
|
$code-font-weight: bold !default;
|
49
49
|
|
50
50
|
// We use these to style anchors
|
51
51
|
$anchor-text-decoration: none !default;
|
52
52
|
$anchor-font-color: $primary-color !default;
|
53
|
-
$anchor-font-color-hover:
|
53
|
+
$anchor-font-color-hover: scale-color($primary-color, $lightness: -14%) !default;
|
54
54
|
|
55
55
|
// We use these to style the <hr> element
|
56
56
|
$hr-border-width: 1px !default;
|
@@ -69,11 +69,11 @@ $definition-list-header-margin-bottom: .3rem !default;
|
|
69
69
|
$definition-list-margin-bottom: rem-calc(12) !default;
|
70
70
|
|
71
71
|
// We use these to style blockquotes
|
72
|
-
$blockquote-font-color:
|
72
|
+
$blockquote-font-color: scale-color($header-font-color, $lightness: 35%) !default;
|
73
73
|
$blockquote-padding: rem-calc(9 20 0 19) !default;
|
74
74
|
$blockquote-border: 1px solid #ddd !default;
|
75
75
|
$blockquote-cite-font-size: rem-calc(13) !default;
|
76
|
-
$blockquote-cite-font-color:
|
76
|
+
$blockquote-cite-font-color: scale-color($header-font-color, $lightness: 23%) !default;
|
77
77
|
$blockquote-cite-link-color: $blockquote-cite-font-color !default;
|
78
78
|
|
79
79
|
// Acronym styles
|
@@ -108,12 +108,12 @@ $microformat-abbr-font-decoration: none !default;
|
|
108
108
|
//
|
109
109
|
|
110
110
|
// These will throw a deprecation warning if used within a media query.
|
111
|
-
|
111
|
+
@mixin lead {
|
112
112
|
font-size: $paragraph-font-size + rem-calc(3.5);
|
113
113
|
line-height: 1.6;
|
114
114
|
}
|
115
115
|
|
116
|
-
|
116
|
+
@mixin subheader {
|
117
117
|
line-height: $subheader-line-height;
|
118
118
|
color: $subheader-font-color;
|
119
119
|
font-weight: $subheader-font-weight;
|
@@ -145,7 +145,6 @@ $microformat-abbr-font-decoration: none !default;
|
|
145
145
|
td {
|
146
146
|
margin:0;
|
147
147
|
padding:0;
|
148
|
-
direction: $text-direction;
|
149
148
|
}
|
150
149
|
|
151
150
|
/* Default Link Styles */
|
@@ -169,7 +168,7 @@ $microformat-abbr-font-decoration: none !default;
|
|
169
168
|
margin-bottom: $paragraph-margin-bottom;
|
170
169
|
text-rendering: $paragraph-text-rendering;
|
171
170
|
|
172
|
-
&.lead { @
|
171
|
+
&.lead { @include lead; }
|
173
172
|
|
174
173
|
& aside {
|
175
174
|
font-size: $paragraph-aside-font-size;
|
@@ -203,7 +202,7 @@ $microformat-abbr-font-decoration: none !default;
|
|
203
202
|
h5 { font-size: $h5-font-size; }
|
204
203
|
h6 { font-size: $h6-font-size; }
|
205
204
|
|
206
|
-
.subheader { @
|
205
|
+
.subheader { @include subheader; }
|
207
206
|
|
208
207
|
hr {
|
209
208
|
border: $hr-border-style $hr-border-color;
|
@@ -250,8 +249,8 @@ $microformat-abbr-font-decoration: none !default;
|
|
250
249
|
|
251
250
|
ul {
|
252
251
|
margin-#{$default-float}: $list-side-margin;
|
253
|
-
&.no-bullet {
|
254
|
-
margin-#{$default-float}: $list-side-margin-no-bullet;
|
252
|
+
&.no-bullet {
|
253
|
+
margin-#{$default-float}: $list-side-margin-no-bullet;
|
255
254
|
li {
|
256
255
|
ul,
|
257
256
|
ol {
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@import "global";
|
2
|
+
|
1
3
|
//
|
2
4
|
// Foundation Visibility Classes
|
3
5
|
//
|
@@ -273,7 +275,7 @@ $include-html-visibility-classes: $include-html-classes !default;
|
|
273
275
|
.show-for-xxlarge-up,
|
274
276
|
.show-for-xxlarge-only { display: none !important; }
|
275
277
|
|
276
|
-
/* Specific
|
278
|
+
/* Specific visibility for tables */
|
277
279
|
table {
|
278
280
|
&.hide-for-small,
|
279
281
|
&.hide-for-small-only,
|
@@ -366,6 +368,7 @@ $include-html-visibility-classes: $include-html-classes !default;
|
|
366
368
|
.hide-for-medium-only,
|
367
369
|
.show-for-medium-up,
|
368
370
|
.show-for-large-up,
|
371
|
+
.hide-for-large-only,
|
369
372
|
.show-for-xlarge,
|
370
373
|
.show-for-xlarge-up,
|
371
374
|
.show-for-xlarge-only,
|
@@ -385,7 +388,7 @@ $include-html-visibility-classes: $include-html-classes !default;
|
|
385
388
|
.show-for-xxlarge-up,
|
386
389
|
.show-for-xxlarge-only { display: none !important; }
|
387
390
|
|
388
|
-
/* Specific
|
391
|
+
/* Specific visibility for tables */
|
389
392
|
table {
|
390
393
|
&.hide-for-small,
|
391
394
|
&.hide-for-small-only,
|
@@ -394,6 +397,7 @@ $include-html-visibility-classes: $include-html-classes !default;
|
|
394
397
|
&.hide-for-medium-only,
|
395
398
|
&.show-for-medium-up,
|
396
399
|
&.show-for-large-up,
|
400
|
+
&.hide-for-large-only,
|
397
401
|
&.show-for-xlarge,
|
398
402
|
&.show-for-xlarge-up,
|
399
403
|
&.show-for-xlarge-only,
|
@@ -408,6 +412,7 @@ $include-html-visibility-classes: $include-html-classes !default;
|
|
408
412
|
&.hide-for-medium-only,
|
409
413
|
&.show-for-medium-up,
|
410
414
|
&.show-for-large-up,
|
415
|
+
&.hide-for-large-only,
|
411
416
|
&.show-for-xlarge,
|
412
417
|
&.show-for-xlarge-up,
|
413
418
|
&.show-for-xlarge-only,
|
@@ -422,6 +427,7 @@ $include-html-visibility-classes: $include-html-classes !default;
|
|
422
427
|
&.hide-for-medium-only,
|
423
428
|
&.show-for-medium-up,
|
424
429
|
&.show-for-large-up,
|
430
|
+
&.hide-for-large-only,
|
425
431
|
&.show-for-xlarge,
|
426
432
|
&.show-for-xlarge-up,
|
427
433
|
&.show-for-xlarge-only,
|
@@ -436,6 +442,7 @@ $include-html-visibility-classes: $include-html-classes !default;
|
|
436
442
|
&.hide-for-medium-only,
|
437
443
|
&.show-for-medium-up,
|
438
444
|
&.show-for-large-up,
|
445
|
+
&.hide-for-large-only,
|
439
446
|
&.show-for-xlarge,
|
440
447
|
&.show-for-xlarge-up,
|
441
448
|
&.show-for-xlarge-only,
|
@@ -451,6 +458,7 @@ $include-html-visibility-classes: $include-html-classes !default;
|
|
451
458
|
&.hide-for-medium-only,
|
452
459
|
&.show-for-medium-up,
|
453
460
|
&.show-for-large-up,
|
461
|
+
&.hide-for-large-only,
|
454
462
|
&.show-for-xlarge,
|
455
463
|
&.show-for-xlarge-up,
|
456
464
|
&.show-for-xlarge-only,
|
@@ -468,6 +476,8 @@ $include-html-visibility-classes: $include-html-classes !default;
|
|
468
476
|
.hide-for-medium-only,
|
469
477
|
.show-for-medium-up,
|
470
478
|
.show-for-large-up,
|
479
|
+
.hide-for-large-only,
|
480
|
+
.hide-for-xlarge-only,
|
471
481
|
.show-for-xlarge-up,
|
472
482
|
.show-for-xxlarge-up,
|
473
483
|
.show-for-xxlarge-only { display: inherit !important; }
|
@@ -484,7 +494,7 @@ $include-html-visibility-classes: $include-html-classes !default;
|
|
484
494
|
.hide-for-xxlarge-up,
|
485
495
|
.hide-for-xxlarge-only { display: none !important; }
|
486
496
|
|
487
|
-
/* Specific
|
497
|
+
/* Specific visibility for tables */
|
488
498
|
table {
|
489
499
|
&.hide-for-small,
|
490
500
|
&.hide-for-small-only,
|
@@ -493,6 +503,7 @@ $include-html-visibility-classes: $include-html-classes !default;
|
|
493
503
|
&.hide-for-medium-only,
|
494
504
|
&.show-for-medium-up,
|
495
505
|
&.show-for-large-up,
|
506
|
+
&.hide-for-xlarge-only,
|
496
507
|
&.show-for-xlarge-up,
|
497
508
|
&.show-for-xxlarge-up,
|
498
509
|
&.show-for-xxlarge-only { display: table; }
|
@@ -505,6 +516,7 @@ $include-html-visibility-classes: $include-html-classes !default;
|
|
505
516
|
&.hide-for-medium-only,
|
506
517
|
&.show-for-medium-up,
|
507
518
|
&.show-for-large-up,
|
519
|
+
&.hide-for-xlarge-only,
|
508
520
|
&.show-for-xlarge-up,
|
509
521
|
&.show-for-xxlarge-up,
|
510
522
|
&.show-for-xxlarge-only { display: table-header-group !important; }
|
@@ -517,6 +529,7 @@ $include-html-visibility-classes: $include-html-classes !default;
|
|
517
529
|
&.hide-for-medium-only,
|
518
530
|
&.show-for-medium-up,
|
519
531
|
&.show-for-large-up,
|
532
|
+
&.hide-for-xlarge-only,
|
520
533
|
&.show-for-xlarge-up,
|
521
534
|
&.show-for-xxlarge-up,
|
522
535
|
&.show-for-xxlarge-only { display: table-row-group !important; }
|
@@ -529,6 +542,7 @@ $include-html-visibility-classes: $include-html-classes !default;
|
|
529
542
|
&.hide-for-medium-only,
|
530
543
|
&.show-for-medium-up,
|
531
544
|
&.show-for-large-up,
|
545
|
+
&.hide-for-xlarge-only,
|
532
546
|
&.show-for-xlarge-up,
|
533
547
|
&.show-for-xxlarge-up,
|
534
548
|
&.show-for-xxlarge-only { display: table-row !important; }
|
@@ -542,6 +556,7 @@ $include-html-visibility-classes: $include-html-classes !default;
|
|
542
556
|
&.hide-for-medium-only,
|
543
557
|
&.show-for-medium-up,
|
544
558
|
&.show-for-large-up,
|
559
|
+
&.hide-for-xlarge-only,
|
545
560
|
&.show-for-xlarge-up,
|
546
561
|
&.show-for-xxlarge-up,
|
547
562
|
&.show-for-xxlarge-only { display: table-cell !important; }
|
@@ -555,7 +570,7 @@ $include-html-visibility-classes: $include-html-classes !default;
|
|
555
570
|
.hide-for-landscape,
|
556
571
|
.show-for-portrait { display: none !important; }
|
557
572
|
|
558
|
-
/* Specific
|
573
|
+
/* Specific visibility for tables */
|
559
574
|
table {
|
560
575
|
&.hide-for-landscape,
|
561
576
|
&.show-for-portrait { display: table; }
|
@@ -584,7 +599,7 @@ $include-html-visibility-classes: $include-html-classes !default;
|
|
584
599
|
.hide-for-landscape,
|
585
600
|
.show-for-portrait { display: none !important; }
|
586
601
|
|
587
|
-
/* Specific
|
602
|
+
/* Specific visibility for tables */
|
588
603
|
table {
|
589
604
|
&.show-for-landscape,
|
590
605
|
&.hide-for-portrait { display: table; }
|
@@ -614,7 +629,7 @@ $include-html-visibility-classes: $include-html-classes !default;
|
|
614
629
|
.hide-for-portrait,
|
615
630
|
.show-for-landscape { display: none !important; }
|
616
631
|
|
617
|
-
/* Specific
|
632
|
+
/* Specific visibility for tables */
|
618
633
|
table {
|
619
634
|
&.show-for-portrait,
|
620
635
|
&.hide-for-landscape { display: table; }
|
@@ -644,7 +659,7 @@ $include-html-visibility-classes: $include-html-classes !default;
|
|
644
659
|
.touch .show-for-touch { display: inherit !important; }
|
645
660
|
.touch .hide-for-touch { display: none !important; }
|
646
661
|
|
647
|
-
/* Specific
|
662
|
+
/* Specific visibility for tables */
|
648
663
|
table.hide-for-touch { display: table; }
|
649
664
|
.touch table.show-for-touch { display: table; }
|
650
665
|
thead.hide-for-touch { display: table-header-group !important; }
|
@@ -658,4 +673,4 @@ $include-html-visibility-classes: $include-html-classes !default;
|
|
658
673
|
th.hide-for-touch { display: table-cell !important; }
|
659
674
|
.touch th.show-for-touch { display: table-cell !important; }
|
660
675
|
|
661
|
-
}
|
676
|
+
}
|