themepile-abstractio 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +28 -0
  3. data/.rbenv-version +1 -0
  4. data/CONTRIBUTING.md +53 -0
  5. data/Gemfile +4 -0
  6. data/LICENSE +22 -0
  7. data/README.md +136 -0
  8. data/Rakefile +2 -0
  9. data/abstractio.gemspec +18 -0
  10. data/js/foundation/foundation.alerts.js +50 -0
  11. data/js/foundation/foundation.clearing.js +516 -0
  12. data/js/foundation/foundation.cookie.js +74 -0
  13. data/js/foundation/foundation.dropdown.js +159 -0
  14. data/js/foundation/foundation.forms.js +516 -0
  15. data/js/foundation/foundation.joyride.js +842 -0
  16. data/js/foundation/foundation.js +403 -0
  17. data/js/foundation/foundation.magellan.js +130 -0
  18. data/js/foundation/foundation.orbit.js +373 -0
  19. data/js/foundation/foundation.placeholder.js +159 -0
  20. data/js/foundation/foundation.reveal.js +276 -0
  21. data/js/foundation/foundation.section.js +409 -0
  22. data/js/foundation/foundation.tooltips.js +206 -0
  23. data/js/foundation/foundation.topbar.js +252 -0
  24. data/js/foundation/index.js +16 -0
  25. data/js/vendor/custom.modernizr.js +4 -0
  26. data/js/vendor/jquery.js +9597 -0
  27. data/js/vendor/zepto.js +1884 -0
  28. data/lib/abstractio.rb +17 -0
  29. data/lib/abstractio/engine.rb +20 -0
  30. data/lib/abstractio/generators/USAGE +15 -0
  31. data/lib/abstractio/generators/install_generator.rb +54 -0
  32. data/lib/abstractio/generators/templates/application.html.erb +46 -0
  33. data/lib/abstractio/generators/templates/application.html.haml +31 -0
  34. data/lib/abstractio/generators/templates/application.html.slim +28 -0
  35. data/lib/abstractio/version.rb +3 -0
  36. data/lib/themepile-abstractio.rb +17 -0
  37. data/scss/abstractio.scss +46 -0
  38. data/scss/abstractio/_variables.scss +1224 -0
  39. data/scss/abstractio/components/_alert-boxes.scss +107 -0
  40. data/scss/abstractio/components/_block-grid.scss +68 -0
  41. data/scss/abstractio/components/_breadcrumbs.scss +125 -0
  42. data/scss/abstractio/components/_button-groups.scss +89 -0
  43. data/scss/abstractio/components/_buttons.scss +227 -0
  44. data/scss/abstractio/components/_clearing.scss +224 -0
  45. data/scss/abstractio/components/_custom-forms.scss +263 -0
  46. data/scss/abstractio/components/_dropdown-buttons.scss +115 -0
  47. data/scss/abstractio/components/_dropdown.scss +150 -0
  48. data/scss/abstractio/components/_flex-video.scss +46 -0
  49. data/scss/abstractio/components/_forms.scss +362 -0
  50. data/scss/abstractio/components/_global.scss +280 -0
  51. data/scss/abstractio/components/_grid.scss +186 -0
  52. data/scss/abstractio/components/_inline-lists.scss +53 -0
  53. data/scss/abstractio/components/_joyride.scss +215 -0
  54. data/scss/abstractio/components/_keystrokes.scss +57 -0
  55. data/scss/abstractio/components/_labels.scss +85 -0
  56. data/scss/abstractio/components/_magellan.scss +23 -0
  57. data/scss/abstractio/components/_orbit.scss +213 -0
  58. data/scss/abstractio/components/_pagination.scss +100 -0
  59. data/scss/abstractio/components/_panels.scss +77 -0
  60. data/scss/abstractio/components/_pricing-tables.scss +131 -0
  61. data/scss/abstractio/components/_progress-bars.scss +71 -0
  62. data/scss/abstractio/components/_reveal.scss +132 -0
  63. data/scss/abstractio/components/_section.scss +318 -0
  64. data/scss/abstractio/components/_side-nav.scss +69 -0
  65. data/scss/abstractio/components/_split-buttons.scss +167 -0
  66. data/scss/abstractio/components/_sub-nav.scss +68 -0
  67. data/scss/abstractio/components/_switch.scss +251 -0
  68. data/scss/abstractio/components/_tables.scss +84 -0
  69. data/scss/abstractio/components/_thumbs.scss +48 -0
  70. data/scss/abstractio/components/_tooltips.scss +117 -0
  71. data/scss/abstractio/components/_top-bar.scss +495 -0
  72. data/scss/abstractio/components/_type.scss +426 -0
  73. data/scss/abstractio/components/_visibility.scss +322 -0
  74. data/scss/normalize.scss +402 -0
  75. data/templates/project/.gitignore +44 -0
  76. data/templates/project/MIT-LICENSE.txt +20 -0
  77. data/templates/project/config.rb +26 -0
  78. data/templates/project/humans.txt +8 -0
  79. data/templates/project/index.html +124 -0
  80. data/templates/project/manifest.rb +45 -0
  81. data/templates/project/robots.txt +4 -0
  82. data/templates/project/scss/app.scss +48 -0
  83. data/templates/upgrade/manifest.rb +34 -0
  84. metadata +153 -0
@@ -0,0 +1,426 @@
1
+ //
2
+ // Typography Variables
3
+ //
4
+ $include-html-type-classes: $include-html-classes !default;
5
+
6
+ // We use these to control header font styles
7
+ $header-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif !default;
8
+ $header-font-weight: bold !default;
9
+ $header-font-style: normal !default;
10
+ $header-font-color: #222 !default;
11
+ $header-line-height: 1.4 !default;
12
+ $header-top-margin: .2em !default;
13
+ $header-bottom-margin: .5em !default;
14
+ $header-text-rendering: optimizeLegibility !default;
15
+
16
+ // We use these to control header font sizes
17
+ $h1-font-size: emCalc(44px) !default;
18
+ $h2-font-size: emCalc(37px) !default;
19
+ $h3-font-size: emCalc(27px) !default;
20
+ $h4-font-size: emCalc(23px) !default;
21
+ $h5-font-size: emCalc(18px) !default;
22
+ $h6-font-size: 1em !default;
23
+
24
+ // These control how subheaders are styled.
25
+ $subheader-line-height: 1.4 !default;
26
+ $subheader-font-color: lighten($header-font-color, 30%) !default;
27
+ $subheader-font-weight: 300 !default;
28
+ $subheader-top-margin: .2em !default;
29
+ $subheader-bottom-margin: .5em !default;
30
+
31
+ // A general <small> styling
32
+ $small-font-size: 60% !default;
33
+ $small-font-color: lighten($header-font-color, 30%) !default;
34
+
35
+ // We use these to style paragraphs
36
+ $paragraph-font-family: inherit !default;
37
+ $paragraph-font-weight: normal !default;
38
+ $paragraph-font-size: 1em !default;
39
+ $paragraph-line-height: 1.6 !default;
40
+ $paragraph-margin-bottom: emCalc(20px) !default;
41
+ $paragraph-aside-font-size: emCalc(14px) !default;
42
+ $paragraph-aside-line-height: 1.35 !default;
43
+ $paragraph-aside-font-style: italic !default;
44
+ $paragraph-text-rendering: optimizeLegibility !default;
45
+
46
+ // We use these to style <code> tags
47
+ $code-color: darken($alert-color, 15%) !default;
48
+ $code-font-family: Consolas, 'Liberation Mono', Courier, monospace !default;
49
+ $code-font-weight: bold !default;
50
+
51
+ // We use these to style anchors
52
+ $anchor-text-decoration: none !default;
53
+ $anchor-font-color: $primary-color !default;
54
+ $anchor-font-color-hover: darken($primary-color, 5%) !default;
55
+
56
+ // We use these to style the <hr> element
57
+ $hr-border-width: 1px !default;
58
+ $hr-border-style: solid !default;
59
+ $hr-border-color: #ddd !default;
60
+ $hr-margin: emCalc(20px) !default;
61
+
62
+ // We use these to style lists
63
+ $list-style-position: outside !default;
64
+ $list-side-margin: emCalc(20px) !default;
65
+ $definition-list-header-weight: bold !default;
66
+ $definition-list-header-margin-bottom: .3em !default;
67
+ $definition-list-margin-bottom: emCalc(12px) !default;
68
+
69
+ // We use these to style blockquotes
70
+ $blockquote-font-color: lighten($header-font-color, 30%) !default;
71
+ $blockquote-padding: emCalc(9px) emCalc(20px) 0 emCalc(19px) !default;
72
+ $blockquote-border: 1px solid #ddd !default;
73
+ $blockquote-cite-font-size: emCalc(13px) !default;
74
+ $blockquote-cite-font-color: lighten($header-font-color, 20%) !default;
75
+ $blockquote-cite-link-color: $blockquote-cite-font-color !default;
76
+
77
+ // Acronym styles
78
+ $acronym-underline: 1px dotted #ddd !default;
79
+
80
+ // We use these to control padding and margin
81
+ $microformat-padding: emCalc(10px) emCalc(12px) !default;
82
+ $microformat-margin: 0 0 emCalc(20px) 0 !default;
83
+
84
+ // We use these to control the border styles
85
+ $microformat-border-width: 1px !default;
86
+ $microformat-border-style: solid !default;
87
+ $microformat-border-color: #ddd !default;
88
+
89
+ // We use these to control full name font styles
90
+ $microformat-fullname-font-weight: bold !default;
91
+ $microformat-fullname-font-size: emCalc(15px) !default;
92
+
93
+ // We use this to control the summary font styles
94
+ $microformat-summary-font-weight: bold !default;
95
+
96
+ // We use this to control abbr padding
97
+ $microformat-abbr-padding: 0 emCalc(1px) !default;
98
+
99
+ // We use this to control abbr font styles
100
+ $microformat-abbr-font-weight: bold !default;
101
+ $microformat-abbr-font-decoration: none !default;
102
+
103
+
104
+ //
105
+ // Typography Placeholders
106
+ //
107
+ %lead {
108
+ font-size: $paragraph-font-size + emCalc(3.5px);
109
+ line-height: 1.6;
110
+ }
111
+
112
+ %subheader {
113
+ line-height: $subheader-line-height;
114
+ color: $subheader-font-color;
115
+ font-weight: $subheader-font-weight;
116
+ margin-top: $subheader-top-margin;
117
+ margin-bottom: $subheader-bottom-margin;
118
+ }
119
+
120
+ @if $include-html-type-classes != false {
121
+
122
+ /* Typography resets */
123
+ div,
124
+ dl,
125
+ dt,
126
+ dd,
127
+ ul,
128
+ ol,
129
+ li,
130
+ h1,
131
+ h2,
132
+ h3,
133
+ h4,
134
+ h5,
135
+ h6,
136
+ pre,
137
+ form,
138
+ p,
139
+ blockquote,
140
+ th,
141
+ td {
142
+ margin:0;
143
+ padding:0;
144
+ direction: $text-direction;
145
+ }
146
+
147
+ /* Default Link Styles */
148
+ a {
149
+ color: $anchor-font-color;
150
+ text-decoration: $anchor-text-decoration;
151
+ line-height: inherit;
152
+
153
+ &:hover,
154
+ &:focus { color: $anchor-font-color-hover; }
155
+
156
+ img { border:none; }
157
+ }
158
+
159
+ /* Default paragraph styles */
160
+ p {
161
+ font-family: $paragraph-font-family;
162
+ font-weight: $paragraph-font-weight;
163
+ font-size: $paragraph-font-size;
164
+ line-height: $paragraph-line-height;
165
+ margin-bottom: $paragraph-margin-bottom;
166
+ text-rendering: $paragraph-text-rendering;
167
+
168
+ &.lead { @extend %lead; }
169
+
170
+ & aside {
171
+ font-size: $paragraph-aside-font-size;
172
+ line-height: $paragraph-aside-line-height;
173
+ font-style: $paragraph-aside-font-style;
174
+ }
175
+ }
176
+
177
+ /* Default header styles */
178
+ h1, h2, h3, h4, h5, h6 {
179
+ font-family: $header-font-family;
180
+ font-weight: $header-font-weight;
181
+ font-style: $header-font-style;
182
+ color: $header-font-color;
183
+ text-rendering: $header-text-rendering;
184
+ margin-top: $header-top-margin;
185
+ margin-bottom: $header-bottom-margin;
186
+ line-height: $header-line-height - emCalc(3px);
187
+
188
+ small {
189
+ font-size: $small-font-size;
190
+ color: $small-font-color;
191
+ line-height: 0;
192
+ }
193
+ }
194
+
195
+ h1 { font-size: $h1-font-size - emCalc(10px); }
196
+ h2 { font-size: $h2-font-size - emCalc(10px); }
197
+ h3 { font-size: $h3-font-size - emCalc(5px); }
198
+ h4 { font-size: $h4-font-size - emCalc(5px); }
199
+ h5 { font-size: $h5-font-size; }
200
+ h6 { font-size: $h6-font-size; }
201
+
202
+ .subheader { @extend %subheader; }
203
+
204
+ hr {
205
+ border: $hr-border-style $hr-border-color;
206
+ border-width: $hr-border-width 0 0;
207
+ clear: both;
208
+ margin: $hr-margin 0 ($hr-margin - emCalc(1px));
209
+ height: 0;
210
+ }
211
+
212
+ /* Helpful Typography Defaults */
213
+ em,
214
+ i {
215
+ font-style: italic;
216
+ line-height: inherit;
217
+ }
218
+
219
+ strong,
220
+ b {
221
+ font-weight: bold;
222
+ line-height: inherit;
223
+ }
224
+
225
+ small {
226
+ font-size: $small-font-size;
227
+ line-height: inherit;
228
+ }
229
+
230
+ code {
231
+ font-family: $code-font-family;
232
+ font-weight: $code-font-weight;
233
+ color: $code-color;
234
+ }
235
+
236
+ /* Lists */
237
+ ul,
238
+ ol,
239
+ dl {
240
+ font-size: $paragraph-font-size;
241
+ line-height: $paragraph-line-height;
242
+ margin-bottom: $paragraph-margin-bottom;
243
+ list-style-position: $list-style-position;
244
+ font-family: $paragraph-font-family;
245
+ }
246
+
247
+ /* Unordered Lists */
248
+ ul {
249
+ li {
250
+ ul,
251
+ ol {
252
+ margin-#{$default-float}: $list-side-margin;
253
+ margin-bottom: 0;
254
+ font-size: 1em; /* Override nested font-size change */
255
+ }
256
+ }
257
+ &.square,
258
+ &.circle,
259
+ &.disc {
260
+ li ul { list-style: inherit; }
261
+ }
262
+
263
+ &.square { list-style-type: square; }
264
+ &.circle { list-style-type: circle; }
265
+ &.disc { list-style-type: disc; }
266
+ &.no-bullet { list-style: none; }
267
+ }
268
+
269
+ /* Ordered Lists */
270
+ ol {
271
+ li {
272
+ ul,
273
+ ol {
274
+ margin-#{$default-float}: $list-side-margin;
275
+ margin-bottom: 0;
276
+ }
277
+ }
278
+ }
279
+
280
+ /* Definition Lists */
281
+ dl {
282
+ dt {
283
+ margin-bottom: $definition-list-header-margin-bottom;
284
+ font-weight: $definition-list-header-weight;
285
+ }
286
+ dd { margin-bottom: $definition-list-margin-bottom; }
287
+ }
288
+
289
+ /* Abbreviations */
290
+ abbr,
291
+ acronym {
292
+ text-transform: uppercase;
293
+ font-size: 90%;
294
+ color: $body-font-color;
295
+ border-bottom: $acronym-underline;
296
+ cursor: help;
297
+ }
298
+ abbr {
299
+ text-transform: none;
300
+ }
301
+
302
+ /* Blockquotes */
303
+ blockquote {
304
+ margin: 0 0 $paragraph-margin-bottom;
305
+ padding: $blockquote-padding;
306
+ border-#{$default-float}: $blockquote-border;
307
+
308
+ cite {
309
+ display: block;
310
+ font-size: $blockquote-cite-font-size;
311
+ color: $blockquote-cite-font-color;
312
+ &:before {
313
+ content: "\2014 \0020";
314
+ }
315
+
316
+ a,
317
+ a:visited {
318
+ color: $blockquote-cite-link-color;
319
+ }
320
+ }
321
+ }
322
+ blockquote,
323
+ blockquote p {
324
+ line-height: $paragraph-line-height;
325
+ color: $blockquote-font-color;
326
+ }
327
+
328
+ /* Microformats */
329
+ .vcard {
330
+ display: inline-block;
331
+ margin: $microformat-margin;
332
+ border: $microformat-border-width $microformat-border-style $microformat-border-color;
333
+ padding: $microformat-padding;
334
+
335
+ li {
336
+ margin: 0;
337
+ display: block;
338
+ }
339
+ .fn {
340
+ font-weight: $microformat-fullname-font-weight;
341
+ font-size: $microformat-fullname-font-size;
342
+ }
343
+ }
344
+
345
+ .vevent {
346
+ .summary { font-weight: $microformat-summary-font-weight; }
347
+
348
+ abbr {
349
+ cursor: default;
350
+ text-decoration: $microformat-abbr-font-decoration;
351
+ font-weight: $microformat-abbr-font-weight;
352
+ border: none;
353
+ padding: $microformat-abbr-padding;
354
+ }
355
+ }
356
+
357
+
358
+ @media #{$small} {
359
+ h1,h2,h3,h4,h5,h6 { line-height: $header-line-height; }
360
+ h1 { font-size: $h1-font-size; }
361
+ h2 { font-size: $h2-font-size; }
362
+ h3 { font-size: $h3-font-size; }
363
+ h4 { font-size: $h4-font-size; }
364
+ }
365
+
366
+ // Only include these styles if you want them.
367
+ @if $include-print-styles {
368
+ /*
369
+ * Print styles.
370
+ *
371
+ * Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
372
+ * Credit to Paul Irish and HTML5 Boilerplate (html5boilerplate.com)
373
+ */
374
+ .print-only { display: none !important; }
375
+ @media print {
376
+ * {
377
+ background: transparent !important;
378
+ color: #000 !important; /* Black prints faster: h5bp.com/s */
379
+ box-shadow: none !important;
380
+ text-shadow: none !important;
381
+ }
382
+
383
+ a,
384
+ a:visited { text-decoration: underline;}
385
+ a[href]:after { content: " (" attr(href) ")"; }
386
+
387
+ abbr[title]:after { content: " (" attr(title) ")"; }
388
+
389
+ // Don't show links for images, or javascript/internal links
390
+ .ir a:after,
391
+ a[href^="javascript:"]:after,
392
+ a[href^="#"]:after { content: ""; }
393
+
394
+ pre,
395
+ blockquote {
396
+ border: 1px solid #999;
397
+ page-break-inside: avoid;
398
+ }
399
+
400
+ thead { display: table-header-group; /* h5bp.com/t */ }
401
+
402
+ tr,
403
+ img { page-break-inside: avoid; }
404
+
405
+ img { max-width: 100% !important; }
406
+
407
+ @page { margin: 0.5cm; }
408
+
409
+ p,
410
+ h2,
411
+ h3 {
412
+ orphans: 3;
413
+ widows: 3;
414
+ }
415
+
416
+ h2,
417
+ h3 { page-break-after: avoid; }
418
+
419
+ .hide-on-print { display: none !important; }
420
+ .print-only { display: block !important; }
421
+ .hide-for-print { display: none !important; }
422
+ .show-for-print { display: inherit !important; }
423
+ }
424
+ }
425
+
426
+ }
@@ -0,0 +1,322 @@
1
+ //
2
+ // Foundation Visibility Classes
3
+ //
4
+ $include-html-visibility-classes: $include-html-classes !default;
5
+
6
+ @if $include-html-visibility-classes != false {
7
+
8
+ /* Foundation Visibility HTML Classes */
9
+ .show-for-small,
10
+ .show-for-medium-down,
11
+ .show-for-large-down { display: inherit !important; }
12
+
13
+ .show-for-medium,
14
+ .show-for-medium-up,
15
+ .show-for-large,
16
+ .show-for-large-up,
17
+ .show-for-xlarge { display: none !important; }
18
+
19
+ .hide-for-medium,
20
+ .hide-for-medium-up,
21
+ .hide-for-large,
22
+ .hide-for-large-up,
23
+ .hide-for-xlarge { display: inherit !important; }
24
+
25
+ .hide-for-small,
26
+ .hide-for-medium-down,
27
+ .hide-for-large-down { display: none !important; }
28
+
29
+ /* Specific visilbity for tables */
30
+ table {
31
+ &.show-for-small,
32
+ &.show-for-medium-down,
33
+ &.show-for-large-down,
34
+ &.hide-for-medium,
35
+ &.hide-for-medium-up,
36
+ &.hide-for-large,
37
+ &.hide-for-large-up,
38
+ &.hide-for-xlarge { display: table; }
39
+ }
40
+ thead {
41
+ &.show-for-small,
42
+ &.show-for-medium-down,
43
+ &.show-for-large-down,
44
+ &.hide-for-medium,
45
+ &.hide-for-medium-up,
46
+ &.hide-for-large,
47
+ &.hide-for-large-up,
48
+ &.hide-for-xlarge { display: table-header-group !important; }
49
+ }
50
+ tbody {
51
+ &.show-for-small,
52
+ &.show-for-medium-down,
53
+ &.show-for-large-down,
54
+ &.hide-for-medium,
55
+ &.hide-for-medium-up,
56
+ &.hide-for-large,
57
+ &.hide-for-large-up,
58
+ &.hide-for-xlarge { display: table-row-group !important; }
59
+ }
60
+ tr {
61
+ &.show-for-small,
62
+ &.show-for-medium-down,
63
+ &.show-for-large-down,
64
+ &.hide-for-medium,
65
+ &.hide-for-medium-up,
66
+ &.hide-for-large,
67
+ &.hide-for-large-up,
68
+ &.hide-for-xlarge { display: table-row !important; }
69
+ }
70
+ td,
71
+ th {
72
+ &.show-for-small,
73
+ &.show-for-medium-down,
74
+ &.show-for-large-down,
75
+ &.hide-for-medium,
76
+ &.hide-for-medium-up,
77
+ &.hide-for-large,
78
+ &.hide-for-large-up,
79
+ &.hide-for-xlarge { display: table-cell !important; }
80
+ }
81
+
82
+ /* Medium Displays: 768px - 1279px */
83
+ @media #{$small} {
84
+ .show-for-medium,
85
+ .show-for-medium-up { display: inherit !important; }
86
+
87
+ .show-for-small { display: none !important; }
88
+
89
+ .hide-for-small { display: inherit !important; }
90
+
91
+ .hide-for-medium,
92
+ .hide-for-medium-up { display: none !important; }
93
+
94
+ /* Specific visilbity for tables */
95
+ table {
96
+ &.show-for-medium,
97
+ &.show-for-medium-up,
98
+ &.hide-for-small { display: table; }
99
+ }
100
+ thead {
101
+ &.show-for-medium,
102
+ &.show-for-medium-up,
103
+ &.hide-for-small { display: table-header-group !important; }
104
+ }
105
+ tbody {
106
+ &.show-for-medium,
107
+ &.show-for-medium-up,
108
+ &.hide-for-small { display: table-row-group !important; }
109
+ }
110
+ tr {
111
+ &.show-for-medium,
112
+ &.show-for-medium-up,
113
+ &.hide-for-small { display: table-row !important; }
114
+ }
115
+ td,
116
+ th {
117
+ &.show-for-medium,
118
+ &.show-for-medium-up,
119
+ &.hide-for-small { display: table-cell !important; }
120
+ }
121
+ }
122
+
123
+ /* Large Displays: 1280px - 1440px */
124
+ @media #{$medium} {
125
+ .show-for-large,
126
+ .show-for-large-up { display: inherit !important; }
127
+
128
+ .show-for-medium,
129
+ .show-for-medium-down { display: none !important; }
130
+
131
+ .hide-for-medium,
132
+ .hide-for-medium-down { display: inherit !important; }
133
+
134
+ .hide-for-large,
135
+ .hide-for-large-up { display: none !important; }
136
+
137
+ /* Specific visilbity for tables */
138
+ table {
139
+ &.show-for-large,
140
+ &.show-for-large-up,
141
+ &.hide-for-medium,
142
+ &.hide-for-medium-down { display: table; }
143
+ }
144
+ thead {
145
+ &.show-for-large,
146
+ &.show-for-large-up,
147
+ &.hide-for-medium,
148
+ &.hide-for-medium-down { display: table-header-group !important; }
149
+ }
150
+ tbody {
151
+ &.show-for-large,
152
+ &.show-for-large-up,
153
+ &.hide-for-medium,
154
+ &.hide-for-medium-down { display: table-row-group !important; }
155
+ }
156
+ tr {
157
+ &.show-for-large,
158
+ &.show-for-large-up,
159
+ &.hide-for-medium,
160
+ &.hide-for-medium-down { display: table-row !important; }
161
+ }
162
+ td,
163
+ th {
164
+ &.show-for-large,
165
+ &.show-for-large-up,
166
+ &.hide-for-medium,
167
+ &.hide-for-medium-down { display: table-cell !important; }
168
+ }
169
+ }
170
+
171
+ /* X-Large Displays: 1400px and up */
172
+ @media #{$large} {
173
+ .show-for-xlarge { display: inherit !important; }
174
+
175
+ .show-for-large,
176
+ .show-for-large-down { display: none !important; }
177
+
178
+ .hide-for-large,
179
+ .hide-for-large-down { display: inherit !important; }
180
+
181
+ .hide-for-xlarge { display: none !important; }
182
+
183
+ /* Specific visilbity for tables */
184
+ table {
185
+ &.show-for-xlarge,
186
+ &.hide-for-large,
187
+ &.hide-for-large-down { display: table; }
188
+ }
189
+ thead {
190
+ &.show-for-xlarge,
191
+ &.hide-for-large,
192
+ &.hide-for-large-down { display: table-header-group !important; }
193
+ }
194
+ tbody {
195
+ &.show-for-xlarge,
196
+ &.hide-for-large,
197
+ &.hide-for-large-down { display: table-row-group !important; }
198
+ }
199
+ tr {
200
+ &.show-for-xlarge,
201
+ &.hide-for-large,
202
+ &.hide-for-large-down { display: table-row !important; }
203
+ }
204
+ td,
205
+ th {
206
+ &.show-for-xlarge,
207
+ &.hide-for-large,
208
+ &.hide-for-large-down { display: table-cell !important; }
209
+ }
210
+ }
211
+
212
+
213
+ /* Orientation targeting */
214
+ .show-for-landscape,
215
+ .hide-for-portrait { display: inherit !important; }
216
+ .hide-for-landscape,
217
+ .show-for-portrait { display: none !important; }
218
+
219
+ /* Specific visilbity for tables */
220
+ table {
221
+ &.hide-for-landscape,
222
+ &.show-for-portrait { display: table; }
223
+ }
224
+ thead {
225
+ &.hide-for-landscape,
226
+ &.show-for-portrait { display: table-header-group !important; }
227
+ }
228
+ tbody {
229
+ &.hide-for-landscape,
230
+ &.show-for-portrait { display: table-row-group !important; }
231
+ }
232
+ tr {
233
+ &.hide-for-landscape,
234
+ &.show-for-portrait { display: table-row !important; }
235
+ }
236
+ td,
237
+ th {
238
+ &.hide-for-landscape,
239
+ &.show-for-portrait { display: table-cell !important; }
240
+ }
241
+
242
+ @media #{$landscape} {
243
+ .show-for-landscape,
244
+ .hide-for-portrait { display: inherit !important; }
245
+ .hide-for-landscape,
246
+ .show-for-portrait { display: none !important; }
247
+
248
+ /* Specific visilbity for tables */
249
+ table {
250
+ &.show-for-landscape,
251
+ &.hide-for-portrait { display: table; }
252
+ }
253
+ thead {
254
+ &.show-for-landscape,
255
+ &.hide-for-portrait { display: table-header-group !important; }
256
+ }
257
+ tbody {
258
+ &.show-for-landscape,
259
+ &.hide-for-portrait { display: table-row-group !important; }
260
+ }
261
+ tr {
262
+ &.show-for-landscape,
263
+ &.hide-for-portrait { display: table-row !important; }
264
+ }
265
+ td,
266
+ th {
267
+ &.show-for-landscape,
268
+ &.hide-for-portrait { display: table-cell !important; }
269
+ }
270
+ }
271
+
272
+ @media #{$portrait} {
273
+ .show-for-portrait,
274
+ .hide-for-landscape { display: inherit !important; }
275
+ .hide-for-portrait,
276
+ .show-for-landscape { display: none !important; }
277
+
278
+ /* Specific visilbity for tables */
279
+ table {
280
+ &.show-for-portrait,
281
+ &.hide-for-landscape { display: table; }
282
+ }
283
+ thead {
284
+ &.show-for-portrait,
285
+ &.hide-for-landscape { display: table-header-group !important; }
286
+ }
287
+ tbody {
288
+ &.show-for-portrait,
289
+ &.hide-for-landscape { display: table-row-group !important; }
290
+ }
291
+ tr {
292
+ &.show-for-portrait,
293
+ &.hide-for-landscape { display: table-row !important; }
294
+ }
295
+ td,
296
+ th {
297
+ &.show-for-portrait,
298
+ &.hide-for-landscape { display: table-cell !important; }
299
+ }
300
+ }
301
+
302
+ /* Touch-enabled device targeting */
303
+ .show-for-touch { display: none !important; }
304
+ .hide-for-touch { display: inherit !important; }
305
+ .touch .show-for-touch { display: inherit !important; }
306
+ .touch .hide-for-touch { display: none !important; }
307
+
308
+ /* Specific visilbity for tables */
309
+ table.hide-for-touch { display: table; }
310
+ .touch table.show-for-touch { display: table; }
311
+ thead.hide-for-touch { display: table-header-group !important; }
312
+ .touch thead.show-for-touch { display: table-header-group !important; }
313
+ tbody.hide-for-touch { display: table-row-group !important; }
314
+ .touch tbody.show-for-touch { display: table-row-group !important; }
315
+ tr.hide-for-touch { display: table-row !important; }
316
+ .touch tr.show-for-touch { display: table-row !important; }
317
+ td.hide-for-touch { display: table-cell !important; }
318
+ .touch td.show-for-touch { display: table-cell !important; }
319
+ th.hide-for-touch { display: table-cell !important; }
320
+ .touch th.show-for-touch { display: table-cell !important; }
321
+
322
+ }