zurb-foundation 4.0.5 → 4.0.7
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.
- data/.gitignore +1 -0
- data/Gemfile.lock +2 -2
- data/README.md +1 -0
- data/{CHANGELOG.md → docs/CHANGELOG.md} +63 -3
- data/docs/Gemfile +1 -0
- data/docs/Gemfile.lock +2 -0
- data/docs/_sidebar-components.html.erb +1 -0
- data/docs/_sidebar.html.erb +1 -0
- data/docs/changelog.html.erb +1 -205
- data/docs/components/alert-boxes.html.erb +1 -1
- data/docs/components/block-grid.html.erb +1 -1
- data/docs/components/breadcrumbs.html.erb +3 -3
- data/docs/components/button-groups.html.erb +1 -1
- data/docs/components/buttons.html.erb +1 -1
- data/docs/components/dropdown-buttons.html.erb +1 -1
- data/docs/components/dropdown.html.erb +1 -1
- data/docs/components/flex-video.html.erb +1 -1
- data/docs/components/forms.html.erb +1 -1
- data/docs/components/global.html.erb +92 -0
- data/docs/components/inline-lists.html.erb +1 -1
- data/docs/components/keystrokes.html.erb +2 -2
- data/docs/components/labels.html.erb +2 -2
- data/docs/components/orbit.html.erb +10 -2
- data/docs/components/pagination.html.erb +1 -1
- data/docs/components/panels.html.erb +1 -1
- data/docs/components/pricing-tables.html.erb +1 -1
- data/docs/components/progress-bars.html.erb +2 -2
- data/docs/components/section.html.erb +18 -0
- data/docs/components/side-nav.html.erb +1 -1
- data/docs/components/split-buttons.html.erb +1 -1
- data/docs/components/sub-nav.html.erb +1 -1
- data/docs/components/switch.html.erb +1 -1
- data/docs/components/thumbnails.html.erb +1 -1
- data/docs/components/top-bar.html.erb +5 -5
- data/docs/css/docs.scss +0 -1
- data/docs/layout.html.erb +2 -3
- data/docs/sass.html.erb +21 -14
- data/js/foundation/foundation.clearing.js +2 -0
- data/js/foundation/foundation.dropdown.js +10 -10
- data/js/foundation/foundation.joyride.js +9 -12
- data/js/foundation/foundation.js +28 -2
- data/js/foundation/foundation.orbit.js +17 -9
- data/js/foundation/foundation.reveal.js +6 -2
- data/js/foundation/foundation.section.js +30 -18
- data/js/foundation/foundation.topbar.js +18 -8
- data/lib/foundation/generators/USAGE +6 -5
- data/lib/foundation/generators/install_generator.rb +9 -9
- data/lib/foundation/generators/templates/application.html.erb +40 -37
- data/lib/foundation/generators/templates/application.html.haml +5 -2
- data/lib/foundation/generators/templates/application.html.slim +6 -5
- data/lib/foundation/version.rb +1 -1
- data/scss/foundation/_foundation-global.scss +19 -4
- data/scss/foundation/components/_alert-boxes.scss +1 -1
- data/scss/foundation/components/_breadcrumbs.scss +4 -4
- data/scss/foundation/components/_button-groups.scss +8 -8
- data/scss/foundation/components/_buttons.scss +4 -3
- data/scss/foundation/components/_custom-forms.scss +175 -171
- data/scss/foundation/components/_dropdown-buttons.scss +1 -1
- data/scss/foundation/components/_dropdown.scss +1 -1
- data/scss/foundation/components/_flex-video.scss +1 -1
- data/scss/foundation/components/_forms.scss +91 -89
- data/scss/foundation/components/_global.scss +7 -2
- data/scss/foundation/components/_grid.scss +3 -3
- data/scss/foundation/components/_inline-lists.scss +1 -1
- data/scss/foundation/components/_keystrokes.scss +2 -2
- data/scss/foundation/components/_labels.scss +3 -3
- data/scss/foundation/components/_magellan.scss +1 -1
- data/scss/foundation/components/_pagination.scss +1 -1
- data/scss/foundation/components/_panels.scss +1 -1
- data/scss/foundation/components/_pricing-tables.scss +1 -1
- data/scss/foundation/components/_progress-bars.scss +2 -2
- data/scss/foundation/components/_reveal.scss +1 -1
- data/scss/foundation/components/_section.scss +1 -1
- data/scss/foundation/components/_side-nav.scss +1 -1
- data/scss/foundation/components/_split-buttons.scss +1 -1
- data/scss/foundation/components/_sub-nav.scss +1 -1
- data/scss/foundation/components/_switch.scss +3 -3
- data/scss/foundation/components/_thumbs.scss +1 -1
- data/scss/foundation/components/_top-bar.scss +4 -1
- data/scss/foundation/components/_visibility.scss +273 -274
- data/templates/project/scss/_settings.scss +4 -4
- data/templates/project/scss/app.scss +8 -8
- data/templates/upgrade/manifest.rb +7 -12
- metadata +6 -6
- data/index.html +0 -113
@@ -65,6 +65,7 @@ $topbar-media-query: "only screen and (min-width:"#{$topbar-breakpoint}")" !defa
|
|
65
65
|
line-height: $topbar-height;
|
66
66
|
position: relative;
|
67
67
|
background: $topbar-bg;
|
68
|
+
margin-bottom: $topbar-margin-bottom;
|
68
69
|
|
69
70
|
// Topbar Global list Styles
|
70
71
|
ul {
|
@@ -208,7 +209,7 @@ $topbar-media-query: "only screen and (min-width:"#{$topbar-breakpoint}")" !defa
|
|
208
209
|
& > a {
|
209
210
|
display: block;
|
210
211
|
width: 100%;
|
211
|
-
color: $topbar-
|
212
|
+
color: $topbar-link-color;
|
212
213
|
padding: 12px 0 12px 0;
|
213
214
|
padding-#{$default-float}: $topbar-height / 3;
|
214
215
|
font-size: $topbar-link-font-size;
|
@@ -402,9 +403,11 @@ $topbar-media-query: "only screen and (min-width:"#{$topbar-breakpoint}")" !defa
|
|
402
403
|
#{$default-float}: 0;
|
403
404
|
top: auto;
|
404
405
|
background: transparent;
|
406
|
+
min-width: 100%;
|
405
407
|
|
406
408
|
li {
|
407
409
|
a {
|
410
|
+
color: $topbar-dropdown-link-color;
|
408
411
|
line-height: 1;
|
409
412
|
white-space: nowrap;
|
410
413
|
padding: 7px $topbar-height / 3;
|
@@ -1,321 +1,320 @@
|
|
1
1
|
//
|
2
2
|
// Foundation Visibility Classes
|
3
3
|
//
|
4
|
+
@if $include-html-visibility-classes {
|
4
5
|
|
5
|
-
/* Foundation Visibility HTML Classes */
|
6
|
-
.show-for-small,
|
7
|
-
.show-for-medium-down,
|
8
|
-
.show-for-large-down { display: inherit !important; }
|
9
|
-
|
10
|
-
.show-for-medium,
|
11
|
-
.show-for-medium-up,
|
12
|
-
.show-for-large,
|
13
|
-
.show-for-large-up,
|
14
|
-
.show-for-xlarge { display: none !important; }
|
15
|
-
|
16
|
-
.hide-for-medium,
|
17
|
-
.hide-for-medium-up,
|
18
|
-
.hide-for-large,
|
19
|
-
.hide-for-large-up,
|
20
|
-
.hide-for-xlarge { display: inherit !important; }
|
21
|
-
|
22
|
-
.hide-for-small,
|
23
|
-
.hide-for-medium-down,
|
24
|
-
.hide-for-large-down { display: none !important; }
|
25
|
-
|
26
|
-
/* Specific visilbity for tables */
|
27
|
-
table {
|
28
|
-
&.show-for-small,
|
29
|
-
&.show-for-medium-down,
|
30
|
-
&.show-for-large-down,
|
31
|
-
&.hide-for-medium,
|
32
|
-
&.hide-for-medium-up,
|
33
|
-
&.hide-for-large,
|
34
|
-
&.hide-for-large-up,
|
35
|
-
&.hide-for-xlarge { display: table; }
|
36
|
-
}
|
37
|
-
thead {
|
38
|
-
&.show-for-small,
|
39
|
-
&.show-for-medium-down,
|
40
|
-
&.show-for-large-down,
|
41
|
-
&.hide-for-medium,
|
42
|
-
&.hide-for-medium-up,
|
43
|
-
&.hide-for-large,
|
44
|
-
&.hide-for-large-up,
|
45
|
-
&.hide-for-xlarge { display: table-header-group !important; }
|
46
|
-
}
|
47
|
-
tbody {
|
48
|
-
&.show-for-small,
|
49
|
-
&.show-for-medium-down,
|
50
|
-
&.show-for-large-down,
|
51
|
-
&.hide-for-medium,
|
52
|
-
&.hide-for-medium-up,
|
53
|
-
&.hide-for-large,
|
54
|
-
&.hide-for-large-up,
|
55
|
-
&.hide-for-xlarge { display: table-row-group !important; }
|
56
|
-
}
|
57
|
-
tr {
|
58
|
-
&.show-for-small,
|
59
|
-
&.show-for-medium-down,
|
60
|
-
&.show-for-large-down,
|
61
|
-
&.hide-for-medium,
|
62
|
-
&.hide-for-medium-up,
|
63
|
-
&.hide-for-large,
|
64
|
-
&.hide-for-large-up,
|
65
|
-
&.hide-for-xlarge { display: table-row !important; }
|
66
|
-
}
|
67
|
-
td,
|
68
|
-
th {
|
69
|
-
&.show-for-small,
|
70
|
-
&.show-for-medium-down,
|
71
|
-
&.show-for-large-down,
|
72
|
-
&.hide-for-medium,
|
73
|
-
&.hide-for-medium-up,
|
74
|
-
&.hide-for-large,
|
75
|
-
&.hide-for-large-up,
|
76
|
-
&.hide-for-xlarge { display: table-cell !important; }
|
77
|
-
}
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
/* Medium Displays: 768px - 1279px */
|
84
|
-
@media #{$small} {
|
6
|
+
/* Foundation Visibility HTML Classes */
|
7
|
+
.show-for-small,
|
8
|
+
.show-for-medium-down,
|
9
|
+
.show-for-large-down { display: inherit !important; }
|
10
|
+
|
85
11
|
.show-for-medium,
|
86
|
-
.show-for-medium-up
|
87
|
-
|
88
|
-
.show-for-small { display: none !important; }
|
89
|
-
|
90
|
-
.hide-for-small { display: inherit !important; }
|
91
|
-
|
92
|
-
.hide-for-medium,
|
93
|
-
.hide-for-medium-up { display: none !important; }
|
94
|
-
|
95
|
-
/* Specific visilbity for tables */
|
96
|
-
table {
|
97
|
-
&.show-for-medium,
|
98
|
-
&.show-for-medium-up,
|
99
|
-
&.hide-for-small { display: table; }
|
100
|
-
}
|
101
|
-
thead {
|
102
|
-
&.show-for-medium,
|
103
|
-
&.show-for-medium-up,
|
104
|
-
&.hide-for-small { display: table-header-group !important; }
|
105
|
-
}
|
106
|
-
tbody {
|
107
|
-
&.show-for-medium,
|
108
|
-
&.show-for-medium-up,
|
109
|
-
&.hide-for-small { display: table-row-group !important; }
|
110
|
-
}
|
111
|
-
tr {
|
112
|
-
&.show-for-medium,
|
113
|
-
&.show-for-medium-up,
|
114
|
-
&.hide-for-small { display: table-row !important; }
|
115
|
-
}
|
116
|
-
td,
|
117
|
-
th {
|
118
|
-
&.show-for-medium,
|
119
|
-
&.show-for-medium-up,
|
120
|
-
&.hide-for-small { display: table-cell !important; }
|
121
|
-
}
|
122
|
-
}
|
123
|
-
|
124
|
-
/* Large Displays: 1280px - 1440px */
|
125
|
-
@media #{$medium} {
|
12
|
+
.show-for-medium-up,
|
126
13
|
.show-for-large,
|
127
|
-
.show-for-large-up
|
128
|
-
|
129
|
-
|
130
|
-
.show-for-medium-down { display: none !important; }
|
131
|
-
|
14
|
+
.show-for-large-up,
|
15
|
+
.show-for-xlarge { display: none !important; }
|
16
|
+
|
132
17
|
.hide-for-medium,
|
133
|
-
.hide-for-medium-
|
134
|
-
|
18
|
+
.hide-for-medium-up,
|
135
19
|
.hide-for-large,
|
136
|
-
.hide-for-large-up
|
137
|
-
|
20
|
+
.hide-for-large-up,
|
21
|
+
.hide-for-xlarge { display: inherit !important; }
|
22
|
+
|
23
|
+
.hide-for-small,
|
24
|
+
.hide-for-medium-down,
|
25
|
+
.hide-for-large-down { display: none !important; }
|
26
|
+
|
138
27
|
/* Specific visilbity for tables */
|
139
28
|
table {
|
140
|
-
&.show-for-
|
141
|
-
&.show-for-
|
29
|
+
&.show-for-small,
|
30
|
+
&.show-for-medium-down,
|
31
|
+
&.show-for-large-down,
|
142
32
|
&.hide-for-medium,
|
143
|
-
&.hide-for-medium-
|
33
|
+
&.hide-for-medium-up,
|
34
|
+
&.hide-for-large,
|
35
|
+
&.hide-for-large-up,
|
36
|
+
&.hide-for-xlarge { display: table; }
|
144
37
|
}
|
145
38
|
thead {
|
146
|
-
&.show-for-
|
147
|
-
&.show-for-
|
39
|
+
&.show-for-small,
|
40
|
+
&.show-for-medium-down,
|
41
|
+
&.show-for-large-down,
|
148
42
|
&.hide-for-medium,
|
149
|
-
&.hide-for-medium-
|
43
|
+
&.hide-for-medium-up,
|
44
|
+
&.hide-for-large,
|
45
|
+
&.hide-for-large-up,
|
46
|
+
&.hide-for-xlarge { display: table-header-group !important; }
|
150
47
|
}
|
151
48
|
tbody {
|
152
|
-
&.show-for-
|
153
|
-
&.show-for-
|
49
|
+
&.show-for-small,
|
50
|
+
&.show-for-medium-down,
|
51
|
+
&.show-for-large-down,
|
154
52
|
&.hide-for-medium,
|
155
|
-
&.hide-for-medium-
|
53
|
+
&.hide-for-medium-up,
|
54
|
+
&.hide-for-large,
|
55
|
+
&.hide-for-large-up,
|
56
|
+
&.hide-for-xlarge { display: table-row-group !important; }
|
156
57
|
}
|
157
58
|
tr {
|
158
|
-
&.show-for-
|
159
|
-
&.show-for-
|
59
|
+
&.show-for-small,
|
60
|
+
&.show-for-medium-down,
|
61
|
+
&.show-for-large-down,
|
160
62
|
&.hide-for-medium,
|
161
|
-
&.hide-for-medium-
|
63
|
+
&.hide-for-medium-up,
|
64
|
+
&.hide-for-large,
|
65
|
+
&.hide-for-large-up,
|
66
|
+
&.hide-for-xlarge { display: table-row !important; }
|
162
67
|
}
|
163
68
|
td,
|
164
69
|
th {
|
165
|
-
&.show-for-
|
166
|
-
&.show-for-
|
70
|
+
&.show-for-small,
|
71
|
+
&.show-for-medium-down,
|
72
|
+
&.show-for-large-down,
|
167
73
|
&.hide-for-medium,
|
168
|
-
&.hide-for-medium-
|
169
|
-
}
|
170
|
-
}
|
171
|
-
|
172
|
-
/* X-Large Displays: 1400px and up */
|
173
|
-
@media #{$large} {
|
174
|
-
.show-for-xlarge { display: inherit !important; }
|
175
|
-
|
176
|
-
.show-for-large,
|
177
|
-
.show-for-large-down { display: none !important; }
|
178
|
-
|
179
|
-
.hide-for-large,
|
180
|
-
.hide-for-large-down { display: inherit !important; }
|
181
|
-
|
182
|
-
.hide-for-xlarge { display: none !important; }
|
183
|
-
|
184
|
-
/* Specific visilbity for tables */
|
185
|
-
table {
|
186
|
-
&.show-for-xlarge,
|
74
|
+
&.hide-for-medium-up,
|
187
75
|
&.hide-for-large,
|
188
|
-
&.hide-for-large-
|
76
|
+
&.hide-for-large-up,
|
77
|
+
&.hide-for-xlarge { display: table-cell !important; }
|
189
78
|
}
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
79
|
+
|
80
|
+
/* Medium Displays: 768px - 1279px */
|
81
|
+
@media #{$small} {
|
82
|
+
.show-for-medium,
|
83
|
+
.show-for-medium-up { display: inherit !important; }
|
84
|
+
|
85
|
+
.show-for-small { display: none !important; }
|
86
|
+
|
87
|
+
.hide-for-small { display: inherit !important; }
|
88
|
+
|
89
|
+
.hide-for-medium,
|
90
|
+
.hide-for-medium-up { display: none !important; }
|
91
|
+
|
92
|
+
/* Specific visilbity for tables */
|
93
|
+
table {
|
94
|
+
&.show-for-medium,
|
95
|
+
&.show-for-medium-up,
|
96
|
+
&.hide-for-small { display: table; }
|
97
|
+
}
|
98
|
+
thead {
|
99
|
+
&.show-for-medium,
|
100
|
+
&.show-for-medium-up,
|
101
|
+
&.hide-for-small { display: table-header-group !important; }
|
102
|
+
}
|
103
|
+
tbody {
|
104
|
+
&.show-for-medium,
|
105
|
+
&.show-for-medium-up,
|
106
|
+
&.hide-for-small { display: table-row-group !important; }
|
107
|
+
}
|
108
|
+
tr {
|
109
|
+
&.show-for-medium,
|
110
|
+
&.show-for-medium-up,
|
111
|
+
&.hide-for-small { display: table-row !important; }
|
112
|
+
}
|
113
|
+
td,
|
114
|
+
th {
|
115
|
+
&.show-for-medium,
|
116
|
+
&.show-for-medium-up,
|
117
|
+
&.hide-for-small { display: table-cell !important; }
|
118
|
+
}
|
194
119
|
}
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
120
|
+
|
121
|
+
/* Large Displays: 1280px - 1440px */
|
122
|
+
@media #{$medium} {
|
123
|
+
.show-for-large,
|
124
|
+
.show-for-large-up { display: inherit !important; }
|
125
|
+
|
126
|
+
.show-for-medium,
|
127
|
+
.show-for-medium-down { display: none !important; }
|
128
|
+
|
129
|
+
.hide-for-medium,
|
130
|
+
.hide-for-medium-down { display: inherit !important; }
|
131
|
+
|
132
|
+
.hide-for-large,
|
133
|
+
.hide-for-large-up { display: none !important; }
|
134
|
+
|
135
|
+
/* Specific visilbity for tables */
|
136
|
+
table {
|
137
|
+
&.show-for-large,
|
138
|
+
&.show-for-large-up,
|
139
|
+
&.hide-for-medium,
|
140
|
+
&.hide-for-medium-down { display: table; }
|
141
|
+
}
|
142
|
+
thead {
|
143
|
+
&.show-for-large,
|
144
|
+
&.show-for-large-up,
|
145
|
+
&.hide-for-medium,
|
146
|
+
&.hide-for-medium-down { display: table-header-group !important; }
|
147
|
+
}
|
148
|
+
tbody {
|
149
|
+
&.show-for-large,
|
150
|
+
&.show-for-large-up,
|
151
|
+
&.hide-for-medium,
|
152
|
+
&.hide-for-medium-down { display: table-row-group !important; }
|
153
|
+
}
|
154
|
+
tr {
|
155
|
+
&.show-for-large,
|
156
|
+
&.show-for-large-up,
|
157
|
+
&.hide-for-medium,
|
158
|
+
&.hide-for-medium-down { display: table-row !important; }
|
159
|
+
}
|
160
|
+
td,
|
161
|
+
th {
|
162
|
+
&.show-for-large,
|
163
|
+
&.show-for-large-up,
|
164
|
+
&.hide-for-medium,
|
165
|
+
&.hide-for-medium-down { display: table-cell !important; }
|
166
|
+
}
|
199
167
|
}
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
168
|
+
|
169
|
+
/* X-Large Displays: 1400px and up */
|
170
|
+
@media #{$large} {
|
171
|
+
.show-for-xlarge { display: inherit !important; }
|
172
|
+
|
173
|
+
.show-for-large,
|
174
|
+
.show-for-large-down { display: none !important; }
|
175
|
+
|
176
|
+
.hide-for-large,
|
177
|
+
.hide-for-large-down { display: inherit !important; }
|
178
|
+
|
179
|
+
.hide-for-xlarge { display: none !important; }
|
180
|
+
|
181
|
+
/* Specific visilbity for tables */
|
182
|
+
table {
|
183
|
+
&.show-for-xlarge,
|
184
|
+
&.hide-for-large,
|
185
|
+
&.hide-for-large-down { display: table; }
|
186
|
+
}
|
187
|
+
thead {
|
188
|
+
&.show-for-xlarge,
|
189
|
+
&.hide-for-large,
|
190
|
+
&.hide-for-large-down { display: table-header-group !important; }
|
191
|
+
}
|
192
|
+
tbody {
|
193
|
+
&.show-for-xlarge,
|
194
|
+
&.hide-for-large,
|
195
|
+
&.hide-for-large-down { display: table-row-group !important; }
|
196
|
+
}
|
197
|
+
tr {
|
198
|
+
&.show-for-xlarge,
|
199
|
+
&.hide-for-large,
|
200
|
+
&.hide-for-large-down { display: table-row !important; }
|
201
|
+
}
|
202
|
+
td,
|
203
|
+
th {
|
204
|
+
&.show-for-xlarge,
|
205
|
+
&.hide-for-large,
|
206
|
+
&.hide-for-large-down { display: table-cell !important; }
|
207
|
+
}
|
204
208
|
}
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
&.hide-for-large,
|
209
|
-
&.hide-for-large-down { display: table-cell !important; }
|
210
|
-
}
|
211
|
-
}
|
212
|
-
|
213
|
-
|
214
|
-
/* Orientation targeting */
|
215
|
-
.show-for-landscape,
|
216
|
-
.hide-for-portrait { display: inherit !important; }
|
217
|
-
.hide-for-landscape,
|
218
|
-
.show-for-portrait { display: none !important; }
|
219
|
-
|
220
|
-
/* Specific visilbity for tables */
|
221
|
-
table {
|
222
|
-
&.hide-for-landscape,
|
223
|
-
&.show-for-portrait { display: table; }
|
224
|
-
}
|
225
|
-
thead {
|
226
|
-
&.hide-for-landscape,
|
227
|
-
&.show-for-portrait { display: table-header-group !important; }
|
228
|
-
}
|
229
|
-
tbody {
|
230
|
-
&.hide-for-landscape,
|
231
|
-
&.show-for-portrait { display: table-row-group !important; }
|
232
|
-
}
|
233
|
-
tr {
|
234
|
-
&.hide-for-landscape,
|
235
|
-
&.show-for-portrait { display: table-row !important; }
|
236
|
-
}
|
237
|
-
td,
|
238
|
-
th {
|
239
|
-
&.hide-for-landscape,
|
240
|
-
&.show-for-portrait { display: table-cell !important; }
|
241
|
-
}
|
242
|
-
|
243
|
-
@media #{$landscape} {
|
209
|
+
|
210
|
+
|
211
|
+
/* Orientation targeting */
|
244
212
|
.show-for-landscape,
|
245
213
|
.hide-for-portrait { display: inherit !important; }
|
246
214
|
.hide-for-landscape,
|
247
215
|
.show-for-portrait { display: none !important; }
|
248
|
-
|
216
|
+
|
249
217
|
/* Specific visilbity for tables */
|
250
218
|
table {
|
251
|
-
&.
|
252
|
-
&.
|
219
|
+
&.hide-for-landscape,
|
220
|
+
&.show-for-portrait { display: table; }
|
253
221
|
}
|
254
222
|
thead {
|
255
|
-
&.
|
256
|
-
&.
|
223
|
+
&.hide-for-landscape,
|
224
|
+
&.show-for-portrait { display: table-header-group !important; }
|
257
225
|
}
|
258
226
|
tbody {
|
259
|
-
&.
|
260
|
-
&.
|
227
|
+
&.hide-for-landscape,
|
228
|
+
&.show-for-portrait { display: table-row-group !important; }
|
261
229
|
}
|
262
230
|
tr {
|
263
|
-
&.
|
264
|
-
&.
|
231
|
+
&.hide-for-landscape,
|
232
|
+
&.show-for-portrait { display: table-row !important; }
|
265
233
|
}
|
266
234
|
td,
|
267
235
|
th {
|
268
|
-
&.
|
269
|
-
&.
|
236
|
+
&.hide-for-landscape,
|
237
|
+
&.show-for-portrait { display: table-cell !important; }
|
270
238
|
}
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
239
|
+
|
240
|
+
@media #{$landscape} {
|
241
|
+
.show-for-landscape,
|
242
|
+
.hide-for-portrait { display: inherit !important; }
|
243
|
+
.hide-for-landscape,
|
244
|
+
.show-for-portrait { display: none !important; }
|
245
|
+
|
246
|
+
/* Specific visilbity for tables */
|
247
|
+
table {
|
248
|
+
&.show-for-landscape,
|
249
|
+
&.hide-for-portrait { display: table; }
|
250
|
+
}
|
251
|
+
thead {
|
252
|
+
&.show-for-landscape,
|
253
|
+
&.hide-for-portrait { display: table-header-group !important; }
|
254
|
+
}
|
255
|
+
tbody {
|
256
|
+
&.show-for-landscape,
|
257
|
+
&.hide-for-portrait { display: table-row-group !important; }
|
258
|
+
}
|
259
|
+
tr {
|
260
|
+
&.show-for-landscape,
|
261
|
+
&.hide-for-portrait { display: table-row !important; }
|
262
|
+
}
|
263
|
+
td,
|
264
|
+
th {
|
265
|
+
&.show-for-landscape,
|
266
|
+
&.hide-for-portrait { display: table-cell !important; }
|
267
|
+
}
|
283
268
|
}
|
284
|
-
|
285
|
-
|
286
|
-
|
269
|
+
|
270
|
+
@media #{$portrait} {
|
271
|
+
.show-for-portrait,
|
272
|
+
.hide-for-landscape { display: inherit !important; }
|
273
|
+
.hide-for-portrait,
|
274
|
+
.show-for-landscape { display: none !important; }
|
275
|
+
|
276
|
+
/* Specific visilbity for tables */
|
277
|
+
table {
|
278
|
+
&.show-for-portrait,
|
279
|
+
&.hide-for-landscape { display: table; }
|
280
|
+
}
|
281
|
+
thead {
|
282
|
+
&.show-for-portrait,
|
283
|
+
&.hide-for-landscape { display: table-header-group !important; }
|
284
|
+
}
|
285
|
+
tbody {
|
286
|
+
&.show-for-portrait,
|
287
|
+
&.hide-for-landscape { display: table-row-group !important; }
|
288
|
+
}
|
289
|
+
tr {
|
290
|
+
&.show-for-portrait,
|
291
|
+
&.hide-for-landscape { display: table-row !important; }
|
292
|
+
}
|
293
|
+
td,
|
294
|
+
th {
|
295
|
+
&.show-for-portrait,
|
296
|
+
&.hide-for-landscape { display: table-cell !important; }
|
297
|
+
}
|
287
298
|
}
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
}
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
}
|
301
|
-
}
|
302
|
-
|
303
|
-
|
304
|
-
.
|
305
|
-
.
|
306
|
-
.
|
307
|
-
.touch .
|
308
|
-
|
309
|
-
|
310
|
-
table.hide-for-touch { display: table; }
|
311
|
-
.touch table.show-for-touch { display: table; }
|
312
|
-
thead.hide-for-touch { display: table-header-group !important; }
|
313
|
-
.touch thead.show-for-touch { display: table-header-group !important; }
|
314
|
-
tbody.hide-for-touch { display: table-row-group !important; }
|
315
|
-
.touch tbody.show-for-touch { display: table-row-group !important; }
|
316
|
-
tr.hide-for-touch { display: table-row !important; }
|
317
|
-
.touch tr.show-for-touch { display: table-row !important; }
|
318
|
-
td.hide-for-touch { display: table-cell !important; }
|
319
|
-
.touch td.show-for-touch { display: table-cell !important; }
|
320
|
-
th.hide-for-touch { display: table-cell !important; }
|
321
|
-
.touch th.show-for-touch { display: table-cell !important; }
|
299
|
+
|
300
|
+
/* Touch-enabled device targeting */
|
301
|
+
.show-for-touch { display: none !important; }
|
302
|
+
.hide-for-touch { display: inherit !important; }
|
303
|
+
.touch .show-for-touch { display: inherit !important; }
|
304
|
+
.touch .hide-for-touch { display: none !important; }
|
305
|
+
|
306
|
+
/* Specific visilbity for tables */
|
307
|
+
table.hide-for-touch { display: table; }
|
308
|
+
.touch table.show-for-touch { display: table; }
|
309
|
+
thead.hide-for-touch { display: table-header-group !important; }
|
310
|
+
.touch thead.show-for-touch { display: table-header-group !important; }
|
311
|
+
tbody.hide-for-touch { display: table-row-group !important; }
|
312
|
+
.touch tbody.show-for-touch { display: table-row-group !important; }
|
313
|
+
tr.hide-for-touch { display: table-row !important; }
|
314
|
+
.touch tr.show-for-touch { display: table-row !important; }
|
315
|
+
td.hide-for-touch { display: table-cell !important; }
|
316
|
+
.touch td.show-for-touch { display: table-cell !important; }
|
317
|
+
th.hide-for-touch { display: table-cell !important; }
|
318
|
+
.touch th.show-for-touch { display: table-cell !important; }
|
319
|
+
|
320
|
+
}
|