modularis 0.0.1
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 +15 -0
- data/.gitignore +24 -0
- data/.idea/scopes/scope_settings.xml +5 -0
- data/.rbenv-version +1 -0
- data/CONTRIBUTING.md +53 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +19 -0
- data/Gruntfile.js +27 -0
- data/LICENSE +22 -0
- data/README.md +27 -0
- data/Rakefile +2 -0
- data/docs/CHANGELOG.md +260 -0
- data/docs/Capfile +4 -0
- data/docs/Gemfile +13 -0
- data/docs/Gemfile.lock +45 -0
- data/docs/Procfile +2 -0
- data/docs/README.md +1 -0
- data/docs/_sidebar-components.html.erb +115 -0
- data/docs/_sidebar.html.erb +115 -0
- data/docs/changelog.html.erb +33 -0
- data/docs/compile.rb +34 -0
- data/docs/components/alert-boxes.html.erb +204 -0
- data/docs/components/block-grid.html.erb +132 -0
- data/docs/components/breadcrumbs.html.erb +156 -0
- data/docs/components/button-groups.html.erb +230 -0
- data/docs/components/buttons.html.erb +222 -0
- data/docs/components/clearing.html.erb +152 -0
- data/docs/components/custom-forms.html.erb +309 -0
- data/docs/components/dropdown-buttons.html.erb +235 -0
- data/docs/components/dropdown.html.erb +188 -0
- data/docs/components/flex-video.html.erb +95 -0
- data/docs/components/forms.html.erb +477 -0
- data/docs/components/global.html.erb +92 -0
- data/docs/components/grid.html.erb +366 -0
- data/docs/components/inline-lists.html.erb +91 -0
- data/docs/components/joyride.html.erb +183 -0
- data/docs/components/keystrokes.html.erb +76 -0
- data/docs/components/kitchen-sink.html.erb +870 -0
- data/docs/components/labels.html.erb +102 -0
- data/docs/components/magellan.html.erb +86 -0
- data/docs/components/orbit.html.erb +276 -0
- data/docs/components/pagination.html.erb +183 -0
- data/docs/components/panels.html.erb +123 -0
- data/docs/components/pricing-tables.html.erb +156 -0
- data/docs/components/progress-bars.html.erb +123 -0
- data/docs/components/reveal.html.erb +162 -0
- data/docs/components/section.html.erb +496 -0
- data/docs/components/side-nav.html.erb +124 -0
- data/docs/components/split-buttons.html.erb +220 -0
- data/docs/components/sub-nav.html.erb +122 -0
- data/docs/components/switch.html.erb +290 -0
- data/docs/components/tables.html.erb +125 -0
- data/docs/components/thumbnails.html.erb +89 -0
- data/docs/components/tooltips.html.erb +75 -0
- data/docs/components/top-bar.html.erb +283 -0
- data/docs/components/type.html.erb +396 -0
- data/docs/components/visibility.html.erb +110 -0
- data/docs/config/deploy.rb +36 -0
- data/docs/config.ru +12 -0
- data/docs/controller.rb +53 -0
- data/docs/css/_coderay.scss +116 -0
- data/docs/css/_settings.scss +1 -0
- data/docs/css/docs.scss +185 -0
- data/docs/css/normalize.scss +396 -0
- data/docs/css/qunit-composite.css +13 -0
- data/docs/css/qunit.css +235 -0
- data/docs/faq.html.erb +63 -0
- data/docs/img/demos/demo1-th.jpg +0 -0
- data/docs/img/demos/demo1.jpg +0 -0
- data/docs/img/demos/demo2-th.jpg +0 -0
- data/docs/img/demos/demo2.jpg +0 -0
- data/docs/img/demos/demo3-th.jpg +0 -0
- data/docs/img/demos/demo3.jpg +0 -0
- data/docs/img/demos/demo4-th.jpg +0 -0
- data/docs/img/demos/demo4.jpg +0 -0
- data/docs/img/demos/demo5-th.jpg +0 -0
- data/docs/img/demos/demo5.jpg +0 -0
- data/docs/index.html.erb +285 -0
- data/docs/javascript.html.erb +134 -0
- data/docs/js/docs.js +3 -0
- data/docs/js/qunit-composite.js +105 -0
- data/docs/js/qunit.js +1977 -0
- data/docs/js/tests/tabs/simple_tabs.html +57 -0
- data/docs/js/tests/tabs/simple_tabs.js +54 -0
- data/docs/js/tests/tooltips/tooltips.html +39 -0
- data/docs/js/tests/tooltips/tooltips.js +11 -0
- data/docs/layout.html.erb +128 -0
- data/docs/media-queries.html.erb +96 -0
- data/docs/rails.html.erb +76 -0
- data/docs/rtl.html.erb +53 -0
- data/docs/sass.html.erb +1295 -0
- data/docs/support.html.erb +143 -0
- data/docs/test/_test-scripts.html.erb +36 -0
- data/docs/test/cards.html.erb +77 -0
- data/docs/test/flexbox-grid.html.erb +68 -0
- data/docs/test/flip-nav.html.erb +54 -0
- data/docs/test/layout.html.erb +15 -0
- data/docs/test/off-canvas1.html.erb +64 -0
- data/docs/test/off-canvas2.html.erb +75 -0
- data/docs/test/off-canvas3.html.erb +65 -0
- data/docs/test_layout.html.erb +128 -0
- data/js/modularis/index.js +18 -0
- data/js/vendor/custom.modernizr.js +4 -0
- data/js/vendor/jquery.js +9597 -0
- data/js/vendor/zepto.js +1884 -0
- data/lib/modularis/engine.rb +18 -0
- data/lib/modularis/generators/USAGE +15 -0
- data/lib/modularis/generators/install_generator.rb +54 -0
- data/lib/modularis/generators/templates/application.html.erb +46 -0
- data/lib/modularis/generators/templates/application.html.haml +31 -0
- data/lib/modularis/generators/templates/application.html.slim +28 -0
- data/lib/modularis/version.rb +3 -0
- data/lib/modularis.rb +17 -0
- data/modularis.gemspec +20 -0
- data/package.json +15 -0
- data/scss/compagecss/_variables.scss +1192 -0
- data/scss/compagecss/components/_alert-boxes.scss +106 -0
- data/scss/compagecss/components/_block-grid.scss +70 -0
- data/scss/compagecss/components/_breadcrumbs.scss +124 -0
- data/scss/compagecss/components/_button-groups.scss +88 -0
- data/scss/compagecss/components/_buttons.scss +226 -0
- data/scss/compagecss/components/_clearing.scss +217 -0
- data/scss/compagecss/components/_custom-forms.scss +246 -0
- data/scss/compagecss/components/_dropdown-buttons.scss +114 -0
- data/scss/compagecss/components/_dropdown.scss +149 -0
- data/scss/compagecss/components/_flex-video.scss +45 -0
- data/scss/compagecss/components/_flexbox-grid.scss +225 -0
- data/scss/compagecss/components/_flip.scss +105 -0
- data/scss/compagecss/components/_forms.scss +361 -0
- data/scss/compagecss/components/_global.scss +289 -0
- data/scss/compagecss/components/_grid.scss +184 -0
- data/scss/compagecss/components/_inline-lists.scss +52 -0
- data/scss/compagecss/components/_joyride.scss +210 -0
- data/scss/compagecss/components/_keystrokes.scss +56 -0
- data/scss/compagecss/components/_labels.scss +84 -0
- data/scss/compagecss/components/_magellan.scss +21 -0
- data/scss/compagecss/components/_off-canvas.scss +86 -0
- data/scss/compagecss/components/_orbit.scss +209 -0
- data/scss/compagecss/components/_pagination.scss +99 -0
- data/scss/compagecss/components/_panels.scss +76 -0
- data/scss/compagecss/components/_pricing-tables.scss +130 -0
- data/scss/compagecss/components/_progress-bars.scss +70 -0
- data/scss/compagecss/components/_reveal.scss +131 -0
- data/scss/compagecss/components/_section.scss +303 -0
- data/scss/compagecss/components/_side-nav.scss +68 -0
- data/scss/compagecss/components/_split-buttons.scss +166 -0
- data/scss/compagecss/components/_sub-nav.scss +67 -0
- data/scss/compagecss/components/_switch.scss +249 -0
- data/scss/compagecss/components/_tables.scss +80 -0
- data/scss/compagecss/components/_thumbs.scss +47 -0
- data/scss/compagecss/components/_tooltips.scss +113 -0
- data/scss/compagecss/components/_top-bar.scss +462 -0
- data/scss/compagecss/components/_type.scss +422 -0
- data/scss/compagecss/components/_visibility.scss +320 -0
- data/scss/modularis.scss +49 -0
- data/scss/normalize.scss +402 -0
- data/templates/project/.gitignore +44 -0
- data/templates/project/MIT-LICENSE.txt +20 -0
- data/templates/project/config.rb +26 -0
- data/templates/project/humans.txt +8 -0
- data/templates/project/index.html +124 -0
- data/templates/project/manifest.rb +44 -0
- data/templates/project/robots.txt +4 -0
- data/templates/project/scss/app.scss +48 -0
- data/templates/upgrade/manifest.rb +34 -0
- metadata +235 -0
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
|
|
2
|
+
/* CodeRay Syntax Highlighting Styles to match Github */
|
|
3
|
+
.CodeRay {
|
|
4
|
+
background-color: #eee;
|
|
5
|
+
border: 1px solid #CCC;
|
|
6
|
+
font-family: 'Consolas', 'Liberation Mono', Courier, monospace;
|
|
7
|
+
color: #000;
|
|
8
|
+
padding: .8em 0 .8em .8em;
|
|
9
|
+
margin-bottom: 1.3em;
|
|
10
|
+
overflow: auto;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.CodeRay pre {
|
|
14
|
+
margin: 0px;
|
|
15
|
+
font-size: .9em;
|
|
16
|
+
line-height: 1.4em;
|
|
17
|
+
white-space: pre;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
table.CodeRay { border-collapse: collapse; width: 100%; padding: 2px }
|
|
21
|
+
table.CodeRay td {
|
|
22
|
+
padding: 1em 0.5em;
|
|
23
|
+
vertical-align: top;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.CodeRay .code { width: 100% }
|
|
27
|
+
|
|
28
|
+
.CodeRay .debug { color:white !important; background:blue !important; }
|
|
29
|
+
|
|
30
|
+
.CodeRay .annotation { color:#007 }
|
|
31
|
+
.CodeRay .attribute-name { color:#f08 }
|
|
32
|
+
.CodeRay .attribute-value { color:#700 }
|
|
33
|
+
.CodeRay .binary { color:#509; }
|
|
34
|
+
.CodeRay .comment { color:#998; font-style: italic;}
|
|
35
|
+
.CodeRay .char { color:#04D }
|
|
36
|
+
.CodeRay .char .content { color:#04D }
|
|
37
|
+
.CodeRay .char .delimiter { color:#039 }
|
|
38
|
+
.CodeRay .class { color:#458; }
|
|
39
|
+
.CodeRay .complex { color:#A08; }
|
|
40
|
+
.CodeRay .constant { color:teal; }
|
|
41
|
+
.CodeRay .color { color:#0A0 }
|
|
42
|
+
.CodeRay .class-variable { color:#369 }
|
|
43
|
+
.CodeRay .decorator { color:#B0B; }
|
|
44
|
+
.CodeRay .definition { color:#099; }
|
|
45
|
+
.CodeRay .directive { color:#088; }
|
|
46
|
+
.CodeRay .delimiter { color:black }
|
|
47
|
+
.CodeRay .doc { color:#970 }
|
|
48
|
+
.CodeRay .doctype { color:#34b }
|
|
49
|
+
.CodeRay .doc-string { color:#D42; }
|
|
50
|
+
.CodeRay .escape { color:#666; }
|
|
51
|
+
.CodeRay .entity { color:#800; }
|
|
52
|
+
.CodeRay .error { color: #808; }
|
|
53
|
+
.CodeRay .exception { color:#C00; }
|
|
54
|
+
.CodeRay .filename { color:#099; }
|
|
55
|
+
.CodeRay .function { color:#900; }
|
|
56
|
+
.CodeRay .global-variable { color:teal; }
|
|
57
|
+
.CodeRay .hex { color:#058; }
|
|
58
|
+
.CodeRay .integer { color:#099; }
|
|
59
|
+
.CodeRay .include { color:#B44; }
|
|
60
|
+
.CodeRay .inline { color: black }
|
|
61
|
+
.CodeRay .inline .inline { background: #ccc }
|
|
62
|
+
.CodeRay .inline .inline .inline { background: #bbb }
|
|
63
|
+
.CodeRay .inline .inline-delimiter { color: #D14; }
|
|
64
|
+
.CodeRay .inline-delimiter { color: #D14; }
|
|
65
|
+
.CodeRay .important { color:#f00; }
|
|
66
|
+
.CodeRay .interpreted { color:#B2B; }
|
|
67
|
+
.CodeRay .instance-variable { color:teal }
|
|
68
|
+
.CodeRay .label { color:#970; }
|
|
69
|
+
.CodeRay .local-variable { color:#963 }
|
|
70
|
+
.CodeRay .octal { color:#40E; }
|
|
71
|
+
.CodeRay .predefined { color:#369; }
|
|
72
|
+
.CodeRay .preprocessor { color:#579; }
|
|
73
|
+
.CodeRay .pseudo-class { color:#00C; }
|
|
74
|
+
.CodeRay .predefined-type { color:#074; }
|
|
75
|
+
.CodeRay .reserved, .keyword { color:#000; }
|
|
76
|
+
|
|
77
|
+
.CodeRay .key { color: #808; }
|
|
78
|
+
.CodeRay .key .delimiter { color: #606; }
|
|
79
|
+
.CodeRay .key .char { color: #80f; }
|
|
80
|
+
.CodeRay .value { color: #088; }
|
|
81
|
+
|
|
82
|
+
.CodeRay .regexp { background-color:#fff0ff }
|
|
83
|
+
.CodeRay .regexp .content { color:#808 }
|
|
84
|
+
.CodeRay .regexp .delimiter { color:#404 }
|
|
85
|
+
.CodeRay .regexp .modifier { color:#C2C }
|
|
86
|
+
.CodeRay .regexp .function { color:#404; font-weight: bold }
|
|
87
|
+
|
|
88
|
+
.CodeRay .string { color: #D20; }
|
|
89
|
+
.CodeRay .string .string { }
|
|
90
|
+
.CodeRay .string .string .string { background-color:#ffd0d0 }
|
|
91
|
+
.CodeRay .string .content { color: #D14; }
|
|
92
|
+
.CodeRay .string .char { color: #D14; }
|
|
93
|
+
.CodeRay .string .delimiter { color: #D14; }
|
|
94
|
+
|
|
95
|
+
.CodeRay .shell { color:#D14 }
|
|
96
|
+
.CodeRay .shell .content { }
|
|
97
|
+
.CodeRay .shell .delimiter { color:#D14 }
|
|
98
|
+
|
|
99
|
+
.CodeRay .symbol { color:#990073 }
|
|
100
|
+
.CodeRay .symbol .content { color:#A60 }
|
|
101
|
+
.CodeRay .symbol .delimiter { color:#630 }
|
|
102
|
+
|
|
103
|
+
.CodeRay .tag, .CodeRay .attribute-name { color:#070 }
|
|
104
|
+
.CodeRay .tag-special { color:#D70; }
|
|
105
|
+
.CodeRay .type { color:#339; }
|
|
106
|
+
.CodeRay .variable { color:#036 }
|
|
107
|
+
|
|
108
|
+
.CodeRay .insert { background: #afa; }
|
|
109
|
+
.CodeRay .delete { background: #faa; }
|
|
110
|
+
.CodeRay .change { color: #aaf; background: #007; }
|
|
111
|
+
.CodeRay .head { color: #f8f; background: #505 }
|
|
112
|
+
|
|
113
|
+
.CodeRay .insert .insert { color: #080; }
|
|
114
|
+
.CodeRay .delete .delete { color: #800; }
|
|
115
|
+
.CodeRay .change .change { color: #66f; }
|
|
116
|
+
.CodeRay .head .head { color: #f4f; }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
$row-width: 70em;
|
data/docs/css/docs.scss
ADDED
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
@import "settings";
|
|
2
|
+
@import "modularis";
|
|
3
|
+
@import "coderay";
|
|
4
|
+
|
|
5
|
+
/* Documentation Overrides */
|
|
6
|
+
|
|
7
|
+
/* Coderay styles */
|
|
8
|
+
.html, .css, .scss, .js { position: relative; }
|
|
9
|
+
|
|
10
|
+
ul, ol, dl { list-style-position: inside; }
|
|
11
|
+
|
|
12
|
+
.CodeRay:before {
|
|
13
|
+
position: absolute;
|
|
14
|
+
top: 6px;
|
|
15
|
+
right: 6px;
|
|
16
|
+
display: block;
|
|
17
|
+
color: #ccc;
|
|
18
|
+
font-size: .75em;
|
|
19
|
+
}
|
|
20
|
+
.html > .CodeRay:before { content: "HTML"; }
|
|
21
|
+
.css > .CodeRay:before { content: "SCSS"; }
|
|
22
|
+
.js > .CodeRay:before { content: "JS"; }
|
|
23
|
+
|
|
24
|
+
/* Docs Footer Styles */
|
|
25
|
+
.row.full-width {
|
|
26
|
+
max-width: 100%;
|
|
27
|
+
}
|
|
28
|
+
footer.row.full-width {
|
|
29
|
+
padding-top: 30px;
|
|
30
|
+
border-top: solid 1px #ddd;
|
|
31
|
+
font-size: 14px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
#copyright {
|
|
35
|
+
background: #3f3f3f;
|
|
36
|
+
color: #fff;
|
|
37
|
+
padding: 11px 0;
|
|
38
|
+
margin-top: 30px;
|
|
39
|
+
|
|
40
|
+
a {
|
|
41
|
+
color: #fff;
|
|
42
|
+
font-size: 14px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
p,
|
|
46
|
+
ul { margin-bottom: 0; }
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.docs.header { margin-bottom: 10px; }
|
|
50
|
+
.docs.subheader {
|
|
51
|
+
float: $default-float;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.docs.section-container a.active { font-weight: bold; }
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
/* Alert Docs */
|
|
58
|
+
.alert-base {
|
|
59
|
+
@include alert-base;
|
|
60
|
+
|
|
61
|
+
&.bg { @include alert-style; }
|
|
62
|
+
&.custom-bg { @include alert-style(#ff6c3c); }
|
|
63
|
+
&.radius { @include radius; }
|
|
64
|
+
.close { @include alert-close; }
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* Breadcrumb Docs */
|
|
68
|
+
.crumb-container {
|
|
69
|
+
@include crumb-container;
|
|
70
|
+
&.radius { @include radius; }
|
|
71
|
+
&.crumbs li { @include crumbs; }
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* Button Docs */
|
|
75
|
+
.buttony.custom { @include button(1.1em, #FF94CB, 20px); }
|
|
76
|
+
|
|
77
|
+
.button-base {
|
|
78
|
+
@include button-base;
|
|
79
|
+
&.size { @include button-size; }
|
|
80
|
+
&.style { @include button-style; }
|
|
81
|
+
&.shine { @include single-transition(background-color); @include radius; @include inset-shadow(); }
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/* Button Group Docs */
|
|
85
|
+
.button-group-docs {
|
|
86
|
+
@include button-group-container;
|
|
87
|
+
.button-class { @include button; }
|
|
88
|
+
&.list li { @include button-group-style; }
|
|
89
|
+
&.extras {
|
|
90
|
+
li { @include button-group-style(true); }
|
|
91
|
+
.button-class { @include inset-shadow; @include single-transition(background-color); }
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/* Forms Docs */
|
|
96
|
+
.attached-label {
|
|
97
|
+
@include prefix-postfix-base;
|
|
98
|
+
@include grid-column($columns:3,$float:left);
|
|
99
|
+
&.style { @include prefix; }
|
|
100
|
+
&.custom { @include prefix(orange); }
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
input[type="text"].attached-input {
|
|
104
|
+
@include grid-column($columns:9);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/* Dropdown Buttons Docs */
|
|
108
|
+
.customized-dropdown-docs {
|
|
109
|
+
@include button;
|
|
110
|
+
@include dropdown-button;
|
|
111
|
+
@include radius;
|
|
112
|
+
@include single-transition;
|
|
113
|
+
@include inset-shadow;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/* Keystroke Docs */
|
|
117
|
+
.custom-keystroke kbd { @include keystroke(orange);}
|
|
118
|
+
|
|
119
|
+
/* Label Docs */
|
|
120
|
+
.label-custom {
|
|
121
|
+
@include label(0 10px,11px,pink,6px);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/* Panels Docs */
|
|
125
|
+
.panel-custom { @include panel(pink,40px); }
|
|
126
|
+
|
|
127
|
+
/* Progress Bar Docs */
|
|
128
|
+
.progress-custom {
|
|
129
|
+
@include progress-container;
|
|
130
|
+
@include radius(6px);
|
|
131
|
+
& > span {
|
|
132
|
+
@include progress-meter(pink);
|
|
133
|
+
@include radius(5px);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/* Side Nav Docs */
|
|
138
|
+
.side-nav-custom { @include side-nav(darken(orange, 20%),16px,orange); }
|
|
139
|
+
|
|
140
|
+
/* Sub Nav Docs */
|
|
141
|
+
.sub-nav-custom { @include sub-nav(orange,11px,orange); }
|
|
142
|
+
|
|
143
|
+
/* Thumbs Docs */
|
|
144
|
+
.th-custom {
|
|
145
|
+
@include thumb(10px,0 0 0 2px black, 0 0 10px 2px rgba(orange,0.5));
|
|
146
|
+
@include radius(6);
|
|
147
|
+
@include single-transition(all,400ms,ease-in);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/* Grid Docs */
|
|
151
|
+
#masthead { @include grid-row; @include panel;
|
|
152
|
+
& > hgroup { @include grid-column(4, $float:$default-float); }
|
|
153
|
+
& > section { @include grid-column(8, $float:$default-float); }
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/* Switch Docs */
|
|
157
|
+
.switch-custom { @include switch(700ms, ease-in-out, 50px, 18px, 2.6em, #888, lighten(yellow, 30%), lighten(red, 40%)); }
|
|
158
|
+
.switch-custom-base { @include switch-base;
|
|
159
|
+
&.size { @include switch-size; }
|
|
160
|
+
&.style { @include switch-style; }
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/* ZURBjobs */
|
|
164
|
+
.jobs {
|
|
165
|
+
border: 1px solid #eee;
|
|
166
|
+
padding: 10px 20px 20px;
|
|
167
|
+
font-size: 14px;
|
|
168
|
+
line-height: 1.1;
|
|
169
|
+
ul { list-style: none;
|
|
170
|
+
li { margin-bottom: 10px; }
|
|
171
|
+
}
|
|
172
|
+
.location {
|
|
173
|
+
display: block;
|
|
174
|
+
color: #555;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
@media only screen and (min-width: 800px) {
|
|
179
|
+
.docs.header { float: $default-float; }
|
|
180
|
+
|
|
181
|
+
.docs.subheader {
|
|
182
|
+
margin-top: 38px;
|
|
183
|
+
float: $opposite-direction;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
@@ -0,0 +1,396 @@
|
|
|
1
|
+
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */
|
|
2
|
+
|
|
3
|
+
/* ==========================================================================
|
|
4
|
+
HTML5 display definitions
|
|
5
|
+
========================================================================== */
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Correct `block` display not defined in IE 8/9.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
article,
|
|
12
|
+
aside,
|
|
13
|
+
details,
|
|
14
|
+
figcaption,
|
|
15
|
+
figure,
|
|
16
|
+
footer,
|
|
17
|
+
header,
|
|
18
|
+
hgroup,
|
|
19
|
+
main,
|
|
20
|
+
nav,
|
|
21
|
+
section,
|
|
22
|
+
summary {
|
|
23
|
+
display: block;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Correct `inline-block` display not defined in IE 8/9.
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
audio,
|
|
31
|
+
canvas,
|
|
32
|
+
video {
|
|
33
|
+
display: inline-block;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Prevent modern browsers from displaying `audio` without controls.
|
|
38
|
+
* Remove excess height in iOS 5 devices.
|
|
39
|
+
*/
|
|
40
|
+
|
|
41
|
+
audio:not([controls]) {
|
|
42
|
+
display: none;
|
|
43
|
+
height: 0;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Address styling not present in IE 8/9.
|
|
48
|
+
*/
|
|
49
|
+
|
|
50
|
+
[hidden] {
|
|
51
|
+
display: none;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* ==========================================================================
|
|
55
|
+
Base
|
|
56
|
+
========================================================================== */
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* 1. Set default font family to sans-serif.
|
|
60
|
+
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
|
61
|
+
* user zoom.
|
|
62
|
+
*/
|
|
63
|
+
|
|
64
|
+
html {
|
|
65
|
+
font-family: sans-serif; /* 1 */
|
|
66
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
|
67
|
+
-ms-text-size-adjust: 100%; /* 2 */
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Remove default margin.
|
|
72
|
+
*/
|
|
73
|
+
|
|
74
|
+
body {
|
|
75
|
+
margin: 0;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/* ==========================================================================
|
|
79
|
+
Links
|
|
80
|
+
========================================================================== */
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Address `outline` inconsistency between Chrome and other browsers.
|
|
84
|
+
*/
|
|
85
|
+
|
|
86
|
+
a:focus {
|
|
87
|
+
outline: thin dotted;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Improve readability when focused and also mouse hovered in all browsers.
|
|
92
|
+
*/
|
|
93
|
+
|
|
94
|
+
a:active,
|
|
95
|
+
a:hover {
|
|
96
|
+
outline: 0;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/* ==========================================================================
|
|
100
|
+
Typography
|
|
101
|
+
========================================================================== */
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Address variable `h1` font-size and margin within `section` and `article`
|
|
105
|
+
* contexts in Firefox 4+, Safari 5, and Chrome.
|
|
106
|
+
*/
|
|
107
|
+
|
|
108
|
+
h1 {
|
|
109
|
+
font-size: 2em;
|
|
110
|
+
margin: 0.67em 0;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Address styling not present in IE 8/9, Safari 5, and Chrome.
|
|
115
|
+
*/
|
|
116
|
+
|
|
117
|
+
abbr[title] {
|
|
118
|
+
border-bottom: 1px dotted;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
|
|
123
|
+
*/
|
|
124
|
+
|
|
125
|
+
b,
|
|
126
|
+
strong {
|
|
127
|
+
font-weight: bold;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Address styling not present in Safari 5 and Chrome.
|
|
132
|
+
*/
|
|
133
|
+
|
|
134
|
+
dfn {
|
|
135
|
+
font-style: italic;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Address differences between Firefox and other browsers.
|
|
140
|
+
*/
|
|
141
|
+
|
|
142
|
+
hr {
|
|
143
|
+
-moz-box-sizing: content-box;
|
|
144
|
+
box-sizing: content-box;
|
|
145
|
+
height: 0;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Address styling not present in IE 8/9.
|
|
150
|
+
*/
|
|
151
|
+
|
|
152
|
+
mark {
|
|
153
|
+
background: #ff0;
|
|
154
|
+
color: #000;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Correct font family set oddly in Safari 5 and Chrome.
|
|
159
|
+
*/
|
|
160
|
+
|
|
161
|
+
code,
|
|
162
|
+
kbd,
|
|
163
|
+
pre,
|
|
164
|
+
samp {
|
|
165
|
+
font-family: monospace, serif;
|
|
166
|
+
font-size: 1em;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Improve readability of pre-formatted text in all browsers.
|
|
171
|
+
*/
|
|
172
|
+
|
|
173
|
+
pre {
|
|
174
|
+
white-space: pre-wrap;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Set consistent quote types.
|
|
179
|
+
*/
|
|
180
|
+
|
|
181
|
+
q {
|
|
182
|
+
quotes: "\201C" "\201D" "\2018" "\2019";
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Address inconsistent and variable font size in all browsers.
|
|
187
|
+
*/
|
|
188
|
+
|
|
189
|
+
small {
|
|
190
|
+
font-size: 80%;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
|
195
|
+
*/
|
|
196
|
+
|
|
197
|
+
sub,
|
|
198
|
+
sup {
|
|
199
|
+
font-size: 75%;
|
|
200
|
+
line-height: 0;
|
|
201
|
+
position: relative;
|
|
202
|
+
vertical-align: baseline;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
sup {
|
|
206
|
+
top: -0.5em;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
sub {
|
|
210
|
+
bottom: -0.25em;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
/* ==========================================================================
|
|
214
|
+
Embedded content
|
|
215
|
+
========================================================================== */
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Remove border when inside `a` element in IE 8/9.
|
|
219
|
+
*/
|
|
220
|
+
|
|
221
|
+
img {
|
|
222
|
+
border: 0;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* Correct overflow displayed oddly in IE 9.
|
|
227
|
+
*/
|
|
228
|
+
|
|
229
|
+
svg:not(:root) {
|
|
230
|
+
overflow: hidden;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
/* ==========================================================================
|
|
234
|
+
Figures
|
|
235
|
+
========================================================================== */
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* Address margin not present in IE 8/9 and Safari 5.
|
|
239
|
+
*/
|
|
240
|
+
|
|
241
|
+
figure {
|
|
242
|
+
margin: 0;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
/* ==========================================================================
|
|
246
|
+
Forms
|
|
247
|
+
========================================================================== */
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Define consistent border, margin, and padding.
|
|
251
|
+
*/
|
|
252
|
+
|
|
253
|
+
fieldset {
|
|
254
|
+
border: 1px solid #c0c0c0;
|
|
255
|
+
margin: 0 2px;
|
|
256
|
+
padding: 0.35em 0.625em 0.75em;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* 1. Correct `color` not being inherited in IE 8/9.
|
|
261
|
+
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
|
262
|
+
*/
|
|
263
|
+
|
|
264
|
+
legend {
|
|
265
|
+
border: 0; /* 1 */
|
|
266
|
+
padding: 0; /* 2 */
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* 1. Correct font family not being inherited in all browsers.
|
|
271
|
+
* 2. Correct font size not being inherited in all browsers.
|
|
272
|
+
* 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
|
|
273
|
+
*/
|
|
274
|
+
|
|
275
|
+
button,
|
|
276
|
+
input,
|
|
277
|
+
select,
|
|
278
|
+
textarea {
|
|
279
|
+
font-family: inherit; /* 1 */
|
|
280
|
+
font-size: 100%; /* 2 */
|
|
281
|
+
margin: 0; /* 3 */
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
|
286
|
+
* the UA stylesheet.
|
|
287
|
+
*/
|
|
288
|
+
|
|
289
|
+
button,
|
|
290
|
+
input {
|
|
291
|
+
line-height: normal;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
|
296
|
+
* All other form control elements do not inherit `text-transform` values.
|
|
297
|
+
* Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
|
|
298
|
+
* Correct `select` style inheritance in Firefox 4+ and Opera.
|
|
299
|
+
*/
|
|
300
|
+
|
|
301
|
+
button,
|
|
302
|
+
select {
|
|
303
|
+
text-transform: none;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
|
308
|
+
* and `video` controls.
|
|
309
|
+
* 2. Correct inability to style clickable `input` types in iOS.
|
|
310
|
+
* 3. Improve usability and consistency of cursor style between image-type
|
|
311
|
+
* `input` and others.
|
|
312
|
+
*/
|
|
313
|
+
|
|
314
|
+
button,
|
|
315
|
+
html input[type="button"], /* 1 */
|
|
316
|
+
input[type="reset"],
|
|
317
|
+
input[type="submit"] {
|
|
318
|
+
-webkit-appearance: button; /* 2 */
|
|
319
|
+
cursor: pointer; /* 3 */
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* Re-set default cursor for disabled elements.
|
|
324
|
+
*/
|
|
325
|
+
|
|
326
|
+
button[disabled],
|
|
327
|
+
html input[disabled] {
|
|
328
|
+
cursor: default;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* 1. Address box sizing set to `content-box` in IE 8/9.
|
|
333
|
+
* 2. Remove excess padding in IE 8/9.
|
|
334
|
+
*/
|
|
335
|
+
|
|
336
|
+
input[type="checkbox"],
|
|
337
|
+
input[type="radio"] {
|
|
338
|
+
box-sizing: border-box; /* 1 */
|
|
339
|
+
padding: 0; /* 2 */
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
|
|
344
|
+
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
|
|
345
|
+
* (include `-moz` to future-proof).
|
|
346
|
+
*/
|
|
347
|
+
|
|
348
|
+
input[type="search"] {
|
|
349
|
+
-webkit-appearance: textfield; /* 1 */
|
|
350
|
+
-moz-box-sizing: content-box;
|
|
351
|
+
-webkit-box-sizing: content-box; /* 2 */
|
|
352
|
+
box-sizing: content-box;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* Remove inner padding and search cancel button in Safari 5 and Chrome
|
|
357
|
+
* on OS X.
|
|
358
|
+
*/
|
|
359
|
+
|
|
360
|
+
input[type="search"]::-webkit-search-cancel-button,
|
|
361
|
+
input[type="search"]::-webkit-search-decoration {
|
|
362
|
+
-webkit-appearance: none;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* Remove inner padding and border in Firefox 4+.
|
|
367
|
+
*/
|
|
368
|
+
|
|
369
|
+
button::-moz-focus-inner,
|
|
370
|
+
input::-moz-focus-inner {
|
|
371
|
+
border: 0;
|
|
372
|
+
padding: 0;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* 1. Remove default vertical scrollbar in IE 8/9.
|
|
377
|
+
* 2. Improve readability and alignment in all browsers.
|
|
378
|
+
*/
|
|
379
|
+
|
|
380
|
+
textarea {
|
|
381
|
+
overflow: auto; /* 1 */
|
|
382
|
+
vertical-align: top; /* 2 */
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
/* ==========================================================================
|
|
386
|
+
Tables
|
|
387
|
+
========================================================================== */
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* Remove most spacing between table cells.
|
|
391
|
+
*/
|
|
392
|
+
|
|
393
|
+
table {
|
|
394
|
+
border-collapse: collapse;
|
|
395
|
+
border-spacing: 0;
|
|
396
|
+
}
|