zurb-foundation 4.1.6 → 4.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CONTRIBUTING.md +5 -4
- data/Gemfile.lock +1 -1
- data/README.md +7 -0
- data/docs/CHANGELOG.md +27 -0
- data/docs/Gemfile +2 -0
- data/docs/Gemfile.lock +10 -0
- data/docs/_sidebar-components.html.erb +1 -0
- data/docs/_sidebar.html.erb +1 -0
- data/docs/components/alert-boxes.html.erb +8 -3
- data/docs/components/block-grid.html.erb +3 -3
- data/docs/components/breadcrumbs.html.erb +2 -2
- data/docs/components/button-groups.html.erb +2 -2
- data/docs/components/buttons.html.erb +3 -3
- data/docs/components/clearing.html.erb +7 -6
- data/docs/components/custom-forms.html.erb +1 -0
- data/docs/components/dropdown-buttons.html.erb +3 -3
- data/docs/components/dropdown.html.erb +20 -4
- data/docs/components/flex-video.html.erb +3 -3
- data/docs/components/forms.html.erb +5 -5
- data/docs/components/global.html.erb +235 -3
- data/docs/components/grid.html.erb +2 -2
- data/docs/components/inline-lists.html.erb +3 -3
- data/docs/components/interchange.html.erb +127 -0
- data/docs/components/keystrokes.html.erb +3 -3
- data/docs/components/kitchen-sink.html.erb +2 -2
- data/docs/components/labels.html.erb +3 -3
- data/docs/components/orbit.html.erb +120 -8
- data/docs/components/pagination.html.erb +5 -5
- data/docs/components/panels.html.erb +3 -3
- data/docs/components/pricing-tables.html.erb +3 -3
- data/docs/components/progress-bars.html.erb +3 -3
- data/docs/components/reveal.html.erb +126 -7
- data/docs/components/section.html.erb +43 -1
- data/docs/components/side-nav.html.erb +3 -3
- data/docs/components/split-buttons.html.erb +3 -3
- data/docs/components/sub-nav.html.erb +4 -4
- data/docs/components/switch.html.erb +3 -3
- data/docs/components/tables.html.erb +1 -1
- data/docs/components/thumbnails.html.erb +2 -2
- data/docs/components/tooltips.html.erb +34 -1
- data/docs/components/top-bar.html.erb +109 -30
- data/docs/components/type.html.erb +2 -1
- data/docs/components/visibility.html.erb +8 -8
- data/docs/css/normalize.scss +2 -2
- data/docs/css/qunit.css +1 -1
- data/docs/img/demos/demo1.jpg +0 -0
- data/docs/img/demos/demo2.jpg +0 -0
- data/docs/img/demos/demo3.jpg +0 -0
- data/docs/img/demos/demo4.jpg +0 -0
- data/docs/img/demos/demo5.jpg +0 -0
- data/docs/img/demos/interchange/default.jpg +0 -0
- data/docs/img/demos/interchange/large.jpg +0 -0
- data/docs/img/demos/interchange/med.jpg +0 -0
- data/docs/img/demos/interchange/small.jpg +0 -0
- data/docs/img/demos/interchange/smallest.jpg +0 -0
- data/docs/index.html.erb +14 -5
- data/docs/javascript.html.erb +2 -4
- data/docs/layout.html.erb +1 -1
- data/docs/rails.html.erb +4 -1
- data/docs/sass.html.erb +1274 -1023
- data/js/foundation/foundation.alerts.js +3 -1
- data/js/foundation/foundation.clearing.js +1 -1
- data/js/foundation/foundation.dropdown.js +25 -6
- data/js/foundation/foundation.forms.js +14 -12
- data/js/foundation/foundation.interchange.js +265 -0
- data/js/foundation/foundation.joyride.js +16 -3
- data/js/foundation/foundation.js +53 -7
- data/js/foundation/foundation.magellan.js +5 -3
- data/js/foundation/foundation.orbit.js +19 -2
- data/js/foundation/foundation.reveal.js +64 -11
- data/js/foundation/foundation.section.js +26 -17
- data/js/foundation/foundation.tooltips.js +16 -8
- data/js/foundation/foundation.topbar.js +98 -46
- data/js/foundation/index.js +1 -0
- data/lib/foundation/generators/install_generator.rb +2 -2
- data/lib/foundation/version.rb +1 -1
- data/scss/foundation/_variables.scss +134 -71
- data/scss/foundation/components/_alert-boxes.scss +20 -20
- data/scss/foundation/components/_block-grid.scss +7 -4
- data/scss/foundation/components/_breadcrumbs.scss +3 -3
- data/scss/foundation/components/_buttons.scss +5 -3
- data/scss/foundation/components/_clearing.scss +12 -6
- data/scss/foundation/components/_custom-forms.scss +17 -10
- data/scss/foundation/components/_dropdown.scss +6 -6
- data/scss/foundation/components/_forms.scss +5 -3
- data/scss/foundation/components/_global.scss +63 -30
- data/scss/foundation/components/_grid.scss +10 -9
- data/scss/foundation/components/_joyride.scss +22 -20
- data/scss/foundation/components/_keystrokes.scss +1 -1
- data/scss/foundation/components/_orbit.scss +108 -30
- data/scss/foundation/components/_reveal.scss +12 -8
- data/scss/foundation/components/_section.scss +38 -3
- data/scss/foundation/components/_switch.scss +18 -12
- data/scss/foundation/components/_thumbs.scss +10 -3
- data/scss/foundation/components/_tooltips.scss +11 -11
- data/scss/foundation/components/_top-bar.scss +102 -64
- data/scss/foundation/components/_type.scss +54 -47
- data/templates/project/manifest.rb +1 -0
- metadata +11 -4
@@ -76,7 +76,7 @@
|
|
76
76
|
<div class="large-12 columns">
|
77
77
|
|
78
78
|
<h3>Build With HTML Classes</h3>
|
79
|
-
<p>The top bar is a pretty complex piece of magical UI goodness, which makes it really difficult to create a mixin from it. We rely on many presentational classes to accomplish the styles and there's a lot happening in the JS
|
79
|
+
<p>The top bar is a pretty complex piece of magical UI goodness, which makes it really difficult to create a mixin from it. We rely on many presentational classes to accomplish the styles and there's a lot happening in the JS. The top bar is hoverable by default but can be changed to a click event by adding a simple <code>data-option="is_hover:false"</code> to the <code><nav></code> element. <a href="#clickable">See an example below</a>.</p>
|
80
80
|
|
81
81
|
<h5>Basic Needs</h5>
|
82
82
|
<p>The top bar has four main elements, three of which are needed for proper functionality: <code>ul.title-area</code>, a <code>ul class="right/left</code> element enclosed in a <code>section class="top-bar-section"</code>, and the <code>li.toggle-topbar</code> element that will expand the menu in the mobile layout. You can leave out the li class="name" as long as you include the .toggle-topbar element.</p>
|
@@ -91,7 +91,7 @@
|
|
91
91
|
<p>To make this navigation nice and flexible, we've included patterns for elements like buttons, inputs and dividers. To create dividers between your navigation, just add an empty <code>li.divider</code> and you'll get some separation. You can use a small Foundation button in the nav, just include <code>has-form</code> as a class for its parent li. You can include two different input types: search and text. To use these, add a class of search to the parent li.</p>
|
92
92
|
|
93
93
|
<h5>Sticky Top Bar</h5>
|
94
|
-
<p>You may also wrap your top bar in <code>div class="contain-to-grid sticky"</code> and put it anywhere within your markup. When the navigation hits the top of the browser, it will act like the fixed top bar and stick to the top as users continue to scroll.</p>
|
94
|
+
<p>You may also wrap your top bar in <code>div class="contain-to-grid sticky"</code> and put it anywhere within your markup. When the navigation hits the top of the browser, it will act like the fixed top bar and stick to the top as users continue to scroll. <strong>Note:</strong> If you are using Scss, you can control the default <code>sticky</code> class by adjusting the <code>$topbar-sticky-class</code> variable. <strong>Make sure the JS variable for <code>stickyClass</code> matches whatever class you use in the variable.</strong></p>
|
95
95
|
|
96
96
|
<%= code_example '
|
97
97
|
<nav class="top-bar">
|
@@ -206,51 +206,128 @@
|
|
206
206
|
</section>
|
207
207
|
</nav>', :html %>
|
208
208
|
|
209
|
+
<a name="clickable"></a>
|
210
|
+
<h4>Clickable Topbar</h4>
|
211
|
+
<p>You can now make the top bar clickable by adding a data-attribute to the nav element. Here's an example:</p>
|
212
|
+
<nav class="top-bar" data-options="is_hover:false">
|
213
|
+
<ul class="title-area">
|
214
|
+
<!-- Title Area -->
|
215
|
+
<li class="name">
|
216
|
+
<h1><a href="#">Clickable Top Bar</a></h1>
|
217
|
+
</li>
|
218
|
+
<!-- Remove the class "menu-icon" to get rid of menu icon. Take out "Menu" to just have icon alone -->
|
219
|
+
<li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li>
|
220
|
+
</ul>
|
221
|
+
|
222
|
+
<section class="top-bar-section">
|
223
|
+
|
224
|
+
<!-- Right Nav Section -->
|
225
|
+
<ul class="right">
|
226
|
+
<li class="divider hide-for-small"></li>
|
227
|
+
<li class="has-dropdown"><a href="#">Main Item 1</a>
|
228
|
+
|
229
|
+
<ul class="dropdown">
|
230
|
+
<li><label>Dropdown Level 1 Label</label></li>
|
231
|
+
<li class="has-dropdown"><a href="#" class="">Dropdown Level 1a</a>
|
232
|
+
|
233
|
+
<ul class="dropdown">
|
234
|
+
<li><a href="#">Dropdown Level 2a</a></li>
|
235
|
+
<li><a href="#">Dropdown Level 2b</a></li>
|
236
|
+
<li class="has-dropdown"><a href="#">Dropdown Level 2c</a>
|
237
|
+
|
238
|
+
<ul class="dropdown">
|
239
|
+
<li><a href="#">Dropdown Level 3a</a></li>
|
240
|
+
<li><a href="#">Dropdown Level 3b</a></li>
|
241
|
+
<li><a href="#">Dropdown Level 3c</a></li>
|
242
|
+
</ul>
|
243
|
+
</li>
|
244
|
+
<li><a href="#">Dropdown Level 2d</a></li>
|
245
|
+
<li><a href="#">Dropdown Level 2e</a></li>
|
246
|
+
<li><a href="#">Dropdown Level 2f</a></li>
|
247
|
+
</ul>
|
248
|
+
</li>
|
249
|
+
<li><a href="#">Dropdown Level 1b</a></li>
|
250
|
+
<li><a href="#">Dropdown Level 1c</a></li>
|
251
|
+
<li class="divider"></li>
|
252
|
+
<li><label>Dropdown Level 1 Label</label></li>
|
253
|
+
<li><a href="#">Dropdown Level 1d</a></li>
|
254
|
+
<li><a href="#">Dropdown Level 1e</a></li>
|
255
|
+
<li><a href="#">Dropdown Level 1f</a></li>
|
256
|
+
<li class="divider"></li>
|
257
|
+
<li><a href="#">See all →</a></li>
|
258
|
+
</ul>
|
259
|
+
</li>
|
260
|
+
</ul>
|
261
|
+
</section>
|
262
|
+
</nav>
|
263
|
+
|
264
|
+
<%= code_example '
|
265
|
+
<nav class="top-bar" data-options="is_hover:false">', :html %>
|
266
|
+
<hr>
|
267
|
+
|
209
268
|
<h4>Available SCSS Variables</h4>
|
210
269
|
<p>We do include SCSS variable to help you control some of the styles for the top bar. Overall the styles are written mobile first, so they are much easier to override than the previous iteration of the top bar.</p>
|
211
270
|
|
212
271
|
<%= code_example '
|
213
272
|
/* Background color for the top bar */
|
214
|
-
$topbar-bg:
|
273
|
+
$topbar-bg: #111;
|
215
274
|
|
216
275
|
/* Height and margin */
|
217
|
-
$topbar-height:
|
218
|
-
$topbar-margin-bottom:
|
276
|
+
$topbar-height: 45px;
|
277
|
+
$topbar-margin-bottom: emCalc(30px);
|
219
278
|
|
220
279
|
/* Control Input height for top bar */
|
221
|
-
$topbar-input-height:
|
280
|
+
$topbar-input-height: 2.45em;
|
222
281
|
|
223
282
|
/* Controlling the styles for the title in the top bar */
|
224
|
-
$topbar-title-weight:
|
225
|
-
$topbar-title-font-size:
|
226
|
-
|
227
|
-
/* Set the link colors and styles for top-level nav */
|
228
|
-
$topbar-link-color: #fff;
|
229
|
-
$topbar-link-weight: bold;
|
230
|
-
$topbar-link-font-size: emCalc(13px);
|
283
|
+
$topbar-title-weight: bold;
|
284
|
+
$topbar-title-font-size: emCalc(17px);
|
231
285
|
|
232
286
|
/* Style the top bar dropdown elements */
|
233
|
-
$topbar-dropdown-bg:
|
234
|
-
$topbar-dropdown-link-color:
|
235
|
-
$topbar-dropdown-
|
236
|
-
$topbar-dropdown-toggle-
|
237
|
-
$topbar-dropdown-toggle-
|
238
|
-
$dropdown-
|
287
|
+
$topbar-dropdown-bg: #222;
|
288
|
+
$topbar-dropdown-link-color: #fff;
|
289
|
+
$topbar-dropdown-link-bg: lighten($topbar-bg, 5%);
|
290
|
+
$topbar-dropdown-toggle-size: 5px;
|
291
|
+
$topbar-dropdown-toggle-color: #fff;
|
292
|
+
$topbar-dropdown-toggle-alpha: 0.5;
|
293
|
+
|
294
|
+
/* Set the link colors and styles for top-level nav */
|
295
|
+
$topbar-link-color: #fff;
|
296
|
+
$topbar-link-color-hover: #fff;
|
297
|
+
$topbar-link-color-active: #fff;
|
298
|
+
$topbar-link-weight: bold;
|
299
|
+
$topbar-link-font-size: emCalc(13px);
|
300
|
+
$topbar-link-hover-lightness: -30%; /* Darken by 30% */
|
301
|
+
$topbar-link-bg-hover: darken($topbar-bg, 3%);
|
302
|
+
$topbar-link-bg-active: darken($topbar-bg, 3%);
|
303
|
+
|
304
|
+
$topbar-dropdown-label-color: #555;
|
305
|
+
$topbar-dropdown-label-text-transform: uppercase;
|
306
|
+
$topbar-dropdown-label-font-weight: bold;
|
307
|
+
$topbar-dropdown-label-font-size: emCalc(10px);
|
239
308
|
|
240
309
|
/* Top menu icon styles */
|
241
|
-
$topbar-menu-link-transform:
|
242
|
-
$topbar-menu-link-font-size:
|
243
|
-
$topbar-menu-link-weight:
|
244
|
-
$topbar-menu-link-color:
|
245
|
-
$topbar-menu-icon-color:
|
246
|
-
$topbar-menu-link-color-toggled:
|
247
|
-
$topbar-menu-icon-color-toggled:
|
310
|
+
$topbar-menu-link-transform: uppercase;
|
311
|
+
$topbar-menu-link-font-size: emCalc(13px);
|
312
|
+
$topbar-menu-link-weight: bold;
|
313
|
+
$topbar-menu-link-color: #fff;
|
314
|
+
$topbar-menu-icon-color: #fff;
|
315
|
+
$topbar-menu-link-color-toggled: #888;
|
316
|
+
$topbar-menu-icon-color-toggled: #888;
|
248
317
|
|
249
318
|
/* Transitions and breakpoint styles */
|
250
|
-
$topbar-transition-speed:
|
251
|
-
$topbar-breakpoint:
|
319
|
+
$topbar-transition-speed: 300ms;
|
320
|
+
$topbar-breakpoint: emCalc(940px); /* Change to 9999px for always mobile layout */
|
321
|
+
$topbar-media-query: "only screen and (min-width:"#{$topbar-breakpoint}")";
|
322
|
+
|
323
|
+
/* Divider Styles */
|
324
|
+
$topbar-divider-border-bottom: solid 1px lighten($topbar-bg, 10%);
|
325
|
+
$topbar-divider-border-top: solid 1px darken($topbar-bg, 10%);
|
326
|
+
|
327
|
+
/* Sticky Class */
|
328
|
+
$topbar-sticky-class: ".sticky";', :css %>
|
252
329
|
|
253
|
-
<p><strong>Note:</strong> <code>emCalc();</code> is a function we wrote to convert <code>px</code> to <code>em</code>. It is included in <strong>
|
330
|
+
<p><strong>Note:</strong> <code>emCalc();</code> is a function we wrote to convert <code>px</code> to <code>em</code>. It is included in <strong>_variables.scss</strong>.</p>
|
254
331
|
|
255
332
|
<hr>
|
256
333
|
|
@@ -263,7 +340,7 @@ $topbar-breakpoint: emCalc(940px); // Change to 9999px for always mobile layout'
|
|
263
340
|
|
264
341
|
<h5>Optional JavaScript Configuration</h5>
|
265
342
|
|
266
|
-
<p>Top bar
|
343
|
+
<p>Top bar now supports <code>data-options</code> configuration.</p>
|
267
344
|
|
268
345
|
<%= code_example "
|
269
346
|
{
|
@@ -271,6 +348,8 @@ $topbar-breakpoint: emCalc(940px); // Change to 9999px for always mobile layout'
|
|
271
348
|
stickyClass : 'sticky',
|
272
349
|
custom_back_text: true, // Set this to false and it will pull the top level link name as the back text
|
273
350
|
back_text: 'Back', // Define what you want your custom back text to be if custom_back_text: true
|
351
|
+
is_hover: true,
|
352
|
+
scrolltop : true, // jump to top when sticky nav menu toggle is clicked
|
274
353
|
init : false
|
275
354
|
}", :js %>
|
276
355
|
</div>
|
@@ -347,7 +347,8 @@ $hr-margin: emCalc(20px);
|
|
347
347
|
|
348
348
|
/* We use these to style lists */
|
349
349
|
$list-style-position: outside;
|
350
|
-
$list-side-margin: emCalc(
|
350
|
+
$list-side-margin: emCalc(20px);
|
351
|
+
$list-nested-margin: emCalc(20px);
|
351
352
|
$definition-list-header-weight: bold;
|
352
353
|
$definition-list-header-margin-bottom: .3em;
|
353
354
|
$definition-list-margin-bottom: emCalc(12px);
|
@@ -61,22 +61,22 @@
|
|
61
61
|
<%= code_example '
|
62
62
|
/* The show classes */
|
63
63
|
.show-for-small /* Visible up to 768px */
|
64
|
-
.show-for-medium-down /* Visible from
|
64
|
+
.show-for-medium-down /* Visible from 768px down */
|
65
65
|
.show-for-medium /* Visible between 768px and 1280px */
|
66
|
-
.show-for-medium-up /* Visible from
|
67
|
-
.show-for-large-down /* Visible from
|
66
|
+
.show-for-medium-up /* Visible from 768px up */
|
67
|
+
.show-for-large-down /* Visible from 1280px down */
|
68
68
|
.show-for-large /* Visible between 1280px and 1440px */
|
69
|
-
.show-for-large-up /* Visible from
|
69
|
+
.show-for-large-up /* Visible from 1280px up */
|
70
70
|
.show-for-xlarge /* Visible above 1440px only */
|
71
71
|
|
72
72
|
/* The hide classes */
|
73
73
|
.hide-for-small /* Hidden up to 768px */
|
74
|
-
.hide-for-medium-down /* Hidden from
|
74
|
+
.hide-for-medium-down /* Hidden from 768px down */
|
75
75
|
.hide-for-medium /* Hidden between 768px and 1280px */
|
76
|
-
.hide-for-medium-up /* Hidden from
|
77
|
-
.hide-for-large-down /* Hidden from
|
76
|
+
.hide-for-medium-up /* Hidden from 768px up */
|
77
|
+
.hide-for-large-down /* Hidden from 1280px down */
|
78
78
|
.hide-for-large /* Hidden between 1280px and 1440px */
|
79
|
-
.hide-for-large-up /* Hidden from
|
79
|
+
.hide-for-large-up /* Hidden from 1280px up */
|
80
80
|
.hide-for-xlarge /* Hidden above 1440px only */
|
81
81
|
|
82
82
|
/* The orientation classes */
|
data/docs/css/normalize.scss
CHANGED
@@ -316,7 +316,7 @@ html input[type="button"], /* 1 */
|
|
316
316
|
input[type="reset"],
|
317
317
|
input[type="submit"] {
|
318
318
|
-webkit-appearance: button; /* 2 */
|
319
|
-
cursor: pointer; /* 3 */
|
319
|
+
cursor: $cursor-pointer-value; /* 3 */
|
320
320
|
}
|
321
321
|
|
322
322
|
/**
|
@@ -325,7 +325,7 @@ input[type="submit"] {
|
|
325
325
|
|
326
326
|
button[disabled],
|
327
327
|
html input[disabled] {
|
328
|
-
cursor: default;
|
328
|
+
cursor: $cursor-default-value;
|
329
329
|
}
|
330
330
|
|
331
331
|
/**
|
data/docs/css/qunit.css
CHANGED
data/docs/img/demos/demo1.jpg
CHANGED
Binary file
|
data/docs/img/demos/demo2.jpg
CHANGED
Binary file
|
data/docs/img/demos/demo3.jpg
CHANGED
Binary file
|
data/docs/img/demos/demo4.jpg
CHANGED
Binary file
|
data/docs/img/demos/demo5.jpg
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/docs/index.html.erb
CHANGED
@@ -126,6 +126,12 @@
|
|
126
126
|
<dd>We've made a dropdown plugin that makes it easy to attach a popover dropdown to any element on the page.</dd>
|
127
127
|
</dl>
|
128
128
|
</div>
|
129
|
+
<div class="large-4 columns end">
|
130
|
+
<dl>
|
131
|
+
<dt><h5><a href="components/dropdown.html">Interchange</a></h5></dt>
|
132
|
+
<dd>This plugin let's you load up the appropriate size image based on media queries that you define.</dd>
|
133
|
+
</dl>
|
134
|
+
</div>
|
129
135
|
</div>
|
130
136
|
|
131
137
|
<hr>
|
@@ -137,7 +143,7 @@
|
|
137
143
|
<div class="large-4 columns">
|
138
144
|
<dl>
|
139
145
|
<dt><h5>css</h5></dt>
|
140
|
-
<dd>Includes <code>foundation.css</code> and <code>foundation.min.css</code> so you can choose which to use. You
|
146
|
+
<dd>Includes <code>foundation.css</code> and <code>foundation.min.css</code> so you can choose which to use. You'll also see <code>normalize.css</code>, which we use for resets. Add another stylesheet on top of Foundation to override defaults.</dd>
|
141
147
|
</dl>
|
142
148
|
</div>
|
143
149
|
<div class="large-4 columns">
|
@@ -181,7 +187,7 @@
|
|
181
187
|
<h6 class="subheader"><strong>Using the Gem?</strong> You'll see a couple extra pieces in your project upon creation. These are:</h6>
|
182
188
|
<dl>
|
183
189
|
<dt>scss/</dt>
|
184
|
-
<dd>Your main style folder is named <strong>scss/</strong> and contains <code>app.scss</code> (which has the foundation gem import and commented portions you can pick and choose
|
190
|
+
<dd>Your main style folder is named <strong>scss/</strong> and contains <code>app.scss</code> (which has the foundation gem import and commented portions you can pick and choose). Override the Foundation styles within your <code>app.scss</code> file. You can see the compiled CSS in your stylesheets directory after you manually <span class="has-tip top" title="$ compass compile <filename>">compile</span> or <span class="has-tip top" title="$ compass watch <directory>">watch</span>. This directory also includes <code>_settings.scss</code>, which is used to control variables that help easily style Foundation. You'll also notice that the directory names are slightly different. Compass defaults to "stylesheets", "javascripts", and "image".</dd>
|
185
191
|
<dt></i>config.rb</dt>
|
186
192
|
<dd>This file is used by <a href="http://compass-style.org">Compass</a> to compile your project. Here you can control the output style of your CSS, the structure of your directories and other useful settings.</dd>
|
187
193
|
</dl>
|
@@ -204,9 +210,11 @@
|
|
204
210
|
<meta name="viewport" content="width=device-width" />
|
205
211
|
<title>Foundation 4</title>
|
206
212
|
|
213
|
+
<!-- If you are using CSS version, only link these 2 files, you may add app.css to use for your overrides if you like. -->
|
207
214
|
<link rel="stylesheet" href="css/normalize.css" />
|
208
|
-
<!-- If you are using CSS version, add this -->
|
209
215
|
<link rel="stylesheet" href="css/foundation.css" />
|
216
|
+
|
217
|
+
<!-- If you are using the gem version, you need this only -->
|
210
218
|
<link rel="stylesheet" href="css/app.css" />
|
211
219
|
|
212
220
|
<script src="js/vendor/custom.modernizr.js"></script>
|
@@ -235,8 +243,9 @@
|
|
235
243
|
<script src="js/foundation/foundation.section.js"></script>
|
236
244
|
<script src="js/foundation/foundation.tooltips.js"></script>
|
237
245
|
<script src="js/foundation/foundation.topbar.js"></script>
|
246
|
+
<script src="js/foundation/foundation.interchange.js"></script>
|
238
247
|
<script>
|
239
|
-
|
248
|
+
$(document).foundation();
|
240
249
|
</script>
|
241
250
|
</body>
|
242
251
|
</html>
|
@@ -259,7 +268,7 @@
|
|
259
268
|
<dt><h5>CSS & Modernizr</h5></dt>
|
260
269
|
<dd>The default CSS download includes everything you need to get going, including necessary styles and our custom Modernizr script.</dd>
|
261
270
|
<dt>CSS</dt>
|
262
|
-
<dd>We include <code>foundation.min.css</code> and <code>foundation.css</code
|
271
|
+
<dd>We include <code>foundation.min.css</code> and <code>foundation.css</code> with a default CSS download. The difference here is whether or not you want minified code or not (link whichever you want, but not both).</dd>
|
263
272
|
</dl>
|
264
273
|
</div>
|
265
274
|
<div class="large-4 columns">
|
data/docs/javascript.html.erb
CHANGED
@@ -46,13 +46,11 @@
|
|
46
46
|
|
47
47
|
<h5>Initialize Foundation</h5>
|
48
48
|
<p>After you have included the Foundation JavaScript, just add a simple call to initialize all plugins on your page.</p>
|
49
|
-
<p>It is recommended that you initialize
|
49
|
+
<p>It is recommended that you initialize Foundation at the end of the page <code><body></code>.</p>
|
50
50
|
|
51
51
|
<%= code_example '
|
52
52
|
<script>
|
53
|
-
$(
|
54
|
-
$(document).foundation();
|
55
|
-
})
|
53
|
+
$(document).foundation();
|
56
54
|
</script>
|
57
55
|
', :html %>
|
58
56
|
|
data/docs/layout.html.erb
CHANGED
data/docs/rails.html.erb
CHANGED
@@ -27,6 +27,9 @@ end
|
|
27
27
|
<div class="panel">
|
28
28
|
<p><strong>NOTE:</strong> Make sure that your restart your server after running <code>bundle install</code>. Otherwise the asset pipeline may not recognize the new Foundation files.</p>
|
29
29
|
</div>
|
30
|
+
|
31
|
+
<h4>Rails 4.0</h4>
|
32
|
+
<p>Rails 4.0 removed the assets group from Gemfile. So make sure to move the zurb-foundation gem out of the assets group, when you're updating your rails app.</p>
|
30
33
|
|
31
34
|
<h4>Easy Install</h4>
|
32
35
|
<p>Simply run <code>rails g foundation:install</code> to configure your application to use Foundation. That's it!</p>
|
@@ -73,4 +76,4 @@ javascript_include_tag "vendor/custom.modernizr"
|
|
73
76
|
<%= render "_sidebar.html.erb" %>
|
74
77
|
</div>
|
75
78
|
</div>
|
76
|
-
</div>
|
79
|
+
</div>
|
data/docs/sass.html.erb
CHANGED
@@ -43,7 +43,9 @@
|
|
43
43
|
<hr>
|
44
44
|
|
45
45
|
<h3>Using Sass Standalone</h3>
|
46
|
-
<p>With Foundation 4, we've removed all dependencies from the framework. This means you can use Foundation with Sass alone and add Compass, Bourbon, or whatever on top of it. To help get going using only Sass, you'll just need to download the <a href="https://github.com/zurb/foundation">files from Github</a>
|
46
|
+
<p>With Foundation 4, we've removed all dependencies from the framework. This means you can use Foundation with Sass alone and add Compass, Bourbon, or whatever on top of it. To help get going using only Sass, you'll just need to download the <a href="https://github.com/zurb/foundation/tree/scss-standalone">files from Github</a> and put them into your project directory. From there you just need to <code>@import</code> the parts of Foundation you need.</p>
|
47
|
+
|
48
|
+
<a class="small button secondary" href="https://github.com/zurb/foundation/tree/scss-standalone">Sass Standalone Branch on Github</a>
|
47
49
|
|
48
50
|
<p>To import all of Foundation:</p>
|
49
51
|
<%= code_example '
|
@@ -209,1042 +211,1291 @@ bundle exec compass create . -r zurb-foundation --using foundation
|
|
209
211
|
|
210
212
|
<hr>
|
211
213
|
|
214
|
+
<a name="codekit"></a>
|
215
|
+
<h3>Compiling with CodeKit</h3>
|
216
|
+
<p>Previous version of Foundation were a bit harder to compile with codekit because of the structure of the Foundation files. We just went through a round of testing with a default project directory, created with the gem. Here are the instructions to follow to get CodeKit working properly:</p>
|
217
|
+
|
218
|
+
<ul>
|
219
|
+
<li>Create a project: <kbd>compass create <em>project-name</em> -r zurb-foundation --using foundation</kbd></li>
|
220
|
+
<li>Open CodeKit and drag that project folder into the side panel or add it with the "+" button.</li>
|
221
|
+
<li>Compile away!</li>
|
222
|
+
</ul>
|
223
|
+
|
224
|
+
<p><em>This works with the default version of Sass and Compass that CodeKit comes with. Since Compass isn't a dependency for Foundation any longer, if you want to use it, make sure you have it installed and @imported at the top of your main .scss file.</em></p>
|
225
|
+
|
226
|
+
<hr>
|
227
|
+
|
212
228
|
<h3>Foundation Global Settings and Mixins</h3>
|
213
229
|
<p>We've included a global settings file that holds variables and mixins that are used throughout the entirety of Foundation. Here's a look at that file:</p>
|
214
230
|
|
215
231
|
<%= code_example '
|
216
|
-
|
217
|
-
// Foundation Variables
|
218
|
-
//
|
232
|
+
/* Foundation Variables */
|
219
233
|
|
220
|
-
|
221
|
-
|
234
|
+
The default font-size is set to 100% of the browser style sheet (usually 16px)
|
235
|
+
for compatibility with browser-based text zoom or user-set defaults.
|
222
236
|
$base-font-size: 100% !default;
|
223
237
|
|
224
|
-
|
238
|
+
$base-line-height is 24px while $base-font-size is 16px
|
239
|
+
$base-line-height: 150%;
|
240
|
+
|
241
|
+
This is the default html and body font-size for the base em value.
|
225
242
|
|
226
|
-
|
227
|
-
|
228
|
-
|
243
|
+
Since the typical default browser font-size is 16px, that makes the calculation for grid size.
|
244
|
+
If you want your base font-size to be a different size and not have it effect grid size too,
|
245
|
+
set the value of $em-base to $base-font-size ($em-base: $base-font-size;)
|
229
246
|
$em-base: 16px !default;
|
230
247
|
|
231
|
-
|
248
|
+
Working in ems is annoying. Think in pixels by using this handy function, emCalc(#px)
|
232
249
|
@function emCalc($pxWidth) {
|
233
250
|
@return $pxWidth / $em-base * 1em;
|
234
251
|
}
|
235
252
|
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
|
835
|
-
|
836
|
-
|
837
|
-
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
|
892
|
-
|
893
|
-
|
894
|
-
|
895
|
-
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
|
900
|
-
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
|
940
|
-
|
941
|
-
|
942
|
-
|
943
|
-
|
944
|
-
|
945
|
-
|
946
|
-
|
947
|
-
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
|
953
|
-
|
954
|
-
|
955
|
-
|
956
|
-
|
957
|
-
|
958
|
-
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
|
967
|
-
|
968
|
-
|
969
|
-
|
970
|
-
|
971
|
-
|
972
|
-
|
973
|
-
|
974
|
-
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
|
981
|
-
|
982
|
-
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
|
991
|
-
|
992
|
-
|
993
|
-
|
994
|
-
|
995
|
-
|
996
|
-
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
1005
|
-
|
1006
|
-
|
1007
|
-
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
1013
|
-
|
1014
|
-
|
1015
|
-
|
1016
|
-
|
1017
|
-
|
1018
|
-
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
|
1023
|
-
|
1024
|
-
|
1025
|
-
|
1026
|
-
|
1027
|
-
|
1028
|
-
|
1029
|
-
|
1030
|
-
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
1034
|
-
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
1041
|
-
|
1042
|
-
|
1043
|
-
|
1044
|
-
|
1045
|
-
|
1046
|
-
|
1047
|
-
|
1048
|
-
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1055
|
-
|
1056
|
-
|
1057
|
-
|
1058
|
-
|
1059
|
-
|
1060
|
-
|
1061
|
-
|
1062
|
-
|
1063
|
-
|
1064
|
-
|
1065
|
-
|
1066
|
-
|
1067
|
-
|
1068
|
-
|
1069
|
-
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1075
|
-
|
1076
|
-
|
1077
|
-
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
|
1085
|
-
|
1086
|
-
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1090
|
-
|
1091
|
-
|
1092
|
-
|
1093
|
-
|
1094
|
-
|
1095
|
-
|
1096
|
-
|
1097
|
-
|
1098
|
-
|
1099
|
-
|
1100
|
-
|
1101
|
-
|
1102
|
-
|
1103
|
-
|
1104
|
-
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1115
|
-
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1119
|
-
|
1120
|
-
|
1121
|
-
|
1122
|
-
|
1123
|
-
|
1124
|
-
|
1125
|
-
|
1126
|
-
|
1127
|
-
|
1128
|
-
|
1129
|
-
|
1130
|
-
|
1131
|
-
|
1132
|
-
|
1133
|
-
|
1134
|
-
|
1135
|
-
|
1136
|
-
|
1137
|
-
|
1138
|
-
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1142
|
-
|
1143
|
-
|
1144
|
-
|
1145
|
-
|
1146
|
-
|
1147
|
-
|
1148
|
-
|
1149
|
-
|
1150
|
-
|
1151
|
-
|
1152
|
-
|
1153
|
-
|
1154
|
-
|
1155
|
-
|
1156
|
-
|
1157
|
-
|
1158
|
-
|
1159
|
-
|
1160
|
-
|
1161
|
-
|
1162
|
-
|
1163
|
-
|
1164
|
-
|
1165
|
-
|
1166
|
-
|
1167
|
-
|
1168
|
-
|
1169
|
-
|
1170
|
-
|
1171
|
-
|
1172
|
-
|
1173
|
-
|
1174
|
-
|
1175
|
-
|
1176
|
-
|
1177
|
-
|
1178
|
-
|
1179
|
-
|
1180
|
-
|
1181
|
-
|
1182
|
-
|
1183
|
-
|
1184
|
-
|
1185
|
-
|
1186
|
-
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
1190
|
-
|
1191
|
-
|
1192
|
-
|
1193
|
-
|
1194
|
-
|
1195
|
-
|
1196
|
-
|
1197
|
-
|
1198
|
-
|
1199
|
-
|
1200
|
-
|
1201
|
-
|
1202
|
-
|
1203
|
-
|
1204
|
-
|
1205
|
-
|
1206
|
-
|
1207
|
-
|
1208
|
-
|
1209
|
-
|
1210
|
-
|
1211
|
-
|
1212
|
-
|
1213
|
-
|
1214
|
-
|
1215
|
-
|
1216
|
-
|
1217
|
-
|
1218
|
-
|
1219
|
-
|
1220
|
-
|
1221
|
-
|
1222
|
-
|
1223
|
-
|
1224
|
-
|
1225
|
-
|
1226
|
-
|
1227
|
-
|
1228
|
-
|
1229
|
-
|
1230
|
-
|
1231
|
-
|
1232
|
-
|
1233
|
-
|
1234
|
-
|
1235
|
-
|
1236
|
-
|
1237
|
-
|
1238
|
-
|
1239
|
-
|
1240
|
-
|
1241
|
-
|
1242
|
-
|
1243
|
-
|
1244
|
-
|
1245
|
-
|
1246
|
-
|
1247
|
-
|
253
|
+
Change whether or not you include browser prefixes
|
254
|
+
$experimental: true !default;
|
255
|
+
|
256
|
+
Various global styles
|
257
|
+
|
258
|
+
$default-float: left;
|
259
|
+
|
260
|
+
$body-bg: #fff;
|
261
|
+
$body-font-color: #222;
|
262
|
+
$body-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
|
263
|
+
$body-font-weight: normal;
|
264
|
+
$body-font-style: normal;
|
265
|
+
|
266
|
+
Font-smoothing
|
267
|
+
|
268
|
+
$font-smoothing: antialiased;
|
269
|
+
|
270
|
+
Text direction settings
|
271
|
+
|
272
|
+
$text-direction: ltr;
|
273
|
+
|
274
|
+
Colors
|
275
|
+
|
276
|
+
$primary-color: #2ba6cb;
|
277
|
+
$secondary-color: #e9e9e9;
|
278
|
+
$alert-color: #c60f13;
|
279
|
+
$success-color: #5da423;
|
280
|
+
|
281
|
+
Make sure border radius matches unless we want it different.
|
282
|
+
|
283
|
+
$global-radius: 3px;
|
284
|
+
$global-rounded: 1000px;
|
285
|
+
|
286
|
+
Inset shadow shiny edges and depressions.
|
287
|
+
|
288
|
+
$shiny-edge-size: 0 1px 0;
|
289
|
+
$shiny-edge-color: rgba(#fff, .5);
|
290
|
+
$shiny-edge-active-color: rgba(#000, .2);
|
291
|
+
|
292
|
+
Control whether or not CSS classes come through in the CSS files.
|
293
|
+
|
294
|
+
$include-html-classes: true;
|
295
|
+
$include-print-styles: true;
|
296
|
+
$include-html-global-classes: $include-html-classes;
|
297
|
+
$include-html-type-classes: $include-html-classes;
|
298
|
+
$include-html-grid-classes: $include-html-classes;
|
299
|
+
$include-html-visibility-classes: $include-html-classes;
|
300
|
+
$include-html-button-classes: $include-html-classes;
|
301
|
+
$include-html-form-classes: $include-html-classes;
|
302
|
+
$include-html-custom-form-classes: $include-html-classes;
|
303
|
+
$include-html-media-classes: $include-html-classes;
|
304
|
+
$include-html-section-classes: $include-html-classes;
|
305
|
+
$include-html-orbit-classes: $include-html-classes;
|
306
|
+
$include-html-reveal-classes: $include-html-classes;
|
307
|
+
$include-html-joyride-classes: $include-html-classes;
|
308
|
+
$include-html-clearing-classes: $include-html-classes;
|
309
|
+
$include-html-alert-classes: $include-html-classes;
|
310
|
+
$include-html-nav-classes: $include-html-classes;
|
311
|
+
$include-html-top-bar-classes: $include-html-classes;
|
312
|
+
$include-html-label-classes: $include-html-classes;
|
313
|
+
$include-html-panel-classes: $include-html-classes;
|
314
|
+
$include-html-pricing-classes: $include-html-classes;
|
315
|
+
$include-html-progress-classes: $include-html-classes;
|
316
|
+
$include-html-magellan-classes: $include-html-classes;
|
317
|
+
$include-html-tooltip-classes: $include-html-classes;
|
318
|
+
|
319
|
+
Media Queries
|
320
|
+
|
321
|
+
$small-screen: 768px;
|
322
|
+
$medium-screen: 1280px;
|
323
|
+
$large-screen: 1440px;
|
324
|
+
|
325
|
+
$screen: "only screen";
|
326
|
+
$small: "only screen and (min-width: #{$small-screen})";
|
327
|
+
$medium: "only screen and (min-width: #{$medium-screen})";
|
328
|
+
$large: "only screen and (min-width: #{$large-screen})";
|
329
|
+
$landscape: "only screen and (orientation: landscape)";
|
330
|
+
$portrait: "only screen and (orientation: portrait)";
|
331
|
+
|
332
|
+
Cursors
|
333
|
+
|
334
|
+
Custom use example -> $cursor-default-value: url(http://cursors-site.net/path/to/custom/cursor/default.cur),progress;
|
335
|
+
|
336
|
+
$cursor-crosshair-value: "crosshair";
|
337
|
+
$cursor-default-value: "default";
|
338
|
+
$cursor-pointer-value: "pointer";
|
339
|
+
$cursor-help-value: "help";
|
340
|
+
|
341
|
+
|
342
|
+
Grid Variables
|
343
|
+
|
344
|
+
|
345
|
+
$row-width: emCalc(1000px);
|
346
|
+
$column-gutter: emCalc(30px);
|
347
|
+
$total-columns: 12;
|
348
|
+
|
349
|
+
|
350
|
+
Block Grid Variables
|
351
|
+
|
352
|
+
|
353
|
+
Maximum number of block grid elements per row
|
354
|
+
|
355
|
+
$block-grid-elements: 12;
|
356
|
+
$block-grid-default-spacing: emCalc(20px);
|
357
|
+
|
358
|
+
Enables media queries for block-grid classes. Set to false if writing semantic HTML.
|
359
|
+
|
360
|
+
$block-grid-media-queries: true;
|
361
|
+
|
362
|
+
|
363
|
+
Typography Variables
|
364
|
+
|
365
|
+
|
366
|
+
Heading font styles
|
367
|
+
|
368
|
+
$header-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
|
369
|
+
$header-font-weight: bold;
|
370
|
+
$header-font-style: normal;
|
371
|
+
$header-font-color: #222;
|
372
|
+
$header-line-height: 1.4;
|
373
|
+
$header-top-margin: .2em;
|
374
|
+
$header-bottom-margin: .5em;
|
375
|
+
$header-text-rendering: optimizeLegibility;
|
376
|
+
|
377
|
+
Heading font sizes
|
378
|
+
|
379
|
+
$h1-font-size: emCalc(44px);
|
380
|
+
$h2-font-size: emCalc(37px);
|
381
|
+
$h3-font-size: emCalc(27px);
|
382
|
+
$h4-font-size: emCalc(23px);
|
383
|
+
$h5-font-size: emCalc(18px);
|
384
|
+
$h6-font-size: 1em;
|
385
|
+
|
386
|
+
Subheaders
|
387
|
+
|
388
|
+
$subheader-line-height: 1.4;
|
389
|
+
$subheader-font-color: lighten($header-font-color, 30%);
|
390
|
+
$subheader-font-weight: 300;
|
391
|
+
$subheader-top-margin: .2em;
|
392
|
+
$subheader-bottom-margin: .5em;
|
393
|
+
|
394
|
+
<small> styling
|
395
|
+
|
396
|
+
$small-font-size: 60%;
|
397
|
+
$small-font-color: lighten($header-font-color, 30%);
|
398
|
+
|
399
|
+
Paragraphs
|
400
|
+
|
401
|
+
$paragraph-font-family: inherit;
|
402
|
+
$paragraph-font-weight: normal;
|
403
|
+
$paragraph-font-size: 1em;
|
404
|
+
$paragraph-line-height: 1.6;
|
405
|
+
$paragraph-margin-bottom: emCalc(20px);
|
406
|
+
$paragraph-aside-font-size: emCalc(14px);
|
407
|
+
$paragraph-aside-line-height: 1.35;
|
408
|
+
$paragraph-aside-font-style: italic;
|
409
|
+
|
410
|
+
<code> tags
|
411
|
+
|
412
|
+
$code-color: darken($alert-color, 15%);
|
413
|
+
$code-font-family: Consolas, "Liberation Mono", Courier, monospace;
|
414
|
+
$code-font-weight: bold;
|
415
|
+
|
416
|
+
Anchors
|
417
|
+
|
418
|
+
$anchor-text-decoration: none;
|
419
|
+
$anchor-font-color: $primary-color;
|
420
|
+
$anchor-font-color-hover: darken($primary-color, 5%);
|
421
|
+
|
422
|
+
<hr> element
|
423
|
+
|
424
|
+
$hr-border-width: 1px;
|
425
|
+
$hr-border-style: solid;
|
426
|
+
$hr-border-color: #ddd;
|
427
|
+
$hr-margin: emCalc(20px);
|
428
|
+
|
429
|
+
Lists
|
430
|
+
|
431
|
+
$list-style-position: outside;
|
432
|
+
$list-side-margin: emCalc(20px);
|
433
|
+
$list-nested-margin: emCalc(20px);
|
434
|
+
$definition-list-header-weight: bold;
|
435
|
+
$definition-list-header-margin-bottom: .3em;
|
436
|
+
$definition-list-margin-bottom: emCalc(12px);
|
437
|
+
|
438
|
+
Blockquotes
|
439
|
+
|
440
|
+
$blockquote-font-color: lighten($header-font-color, 30%);
|
441
|
+
$blockquote-padding: emCalc(9px) emCalc(20px) 0 emCalc(19px);
|
442
|
+
$blockquote-border: 1px solid #ddd;
|
443
|
+
$blockquote-cite-font-size: emCalc(13px);
|
444
|
+
$blockquote-cite-font-color: lighten($header-font-color, 20%);
|
445
|
+
$blockquote-cite-link-color: $blockquote-cite-font-color;
|
446
|
+
|
447
|
+
Acronym
|
448
|
+
|
449
|
+
$acronym-underline: 1px dotted #ddd;
|
450
|
+
|
451
|
+
Padding and margin
|
452
|
+
|
453
|
+
$microformat-padding: emCalc(10px) emCalc(12px);
|
454
|
+
$microformat-margin: 0 0 emCalc(20px) 0;
|
455
|
+
|
456
|
+
Border styles
|
457
|
+
|
458
|
+
$microformat-border-width: 1px;
|
459
|
+
$microformat-border-style: solid;
|
460
|
+
$microformat-border-color: #ddd;
|
461
|
+
|
462
|
+
Full name font styles
|
463
|
+
|
464
|
+
$microformat-fullname-font-weight: bold;
|
465
|
+
$microformat-fullname-font-size: emCalc(15px);
|
466
|
+
|
467
|
+
Summary font styles
|
468
|
+
|
469
|
+
$microformat-summary-font-weight: bold;
|
470
|
+
|
471
|
+
<abbr> padding
|
472
|
+
|
473
|
+
$microformat-abbr-padding: 0 emCalc(1px);
|
474
|
+
|
475
|
+
<abbr> font styles
|
476
|
+
|
477
|
+
$microformat-abbr-font-weight: bold;
|
478
|
+
$microformat-abbr-font-decoration: none;
|
479
|
+
|
480
|
+
|
481
|
+
Form Variables
|
482
|
+
|
483
|
+
|
484
|
+
Base for lots of form spacing and positioning styles
|
485
|
+
|
486
|
+
$form-spacing: emCalc(16px);
|
487
|
+
|
488
|
+
Labels
|
489
|
+
|
490
|
+
$form-label-pointer: pointer;
|
491
|
+
$form-label-font-size: emCalc(14px);
|
492
|
+
$form-label-font-weight: 500;
|
493
|
+
$form-label-font-color: lighten(#000, 30%);
|
494
|
+
$form-label-bottom-margin: emCalc(3px);
|
495
|
+
$input-font-family: inherit;
|
496
|
+
$input-font-color: rgba(0,0,0,0.75);
|
497
|
+
$input-font-size: emCalc(14px);
|
498
|
+
$input-bg-color: #fff;
|
499
|
+
$input-focus-bg-color: darken(#fff, 2%);
|
500
|
+
$input-border-color: darken(#fff, 20%);
|
501
|
+
$input-focus-border-color: darken(#fff, 40%);
|
502
|
+
$input-border-style: solid;
|
503
|
+
$input-border-width: 1px;
|
504
|
+
$input-disabled-bg: #ddd;
|
505
|
+
$input-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
|
506
|
+
$input-include-glowing-effect: true;
|
507
|
+
|
508
|
+
Fieldset border and spacing.
|
509
|
+
|
510
|
+
$fieldset-border-style: solid;
|
511
|
+
$fieldset-border-width: 1px;
|
512
|
+
$fieldset-border-color: #ddd;
|
513
|
+
$fieldset-padding: emCalc(20px);
|
514
|
+
$fieldset-margin: emCalc(18px) 0;
|
515
|
+
|
516
|
+
Legends
|
517
|
+
|
518
|
+
$legend-bg: #fff;
|
519
|
+
$legend-font-weight: bold;
|
520
|
+
$legend-padding: 0 emCalc(3px);
|
521
|
+
|
522
|
+
Prefix and postfix input elements
|
523
|
+
|
524
|
+
$input-prefix-bg: darken(#fff, 5%);
|
525
|
+
$input-prefix-border-color: darken(#fff, 20%);
|
526
|
+
$input-prefix-border-size: 1px;
|
527
|
+
$input-prefix-border-type: solid;
|
528
|
+
$input-prefix-overflow: hidden;
|
529
|
+
$input-prefix-font-color: #333;
|
530
|
+
$input-prefix-font-color-alt: #fff;
|
531
|
+
|
532
|
+
Error states for inputs and labels
|
533
|
+
|
534
|
+
$input-error-message-padding: emCalc(6px) emCalc(4px);
|
535
|
+
$input-error-message-top: -($form-spacing) - emCalc(5px);
|
536
|
+
$input-error-message-font-size: emCalc(12px);
|
537
|
+
$input-error-message-font-weight: bold;
|
538
|
+
$input-error-message-font-color: #fff;
|
539
|
+
$input-error-message-font-color-alt: #333;
|
540
|
+
|
541
|
+
Glowing effect of inputs when focused
|
542
|
+
|
543
|
+
$glowing-effect-fade-time: 0.45s;
|
544
|
+
$glowing-effect-color: $input-focus-border-color;
|
545
|
+
|
546
|
+
|
547
|
+
Button Variables
|
548
|
+
|
549
|
+
|
550
|
+
Padding for buttons.
|
551
|
+
|
552
|
+
$button-tny: emCalc(7px);
|
553
|
+
$button-sml: emCalc(9px);
|
554
|
+
$button-med: emCalc(12px);
|
555
|
+
$button-lrg: emCalc(16px);
|
556
|
+
|
557
|
+
Display property.
|
558
|
+
|
559
|
+
$button-display: inline-block;
|
560
|
+
$button-margin-bottom: emCalc(20px);
|
561
|
+
|
562
|
+
Button text styles.
|
563
|
+
|
564
|
+
$button-font-family: inherit;
|
565
|
+
$button-font-color: #fff;
|
566
|
+
$button-font-color-alt: #333;
|
567
|
+
$button-font-med: emCalc(16px);
|
568
|
+
$button-font-tny: emCalc(11px);
|
569
|
+
$button-font-sml: emCalc(13px);
|
570
|
+
$button-font-lrg: emCalc(20px);
|
571
|
+
$button-font-weight: bold;
|
572
|
+
$button-font-align: center;
|
573
|
+
|
574
|
+
Various hover effects.
|
575
|
+
|
576
|
+
$button-function-factor: 10%;
|
577
|
+
|
578
|
+
Button border styles.
|
579
|
+
|
580
|
+
$button-border-width: 1px;
|
581
|
+
$button-border-style: solid;
|
582
|
+
$button-border-color: darken($primary-color, $button-function-factor);
|
583
|
+
|
584
|
+
Radius used throughout the core.
|
585
|
+
|
586
|
+
$button-radius: $global-radius;
|
587
|
+
|
588
|
+
Opacity for disabled buttons.
|
589
|
+
|
590
|
+
$button-disabled-opacity: 0.6;
|
591
|
+
|
592
|
+
|
593
|
+
Button Groups
|
594
|
+
|
595
|
+
|
596
|
+
Sets the margin for the right side by default, and the left margin if right-to-left direction is used
|
597
|
+
|
598
|
+
$button-bar-margin-opposite: emCalc(10px);
|
599
|
+
|
600
|
+
|
601
|
+
Dropdown Button Variables
|
602
|
+
|
603
|
+
|
604
|
+
Color of the pip in dropdown buttons
|
605
|
+
|
606
|
+
$dropdown-button-pip-color: #fff;
|
607
|
+
$dropdown-button-pip-color-alt: #333;
|
608
|
+
|
609
|
+
Tiny dropdown buttons
|
610
|
+
|
611
|
+
$dropdown-button-padding-tny: $button-tny * 5;
|
612
|
+
$dropdown-button-pip-size-tny: $button-tny;
|
613
|
+
$dropdown-button-pip-right-tny: $button-tny * 2;
|
614
|
+
$dropdown-button-pip-top-tny: -$button-tny / 2 + emCalc(1px);
|
615
|
+
|
616
|
+
Small dropdown buttons
|
617
|
+
|
618
|
+
$dropdown-button-padding-sml: $button-sml * 5;
|
619
|
+
$dropdown-button-pip-size-sml: $button-sml;
|
620
|
+
$dropdown-button-pip-right-sml: $button-sml * 2;
|
621
|
+
$dropdown-button-pip-top-sml: -$button-sml / 2 + emCalc(1px);
|
622
|
+
|
623
|
+
Medium dropdown buttons
|
624
|
+
|
625
|
+
$dropdown-button-padding-med: $button-med * 4 + emCalc(3px);
|
626
|
+
$dropdown-button-pip-size-med: $button-med - emCalc(3px);
|
627
|
+
$dropdown-button-pip-right-med: $button-med * 2;
|
628
|
+
$dropdown-button-pip-top-med: -$button-med / 2 + emCalc(2px);
|
629
|
+
|
630
|
+
Large dropdown buttons
|
631
|
+
|
632
|
+
$dropdown-button-padding-lrg: $button-lrg * 4;
|
633
|
+
$dropdown-button-pip-size-lrg: $button-lrg - emCalc(6px);
|
634
|
+
$dropdown-button-pip-right-lrg: $button-lrg + emCalc(12px);
|
635
|
+
$dropdown-button-pip-top-lrg: -$button-lrg / 2 + emCalc(3px);
|
636
|
+
|
637
|
+
|
638
|
+
Split Button Variables
|
639
|
+
|
640
|
+
|
641
|
+
Shared styles for Split Buttons
|
642
|
+
|
643
|
+
$split-button-function-factor: 15%;
|
644
|
+
$split-button-pip-color: #fff;
|
645
|
+
$split-button-pip-color-alt: #333;
|
646
|
+
$split-button-active-bg-tint: rgba(0,0,0,0.1);
|
647
|
+
|
648
|
+
Tiny split buttons
|
649
|
+
|
650
|
+
$split-button-padding-tny: $button-tny * 9;
|
651
|
+
$split-button-span-width-tny: $button-tny * 6.5;
|
652
|
+
$split-button-pip-size-tny: $button-tny;
|
653
|
+
$split-button-pip-top-tny: $button-tny * 2;
|
654
|
+
$split-button-pip-left-tny: emCalc(-5px);
|
655
|
+
|
656
|
+
Small split buttons
|
657
|
+
|
658
|
+
$split-button-padding-sml: $button-sml * 7;
|
659
|
+
$split-button-span-width-sml: $button-sml * 5;
|
660
|
+
$split-button-pip-size-sml: $button-sml;
|
661
|
+
$split-button-pip-top-sml: $button-sml * 1.5;
|
662
|
+
$split-button-pip-left-sml: emCalc(-9px);
|
663
|
+
|
664
|
+
Medium split buttons
|
665
|
+
|
666
|
+
$split-button-padding-med: $button-med * 6.4;
|
667
|
+
$split-button-span-width-med: $button-med * 4;
|
668
|
+
$split-button-pip-size-med: $button-med - emCalc(3px);
|
669
|
+
$split-button-pip-top-med: $button-med * 1.5;
|
670
|
+
$split-button-pip-left-med: emCalc(-9px);
|
671
|
+
|
672
|
+
Large split buttons
|
673
|
+
|
674
|
+
$split-button-padding-lrg: $button-lrg * 6;
|
675
|
+
$split-button-span-width-lrg: $button-lrg * 3.75;
|
676
|
+
$split-button-pip-size-lrg: $button-lrg - emCalc(6px);
|
677
|
+
$split-button-pip-top-lrg: $button-lrg + emCalc(5px);
|
678
|
+
$split-button-pip-left-lrg: emCalc(-9px);
|
679
|
+
|
680
|
+
|
681
|
+
Alert Variables
|
682
|
+
|
683
|
+
|
684
|
+
Alert padding
|
685
|
+
|
686
|
+
$alert-padding-top: emCalc(11px);
|
687
|
+
$alert-padding-default-float: $alert-padding-top;
|
688
|
+
$alert-padding-opposite-direction: $alert-padding-top + emCalc(10px);
|
689
|
+
$alert-padding-bottom: $alert-padding-top + emCalc(1px);
|
690
|
+
|
691
|
+
Text style
|
692
|
+
|
693
|
+
$alert-font-weight: bold;
|
694
|
+
$alert-font-size: emCalc(14px);
|
695
|
+
$alert-font-color: #fff;
|
696
|
+
$alert-font-color-alt: darken($secondary-color, 60%);
|
697
|
+
|
698
|
+
Hover effect
|
699
|
+
|
700
|
+
$alert-function-factor: 10%;
|
701
|
+
|
702
|
+
Border Styles
|
703
|
+
|
704
|
+
$alert-border-style: solid;
|
705
|
+
$alert-border-width: 1px;
|
706
|
+
$alert-border-color: darken($primary-color, $alert-function-factor);
|
707
|
+
$alert-bottom-margin: emCalc(20px);
|
708
|
+
|
709
|
+
Close Button style
|
710
|
+
|
711
|
+
$alert-close-color: #333;
|
712
|
+
$alert-close-position: emCalc(5px);
|
713
|
+
$alert-close-font-size: emCalc(22px);
|
714
|
+
$alert-close-opacity: 0.3;
|
715
|
+
$alert-close-opacity-hover: 0.5;
|
716
|
+
$alert-close-padding: 5px 4px 4px;
|
717
|
+
|
718
|
+
Border radius
|
719
|
+
|
720
|
+
$alert-radius: $global-radius;
|
721
|
+
|
722
|
+
|
723
|
+
|
724
|
+
Breadcrumb Variables
|
725
|
+
|
726
|
+
|
727
|
+
Background color for the breadcrumb container.
|
728
|
+
|
729
|
+
$crumb-bg: lighten($secondary-color, 5%);
|
730
|
+
|
731
|
+
Padding around the breadcrumbs.
|
732
|
+
|
733
|
+
$crumb-padding: emCalc(6px) emCalc(14px) emCalc(9px);
|
734
|
+
$crumb-side-padding: emCalc(12px);
|
735
|
+
|
736
|
+
Border styles.
|
737
|
+
|
738
|
+
$crumb-function-factor: 10%;
|
739
|
+
$crumb-border-size: 1px;
|
740
|
+
$crumb-border-style: solid;
|
741
|
+
$crumb-border-color: darken($crumb-bg, $crumb-function-factor);
|
742
|
+
$crumb-radius: $global-radius;
|
743
|
+
|
744
|
+
Various text styles for breadcrumbs.
|
745
|
+
|
746
|
+
$crumb-font-size: emCalc(11px);
|
747
|
+
$crumb-font-color: $primary-color;
|
748
|
+
$crumb-font-color-current: #333;
|
749
|
+
$crumb-font-color-unavailable: #999;
|
750
|
+
$crumb-font-transform: uppercase;
|
751
|
+
$crumb-link-decor: underline;
|
752
|
+
|
753
|
+
Slash between breadcrumbs
|
754
|
+
|
755
|
+
$crumb-slash-color: #aaa;
|
756
|
+
$crumb-slash: "/";
|
757
|
+
|
758
|
+
|
759
|
+
Clearing Variables
|
760
|
+
|
761
|
+
|
762
|
+
Background colors for parts of Clearing.
|
763
|
+
|
764
|
+
$clearing-bg: #111;
|
765
|
+
$clearing-caption-bg: $clearing-bg;
|
766
|
+
$clearing-carousel-bg: #111;
|
767
|
+
$clearing-img-bg: $clearing-bg;
|
768
|
+
|
769
|
+
Close button
|
770
|
+
|
771
|
+
$clearing-close-color: #fff;
|
772
|
+
$clearing-close-size: 40px;
|
773
|
+
|
774
|
+
Style the arrows
|
775
|
+
|
776
|
+
$clearing-arrow-size: 16px;
|
777
|
+
$clearing-arrow-color: $clearing-close-color;
|
778
|
+
|
779
|
+
Style captions
|
780
|
+
|
781
|
+
$clearing-caption-font-color: #fff;
|
782
|
+
$clearing-caption-padding: 10px 30px;
|
783
|
+
|
784
|
+
Make the image and carousel height and style
|
785
|
+
|
786
|
+
$clearing-active-img-height: 75%;
|
787
|
+
$clearing-carousel-height: 150px;
|
788
|
+
$clearing-carousel-thumb-width: 175px;
|
789
|
+
$clearing-carousel-thumb-active-border: 4px solid rgb(255,255,255);
|
790
|
+
|
791
|
+
|
792
|
+
Custom Form Variables
|
793
|
+
|
794
|
+
|
795
|
+
Basic form styles input styles
|
796
|
+
|
797
|
+
$custom-form-border-color: #ccc;
|
798
|
+
$custom-form-border-size: 1px;
|
799
|
+
$custom-form-bg: #fff;
|
800
|
+
$custom-form-bg-disabled: #ddd;
|
801
|
+
$custom-form-input-size: 16px;
|
802
|
+
$custom-form-check-color: #222;
|
803
|
+
$custom-form-check-size: 14px;
|
804
|
+
$custom-form-radio-size: 8px;
|
805
|
+
$custom-form-checkbox-radius: 0px;
|
806
|
+
|
807
|
+
Custom select form element.
|
808
|
+
|
809
|
+
$custom-select-bg: #fff;
|
810
|
+
$custom-select-fade-to-color: #f3f3f3;
|
811
|
+
$custom-select-border-color: #ddd;
|
812
|
+
$custom-select-triangle-color: #aaa;
|
813
|
+
$custom-select-triangle-color-open: #222;
|
814
|
+
$custom-select-height: emCalc(13px) + ($form-spacing * 1.5);
|
815
|
+
$custom-select-margin-bottom: emCalc(20px);
|
816
|
+
$custom-select-font-color-selected: #141414;
|
817
|
+
$custom-select-disabled-color: #888;
|
818
|
+
|
819
|
+
Custom select dropdown element.
|
820
|
+
|
821
|
+
$custom-dropdown-height: 200px;
|
822
|
+
$custom-dropdown-bg: #fff;
|
823
|
+
$custom-dropdown-border-color: darken(#fff, 20%);
|
824
|
+
$custom-dropdown-border-width: 1px;
|
825
|
+
$custom-dropdown-border-style: solid;
|
826
|
+
$custom-dropdown-font-color: #555;
|
827
|
+
$custom-dropdown-font-size: emCalc(14px);
|
828
|
+
$custom-dropdown-color-selected: #eeeeee;
|
829
|
+
$custom-dropdown-font-color-selected: #000;
|
830
|
+
$custom-dropdown-shadow: 0 2px 2px 0px rgba(0,0,0,0.1);
|
831
|
+
$custom-dropdown-offset-top: none;
|
832
|
+
$custom-dropdown-list-padding: emCalc(4px);
|
833
|
+
$custom-dropdown-left-padding: emCalc(6px);
|
834
|
+
$custom-dropdown-right-padding: emCalc(38px);
|
835
|
+
$custom-dropdown-list-item-min-height: emCalc(24px);
|
836
|
+
|
837
|
+
|
838
|
+
Dropdown Variables
|
839
|
+
|
840
|
+
|
841
|
+
Height and width styles.
|
842
|
+
|
843
|
+
$f-dropdown-max-width: 200px;
|
844
|
+
$f-dropdown-height: auto;
|
845
|
+
$f-dropdown-max-height: none;
|
846
|
+
$f-dropdown-margin-top: 2px;
|
847
|
+
|
848
|
+
Background color
|
849
|
+
|
850
|
+
$f-dropdown-bg: #fff;
|
851
|
+
|
852
|
+
Border styles for dropdowns.
|
853
|
+
|
854
|
+
$f-dropdown-border-style: solid;
|
855
|
+
$f-dropdown-border-width: 1px;
|
856
|
+
$f-dropdown-border-color: darken(#fff, 20%);
|
857
|
+
|
858
|
+
Triangle pip.
|
859
|
+
|
860
|
+
$f-dropdown-triangle-size: 6px;
|
861
|
+
$f-dropdown-triangle-color: #fff;
|
862
|
+
$f-dropdown-triangle-side-offset: 10px;
|
863
|
+
|
864
|
+
List elements.
|
865
|
+
|
866
|
+
$f-dropdown-list-style: none;
|
867
|
+
$f-dropdown-font-color: #555;
|
868
|
+
$f-dropdown-font-size: emCalc(14px);
|
869
|
+
$f-dropdown-list-padding: emCalc(5px) emCalc(10px);
|
870
|
+
$f-dropdown-line-height: emCalc(18px);
|
871
|
+
$f-dropdown-list-hover-bg: #eeeeee;
|
872
|
+
$dropdown-mobile-left: 0;
|
873
|
+
|
874
|
+
When the dropdown has custom content.
|
875
|
+
|
876
|
+
$f-dropdown-content-padding: emCalc(20px);
|
877
|
+
|
878
|
+
|
879
|
+
Flex Video Variables
|
880
|
+
|
881
|
+
|
882
|
+
Video container padding and margins
|
883
|
+
|
884
|
+
$flex-video-padding-top: emCalc(25px);
|
885
|
+
$flex-video-padding-bottom: 67.5%;
|
886
|
+
$flex-video-margin-bottom: emCalc(16px);
|
887
|
+
|
888
|
+
Widescreen bottom padding
|
889
|
+
|
890
|
+
$flex-video-widescreen-padding-bottom: 57.25%;
|
891
|
+
|
892
|
+
|
893
|
+
Inline List Variables
|
894
|
+
|
895
|
+
|
896
|
+
Margins and padding of the inline list.
|
897
|
+
|
898
|
+
$inline-list-margin-bottom: emCalc(17px) emCalc(-22px );
|
899
|
+
$inline-list-margin: 0 0;
|
900
|
+
$inline-list-padding: 0;
|
901
|
+
|
902
|
+
Overflow of the inline list.
|
903
|
+
|
904
|
+
$inline-list-overflow: hidden;
|
905
|
+
|
906
|
+
List items
|
907
|
+
|
908
|
+
$inline-list-display: block;
|
909
|
+
|
910
|
+
Elments within list items
|
911
|
+
|
912
|
+
$inline-list-children-display: block;
|
913
|
+
|
914
|
+
|
915
|
+
Joyride Variables
|
916
|
+
|
917
|
+
|
918
|
+
Joyride styles
|
919
|
+
|
920
|
+
$joyride-tip-bg: rgb(0,0,0);
|
921
|
+
$joyride-tip-default-width: 300px;
|
922
|
+
$joyride-tip-padding: emCalc(18px) emCalc(20px) emCalc(24px);
|
923
|
+
$joyride-tip-border: solid 1px #555;
|
924
|
+
$joyride-tip-radius: 4px;
|
925
|
+
$joyride-tip-position-offset: 22px;
|
926
|
+
|
927
|
+
Tip font styles
|
928
|
+
|
929
|
+
$joyride-tip-font-color: #fff;
|
930
|
+
$joyride-tip-font-size: emCalc(14px);
|
931
|
+
$joyride-tip-header-weight: bold;
|
932
|
+
|
933
|
+
Changes the nub size
|
934
|
+
|
935
|
+
$joyride-tip-nub-size: 14px;
|
936
|
+
|
937
|
+
Adjusts the styles for the timer when its enabled
|
938
|
+
|
939
|
+
$joyride-tip-timer-width: 50px;
|
940
|
+
$joyride-tip-timer-height: 3px;
|
941
|
+
$joyride-tip-timer-color: #666;
|
942
|
+
|
943
|
+
Changes up the styles for the close button
|
944
|
+
|
945
|
+
$joyride-tip-close-color: #777;
|
946
|
+
$joyride-tip-close-size: 30px;
|
947
|
+
$joyride-tip-close-weight: normal;
|
948
|
+
|
949
|
+
When Joyride is filling the screen, style for the bg
|
950
|
+
|
951
|
+
$joyride-screenfill: rgba(0,0,0,0.5);
|
952
|
+
|
953
|
+
|
954
|
+
Keystroke Variables
|
955
|
+
|
956
|
+
|
957
|
+
Text styles.
|
958
|
+
|
959
|
+
$keystroke-font: "Consolas", "Menlo", "Courier", monospace;
|
960
|
+
$keystroke-font-size: emCalc(15px);
|
961
|
+
$keystroke-font-color: #222;
|
962
|
+
$keystroke-font-color-alt: #fff;
|
963
|
+
$keystroke-function-factor: 7%;
|
964
|
+
|
965
|
+
Keystroke padding.
|
966
|
+
|
967
|
+
$keystroke-padding: emCalc(2px) emCalc(4px) emCalc(0px);
|
968
|
+
|
969
|
+
Background and border styles.
|
970
|
+
|
971
|
+
$keystroke-bg: darken(#fff, $keystroke-function-factor);
|
972
|
+
$keystroke-border-style: solid;
|
973
|
+
$keystroke-border-width: 1px;
|
974
|
+
$keystroke-border-color: darken($keystroke-bg, $keystroke-function-factor);
|
975
|
+
$keystroke-radius: $global-radius;
|
976
|
+
|
977
|
+
|
978
|
+
Label Variables
|
979
|
+
|
980
|
+
|
981
|
+
Style the labels
|
982
|
+
|
983
|
+
$label-padding: emCalc(3px) emCalc(10px) emCalc(4px);
|
984
|
+
$label-radius: $global-radius;
|
985
|
+
|
986
|
+
We use these to style the label text
|
987
|
+
|
988
|
+
$label-font-sizing: emCalc(14px);
|
989
|
+
$label-font-weight: bold;
|
990
|
+
$label-font-color: #333;
|
991
|
+
$label-font-color-alt: #fff;
|
992
|
+
|
993
|
+
|
994
|
+
Magellan Variables
|
995
|
+
|
996
|
+
|
997
|
+
Basic visual styles
|
998
|
+
|
999
|
+
$magellan-bg: #fff;
|
1000
|
+
$magellan-padding: 10px;
|
1001
|
+
|
1002
|
+
|
1003
|
+
Orbit Settings
|
1004
|
+
|
1005
|
+
|
1006
|
+
Caption styles
|
1007
|
+
|
1008
|
+
$orbit-container-bg: #f5f5f5;
|
1009
|
+
$orbit-caption-bg-old: rgb(0,0,0);
|
1010
|
+
$orbit-caption-bg: rgba(0,0,0,0.6);
|
1011
|
+
$orbit-caption-font-color: #fff;
|
1012
|
+
|
1013
|
+
Left/right nav styles
|
1014
|
+
|
1015
|
+
$orbit-nav-bg-old: rgb(0,0,0);
|
1016
|
+
$orbit-nav-bg: rgba(0,0,0,0.6);
|
1017
|
+
|
1018
|
+
Timer styles
|
1019
|
+
|
1020
|
+
$orbit-timer-bg-old: rgb(0,0,0);
|
1021
|
+
$orbit-timer-bg: rgba(0,0,0,0.6);
|
1022
|
+
|
1023
|
+
Bullet nav styles
|
1024
|
+
|
1025
|
+
$orbit-bullet-nav-color: #999;
|
1026
|
+
$orbit-bullet-nav-color-active: #222;
|
1027
|
+
|
1028
|
+
Slide numbers
|
1029
|
+
|
1030
|
+
$orbit-slide-number-bg: rgba(0,0,0,0);
|
1031
|
+
$orbit-slide-number-font-color: #fff;
|
1032
|
+
$orbit-slide-number-padding: emCalc(5px);
|
1033
|
+
|
1034
|
+
Graceful Loading Wrapper and preloader
|
1035
|
+
|
1036
|
+
$wrapper-class: "slideshow-wrapper";
|
1037
|
+
$preloader-class: "preloader" ;
|
1038
|
+
|
1039
|
+
|
1040
|
+
Pagination Variables
|
1041
|
+
|
1042
|
+
|
1043
|
+
Pagination container
|
1044
|
+
|
1045
|
+
$pagination-height: emCalc(24px);
|
1046
|
+
$pagination-margin: emCalc(-5px);
|
1047
|
+
|
1048
|
+
List-item properties
|
1049
|
+
|
1050
|
+
$pagination-li-float: $default-float;
|
1051
|
+
$pagination-li-height: emCalc(24px);
|
1052
|
+
$pagination-li-font-color: #222;
|
1053
|
+
$pagination-li-font-size: emCalc(14px);
|
1054
|
+
$pagination-li-margin: emCalc(5px);
|
1055
|
+
|
1056
|
+
Pagination anchor links
|
1057
|
+
|
1058
|
+
$pagination-link-pad: emCalc(1px) emCalc(7px) emCalc(1px);
|
1059
|
+
$pagination-link-font-color: #999;
|
1060
|
+
$pagination-link-active-bg: darken(#fff, 10%);
|
1061
|
+
|
1062
|
+
Disabled anchor links
|
1063
|
+
|
1064
|
+
$pagination-link-unavailable-cursor: $cursor-default-value;
|
1065
|
+
$pagination-link-unavailable-font-color: #999;
|
1066
|
+
$pagination-link-unavailable-bg-active: transparent;
|
1067
|
+
|
1068
|
+
Currently selected anchor links
|
1069
|
+
|
1070
|
+
$pagination-link-current-background: $primary-color;
|
1071
|
+
$pagination-link-current-font-color: #fff;
|
1072
|
+
$pagination-link-current-font-weight: bold;
|
1073
|
+
$pagination-link-current-cursor: $cursor-default-value;
|
1074
|
+
$pagination-link-current-active-bg: $primary-color;
|
1075
|
+
|
1076
|
+
|
1077
|
+
Panel Variables
|
1078
|
+
|
1079
|
+
|
1080
|
+
Background and border styles
|
1081
|
+
|
1082
|
+
$panel-bg: darken(#fff, 5%);
|
1083
|
+
$panel-border-style: solid;
|
1084
|
+
$panel-border-size: 1px;
|
1085
|
+
|
1086
|
+
Control how much we darken things on hover
|
1087
|
+
|
1088
|
+
$panel-function-factor: 10%;
|
1089
|
+
$panel-border-color: darken($panel-bg, $panel-function-factor);
|
1090
|
+
|
1091
|
+
Inner padding and bottom margin
|
1092
|
+
|
1093
|
+
$panel-margin-bottom: emCalc(20px);
|
1094
|
+
$panel-padding: emCalc(20px);
|
1095
|
+
|
1096
|
+
Font colors
|
1097
|
+
|
1098
|
+
$panel-font-color: #333;
|
1099
|
+
$panel-font-color-alt: #fff;
|
1100
|
+
|
1101
|
+
|
1102
|
+
Pricing Table Variables
|
1103
|
+
|
1104
|
+
|
1105
|
+
Border color
|
1106
|
+
|
1107
|
+
$price-table-border: solid 1px #ddd;
|
1108
|
+
|
1109
|
+
Bottom margin of the pricing table
|
1110
|
+
|
1111
|
+
$price-table-margin-bottom: emCalc(20px);
|
1112
|
+
|
1113
|
+
Control the title styles
|
1114
|
+
|
1115
|
+
$price-title-bg: #ddd;
|
1116
|
+
$price-title-padding: emCalc(15px) emCalc(20px);
|
1117
|
+
$price-title-align: center;
|
1118
|
+
$price-title-color: #333;
|
1119
|
+
$price-title-weight: bold;
|
1120
|
+
$price-title-size: emCalc(16px);
|
1121
|
+
|
1122
|
+
Control the price styles
|
1123
|
+
|
1124
|
+
$price-money-bg: #eee;
|
1125
|
+
$price-money-padding: emCalc(15px) emCalc(20px);
|
1126
|
+
$price-money-align: center;
|
1127
|
+
$price-money-color: #333;
|
1128
|
+
$price-money-weight: normal;
|
1129
|
+
$price-money-size: emCalc(20px);
|
1130
|
+
|
1131
|
+
Description styles
|
1132
|
+
|
1133
|
+
$price-bg: #fff;
|
1134
|
+
$price-desc-color: #777;
|
1135
|
+
$price-desc-padding: emCalc(15px);
|
1136
|
+
$price-desc-align: center;
|
1137
|
+
$price-desc-font-size: emCalc(12px);
|
1138
|
+
$price-desc-weight: normal;
|
1139
|
+
$price-desc-line-height: 1.4;
|
1140
|
+
$price-desc-bottom-border: dotted 1px #ddd;
|
1141
|
+
|
1142
|
+
List item styles
|
1143
|
+
|
1144
|
+
$price-item-color: #333;
|
1145
|
+
$price-item-padding: emCalc(15px);
|
1146
|
+
$price-item-align: center;
|
1147
|
+
$price-item-font-size: emCalc(14px);
|
1148
|
+
$price-item-weight: normal;
|
1149
|
+
$price-item-bottom-border: dotted 1px #ddd;
|
1150
|
+
|
1151
|
+
CTA area styles
|
1152
|
+
|
1153
|
+
$price-cta-bg: #f5f5f5;
|
1154
|
+
$price-cta-align: center;
|
1155
|
+
$price-cta-padding: emCalc(20px) emCalc(20px) 0;
|
1156
|
+
|
1157
|
+
|
1158
|
+
Progress Bar Variables
|
1159
|
+
|
1160
|
+
|
1161
|
+
Progress bar height
|
1162
|
+
|
1163
|
+
$progress-bar-height: emCalc(25px);
|
1164
|
+
$progress-bar-color: transparent;
|
1165
|
+
|
1166
|
+
Border styles
|
1167
|
+
|
1168
|
+
$progress-bar-border-color: darken(#fff, 20%);
|
1169
|
+
$progress-bar-border-size: 1px;
|
1170
|
+
$progress-bar-border-style: solid;
|
1171
|
+
$progress-bar-border-radius: $global-radius;
|
1172
|
+
|
1173
|
+
Margin & padding
|
1174
|
+
|
1175
|
+
$progress-bar-pad: emCalc(2px);
|
1176
|
+
$progress-bar-margin-bottom: emCalc(10px);
|
1177
|
+
|
1178
|
+
Meter colors
|
1179
|
+
|
1180
|
+
$progress-meter-color: $primary-color;
|
1181
|
+
$progress-meter-secondary-color: $secondary-color;
|
1182
|
+
$progress-meter-success-color: $success-color;
|
1183
|
+
$progress-meter-alert-color: $alert-color;
|
1184
|
+
|
1185
|
+
|
1186
|
+
Reveal Variables
|
1187
|
+
|
1188
|
+
|
1189
|
+
Reveal overlay.
|
1190
|
+
|
1191
|
+
$reveal-overlay-bg: rgba(#000, .45);
|
1192
|
+
$reveal-overlay-bg-old: #000;
|
1193
|
+
|
1194
|
+
Modal itself.
|
1195
|
+
|
1196
|
+
$reveal-modal-bg: #fff;
|
1197
|
+
$reveal-position-top: 50px;
|
1198
|
+
$reveal-default-width: 80%;
|
1199
|
+
$reveal-modal-padding: emCalc(20px);
|
1200
|
+
$reveal-box-shadow: 0 0 10px rgba(#000,.4);
|
1201
|
+
|
1202
|
+
Reveal close button
|
1203
|
+
|
1204
|
+
$reveal-close-font-size: emCalc(22px);
|
1205
|
+
$reveal-close-top: emCalc(8px);
|
1206
|
+
$reveal-close-side: emCalc(11px);
|
1207
|
+
$reveal-close-color: #aaa;
|
1208
|
+
$reveal-close-weight: bold;
|
1209
|
+
|
1210
|
+
Modal border
|
1211
|
+
|
1212
|
+
$reveal-border-style: solid;
|
1213
|
+
$reveal-border-width: 1px;
|
1214
|
+
$reveal-border-color: #666;
|
1215
|
+
|
1216
|
+
$reveal-modal-class: "reveal-modal";
|
1217
|
+
$close-reveal-modal-class: "close-reveal-modal";
|
1218
|
+
|
1219
|
+
|
1220
|
+
Section Variables
|
1221
|
+
|
1222
|
+
|
1223
|
+
Padding and hover factor
|
1224
|
+
|
1225
|
+
$section-title-padding: emCalc(15px);
|
1226
|
+
$section-content-padding: emCalc(15px);
|
1227
|
+
$section-function-factor: 10%;
|
1228
|
+
|
1229
|
+
Titles
|
1230
|
+
|
1231
|
+
$section-title-color: #333;
|
1232
|
+
$section-title-bg: #efefef;
|
1233
|
+
$section-title-bg-active: darken($section-title-bg, $section-function-factor);
|
1234
|
+
$section-title-bg-active-tabs: #fff;
|
1235
|
+
$section-title-bg-hover: darken($section-title-bg, $section-function-factor/2);
|
1236
|
+
|
1237
|
+
Border size
|
1238
|
+
|
1239
|
+
$section-border-size: 1px;
|
1240
|
+
$section-border-style: solid;
|
1241
|
+
$section-border-color: #ccc;
|
1242
|
+
|
1243
|
+
Font controls
|
1244
|
+
|
1245
|
+
$section-font-size: emCalc(14px);
|
1246
|
+
|
1247
|
+
Control the color of the background and some size options
|
1248
|
+
|
1249
|
+
$section-content-bg: #fff;
|
1250
|
+
$section-vertical-nav-min-width: emCalc(200px);
|
1251
|
+
$section-vertical-tabs-title-width: emCalc(200px);
|
1252
|
+
$section-bottom-margin: emCalc(20px);
|
1253
|
+
|
1254
|
+
$title-selector: ".title";
|
1255
|
+
$content-selector: ".content";
|
1256
|
+
|
1257
|
+
|
1258
|
+
Side Nav Variables
|
1259
|
+
|
1260
|
+
|
1261
|
+
Padding
|
1262
|
+
|
1263
|
+
$side-nav-padding: emCalc(14px) 0;
|
1264
|
+
|
1265
|
+
List styles
|
1266
|
+
|
1267
|
+
$side-nav-list-type: none;
|
1268
|
+
$side-nav-list-position: inside;
|
1269
|
+
$side-nav-list-margin: 0 0 emCalc(7px) 0;
|
1270
|
+
|
1271
|
+
Link styles
|
1272
|
+
|
1273
|
+
$side-nav-link-color: $primary-color;
|
1274
|
+
$side-nav-link-color-active: lighten(#000, 30%);
|
1275
|
+
$side-nav-font-size: emCalc(14px);
|
1276
|
+
$side-nav-font-weight: bold;
|
1277
|
+
|
1278
|
+
Border styles
|
1279
|
+
|
1280
|
+
$side-nav-divider-size: 1px;
|
1281
|
+
$side-nav-divider-style: solid;
|
1282
|
+
$side-nav-divider-color: darken(#fff, 10%);
|
1283
|
+
|
1284
|
+
|
1285
|
+
Sub Nav Variables
|
1286
|
+
|
1287
|
+
|
1288
|
+
Margin and padding
|
1289
|
+
|
1290
|
+
$sub-nav-list-margin: emCalc(-4px) 0 emCalc(18px);
|
1291
|
+
$sub-nav-list-padding-top: emCalc(4px);
|
1292
|
+
|
1293
|
+
Definition
|
1294
|
+
|
1295
|
+
$sub-nav-font-size: emCalc(14px);
|
1296
|
+
$sub-nav-font-color: #999;
|
1297
|
+
$sub-nav-font-weight: normal;
|
1298
|
+
$sub-nav-text-decoration: none;
|
1299
|
+
$sub-nav-border-radius: 1000px;
|
1300
|
+
|
1301
|
+
Active item styles
|
1302
|
+
|
1303
|
+
$sub-nav-active-font-weight: bold;
|
1304
|
+
$sub-nav-active-bg: $primary-color;
|
1305
|
+
$sub-nav-active-color: #fff;
|
1306
|
+
$sub-nav-active-padding: emCalc(3px) emCalc(9px);
|
1307
|
+
$sub-nav-active-cursor: $cursor-default-value;
|
1308
|
+
|
1309
|
+
|
1310
|
+
Switch Variables
|
1311
|
+
|
1312
|
+
|
1313
|
+
Border styles and background colors for the switch container
|
1314
|
+
|
1315
|
+
$switch-border-color: darken(#fff, 20%);
|
1316
|
+
$switch-border-style: solid;
|
1317
|
+
$switch-border-width: 1px;
|
1318
|
+
$switch-bg: #fff;
|
1319
|
+
|
1320
|
+
Switch heights for our default classes
|
1321
|
+
|
1322
|
+
$switch-height-tny: 22px;
|
1323
|
+
$switch-height-sml: 28px;
|
1324
|
+
$switch-height-med: 36px;
|
1325
|
+
$switch-height-lrg: 44px;
|
1326
|
+
$switch-bottom-margin: emCalc(20px);
|
1327
|
+
|
1328
|
+
Font sizes for our classes.
|
1329
|
+
|
1330
|
+
$switch-font-size-tny: 11px;
|
1331
|
+
$switch-font-size-sml: 12px;
|
1332
|
+
$switch-font-size-med: 14px;
|
1333
|
+
$switch-font-size-lrg: 17px;
|
1334
|
+
$switch-label-side-padding: 6px;
|
1335
|
+
|
1336
|
+
Switch-paddle
|
1337
|
+
|
1338
|
+
$switch-paddle-bg: #fff;
|
1339
|
+
$switch-paddle-fade-to-color: darken($switch-paddle-bg, 10%);
|
1340
|
+
$switch-paddle-border-color: darken($switch-paddle-bg, 35%);
|
1341
|
+
$switch-paddle-border-width: 1px;
|
1342
|
+
$switch-paddle-border-style: solid;
|
1343
|
+
$switch-paddle-transition-speed: .1s;
|
1344
|
+
$switch-paddle-transition-ease: ease-out;
|
1345
|
+
$switch-positive-color: lighten($success-color, 50%);
|
1346
|
+
$switch-negative-color: #f5f5f5;
|
1347
|
+
|
1348
|
+
Outline Style for tabbing through switches
|
1349
|
+
|
1350
|
+
$switch-label-outline: 1px dotted #888;
|
1351
|
+
|
1352
|
+
|
1353
|
+
Table Variables
|
1354
|
+
|
1355
|
+
|
1356
|
+
Background color for the table and even rows
|
1357
|
+
|
1358
|
+
$table-bg: #fff;
|
1359
|
+
$table-even-row-bg: #f9f9f9;
|
1360
|
+
|
1361
|
+
Table cell border style
|
1362
|
+
|
1363
|
+
$table-border-style: solid;
|
1364
|
+
$table-border-size: 1px;
|
1365
|
+
$table-border-color: #ddd;
|
1366
|
+
|
1367
|
+
Table head styles
|
1368
|
+
|
1369
|
+
$table-head-bg: #f5f5f5;
|
1370
|
+
$table-head-font-size: emCalc(14px);
|
1371
|
+
$table-head-font-color: #222;
|
1372
|
+
$table-head-font-weight: bold;
|
1373
|
+
$table-head-padding: emCalc(8px) emCalc(10px) emCalc(10px);
|
1374
|
+
|
1375
|
+
Row padding and font styles
|
1376
|
+
|
1377
|
+
$table-row-padding: emCalc(9px) emCalc(10px);
|
1378
|
+
$table-row-font-size: emCalc(14px);
|
1379
|
+
$table-row-font-color: #222;
|
1380
|
+
$table-line-height: emCalc(18px);
|
1381
|
+
|
1382
|
+
Display and margin of tables
|
1383
|
+
|
1384
|
+
$table-display: table-cell;
|
1385
|
+
$table-margin-bottom: emCalc(20px);
|
1386
|
+
|
1387
|
+
|
1388
|
+
Image Thumbnail Variables
|
1389
|
+
|
1390
|
+
|
1391
|
+
Border styles
|
1392
|
+
|
1393
|
+
$thumb-border-style: solid;
|
1394
|
+
$thumb-border-width: 4px;
|
1395
|
+
$thumb-border-color: #fff;
|
1396
|
+
$thumb-box-shadow: 0 0 0 1px rgba(#000,.2);
|
1397
|
+
$thumb-box-shadow-hover: 0 0 6px 1px rgba($primary-color,0.5);
|
1398
|
+
|
1399
|
+
Radius and transition speed for thumbs
|
1400
|
+
|
1401
|
+
$thumb-radius: $global-radius;
|
1402
|
+
$thumb-transition-speed: 200ms;
|
1403
|
+
|
1404
|
+
|
1405
|
+
Tooltip Variables
|
1406
|
+
|
1407
|
+
|
1408
|
+
$has-tip-border-bottom: dotted 1px #ccc;
|
1409
|
+
$has-tip-font-weight: bold;
|
1410
|
+
$has-tip-font-color: #333;
|
1411
|
+
$has-tip-border-bottom-hover: dotted 1px darken($primary-color, 20%);
|
1412
|
+
$has-tip-font-color-hover: $primary-color;
|
1413
|
+
$has-tip-cursor-type: help;
|
1414
|
+
|
1415
|
+
$tooltip-padding: emCalc(8px);
|
1416
|
+
$tooltip-bg: #000;
|
1417
|
+
$tooltip-font-size: emCalc(15px);
|
1418
|
+
$tooltip-font-weight: bold;
|
1419
|
+
$tooltip-font-color: #fff;
|
1420
|
+
$tooltip-line-height: 1.3;
|
1421
|
+
$tooltip-close-font-size: emCalc(10px);
|
1422
|
+
$tooltip-close-font-weight: normal;
|
1423
|
+
$tooltip-close-font-color: #888;
|
1424
|
+
$tooltip-font-size-sml: emCalc(14px);
|
1425
|
+
$tooltip-radius: $global-radius;
|
1426
|
+
$tooltip-pip-size: 5px;
|
1427
|
+
|
1428
|
+
|
1429
|
+
Top Bar Variables
|
1430
|
+
|
1431
|
+
|
1432
|
+
Background color for the top bar
|
1433
|
+
|
1434
|
+
$topbar-bg: #111 !default;
|
1435
|
+
|
1436
|
+
Height and margin
|
1437
|
+
|
1438
|
+
$topbar-height: 45px;
|
1439
|
+
$topbar-margin-bottom: emCalc(30px);
|
1440
|
+
|
1441
|
+
Control Input height for top bar
|
1442
|
+
|
1443
|
+
$topbar-input-height: 2.45em;
|
1444
|
+
|
1445
|
+
Controlling the styles for the title in the top bar
|
1446
|
+
|
1447
|
+
$topbar-title-weight: bold;
|
1448
|
+
$topbar-title-font-size: emCalc(17px);
|
1449
|
+
|
1450
|
+
Style the top bar dropdown elements
|
1451
|
+
|
1452
|
+
$topbar-dropdown-bg: #222;
|
1453
|
+
$topbar-dropdown-link-color: #fff;
|
1454
|
+
$topbar-dropdown-link-bg: lighten($topbar-bg, 5%);
|
1455
|
+
$topbar-dropdown-toggle-size: 5px;
|
1456
|
+
$topbar-dropdown-toggle-color: #fff;
|
1457
|
+
$topbar-dropdown-toggle-alpha: 0.5;
|
1458
|
+
|
1459
|
+
Set the link colors and styles for top-level nav
|
1460
|
+
|
1461
|
+
$topbar-link-color: #fff;
|
1462
|
+
$topbar-link-color-hover: #fff;
|
1463
|
+
$topbar-link-color-active: #fff;
|
1464
|
+
$topbar-link-weight: bold;
|
1465
|
+
$topbar-link-font-size: emCalc(13px);
|
1466
|
+
$topbar-link-hover-lightness: -30%; Darken by 30%
|
1467
|
+
$topbar-link-bg-hover: darken($topbar-bg, 3%);
|
1468
|
+
$topbar-link-bg-active: darken($topbar-bg, 3%);
|
1469
|
+
|
1470
|
+
$topbar-dropdown-label-color: #555;
|
1471
|
+
$topbar-dropdown-label-text-transform: uppercase;
|
1472
|
+
$topbar-dropdown-label-font-weight: bold;
|
1473
|
+
$topbar-dropdown-label-font-size: emCalc(10px);
|
1474
|
+
|
1475
|
+
Top menu icon styles
|
1476
|
+
|
1477
|
+
$topbar-menu-link-transform: uppercase;
|
1478
|
+
$topbar-menu-link-font-size: emCalc(13px);
|
1479
|
+
$topbar-menu-link-weight: bold;
|
1480
|
+
$topbar-menu-link-color: #fff;
|
1481
|
+
$topbar-menu-icon-color: #fff;
|
1482
|
+
$topbar-menu-link-color-toggled: #888;
|
1483
|
+
$topbar-menu-icon-color-toggled: #888;
|
1484
|
+
|
1485
|
+
Transitions and breakpoint styles
|
1486
|
+
|
1487
|
+
$topbar-transition-speed: 300ms;
|
1488
|
+
$topbar-breakpoint: emCalc(940px);
|
1489
|
+
$topbar-media-query: "only screen and (min-width: #{$topbar-breakpoint})";
|
1490
|
+
|
1491
|
+
Divider Styles
|
1492
|
+
|
1493
|
+
$topbar-divider-border-bottom: solid 1px lighten($topbar-bg, 10%);
|
1494
|
+
$topbar-divider-border-top: solid 1px darken($topbar-bg, 10%);
|
1495
|
+
|
1496
|
+
Sticky Class
|
1497
|
+
|
1498
|
+
$topbar-sticky-class: ".sticky";
|
1248
1499
|
', :css %>
|
1249
1500
|
|
1250
1501
|
|