MoovUI uses Foundation.
Remember to initialize Foundation at the bottom of <body> or when the page has loaded.
$(document).foundation("alerts dropdown reveal tooltips").foundation("section", {one_up: false});
There are also Sass helper mixins available e.g. @include mobile { … } or @include not-mobile { … }
There are also different ways to import MoovUI:
@import "moovui/moovui"; // outputs .btn { ... }
$moovui-prefix: "_";
@import "moovui/moovui"; // outputs ._btn { ... } so existing .btn elements aren't styled
@import "moovui/moovui"; // outputs .btn { ... } meant for all screen sizes
@media #{$mobile-query} {
$moovui-prefix: "m-";
@import "moovui/moovui"; // outputs @media … { .m-btn { ... } } meant for small screens
}
@media #{$desktop-query} {
$moovui-prefix: "d-";
@import "moovui/moovui"; // outputs @media … { .d-btn { ... } } meant for large screens
}
Mobile: false
Mobile: true
Tablet: false
Tablet: true
Desktop: false
Desktop: true
Find icon names by mousing over icons in the character map.
An element with id page behaves the same and can be a general wrapper for content between the header and footer.
This content will have automatic margins to fit in the default 960px.
Content
Content with margin
Add the class affix to fix it to the top of the page.
...
...
Success: ...
Warning: message
Error: ...
Header 1
Header 2
Header 3
Header 4
Header 5
You can add a copy class to an ancestor or the element itself
Header 1
Header 2
Header 3
Header 4
Header 5
You can add a copy class to an ancestor or the element itself. You can add a link-list class for the example style.
You can add a section-list to add spacing in a list of sections.
- Item 1
- Item 2
- Item 3
- Item 1
- Item 2
- Item 3
You can add a copy class to an ancestor or the element itself
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
MoovUI uses the SyntaxHighlighter library.
Inline code.
Shell line 1
Shell line 2
@include mixin($var);
Highlighted syntax with no line numbers
Non-highlighted miscellaneous
<code> with no styling
<pre> with no styling
Inline code.
Shell line 1
Shell line 2
@include mixin($var);
Highlighted <span>syntax</span>
Non-highlighted miscellaneous
<code> with no styling
<pre> with no styling
You can add a no-borders class to remove the styling.
| Col 1 | Col 2 | Col 3 | Col 4 |
|---|---|---|---|
| Column 1 | Column 2 | Column 3 | Column 4 |
| Column 5 | Column 6 | Column 7 | Column 8 |
| Col 1 | Col 2 | Col 3 | Col 4 |
|---|---|---|---|
| Column 1 | Column 2 | Column 3 | Column 4 |
| Column 5 | Column 6 | Column 7 | Column 8 |
| Col 1 | Col 2 | Col 3 | Col 4 |
|---|---|---|---|
| Column 1 | Column 2 | Column 3 | Column 4 |
| Column 5 | Column 6 | Column 7 | Column 8 |
| Col 1 | Col 2 | Col 3 | Col 4 |
|---|---|---|---|
| Column 1 | Column 2 | Column 3 | Column 4 |
| Column 5 | Column 6 | Column 7 | Column 8 |
| Col 1 | Col 2 | Col 3 | Col 4 |
|---|---|---|---|
| Column 1 | Column 2 | Column 3 | Column 4 |
| Column 5 | Column 6 | Column 7 | Column 8 |
| Col 1 | Col 2 | Col 3 | Col 4 |
|---|---|---|---|
| Column 1 | Column 2 | Column 3 | Column 4 |
| Column 5 | Column 6 | Column 7 | Column 8 |
You can add a qna class to the wrapper for the example style.
Question
Answer content
You can add a doc-sidebar class to the wrapper for the example style.
Panel title
Panel content
-
Panel step 1
Panel content
-
Panel step 2
Panel content
Description.
Description.
Local
Title
Description.
Local
Title
Description.
Pill Button
Small Button
Button
Button with Icon
Big Button
Confirm Button
Warning Button
Pressed Button
Active Button (toggled)
Call to Action Button
Danger Button
MoovUI can use the Chosen plugin. Remember to initialize Chosen:
$("select:not(.autocomplete)").chosen({disable_search: true});
$("select.autocomplete").chosen();
On
Off
Yes
No
Add the class code for a code input.
Hover over me
Hover over me
Hover over me
Hover over me
Callout info (default)
Callout warning
with second line
Note: IE < 11 does not support pointer-events: none
Add the class gutters to add some spacing between columns.
12
1
11
6
6
4
4
4
3
3
3
3
2
2
2
2
2
2
1
1
1
1
1
1
1
1
1
1
1
1
For now, use with caution if supporting IE versions < 10. Add the class center to vertically align elements.
1
1
2
1
2
3
1
2
3
4
1
2
3
4
5
1
2
2
3
3
3
stretch
float left
float right
center
left
right