foundation-rails 5.0.1.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 +7 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +1 -0
- data/app/controllers/foundation/rails/styleguide_controller.rb +10 -0
- data/app/views/foundation/rails/styleguide/show.html.erb +134 -0
- data/config/routes.rb +3 -0
- data/foundation-rails.gemspec +25 -0
- data/lib/foundation-rails.rb +1 -0
- data/lib/foundation/rails.rb +3 -0
- data/lib/foundation/rails/engine.rb +7 -0
- data/lib/foundation/rails/generators/install_generator.rb +56 -0
- data/lib/foundation/rails/templates/application.html.erb +19 -0
- data/lib/foundation/rails/templates/application.html.haml +18 -0
- data/lib/foundation/rails/templates/application.html.slim +17 -0
- data/lib/foundation/rails/version.rb +5 -0
- data/test/dummy/.gitignore +16 -0
- data/test/dummy/Gemfile +47 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/images/.keep +0 -0
- data/test/dummy/app/assets/javascripts/application.js +8 -0
- data/test/dummy/app/assets/stylesheets/application.css +4 -0
- data/test/dummy/app/assets/stylesheets/foundation_and_overrides.scss +4 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/controllers/concerns/.keep +0 -0
- data/test/dummy/app/controllers/styleguide_controller.rb +4 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/helpers/styleguide_helper.rb +2 -0
- data/test/dummy/app/mailers/.keep +0 -0
- data/test/dummy/app/models/.keep +0 -0
- data/test/dummy/app/models/concerns/.keep +0 -0
- data/test/dummy/app/views/layouts/application.html.erb +19 -0
- data/test/dummy/app/views/styleguide/show.html.erb +109 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +23 -0
- data/test/dummy/config/boot.rb +4 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +29 -0
- data/test/dummy/config/environments/production.rb +80 -0
- data/test/dummy/config/environments/test.rb +36 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +12 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +3 -0
- data/test/dummy/db/seeds.rb +7 -0
- data/test/dummy/lib/assets/.keep +0 -0
- data/test/dummy/lib/tasks/.keep +0 -0
- data/test/dummy/log/.keep +0 -0
- data/test/dummy/public/404.html +58 -0
- data/test/dummy/public/422.html +58 -0
- data/test/dummy/public/500.html +57 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/public/robots.txt +5 -0
- data/test/dummy/test/controllers/.keep +0 -0
- data/test/dummy/test/controllers/styleguide_controller_test.rb +9 -0
- data/test/dummy/test/fixtures/.keep +0 -0
- data/test/dummy/test/helpers/.keep +0 -0
- data/test/dummy/test/helpers/styleguide_helper_test.rb +4 -0
- data/test/dummy/test/integration/.keep +0 -0
- data/test/dummy/test/mailers/.keep +0 -0
- data/test/dummy/test/models/.keep +0 -0
- data/test/dummy/test/test_helper.rb +15 -0
- data/test/dummy/vendor/assets/javascripts/.keep +0 -0
- data/test/dummy/vendor/assets/stylesheets/.keep +0 -0
- data/vendor/_settings.scss +992 -0
- data/vendor/assets/javascripts/foundation.js +15 -0
- data/vendor/assets/javascripts/foundation/foundation.abide.js +201 -0
- data/vendor/assets/javascripts/foundation/foundation.accordion.js +41 -0
- data/vendor/assets/javascripts/foundation/foundation.alert.js +34 -0
- data/vendor/assets/javascripts/foundation/foundation.clearing.js +450 -0
- data/vendor/assets/javascripts/foundation/foundation.dropdown.js +184 -0
- data/vendor/assets/javascripts/foundation/foundation.interchange.js +304 -0
- data/vendor/assets/javascripts/foundation/foundation.joyride.js +839 -0
- data/vendor/assets/javascripts/foundation/foundation.js +416 -0
- data/vendor/assets/javascripts/foundation/foundation.magellan.js +118 -0
- data/vendor/assets/javascripts/foundation/foundation.offcanvas.js +37 -0
- data/vendor/assets/javascripts/foundation/foundation.orbit.js +434 -0
- data/vendor/assets/javascripts/foundation/foundation.reveal.js +347 -0
- data/vendor/assets/javascripts/foundation/foundation.tab.js +37 -0
- data/vendor/assets/javascripts/foundation/foundation.tooltip.js +202 -0
- data/vendor/assets/javascripts/foundation/foundation.topbar.js +380 -0
- data/vendor/assets/javascripts/vendor/modernizr.js +4 -0
- data/vendor/assets/stylesheets/foundation.scss +38 -0
- data/vendor/assets/stylesheets/foundation/_functions.scss +75 -0
- data/vendor/assets/stylesheets/foundation/_settings.scss +992 -0
- data/vendor/assets/stylesheets/foundation/components/_accordion.scss +49 -0
- data/vendor/assets/stylesheets/foundation/components/_alert-boxes.scss +113 -0
- data/vendor/assets/stylesheets/foundation/components/_block-grid.scss +83 -0
- data/vendor/assets/stylesheets/foundation/components/_breadcrumbs.scss +123 -0
- data/vendor/assets/stylesheets/foundation/components/_button-groups.scss +97 -0
- data/vendor/assets/stylesheets/foundation/components/_buttons.scss +234 -0
- data/vendor/assets/stylesheets/foundation/components/_clearing.scss +233 -0
- data/vendor/assets/stylesheets/foundation/components/_dropdown-buttons.scss +125 -0
- data/vendor/assets/stylesheets/foundation/components/_dropdown.scss +159 -0
- data/vendor/assets/stylesheets/foundation/components/_flex-video.scss +47 -0
- data/vendor/assets/stylesheets/foundation/components/_forms.scss +472 -0
- data/vendor/assets/stylesheets/foundation/components/_functions.scss +70 -0
- data/vendor/assets/stylesheets/foundation/components/_global.scss +387 -0
- data/vendor/assets/stylesheets/foundation/components/_grid.scss +234 -0
- data/vendor/assets/stylesheets/foundation/components/_inline-lists.scss +52 -0
- data/vendor/assets/stylesheets/foundation/components/_joyride.scss +220 -0
- data/vendor/assets/stylesheets/foundation/components/_keystrokes.scss +57 -0
- data/vendor/assets/stylesheets/foundation/components/_labels.scss +100 -0
- data/vendor/assets/stylesheets/foundation/components/_magellan.scss +30 -0
- data/vendor/assets/stylesheets/foundation/components/_offcanvas.scss +360 -0
- data/vendor/assets/stylesheets/foundation/components/_orbit.scss +353 -0
- data/vendor/assets/stylesheets/foundation/components/_pagination.scss +145 -0
- data/vendor/assets/stylesheets/foundation/components/_panels.scss +87 -0
- data/vendor/assets/stylesheets/foundation/components/_pricing-tables.scss +146 -0
- data/vendor/assets/stylesheets/foundation/components/_progress-bars.scss +75 -0
- data/vendor/assets/stylesheets/foundation/components/_reveal.scss +165 -0
- data/vendor/assets/stylesheets/foundation/components/_side-nav.scss +83 -0
- data/vendor/assets/stylesheets/foundation/components/_split-buttons.scss +187 -0
- data/vendor/assets/stylesheets/foundation/components/_sub-nav.scss +118 -0
- data/vendor/assets/stylesheets/foundation/components/_switch.scss +314 -0
- data/vendor/assets/stylesheets/foundation/components/_tables.scss +93 -0
- data/vendor/assets/stylesheets/foundation/components/_tabs.scss +95 -0
- data/vendor/assets/stylesheets/foundation/components/_thumbs.scss +71 -0
- data/vendor/assets/stylesheets/foundation/components/_tooltips.scss +121 -0
- data/vendor/assets/stylesheets/foundation/components/_top-bar.scss +590 -0
- data/vendor/assets/stylesheets/foundation/components/_type.scss +447 -0
- data/vendor/assets/stylesheets/foundation/components/_visibility.scss +661 -0
- data/vendor/assets/stylesheets/normalize.scss +410 -0
- metadata +292 -0
@@ -0,0 +1,447 @@
|
|
1
|
+
@import "global";
|
2
|
+
|
3
|
+
$include-html-type-classes: $include-html-classes !default;
|
4
|
+
|
5
|
+
// We use these to control header font styles
|
6
|
+
$header-font-family: join("Open Sans", $body-font-family) !default;
|
7
|
+
$header-font-weight: 300 !default;
|
8
|
+
$header-font-style: normal !default;
|
9
|
+
$header-font-color: #222 !default;
|
10
|
+
$header-line-height: 1.4 !default;
|
11
|
+
$header-top-margin: .2rem !default;
|
12
|
+
$header-bottom-margin: .5rem !default;
|
13
|
+
$header-text-rendering: optimizeLegibility !default;
|
14
|
+
|
15
|
+
// We use these to control header font sizes
|
16
|
+
$h1-font-size: rem-calc(44) !default;
|
17
|
+
$h2-font-size: rem-calc(37) !default;
|
18
|
+
$h3-font-size: rem-calc(27) !default;
|
19
|
+
$h4-font-size: rem-calc(23) !default;
|
20
|
+
$h5-font-size: rem-calc(18) !default;
|
21
|
+
$h6-font-size: 1rem !default;
|
22
|
+
|
23
|
+
// These control how subheaders are styled.
|
24
|
+
$subheader-line-height: 1.4 !default;
|
25
|
+
$subheader-font-color: lighten($header-font-color, 30%) !default;
|
26
|
+
$subheader-font-weight: 300 !default;
|
27
|
+
$subheader-top-margin: .2rem !default;
|
28
|
+
$subheader-bottom-margin: .5rem !default;
|
29
|
+
|
30
|
+
// A general <small> styling
|
31
|
+
$small-font-size: 60% !default;
|
32
|
+
$small-font-color: lighten($header-font-color, 30%) !default;
|
33
|
+
|
34
|
+
// We use these to style paragraphs
|
35
|
+
$paragraph-font-family: inherit !default;
|
36
|
+
$paragraph-font-weight: normal !default;
|
37
|
+
$paragraph-font-size: 1rem !default;
|
38
|
+
$paragraph-line-height: 1.6 !default;
|
39
|
+
$paragraph-margin-bottom: rem-calc(20) !default;
|
40
|
+
$paragraph-aside-font-size: rem-calc(14) !default;
|
41
|
+
$paragraph-aside-line-height: 1.35 !default;
|
42
|
+
$paragraph-aside-font-style: italic !default;
|
43
|
+
$paragraph-text-rendering: optimizeLegibility !default;
|
44
|
+
|
45
|
+
// We use these to style <code> tags
|
46
|
+
$code-color: darken($alert-color, 15%) !default;
|
47
|
+
$code-font-family: Consolas, 'Liberation Mono', Courier, monospace !default;
|
48
|
+
$code-font-weight: bold !default;
|
49
|
+
|
50
|
+
// We use these to style anchors
|
51
|
+
$anchor-text-decoration: none !default;
|
52
|
+
$anchor-font-color: $primary-color !default;
|
53
|
+
$anchor-font-color-hover: darken($primary-color, 5%) !default;
|
54
|
+
|
55
|
+
// We use these to style the <hr> element
|
56
|
+
$hr-border-width: 1px !default;
|
57
|
+
$hr-border-style: solid !default;
|
58
|
+
$hr-border-color: #ddd !default;
|
59
|
+
$hr-margin: rem-calc(20) !default;
|
60
|
+
|
61
|
+
// We use these to style lists
|
62
|
+
$list-style-position: outside !default;
|
63
|
+
$list-side-margin: 1.1rem !default;
|
64
|
+
$list-ordered-side-margin: 1.4rem !default;
|
65
|
+
$list-side-margin-no-bullet: 0 !default;
|
66
|
+
$list-nested-margin: rem-calc(20) !default;
|
67
|
+
$definition-list-header-weight: bold !default;
|
68
|
+
$definition-list-header-margin-bottom: .3rem !default;
|
69
|
+
$definition-list-margin-bottom: rem-calc(12) !default;
|
70
|
+
|
71
|
+
// We use these to style blockquotes
|
72
|
+
$blockquote-font-color: lighten($header-font-color, 30%) !default;
|
73
|
+
$blockquote-padding: rem-calc(9 20 0 19) !default;
|
74
|
+
$blockquote-border: 1px solid #ddd !default;
|
75
|
+
$blockquote-cite-font-size: rem-calc(13) !default;
|
76
|
+
$blockquote-cite-font-color: lighten($header-font-color, 20%) !default;
|
77
|
+
$blockquote-cite-link-color: $blockquote-cite-font-color !default;
|
78
|
+
|
79
|
+
// Acronym styles
|
80
|
+
$acronym-underline: 1px dotted #ddd !default;
|
81
|
+
|
82
|
+
// We use these to control padding and margin
|
83
|
+
$microformat-padding: rem-calc(10 12) !default;
|
84
|
+
$microformat-margin: rem-calc(0 0 20 0) !default;
|
85
|
+
|
86
|
+
// We use these to control the border styles
|
87
|
+
$microformat-border-width: 1px !default;
|
88
|
+
$microformat-border-style: solid !default;
|
89
|
+
$microformat-border-color: #ddd !default;
|
90
|
+
|
91
|
+
// We use these to control full name font styles
|
92
|
+
$microformat-fullname-font-weight: bold !default;
|
93
|
+
$microformat-fullname-font-size: rem-calc(15) !default;
|
94
|
+
|
95
|
+
// We use this to control the summary font styles
|
96
|
+
$microformat-summary-font-weight: bold !default;
|
97
|
+
|
98
|
+
// We use this to control abbr padding
|
99
|
+
$microformat-abbr-padding: rem-calc(0 1) !default;
|
100
|
+
|
101
|
+
// We use this to control abbr font styles
|
102
|
+
$microformat-abbr-font-weight: bold !default;
|
103
|
+
$microformat-abbr-font-decoration: none !default;
|
104
|
+
|
105
|
+
|
106
|
+
//
|
107
|
+
// Typography Placeholders
|
108
|
+
//
|
109
|
+
|
110
|
+
// These will throw a deprecation warning if used within a media query.
|
111
|
+
%lead {
|
112
|
+
font-size: $paragraph-font-size + rem-calc(3.5);
|
113
|
+
line-height: 1.6;
|
114
|
+
}
|
115
|
+
|
116
|
+
%subheader {
|
117
|
+
line-height: $subheader-line-height;
|
118
|
+
color: $subheader-font-color;
|
119
|
+
font-weight: $subheader-font-weight;
|
120
|
+
margin-top: $subheader-top-margin;
|
121
|
+
margin-bottom: $subheader-bottom-margin;
|
122
|
+
}
|
123
|
+
@include exports("type") {
|
124
|
+
@if $include-html-type-classes {
|
125
|
+
|
126
|
+
/* Typography resets */
|
127
|
+
div,
|
128
|
+
dl,
|
129
|
+
dt,
|
130
|
+
dd,
|
131
|
+
ul,
|
132
|
+
ol,
|
133
|
+
li,
|
134
|
+
h1,
|
135
|
+
h2,
|
136
|
+
h3,
|
137
|
+
h4,
|
138
|
+
h5,
|
139
|
+
h6,
|
140
|
+
pre,
|
141
|
+
form,
|
142
|
+
p,
|
143
|
+
blockquote,
|
144
|
+
th,
|
145
|
+
td {
|
146
|
+
margin:0;
|
147
|
+
padding:0;
|
148
|
+
direction: $text-direction;
|
149
|
+
}
|
150
|
+
|
151
|
+
/* Default Link Styles */
|
152
|
+
a {
|
153
|
+
color: $anchor-font-color;
|
154
|
+
text-decoration: $anchor-text-decoration;
|
155
|
+
line-height: inherit;
|
156
|
+
|
157
|
+
&:hover,
|
158
|
+
&:focus { color: $anchor-font-color-hover; }
|
159
|
+
|
160
|
+
img { border:none; }
|
161
|
+
}
|
162
|
+
|
163
|
+
/* Default paragraph styles */
|
164
|
+
p {
|
165
|
+
font-family: $paragraph-font-family;
|
166
|
+
font-weight: $paragraph-font-weight;
|
167
|
+
font-size: $paragraph-font-size;
|
168
|
+
line-height: $paragraph-line-height;
|
169
|
+
margin-bottom: $paragraph-margin-bottom;
|
170
|
+
text-rendering: $paragraph-text-rendering;
|
171
|
+
|
172
|
+
&.lead { @extend %lead; }
|
173
|
+
|
174
|
+
& aside {
|
175
|
+
font-size: $paragraph-aside-font-size;
|
176
|
+
line-height: $paragraph-aside-line-height;
|
177
|
+
font-style: $paragraph-aside-font-style;
|
178
|
+
}
|
179
|
+
}
|
180
|
+
|
181
|
+
/* Default header styles */
|
182
|
+
h1, h2, h3, h4, h5, h6 {
|
183
|
+
font-family: $header-font-family;
|
184
|
+
font-weight: $header-font-weight;
|
185
|
+
font-style: $header-font-style;
|
186
|
+
color: $header-font-color;
|
187
|
+
text-rendering: $header-text-rendering;
|
188
|
+
margin-top: $header-top-margin;
|
189
|
+
margin-bottom: $header-bottom-margin;
|
190
|
+
line-height: $header-line-height;
|
191
|
+
|
192
|
+
small {
|
193
|
+
font-size: $small-font-size;
|
194
|
+
color: $small-font-color;
|
195
|
+
line-height: 0;
|
196
|
+
}
|
197
|
+
}
|
198
|
+
|
199
|
+
h1 { font-size: $h1-font-size - rem-calc(10); }
|
200
|
+
h2 { font-size: $h2-font-size - rem-calc(10); }
|
201
|
+
h3 { font-size: $h3-font-size - rem-calc(5); }
|
202
|
+
h4 { font-size: $h4-font-size - rem-calc(5); }
|
203
|
+
h5 { font-size: $h5-font-size; }
|
204
|
+
h6 { font-size: $h6-font-size; }
|
205
|
+
|
206
|
+
.subheader { @extend %subheader; }
|
207
|
+
|
208
|
+
hr {
|
209
|
+
border: $hr-border-style $hr-border-color;
|
210
|
+
border-width: $hr-border-width 0 0;
|
211
|
+
clear: both;
|
212
|
+
margin: $hr-margin 0 ($hr-margin - rem-calc(1));
|
213
|
+
height: 0;
|
214
|
+
}
|
215
|
+
|
216
|
+
/* Helpful Typography Defaults */
|
217
|
+
em,
|
218
|
+
i {
|
219
|
+
font-style: italic;
|
220
|
+
line-height: inherit;
|
221
|
+
}
|
222
|
+
|
223
|
+
strong,
|
224
|
+
b {
|
225
|
+
font-weight: bold;
|
226
|
+
line-height: inherit;
|
227
|
+
}
|
228
|
+
|
229
|
+
small {
|
230
|
+
font-size: $small-font-size;
|
231
|
+
line-height: inherit;
|
232
|
+
}
|
233
|
+
|
234
|
+
code {
|
235
|
+
font-family: $code-font-family;
|
236
|
+
font-weight: $code-font-weight;
|
237
|
+
color: $code-color;
|
238
|
+
}
|
239
|
+
|
240
|
+
/* Lists */
|
241
|
+
ul,
|
242
|
+
ol,
|
243
|
+
dl {
|
244
|
+
font-size: $paragraph-font-size;
|
245
|
+
line-height: $paragraph-line-height;
|
246
|
+
margin-bottom: $paragraph-margin-bottom;
|
247
|
+
list-style-position: $list-style-position;
|
248
|
+
font-family: $paragraph-font-family;
|
249
|
+
}
|
250
|
+
|
251
|
+
ul {
|
252
|
+
margin-#{$default-float}: $list-side-margin;
|
253
|
+
&.no-bullet {
|
254
|
+
margin-#{$default-float}: $list-side-margin-no-bullet;
|
255
|
+
li {
|
256
|
+
ul,
|
257
|
+
ol {
|
258
|
+
margin-#{$default-float}: $list-nested-margin;
|
259
|
+
margin-bottom: 0;
|
260
|
+
list-style: none;
|
261
|
+
}
|
262
|
+
}
|
263
|
+
}
|
264
|
+
}
|
265
|
+
|
266
|
+
/* Unordered Lists */
|
267
|
+
ul {
|
268
|
+
li {
|
269
|
+
ul,
|
270
|
+
ol {
|
271
|
+
margin-#{$default-float}: $list-nested-margin;
|
272
|
+
margin-bottom: 0;
|
273
|
+
font-size: 1rem; /* Override nested font-size change */
|
274
|
+
}
|
275
|
+
}
|
276
|
+
&.square,
|
277
|
+
&.circle,
|
278
|
+
&.disc {
|
279
|
+
li ul { list-style: inherit; }
|
280
|
+
}
|
281
|
+
|
282
|
+
&.square { list-style-type: square; margin-#{$default-float}: $list-side-margin;}
|
283
|
+
&.circle { list-style-type: circle; margin-#{$default-float}: $list-side-margin;}
|
284
|
+
&.disc { list-style-type: disc; margin-#{$default-float}: $list-side-margin;}
|
285
|
+
&.no-bullet { list-style: none; }
|
286
|
+
}
|
287
|
+
|
288
|
+
/* Ordered Lists */
|
289
|
+
ol {
|
290
|
+
margin-#{$default-float}: $list-ordered-side-margin;
|
291
|
+
li {
|
292
|
+
ul,
|
293
|
+
ol {
|
294
|
+
margin-#{$default-float}: $list-nested-margin;
|
295
|
+
margin-bottom: 0;
|
296
|
+
}
|
297
|
+
}
|
298
|
+
}
|
299
|
+
|
300
|
+
/* Definition Lists */
|
301
|
+
dl {
|
302
|
+
dt {
|
303
|
+
margin-bottom: $definition-list-header-margin-bottom;
|
304
|
+
font-weight: $definition-list-header-weight;
|
305
|
+
}
|
306
|
+
dd { margin-bottom: $definition-list-margin-bottom; }
|
307
|
+
}
|
308
|
+
|
309
|
+
/* Abbreviations */
|
310
|
+
abbr,
|
311
|
+
acronym {
|
312
|
+
text-transform: uppercase;
|
313
|
+
font-size: 90%;
|
314
|
+
color: $body-font-color;
|
315
|
+
border-bottom: $acronym-underline;
|
316
|
+
cursor: $cursor-help-value;
|
317
|
+
}
|
318
|
+
abbr {
|
319
|
+
text-transform: none;
|
320
|
+
}
|
321
|
+
|
322
|
+
/* Blockquotes */
|
323
|
+
blockquote {
|
324
|
+
margin: 0 0 $paragraph-margin-bottom;
|
325
|
+
padding: $blockquote-padding;
|
326
|
+
border-#{$default-float}: $blockquote-border;
|
327
|
+
|
328
|
+
cite {
|
329
|
+
display: block;
|
330
|
+
font-size: $blockquote-cite-font-size;
|
331
|
+
color: $blockquote-cite-font-color;
|
332
|
+
&:before {
|
333
|
+
content: "\2014 \0020";
|
334
|
+
}
|
335
|
+
|
336
|
+
a,
|
337
|
+
a:visited {
|
338
|
+
color: $blockquote-cite-link-color;
|
339
|
+
}
|
340
|
+
}
|
341
|
+
}
|
342
|
+
blockquote,
|
343
|
+
blockquote p {
|
344
|
+
line-height: $paragraph-line-height;
|
345
|
+
color: $blockquote-font-color;
|
346
|
+
}
|
347
|
+
|
348
|
+
/* Microformats */
|
349
|
+
.vcard {
|
350
|
+
display: inline-block;
|
351
|
+
margin: $microformat-margin;
|
352
|
+
border: $microformat-border-width $microformat-border-style $microformat-border-color;
|
353
|
+
padding: $microformat-padding;
|
354
|
+
|
355
|
+
li {
|
356
|
+
margin: 0;
|
357
|
+
display: block;
|
358
|
+
}
|
359
|
+
.fn {
|
360
|
+
font-weight: $microformat-fullname-font-weight;
|
361
|
+
font-size: $microformat-fullname-font-size;
|
362
|
+
}
|
363
|
+
}
|
364
|
+
|
365
|
+
.vevent {
|
366
|
+
.summary { font-weight: $microformat-summary-font-weight; }
|
367
|
+
|
368
|
+
abbr {
|
369
|
+
cursor: $cursor-default-value;
|
370
|
+
text-decoration: $microformat-abbr-font-decoration;
|
371
|
+
font-weight: $microformat-abbr-font-weight;
|
372
|
+
border: none;
|
373
|
+
padding: $microformat-abbr-padding;
|
374
|
+
}
|
375
|
+
}
|
376
|
+
|
377
|
+
|
378
|
+
@media #{$medium-up} {
|
379
|
+
h1,h2,h3,h4,h5,h6 { line-height: $header-line-height; }
|
380
|
+
h1 { font-size: $h1-font-size; }
|
381
|
+
h2 { font-size: $h2-font-size; }
|
382
|
+
h3 { font-size: $h3-font-size; }
|
383
|
+
h4 { font-size: $h4-font-size; }
|
384
|
+
}
|
385
|
+
|
386
|
+
// Only include these styles if you want them.
|
387
|
+
@if $include-print-styles {
|
388
|
+
/*
|
389
|
+
* Print styles.
|
390
|
+
*
|
391
|
+
* Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
|
392
|
+
* Credit to Paul Irish and HTML5 Boilerplate (html5boilerplate.com)
|
393
|
+
*/
|
394
|
+
.print-only { display: none !important; }
|
395
|
+
@media print {
|
396
|
+
* {
|
397
|
+
background: transparent !important;
|
398
|
+
color: #000 !important; /* Black prints faster: h5bp.com/s */
|
399
|
+
box-shadow: none !important;
|
400
|
+
text-shadow: none !important;
|
401
|
+
}
|
402
|
+
|
403
|
+
a,
|
404
|
+
a:visited { text-decoration: underline;}
|
405
|
+
a[href]:after { content: " (" attr(href) ")"; }
|
406
|
+
|
407
|
+
abbr[title]:after { content: " (" attr(title) ")"; }
|
408
|
+
|
409
|
+
// Don't show links for images, or javascript/internal links
|
410
|
+
.ir a:after,
|
411
|
+
a[href^="javascript:"]:after,
|
412
|
+
a[href^="#"]:after { content: ""; }
|
413
|
+
|
414
|
+
pre,
|
415
|
+
blockquote {
|
416
|
+
border: 1px solid #999;
|
417
|
+
page-break-inside: avoid;
|
418
|
+
}
|
419
|
+
|
420
|
+
thead { display: table-header-group; /* h5bp.com/t */ }
|
421
|
+
|
422
|
+
tr,
|
423
|
+
img { page-break-inside: avoid; }
|
424
|
+
|
425
|
+
img { max-width: 100% !important; }
|
426
|
+
|
427
|
+
@page { margin: 0.5cm; }
|
428
|
+
|
429
|
+
p,
|
430
|
+
h2,
|
431
|
+
h3 {
|
432
|
+
orphans: 3;
|
433
|
+
widows: 3;
|
434
|
+
}
|
435
|
+
|
436
|
+
h2,
|
437
|
+
h3 { page-break-after: avoid; }
|
438
|
+
|
439
|
+
.hide-on-print { display: none !important; }
|
440
|
+
.print-only { display: block !important; }
|
441
|
+
.hide-for-print { display: none !important; }
|
442
|
+
.show-for-print { display: inherit !important; }
|
443
|
+
}
|
444
|
+
}
|
445
|
+
|
446
|
+
}
|
447
|
+
}
|
@@ -0,0 +1,661 @@
|
|
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
|
+
//
|
9
|
+
// Media Class Names
|
10
|
+
//
|
11
|
+
|
12
|
+
/* Foundation Visibility HTML Classes */
|
13
|
+
.show-for-small,
|
14
|
+
.show-for-small-only,
|
15
|
+
.show-for-medium-down,
|
16
|
+
.show-for-large-down,
|
17
|
+
.hide-for-medium,
|
18
|
+
.hide-for-medium-up,
|
19
|
+
.hide-for-medium-only,
|
20
|
+
.hide-for-large,
|
21
|
+
.hide-for-large-up,
|
22
|
+
.hide-for-large-only,
|
23
|
+
.hide-for-xlarge,
|
24
|
+
.hide-for-xlarge-up,
|
25
|
+
.hide-for-xlarge-only,
|
26
|
+
.hide-for-xxlarge-up,
|
27
|
+
.hide-for-xxlarge-only { display: inherit !important; }
|
28
|
+
|
29
|
+
.hide-for-small,
|
30
|
+
.hide-for-small-only,
|
31
|
+
.hide-for-medium-down,
|
32
|
+
.show-for-medium,
|
33
|
+
.show-for-medium-up,
|
34
|
+
.show-for-medium-only,
|
35
|
+
.hide-for-large-down,
|
36
|
+
.show-for-large,
|
37
|
+
.show-for-large-up,
|
38
|
+
.show-for-large-only,
|
39
|
+
.show-for-xlarge,
|
40
|
+
.show-for-xlarge-up,
|
41
|
+
.show-for-xlarge-only,
|
42
|
+
.show-for-xxlarge-up,
|
43
|
+
.show-for-xxlarge-only { display: none !important; }
|
44
|
+
|
45
|
+
/* Specific visibility for tables */
|
46
|
+
table {
|
47
|
+
&.show-for-small,
|
48
|
+
&.show-for-small-only,
|
49
|
+
&.show-for-medium-down,
|
50
|
+
&.show-for-large-down,
|
51
|
+
&.hide-for-medium,
|
52
|
+
&.hide-for-medium-up,
|
53
|
+
&.hide-for-medium-only,
|
54
|
+
&.hide-for-large,
|
55
|
+
&.hide-for-large-up,
|
56
|
+
&.hide-for-large-only,
|
57
|
+
&.hide-for-xlarge,
|
58
|
+
&.hide-for-xlarge-up,
|
59
|
+
&.hide-for-xlarge-only,
|
60
|
+
&.hide-for-xxlarge-up,
|
61
|
+
&.hide-for-xxlarge-only { display: table; }
|
62
|
+
}
|
63
|
+
thead {
|
64
|
+
&.show-for-small,
|
65
|
+
&.show-for-small-only,
|
66
|
+
&.show-for-medium-down,
|
67
|
+
&.show-for-large-down,
|
68
|
+
&.hide-for-medium,
|
69
|
+
&.hide-for-medium-up,
|
70
|
+
&.hide-for-medium-only,
|
71
|
+
&.hide-for-large,
|
72
|
+
&.hide-for-large-up,
|
73
|
+
&.hide-for-large-only,
|
74
|
+
&.hide-for-xlarge,
|
75
|
+
&.hide-for-xlarge-up,
|
76
|
+
&.hide-for-xlarge-only,
|
77
|
+
&.hide-for-xxlarge-up,
|
78
|
+
&.hide-for-xxlarge-only { display: table-header-group !important; }
|
79
|
+
}
|
80
|
+
tbody {
|
81
|
+
&.show-for-small,
|
82
|
+
&.show-for-small-only,
|
83
|
+
&.show-for-medium-down,
|
84
|
+
&.show-for-large-down,
|
85
|
+
&.hide-for-medium,
|
86
|
+
&.hide-for-medium-up,
|
87
|
+
&.hide-for-medium-only,
|
88
|
+
&.hide-for-large,
|
89
|
+
&.hide-for-large-up,
|
90
|
+
&.hide-for-large-only,
|
91
|
+
&.hide-for-xlarge,
|
92
|
+
&.hide-for-xlarge-up,
|
93
|
+
&.hide-for-xlarge-only,
|
94
|
+
&.hide-for-xxlarge-up,
|
95
|
+
&.hide-for-xxlarge-only { display: table-row-group !important; }
|
96
|
+
}
|
97
|
+
tr {
|
98
|
+
&.show-for-small,
|
99
|
+
&.show-for-small-only,
|
100
|
+
&.show-for-medium-down,
|
101
|
+
&.show-for-large-down,
|
102
|
+
&.hide-for-medium,
|
103
|
+
&.hide-for-medium-up,
|
104
|
+
&.hide-for-medium-only,
|
105
|
+
&.hide-for-large,
|
106
|
+
&.hide-for-large-up,
|
107
|
+
&.hide-for-large-only,
|
108
|
+
&.hide-for-xlarge,
|
109
|
+
&.hide-for-xlarge-up,
|
110
|
+
&.hide-for-xlarge-only,
|
111
|
+
&.hide-for-xxlarge-up,
|
112
|
+
&.hide-for-xxlarge-only { display: table-row !important; }
|
113
|
+
}
|
114
|
+
td,
|
115
|
+
th {
|
116
|
+
&.show-for-small,
|
117
|
+
&.show-for-small-only,
|
118
|
+
&.show-for-medium-down
|
119
|
+
&.show-for-large-down,
|
120
|
+
&.hide-for-medium,
|
121
|
+
&.hide-for-medium-up,
|
122
|
+
&.hide-for-large,
|
123
|
+
&.hide-for-large-up,
|
124
|
+
&.hide-for-xlarge
|
125
|
+
&.hide-for-xlarge-up,
|
126
|
+
&.hide-for-xxlarge-up { display: table-cell !important; }
|
127
|
+
}
|
128
|
+
|
129
|
+
/* Medium Displays: 641px and up */
|
130
|
+
@media #{$medium-up} {
|
131
|
+
.hide-for-small,
|
132
|
+
.hide-for-small-only,
|
133
|
+
.show-for-medium,
|
134
|
+
.show-for-medium-down,
|
135
|
+
.show-for-medium-up,
|
136
|
+
.show-for-medium-only,
|
137
|
+
.hide-for-large,
|
138
|
+
.hide-for-large-up,
|
139
|
+
.hide-for-large-only,
|
140
|
+
.hide-for-xlarge,
|
141
|
+
.hide-for-xlarge-up,
|
142
|
+
.hide-for-xlarge-only,
|
143
|
+
.hide-for-xxlarge-up,
|
144
|
+
.hide-for-xxlarge-only { display: inherit !important; }
|
145
|
+
|
146
|
+
.show-for-small,
|
147
|
+
.show-for-small-only,
|
148
|
+
.hide-for-medium,
|
149
|
+
.hide-for-medium-down,
|
150
|
+
.hide-for-medium-up,
|
151
|
+
.hide-for-medium-only,
|
152
|
+
.hide-for-large-down,
|
153
|
+
.show-for-large,
|
154
|
+
.show-for-large-up,
|
155
|
+
.show-for-large-only,
|
156
|
+
.show-for-xlarge,
|
157
|
+
.show-for-xlarge-up,
|
158
|
+
.show-for-xlarge-only,
|
159
|
+
.show-for-xxlarge-up,
|
160
|
+
.show-for-xxlarge-only { display: none !important; }
|
161
|
+
|
162
|
+
/* Specific visibility for tables */
|
163
|
+
table {
|
164
|
+
&.hide-for-small,
|
165
|
+
&.hide-for-small-only,
|
166
|
+
&.show-for-medium,
|
167
|
+
&.show-for-medium-down,
|
168
|
+
&.show-for-medium-up,
|
169
|
+
&.show-for-medium-only,
|
170
|
+
&.hide-for-large,
|
171
|
+
&.hide-for-large-up,
|
172
|
+
&.hide-for-large-only,
|
173
|
+
&.hide-for-xlarge,
|
174
|
+
&.hide-for-xlarge-up,
|
175
|
+
&.hide-for-xlarge-only,
|
176
|
+
&.hide-for-xxlarge-up,
|
177
|
+
&.hide-for-xxlarge-only { display: table; }
|
178
|
+
}
|
179
|
+
thead {
|
180
|
+
&.hide-for-small,
|
181
|
+
&.hide-for-small-only,
|
182
|
+
&.show-for-medium,
|
183
|
+
&.show-for-medium-down,
|
184
|
+
&.show-for-medium-up,
|
185
|
+
&.show-for-medium-only,
|
186
|
+
&.hide-for-large,
|
187
|
+
&.hide-for-large-up,
|
188
|
+
&.hide-for-large-only,
|
189
|
+
&.hide-for-xlarge,
|
190
|
+
&.hide-for-xlarge-up,
|
191
|
+
&.hide-for-xlarge-only,
|
192
|
+
&.hide-for-xxlarge-up,
|
193
|
+
&.hide-for-xxlarge-only { display: table-header-group !important; }
|
194
|
+
}
|
195
|
+
tbody {
|
196
|
+
&.hide-for-small,
|
197
|
+
&.hide-for-small-only,
|
198
|
+
&.show-for-medium,
|
199
|
+
&.show-for-medium-down,
|
200
|
+
&.show-for-medium-up,
|
201
|
+
&.show-for-medium-only,
|
202
|
+
&.hide-for-large,
|
203
|
+
&.hide-for-large-up,
|
204
|
+
&.hide-for-large-only,
|
205
|
+
&.hide-for-xlarge,
|
206
|
+
&.hide-for-xlarge-up,
|
207
|
+
&.hide-for-xlarge-only,
|
208
|
+
&.hide-for-xxlarge-up,
|
209
|
+
&.hide-for-xxlarge-only { display: table-row-group !important; }
|
210
|
+
}
|
211
|
+
tr {
|
212
|
+
&.hide-for-small,
|
213
|
+
&.hide-for-small-only,
|
214
|
+
&.show-for-medium,
|
215
|
+
&.show-for-medium-down,
|
216
|
+
&.show-for-medium-up,
|
217
|
+
&.show-for-medium-only,
|
218
|
+
&.hide-for-large,
|
219
|
+
&.hide-for-large-up,
|
220
|
+
&.hide-for-large-only,
|
221
|
+
&.hide-for-xlarge,
|
222
|
+
&.hide-for-xlarge-up,
|
223
|
+
&.hide-for-xlarge-only,
|
224
|
+
&.hide-for-xxlarge-up,
|
225
|
+
&.hide-for-xxlarge-only { display: table-row !important; }
|
226
|
+
}
|
227
|
+
td,
|
228
|
+
th {
|
229
|
+
&.hide-for-small,
|
230
|
+
&.hide-for-small-only,
|
231
|
+
&.show-for-medium,
|
232
|
+
&.show-for-medium-down,
|
233
|
+
&.show-for-medium-up,
|
234
|
+
&.show-for-medium-only,
|
235
|
+
&.hide-for-large,
|
236
|
+
&.hide-for-large-up,
|
237
|
+
&.hide-for-large-only,
|
238
|
+
&.hide-for-xlarge,
|
239
|
+
&.hide-for-xlarge-up,
|
240
|
+
&.hide-for-xlarge-only,
|
241
|
+
&.hide-for-xxlarge-up,
|
242
|
+
&.hide-for-xxlarge-only { display: table-cell !important; }
|
243
|
+
}
|
244
|
+
}
|
245
|
+
|
246
|
+
/* Large Displays: 1024px and up */
|
247
|
+
@media #{$large-up} {
|
248
|
+
.hide-for-small,
|
249
|
+
.hide-for-small-only,
|
250
|
+
.hide-for-medium,
|
251
|
+
.hide-for-medium-down,
|
252
|
+
.hide-for-medium-only,
|
253
|
+
.show-for-medium-up,
|
254
|
+
.show-for-large,
|
255
|
+
.show-for-large-up,
|
256
|
+
.show-for-large-only,
|
257
|
+
.hide-for-xlarge,
|
258
|
+
.hide-for-xlarge-up,
|
259
|
+
.hide-for-xlarge-only,
|
260
|
+
.hide-for-xxlarge-up,
|
261
|
+
.hide-for-xxlarge-only { display: inherit !important; }
|
262
|
+
|
263
|
+
.show-for-small-only,
|
264
|
+
.show-for-medium,
|
265
|
+
.show-for-medium-down,
|
266
|
+
.show-for-medium-only,
|
267
|
+
.hide-for-large,
|
268
|
+
.hide-for-large-up,
|
269
|
+
.hide-for-large-only,
|
270
|
+
.show-for-xlarge,
|
271
|
+
.show-for-xlarge-up,
|
272
|
+
.show-for-xlarge-only,
|
273
|
+
.show-for-xxlarge-up,
|
274
|
+
.show-for-xxlarge-only { display: none !important; }
|
275
|
+
|
276
|
+
/* Specific visilbity for tables */
|
277
|
+
table {
|
278
|
+
&.hide-for-small,
|
279
|
+
&.hide-for-small-only,
|
280
|
+
&.hide-for-medium,
|
281
|
+
&.hide-for-medium-down,
|
282
|
+
&.hide-for-medium-only,
|
283
|
+
&.show-for-medium-up,
|
284
|
+
&.show-for-large,
|
285
|
+
&.show-for-large-up,
|
286
|
+
&.show-for-large-only,
|
287
|
+
&.hide-for-xlarge,
|
288
|
+
&.hide-for-xlarge-up,
|
289
|
+
&.hide-for-xlarge-only,
|
290
|
+
&.hide-for-xxlarge-up,
|
291
|
+
&.hide-for-xxlarge-only { display: table; }
|
292
|
+
}
|
293
|
+
thead {
|
294
|
+
&.hide-for-small,
|
295
|
+
&.hide-for-small-only,
|
296
|
+
&.hide-for-medium,
|
297
|
+
&.hide-for-medium-down,
|
298
|
+
&.hide-for-medium-only,
|
299
|
+
&.show-for-medium-up,
|
300
|
+
&.show-for-large,
|
301
|
+
&.show-for-large-up,
|
302
|
+
&.show-for-large-only,
|
303
|
+
&.hide-for-xlarge,
|
304
|
+
&.hide-for-xlarge-up,
|
305
|
+
&.hide-for-xlarge-only,
|
306
|
+
&.hide-for-xxlarge-up,
|
307
|
+
&.hide-for-xxlarge-only { display: table-header-group !important; }
|
308
|
+
}
|
309
|
+
tbody {
|
310
|
+
&.hide-for-small,
|
311
|
+
&.hide-for-small-only,
|
312
|
+
&.hide-for-medium,
|
313
|
+
&.hide-for-medium-down,
|
314
|
+
&.hide-for-medium-only,
|
315
|
+
&.show-for-medium-up,
|
316
|
+
&.show-for-large,
|
317
|
+
&.show-for-large-up,
|
318
|
+
&.show-for-large-only,
|
319
|
+
&.hide-for-xlarge,
|
320
|
+
&.hide-for-xlarge-up,
|
321
|
+
&.hide-for-xlarge-only,
|
322
|
+
&.hide-for-xxlarge-up,
|
323
|
+
&.hide-for-xxlarge-only { display: table-row-group !important; }
|
324
|
+
}
|
325
|
+
tr {
|
326
|
+
&.hide-for-small,
|
327
|
+
&.hide-for-small-only,
|
328
|
+
&.hide-for-medium,
|
329
|
+
&.hide-for-medium-down,
|
330
|
+
&.hide-for-medium-only,
|
331
|
+
&.show-for-medium-up,
|
332
|
+
&.show-for-large,
|
333
|
+
&.show-for-large-up,
|
334
|
+
&.show-for-large-only,
|
335
|
+
&.hide-for-xlarge,
|
336
|
+
&.hide-for-xlarge-up,
|
337
|
+
&.hide-for-xlarge-only,
|
338
|
+
&.hide-for-xxlarge-up,
|
339
|
+
&.hide-for-xxlarge-only { display: table-row !important; }
|
340
|
+
}
|
341
|
+
td,
|
342
|
+
th {
|
343
|
+
&.hide-for-small,
|
344
|
+
&.hide-for-small-only,
|
345
|
+
&.hide-for-medium,
|
346
|
+
&.hide-for-medium-down,
|
347
|
+
&.hide-for-medium-only,
|
348
|
+
&.show-for-medium-up,
|
349
|
+
&.show-for-large,
|
350
|
+
&.show-for-large-up,
|
351
|
+
&.show-for-large-only,
|
352
|
+
&.hide-for-xlarge,
|
353
|
+
&.hide-for-xlarge-up,
|
354
|
+
&.hide-for-xlarge-only,
|
355
|
+
&.hide-for-xxlarge-up,
|
356
|
+
&.hide-for-xxlarge-only { display: table-cell !important; }
|
357
|
+
}
|
358
|
+
}
|
359
|
+
|
360
|
+
/* X-Large Displays: 1441 and up */
|
361
|
+
@media #{$xlarge-up} {
|
362
|
+
.hide-for-small,
|
363
|
+
.hide-for-small-only,
|
364
|
+
.hide-for-medium,
|
365
|
+
.hide-for-medium-down,
|
366
|
+
.hide-for-medium-only,
|
367
|
+
.show-for-medium-up,
|
368
|
+
.show-for-large-up,
|
369
|
+
.show-for-xlarge,
|
370
|
+
.show-for-xlarge-up,
|
371
|
+
.show-for-xlarge-only,
|
372
|
+
.hide-for-xxlarge-up,
|
373
|
+
.hide-for-xxlarge-only { display: inherit !important; }
|
374
|
+
|
375
|
+
.show-for-small-only,
|
376
|
+
.show-for-medium,
|
377
|
+
.show-for-medium-down,
|
378
|
+
.show-for-medium-only,
|
379
|
+
.show-for-large,
|
380
|
+
.show-for-large-only,
|
381
|
+
.show-for-large-down,
|
382
|
+
.hide-for-xlarge,
|
383
|
+
.hide-for-xlarge-up,
|
384
|
+
.hide-for-xlarge-only,
|
385
|
+
.show-for-xxlarge-up,
|
386
|
+
.show-for-xxlarge-only { display: none !important; }
|
387
|
+
|
388
|
+
/* Specific visilbity for tables */
|
389
|
+
table {
|
390
|
+
&.hide-for-small,
|
391
|
+
&.hide-for-small-only,
|
392
|
+
&.hide-for-medium,
|
393
|
+
&.hide-for-medium-down,
|
394
|
+
&.hide-for-medium-only,
|
395
|
+
&.show-for-medium-up,
|
396
|
+
&.show-for-large-up,
|
397
|
+
&.show-for-xlarge,
|
398
|
+
&.show-for-xlarge-up,
|
399
|
+
&.show-for-xlarge-only,
|
400
|
+
&.hide-for-xxlarge-up,
|
401
|
+
&.hide-for-xxlarge-only { display: table; }
|
402
|
+
}
|
403
|
+
thead {
|
404
|
+
&.hide-for-small,
|
405
|
+
&.hide-for-small-only,
|
406
|
+
&.hide-for-medium,
|
407
|
+
&.hide-for-medium-down,
|
408
|
+
&.hide-for-medium-only,
|
409
|
+
&.show-for-medium-up,
|
410
|
+
&.show-for-large-up,
|
411
|
+
&.show-for-xlarge,
|
412
|
+
&.show-for-xlarge-up,
|
413
|
+
&.show-for-xlarge-only,
|
414
|
+
&.hide-for-xxlarge-up,
|
415
|
+
&.hide-for-xxlarge-only { display: table-header-group !important; }
|
416
|
+
}
|
417
|
+
tbody {
|
418
|
+
&.hide-for-small,
|
419
|
+
&.hide-for-small-only,
|
420
|
+
&.hide-for-medium,
|
421
|
+
&.hide-for-medium-down,
|
422
|
+
&.hide-for-medium-only,
|
423
|
+
&.show-for-medium-up,
|
424
|
+
&.show-for-large-up,
|
425
|
+
&.show-for-xlarge,
|
426
|
+
&.show-for-xlarge-up,
|
427
|
+
&.show-for-xlarge-only,
|
428
|
+
&.hide-for-xxlarge-up,
|
429
|
+
&.hide-for-xxlarge-only { display: table-row-group !important; }
|
430
|
+
}
|
431
|
+
tr {
|
432
|
+
&.hide-for-small,
|
433
|
+
&.hide-for-small-only,
|
434
|
+
&.hide-for-medium,
|
435
|
+
&.hide-for-medium-down,
|
436
|
+
&.hide-for-medium-only,
|
437
|
+
&.show-for-medium-up,
|
438
|
+
&.show-for-large-up,
|
439
|
+
&.show-for-xlarge,
|
440
|
+
&.show-for-xlarge-up,
|
441
|
+
&.show-for-xlarge-only,
|
442
|
+
&.hide-for-xxlarge-up,
|
443
|
+
&.hide-for-xxlarge-only { display: table-row !important; }
|
444
|
+
}
|
445
|
+
td,
|
446
|
+
th {
|
447
|
+
&.hide-for-small,
|
448
|
+
&.hide-for-small-only,
|
449
|
+
&.hide-for-medium,
|
450
|
+
&.hide-for-medium-down,
|
451
|
+
&.hide-for-medium-only,
|
452
|
+
&.show-for-medium-up,
|
453
|
+
&.show-for-large-up,
|
454
|
+
&.show-for-xlarge,
|
455
|
+
&.show-for-xlarge-up,
|
456
|
+
&.show-for-xlarge-only,
|
457
|
+
&.hide-for-xxlarge-up,
|
458
|
+
&.hide-for-xxlarge-only { display: table-cell !important; }
|
459
|
+
}
|
460
|
+
}
|
461
|
+
|
462
|
+
/* XX-Large Displays: 1920 and up */
|
463
|
+
@media #{$xxlarge-up} {
|
464
|
+
.hide-for-small,
|
465
|
+
.hide-for-small-only,
|
466
|
+
.hide-for-medium,
|
467
|
+
.hide-for-medium-down,
|
468
|
+
.hide-for-medium-only,
|
469
|
+
.show-for-medium-up,
|
470
|
+
.show-for-large-up,
|
471
|
+
.show-for-xlarge-up,
|
472
|
+
.show-for-xxlarge-up,
|
473
|
+
.show-for-xxlarge-only { display: inherit !important; }
|
474
|
+
|
475
|
+
.show-for-small-only,
|
476
|
+
.show-for-medium,
|
477
|
+
.show-for-medium-down,
|
478
|
+
.show-for-medium-only,
|
479
|
+
.show-for-large,
|
480
|
+
.show-for-large-only,
|
481
|
+
.show-for-large-down,
|
482
|
+
.hide-for-xlarge,
|
483
|
+
.show-for-xlarge-only,
|
484
|
+
.hide-for-xxlarge-up,
|
485
|
+
.hide-for-xxlarge-only { display: none !important; }
|
486
|
+
|
487
|
+
/* Specific visilbity for tables */
|
488
|
+
table {
|
489
|
+
&.hide-for-small,
|
490
|
+
&.hide-for-small-only,
|
491
|
+
&.hide-for-medium,
|
492
|
+
&.hide-for-medium-down,
|
493
|
+
&.hide-for-medium-only,
|
494
|
+
&.show-for-medium-up,
|
495
|
+
&.show-for-large-up,
|
496
|
+
&.show-for-xlarge-up,
|
497
|
+
&.show-for-xxlarge-up,
|
498
|
+
&.show-for-xxlarge-only { display: table; }
|
499
|
+
}
|
500
|
+
thead {
|
501
|
+
&.hide-for-small,
|
502
|
+
&.hide-for-small-only,
|
503
|
+
&.hide-for-medium,
|
504
|
+
&.hide-for-medium-down,
|
505
|
+
&.hide-for-medium-only,
|
506
|
+
&.show-for-medium-up,
|
507
|
+
&.show-for-large-up,
|
508
|
+
&.show-for-xlarge-up,
|
509
|
+
&.show-for-xxlarge-up,
|
510
|
+
&.show-for-xxlarge-only { display: table-header-group !important; }
|
511
|
+
}
|
512
|
+
tbody {
|
513
|
+
&.hide-for-small,
|
514
|
+
&.hide-for-small-only,
|
515
|
+
&.hide-for-medium,
|
516
|
+
&.hide-for-medium-down,
|
517
|
+
&.hide-for-medium-only,
|
518
|
+
&.show-for-medium-up,
|
519
|
+
&.show-for-large-up,
|
520
|
+
&.show-for-xlarge-up,
|
521
|
+
&.show-for-xxlarge-up,
|
522
|
+
&.show-for-xxlarge-only { display: table-row-group !important; }
|
523
|
+
}
|
524
|
+
tr {
|
525
|
+
&.hide-for-small,
|
526
|
+
&.hide-for-small-only,
|
527
|
+
&.hide-for-medium,
|
528
|
+
&.hide-for-medium-down,
|
529
|
+
&.hide-for-medium-only,
|
530
|
+
&.show-for-medium-up,
|
531
|
+
&.show-for-large-up,
|
532
|
+
&.show-for-xlarge-up,
|
533
|
+
&.show-for-xxlarge-up,
|
534
|
+
&.show-for-xxlarge-only { display: table-row !important; }
|
535
|
+
}
|
536
|
+
td,
|
537
|
+
th {
|
538
|
+
&.hide-for-small,
|
539
|
+
&.hide-for-small-only,
|
540
|
+
&.hide-for-medium,
|
541
|
+
&.hide-for-medium-down,
|
542
|
+
&.hide-for-medium-only,
|
543
|
+
&.show-for-medium-up,
|
544
|
+
&.show-for-large-up,
|
545
|
+
&.show-for-xlarge-up,
|
546
|
+
&.show-for-xxlarge-up,
|
547
|
+
&.show-for-xxlarge-only { display: table-cell !important; }
|
548
|
+
}
|
549
|
+
}
|
550
|
+
|
551
|
+
|
552
|
+
/* Orientation targeting */
|
553
|
+
.show-for-landscape,
|
554
|
+
.hide-for-portrait { display: inherit !important; }
|
555
|
+
.hide-for-landscape,
|
556
|
+
.show-for-portrait { display: none !important; }
|
557
|
+
|
558
|
+
/* Specific visilbity for tables */
|
559
|
+
table {
|
560
|
+
&.hide-for-landscape,
|
561
|
+
&.show-for-portrait { display: table; }
|
562
|
+
}
|
563
|
+
thead {
|
564
|
+
&.hide-for-landscape,
|
565
|
+
&.show-for-portrait { display: table-header-group !important; }
|
566
|
+
}
|
567
|
+
tbody {
|
568
|
+
&.hide-for-landscape,
|
569
|
+
&.show-for-portrait { display: table-row-group !important; }
|
570
|
+
}
|
571
|
+
tr {
|
572
|
+
&.hide-for-landscape,
|
573
|
+
&.show-for-portrait { display: table-row !important; }
|
574
|
+
}
|
575
|
+
td,
|
576
|
+
th {
|
577
|
+
&.hide-for-landscape,
|
578
|
+
&.show-for-portrait { display: table-cell !important; }
|
579
|
+
}
|
580
|
+
|
581
|
+
@media #{$landscape} {
|
582
|
+
.show-for-landscape,
|
583
|
+
.hide-for-portrait { display: inherit !important; }
|
584
|
+
.hide-for-landscape,
|
585
|
+
.show-for-portrait { display: none !important; }
|
586
|
+
|
587
|
+
/* Specific visilbity for tables */
|
588
|
+
table {
|
589
|
+
&.show-for-landscape,
|
590
|
+
&.hide-for-portrait { display: table; }
|
591
|
+
}
|
592
|
+
thead {
|
593
|
+
&.show-for-landscape,
|
594
|
+
&.hide-for-portrait { display: table-header-group !important; }
|
595
|
+
}
|
596
|
+
tbody {
|
597
|
+
&.show-for-landscape,
|
598
|
+
&.hide-for-portrait { display: table-row-group !important; }
|
599
|
+
}
|
600
|
+
tr {
|
601
|
+
&.show-for-landscape,
|
602
|
+
&.hide-for-portrait { display: table-row !important; }
|
603
|
+
}
|
604
|
+
td,
|
605
|
+
th {
|
606
|
+
&.show-for-landscape,
|
607
|
+
&.hide-for-portrait { display: table-cell !important; }
|
608
|
+
}
|
609
|
+
}
|
610
|
+
|
611
|
+
@media #{$portrait} {
|
612
|
+
.show-for-portrait,
|
613
|
+
.hide-for-landscape { display: inherit !important; }
|
614
|
+
.hide-for-portrait,
|
615
|
+
.show-for-landscape { display: none !important; }
|
616
|
+
|
617
|
+
/* Specific visilbity for tables */
|
618
|
+
table {
|
619
|
+
&.show-for-portrait,
|
620
|
+
&.hide-for-landscape { display: table; }
|
621
|
+
}
|
622
|
+
thead {
|
623
|
+
&.show-for-portrait,
|
624
|
+
&.hide-for-landscape { display: table-header-group !important; }
|
625
|
+
}
|
626
|
+
tbody {
|
627
|
+
&.show-for-portrait,
|
628
|
+
&.hide-for-landscape { display: table-row-group !important; }
|
629
|
+
}
|
630
|
+
tr {
|
631
|
+
&.show-for-portrait,
|
632
|
+
&.hide-for-landscape { display: table-row !important; }
|
633
|
+
}
|
634
|
+
td,
|
635
|
+
th {
|
636
|
+
&.show-for-portrait,
|
637
|
+
&.hide-for-landscape { display: table-cell !important; }
|
638
|
+
}
|
639
|
+
}
|
640
|
+
|
641
|
+
/* Touch-enabled device targeting */
|
642
|
+
.show-for-touch { display: none !important; }
|
643
|
+
.hide-for-touch { display: inherit !important; }
|
644
|
+
.touch .show-for-touch { display: inherit !important; }
|
645
|
+
.touch .hide-for-touch { display: none !important; }
|
646
|
+
|
647
|
+
/* Specific visilbity for tables */
|
648
|
+
table.hide-for-touch { display: table; }
|
649
|
+
.touch table.show-for-touch { display: table; }
|
650
|
+
thead.hide-for-touch { display: table-header-group !important; }
|
651
|
+
.touch thead.show-for-touch { display: table-header-group !important; }
|
652
|
+
tbody.hide-for-touch { display: table-row-group !important; }
|
653
|
+
.touch tbody.show-for-touch { display: table-row-group !important; }
|
654
|
+
tr.hide-for-touch { display: table-row !important; }
|
655
|
+
.touch tr.show-for-touch { display: table-row !important; }
|
656
|
+
td.hide-for-touch { display: table-cell !important; }
|
657
|
+
.touch td.show-for-touch { display: table-cell !important; }
|
658
|
+
th.hide-for-touch { display: table-cell !important; }
|
659
|
+
.touch th.show-for-touch { display: table-cell !important; }
|
660
|
+
|
661
|
+
}
|