groundworkcss-rails 0.2.9 → 0.2.10
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/groundworkcss/rails/version.rb +1 -1
- data/lib/groundworkcss/rails/version.rb~ +1 -1
- data/vendor/assets/javascripts/groundworkcss/components/disabled.js +13 -12
- data/vendor/assets/javascripts/groundworkcss/components/equalizeColumns.js +31 -28
- data/vendor/assets/javascripts/groundworkcss/components/forms.js +21 -20
- data/vendor/assets/javascripts/groundworkcss/components/menus.js +88 -78
- data/vendor/assets/javascripts/groundworkcss/components/modals.js +7 -4
- data/vendor/assets/javascripts/groundworkcss/components/pagination.js +87 -82
- data/vendor/assets/javascripts/groundworkcss/components/responsiveTables.js +22 -18
- data/vendor/assets/javascripts/groundworkcss/components/responsiveText.js +38 -31
- data/vendor/assets/javascripts/groundworkcss/components/tabs.js +19 -17
- data/vendor/assets/javascripts/groundworkcss/components/tiles.js +24 -21
- data/vendor/assets/javascripts/groundworkcss/components/tooltips.js +7 -4
- data/vendor/assets/javascripts/groundworkcss/groundwork.all.js +974 -821
- data/vendor/assets/javascripts/groundworkcss/plugins/jquery-modals.js +193 -0
- data/vendor/assets/javascripts/groundworkcss/plugins/jquery-popover.js +208 -0
- data/vendor/assets/javascripts/groundworkcss/plugins/jquery-responsiveTables.js +64 -0
- data/vendor/assets/javascripts/groundworkcss/plugins/jquery-responsiveText.js +46 -0
- data/vendor/assets/javascripts/groundworkcss/plugins/jquery-tooltip.js +137 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/_settings.scss +149 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/base/_all.scss +11 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/{_animations.scss → base/_animations.scss} +7 -3
- data/vendor/assets/stylesheets/groundworkcss-scss/{_global.scss → base/_global.scss} +27 -10
- data/vendor/assets/stylesheets/groundworkcss-scss/{_grid.scss → base/_grid.scss} +5 -3
- data/vendor/assets/stylesheets/groundworkcss-scss/{_helpers.scss → base/_helpers.scss} +61 -18
- data/vendor/assets/stylesheets/groundworkcss-scss/{_reset.scss → base/_reset.scss} +36 -31
- data/vendor/assets/stylesheets/groundworkcss-scss/core/_all.scss +11 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/{_variables.scss → core/_constants.scss} +7 -58
- data/vendor/assets/stylesheets/groundworkcss-scss/core/_defaults.scss +150 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/{_mixins.scss → core/_mixins.scss} +6 -97
- data/vendor/assets/stylesheets/groundworkcss-scss/form/_all.scss +10 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/{_forms.scss → form/_forms.scss} +96 -80
- data/vendor/assets/stylesheets/groundworkcss-scss/form/_tiles.scss +100 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/groundwork-ie.scss +10 -8
- data/vendor/assets/stylesheets/groundworkcss-scss/groundwork.scss +12 -32
- data/vendor/assets/stylesheets/groundworkcss-scss/{_popovers.scss → misc/_all.scss} +3 -4
- data/vendor/assets/stylesheets/groundworkcss-scss/{_social-icons.scss → misc/_social-icons.scss} +4 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/nav/_all.scss +11 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/nav/_buttons.scss +328 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/{_navigation.scss → nav/_navigation.scss} +8 -5
- data/vendor/assets/stylesheets/groundworkcss-scss/nav/_tabs.scss +230 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/no-svg.scss +9 -7
- data/vendor/assets/stylesheets/groundworkcss-scss/responsive/_all.scss +13 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/responsive/_desktop.scss +26 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/responsive/_helpers.scss +16 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/responsive/_ipad.scss +28 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/responsive/_mobile.scss +44 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/responsive/_small-tablet.scss +196 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/type/_all.scss +9 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/{_font-awesome.scss → type/_font-awesome.scss} +10 -2
- data/vendor/assets/stylesheets/groundworkcss-scss/{_typography.scss → type/_typography.scss} +172 -60
- data/vendor/assets/stylesheets/groundworkcss-scss/type/_webfonts.scss +28 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/{_ui-elements.scss → ui/_all.scss} +4 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/ui/_callouts.scss +117 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/ui/_messages.scss +111 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/{_modals.scss → ui/_modals.scss} +2 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/ui/_popovers.scss +81 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/ui/_tables.scss +142 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/{_tooltips.scss → ui/_tooltips.scss} +35 -0
- metadata +56 -40
- data/vendor/assets/stylesheets/groundworkcss-scss/_buttons.scss +0 -231
- data/vendor/assets/stylesheets/groundworkcss-scss/_callouts.scss +0 -74
- data/vendor/assets/stylesheets/groundworkcss-scss/_cycle.scss +0 -20
- data/vendor/assets/stylesheets/groundworkcss-scss/_messages.scss +0 -69
- data/vendor/assets/stylesheets/groundworkcss-scss/_mobile-reset.scss +0 -11
- data/vendor/assets/stylesheets/groundworkcss-scss/_responsive.scss +0 -246
- data/vendor/assets/stylesheets/groundworkcss-scss/_tables.scss +0 -85
- data/vendor/assets/stylesheets/groundworkcss-scss/_tabs.scss +0 -172
- data/vendor/assets/stylesheets/groundworkcss-scss/_tiles.scss +0 -198
- data/vendor/assets/stylesheets/groundworkcss-scss/_webfonts.scss +0 -19
@@ -1,12 +1,20 @@
|
|
1
|
+
// =============================================
|
2
|
+
// Layout Helpers
|
3
|
+
// Last Updated:2013-4-24
|
4
|
+
// =============================================
|
5
|
+
|
6
|
+
|
7
|
+
@import "animations"; // required
|
8
|
+
|
9
|
+
|
1
10
|
// ================================
|
2
|
-
//
|
11
|
+
// mixins
|
3
12
|
// ================================
|
4
13
|
|
5
|
-
@mixin _clear
|
6
|
-
clear:
|
7
|
-
&:after {content:''; display:block; clear:both;}
|
14
|
+
@mixin _clear { clear: both;
|
15
|
+
&:after { content:''; display:block; clear:both; }
|
8
16
|
}
|
9
|
-
@mixin _clearfix
|
17
|
+
@mixin _clearfix { @include _clear; } // alias
|
10
18
|
|
11
19
|
@mixin _padded($multiple: 1) { padding: $gutter * $multiple; }
|
12
20
|
@mixin _pad-top($multiple: 1) { padding-top: $gutter * $multiple; }
|
@@ -32,33 +40,47 @@
|
|
32
40
|
|
33
41
|
@mixin _inline { display:inline-block; width:auto; }
|
34
42
|
@mixin _block { display:block; }
|
43
|
+
@mixin _hidden { display:none !important; }
|
44
|
+
|
45
|
+
@mixin _small { font-size:0.8em; }
|
46
|
+
@mixin _large { font-size:1.5em; }
|
47
|
+
|
35
48
|
@mixin _zero { margin:0; padding:0; }
|
49
|
+
|
36
50
|
@mixin _pull-right { float:right; }
|
37
51
|
@mixin _pull-left { float:left; }
|
52
|
+
|
38
53
|
@mixin _bordered { border: 1px solid $border-color; }
|
39
54
|
@mixin _border-top { border-top:1px solid $border-color; }
|
40
55
|
@mixin _border-right { border-right:1px solid $border-color; }
|
41
56
|
@mixin _border-bottom { border-bottom:1px solid $border-color; }
|
42
57
|
@mixin _border-left { border-left:1px solid $border-color; }
|
58
|
+
|
43
59
|
@mixin _align-top { display:table-cell; vertical-align:top; } // must have height (experimental)
|
44
60
|
@mixin _align-right { text-align:right; }
|
45
61
|
@mixin _align-bottom { display:table-cell; vertical-align:bottom; } // must have height (experimental)
|
46
62
|
@mixin _align-left { text-align:left; }
|
47
63
|
@mixin _align-center { text-align:center; }
|
48
64
|
@mixin _justify { text-align:justify; }
|
65
|
+
|
49
66
|
@mixin _truncate { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
|
67
|
+
|
50
68
|
@mixin _center { @include _block; margin:0 auto; }
|
69
|
+
|
51
70
|
@mixin _spacer { height:$gutter; }
|
52
|
-
|
71
|
+
|
72
|
+
@mixin _square { @include rounded(0); }
|
73
|
+
@mixin _round { @include rounded(9999px); }
|
74
|
+
|
53
75
|
@mixin _disabled { @include state(disabled,textOnly); }
|
54
76
|
|
55
|
-
// Seems like redundant rotate and spin mixins, but are there any side implications if we move "@include _inline;" into the rotate() and spin() mixin in _mixins.scss?
|
56
77
|
@mixin _rotate-90 { @include _inline; @include rotate(90deg); }
|
57
78
|
@mixin _rotate-180 { @include _inline; @include rotate(180deg); }
|
58
79
|
@mixin _rotate-270 { @include _inline; @include rotate(270deg); }
|
59
80
|
@mixin _rotate-90-ctr { @include _inline; @include rotate(-90deg); }
|
60
81
|
@mixin _rotate-180-ctr { @include _inline; @include rotate(-180deg); }
|
61
82
|
@mixin _rotate-270-ctr { @include _inline; @include rotate(-270deg); }
|
83
|
+
|
62
84
|
@mixin _spin { @include _inline; @include spin; }
|
63
85
|
@mixin _spin-once { @include _inline; @include spin(1); }
|
64
86
|
@mixin _spin-twice { @include _inline; @include spin(2); }
|
@@ -72,8 +94,11 @@
|
|
72
94
|
@mixin _spin-slow-twice { @include _inline; @include spin(2,5s); }
|
73
95
|
@mixin _spin-slow-thrice { @include _inline; @include spin(3,5s); }
|
74
96
|
|
97
|
+
|
98
|
+
|
99
|
+
|
75
100
|
// ================================
|
76
|
-
//
|
101
|
+
// placeholders
|
77
102
|
// ================================
|
78
103
|
|
79
104
|
%clear, %clearfix { @include _clear;}
|
@@ -98,6 +123,7 @@
|
|
98
123
|
&%double { @include _pad-left(2); }
|
99
124
|
&%triple { @include _pad-left(3); }
|
100
125
|
}
|
126
|
+
|
101
127
|
%gapped { @include _gapped;
|
102
128
|
&%double { @include _gapped(2); }
|
103
129
|
&%triple { @include _gapped(3); }
|
@@ -118,8 +144,9 @@
|
|
118
144
|
&%double { @include _gap-left(2); }
|
119
145
|
&%triple { @include _gap-left(3); }
|
120
146
|
}
|
147
|
+
|
121
148
|
%stick { @include _stick;
|
122
|
-
&%top { @include _stick(top); }
|
149
|
+
&%top { @include _stick(top); }
|
123
150
|
&%right { @include _stick(right); }
|
124
151
|
&%bottom { @include _stick(bottom); }
|
125
152
|
&%left { @include _stick(left); }
|
@@ -129,31 +156,47 @@
|
|
129
156
|
|
130
157
|
%inline { @include _inline; }
|
131
158
|
%block { @include _block; }
|
159
|
+
%hidden { @include _hidden; }
|
160
|
+
|
161
|
+
%small { @include _small; }
|
162
|
+
%big, %large { @include _large; }
|
163
|
+
|
132
164
|
%zero { @include _zero; }
|
165
|
+
|
133
166
|
%pull-right { @include _pull-right; }
|
134
167
|
%pull-left { @include _pull-left; }
|
168
|
+
|
135
169
|
%bordered { @include _bordered; }
|
136
170
|
%border-top { @include _border-top; }
|
137
171
|
%border-right { @include _border-right; }
|
138
172
|
%border-bottom { @include _border-bottom; }
|
139
173
|
%border-left { @include _border-left; }
|
174
|
+
|
140
175
|
%align-top { @include _align-top; } // must have height (experimental)
|
141
176
|
%align-right { @include _align-right; }
|
142
177
|
%align-bottom { @include _align-bottom; } // must have height (experimental)
|
143
178
|
%align-left { @include _align-left; }
|
144
179
|
%align-center { @include _align-center; }
|
145
180
|
%justify { @include _justify; }
|
181
|
+
|
146
182
|
%truncate { @include _truncate; }
|
183
|
+
|
147
184
|
%center { @include _center; }
|
185
|
+
|
148
186
|
%spacer { @include _spacer; }
|
187
|
+
|
188
|
+
%square { @include _square; }
|
149
189
|
%round { @include _round; }
|
190
|
+
|
150
191
|
%disabled { @include _disabled; }
|
151
|
-
|
192
|
+
|
193
|
+
%rotate-90 { @include _rotate-90; }
|
152
194
|
%rotate-180 { @include _rotate-180; }
|
153
195
|
%rotate-270 { @include _rotate-270; }
|
154
196
|
%rotate-90-ctr { @include _rotate-90-ctr; }
|
155
197
|
%rotate-180-ctr { @include _rotate-180-ctr; }
|
156
198
|
%rotate-270-ctr { @include _rotate-270-ctr; }
|
199
|
+
|
157
200
|
%spin { @include _spin; }
|
158
201
|
%spin-once { @include _spin-once; }
|
159
202
|
%spin-twice { @include _spin-twice; }
|
@@ -168,22 +211,23 @@
|
|
168
211
|
%spin-slow-thrice { @include _spin-slow-thrice; }
|
169
212
|
|
170
213
|
|
214
|
+
|
215
|
+
|
171
216
|
// ================================
|
172
|
-
//
|
217
|
+
// classes
|
173
218
|
// ================================
|
174
219
|
|
175
220
|
@if $classes {
|
176
221
|
|
177
|
-
|
178
|
-
|
179
|
-
// function to generate the helpers
|
222
|
+
// function to generate the simple helpers
|
223
|
+
$helpers: inline block hidden small large zero pull-right pull-left bordered border-right border-left border-top border-bottom align-top align-right align-bottom align-left align-center justify truncate center spacer square round rotate-90 rotate-180 rotate-270 rotate-90-ctr rotate-180-ctr rotate-270-ctr spin spin-once spin-twice spin-thrice spin-fast spin-fast-once spin-fast-twice spin-fast-thrice spin-slow spin-slow-once spin-slow-twice spin-slow-thrice;
|
180
224
|
@for $i from 1 through length($helpers) {
|
181
225
|
.#{nth($helpers, $i)} { @extend %#{nth($helpers, $i)}; }
|
182
226
|
}
|
183
227
|
|
228
|
+
// function to generate the spacers (with nested modifiers)
|
184
229
|
$spacers: padded pad-top pad-right pad-bottom pad-left gapped gap-top gap-right gap-bottom gap-left;
|
185
230
|
$modifiers: double triple;
|
186
|
-
// function to generate the spacers
|
187
231
|
@for $i from 1 through length($spacers) {
|
188
232
|
.#{nth($spacers, $i)} {
|
189
233
|
@extend %#{nth($spacers, $i)};
|
@@ -193,12 +237,11 @@
|
|
193
237
|
}
|
194
238
|
}
|
195
239
|
|
240
|
+
// manual declaration of the more complex helpers
|
196
241
|
.clear, .clearfix { @extend %clear;
|
197
242
|
&:after { content:''; display:block; clear:both; }
|
198
243
|
}
|
199
|
-
|
200
|
-
.disabled { @include state(disabled,textOnly); }
|
201
|
-
|
244
|
+
.disabled { @extend %disabled; }
|
202
245
|
.stick { @extend %stick;
|
203
246
|
&.top { @extend %top; }
|
204
247
|
&.right { @extend %right; }
|
@@ -1,6 +1,6 @@
|
|
1
1
|
// =============================================
|
2
|
-
//
|
3
|
-
// Last Updated:2013-
|
2
|
+
// CSS Reset
|
3
|
+
// Last Updated:2013-4-24
|
4
4
|
// =============================================
|
5
5
|
|
6
6
|
|
@@ -30,48 +30,53 @@
|
|
30
30
|
// | B O R D E R |
|
31
31
|
// | ---------------------------------------------------|
|
32
32
|
//
|
33
|
-
// NOTE: Padding and border are calculated within an
|
34
|
-
// element's specified width instead of its total
|
33
|
+
// NOTE: Padding and border are calculated within an
|
34
|
+
// element's specified width instead of its total
|
35
35
|
// width being increased by these properties
|
36
36
|
//
|
37
37
|
//
|
38
38
|
// =======================================================
|
39
39
|
|
40
|
-
|
41
|
-
|
42
|
-
-
|
43
|
-
-moz-box-sizing:border-box; // Firefox
|
44
|
-
-webkit-box-sizing:border-box; // Webkit (Safari, Chrome, etc)
|
45
|
-
box-sizing:border-box; // IE 8-9 & Other
|
46
|
-
*behavior: url($boxsizing_path); // IE 6-7 -- Thank Schepp for the polyfill for legacy IE browsers: https://github.com/Schepp/box-sizing-polyfill
|
40
|
+
%everything {
|
41
|
+
@include box-sizing(border-box);
|
42
|
+
*behavior: url($boxsizing_path); // IE 6-7 -- Thank Schepp for the polyfill for legacy IE browsers: https://github.com/Schepp/box-sizing-polyfill
|
47
43
|
}
|
48
44
|
|
45
|
+
%document {
|
46
|
+
-webkit-text-size-adjust:none;
|
47
|
+
line-height:1;
|
48
|
+
}
|
49
49
|
|
50
|
-
|
51
|
-
|
52
|
-
///////////////////////
|
53
|
-
// optimized reset //
|
54
|
-
///////////////////////
|
55
|
-
html, body, div, span,
|
56
|
-
h1, h2, h3, h4, h5, h6, p,
|
57
|
-
ol, ul, li, dl, dt, dd,
|
58
|
-
a, img, blockquote, cite,
|
59
|
-
em, small, strong, b, u, i, time, address, center,
|
60
|
-
form, fieldset, legend, label, input, textarea, select, button,
|
61
|
-
table, caption, tbody, tfoot, thead, tr, th, td,
|
62
|
-
header, footer, aside, menu, nav, section, article, details,
|
63
|
-
pre, code, iframe, object, canvas, audio, video {
|
50
|
+
%html5-elements {
|
64
51
|
margin:0;
|
65
52
|
padding:0;
|
66
53
|
border: 0;
|
54
|
+
font-size:1em;
|
55
|
+
font:inherit;
|
56
|
+
vertical-align:baseline;
|
67
57
|
}
|
68
58
|
|
59
|
+
%block-elements {
|
60
|
+
display:block;
|
61
|
+
}
|
69
62
|
|
63
|
+
%table-elements {
|
64
|
+
border-collapse:collapse;
|
65
|
+
border-spacing:0;
|
66
|
+
}
|
70
67
|
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
68
|
+
@if $reset {
|
69
|
+
*, *:after, *:before {
|
70
|
+
@extend %everything;
|
71
|
+
}
|
72
|
+
// reset all $reset-elements (configured in _variables.scss)
|
73
|
+
@for $i from 1 through length($reset-elements) {
|
74
|
+
#{nth($reset-elements, $i)} { @extend %html5-elements; }
|
75
|
+
}
|
76
|
+
header, footer, aside, menu, nav, section, article, details {
|
77
|
+
@extend %block-elements;
|
78
|
+
}
|
79
|
+
table {
|
80
|
+
@extend %table-elements;
|
81
|
+
}
|
77
82
|
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
// =============================================
|
2
|
+
// GroundworkCSS by Gary Hepting
|
3
|
+
// Last Updated:2013-4-24
|
4
|
+
// =============================================
|
5
|
+
|
6
|
+
|
7
|
+
// core
|
8
|
+
@import "compass"; // required (http://compass-style.org/install/)
|
9
|
+
@import "constants"; // required
|
10
|
+
@import "defaults"; // required
|
11
|
+
@import "mixins"; // required
|
@@ -1,68 +1,17 @@
|
|
1
|
-
|
2
|
-
//
|
3
|
-
|
4
|
-
|
5
|
-
$gutter: 10px; // gutter spacing
|
6
|
-
$classes: true; // enable CSS class selectors (WIP)
|
7
|
-
$tags: true; // enable semantic tag selectors (WIP)
|
8
|
-
$aria: true; // enable Aria role selectors (WIP)
|
1
|
+
// =============================================
|
2
|
+
// Constant Variables
|
3
|
+
// Last Updated:2013-4-24
|
4
|
+
// =============================================
|
9
5
|
|
10
6
|
|
11
|
-
// file paths
|
12
|
-
$css_path: 'css/'; // path to CSS output (relative from HTML document root)
|
13
|
-
$root_path: '../'; // path to HTML document root (relative from $css_path)
|
14
|
-
$images_path: 'images/'; // path to images (relative from $root_path)
|
15
|
-
$fonts_path: 'font/'; // path to fonts (relative from $root_path)
|
16
|
-
$boxsizing_path: '/js/libs/boxsizing.htc'; // path to box sizing polyfill (change to absolute path from HTML document root)
|
17
|
-
|
18
7
|
|
19
8
|
///////////////////////
|
20
9
|
// colors //
|
21
10
|
///////////////////////
|
22
11
|
|
23
|
-
|
24
|
-
$
|
25
|
-
|
26
|
-
$font-size: 14px;
|
27
|
-
$font-family: Helvetica, Arial, Geneva, sans-serif;
|
28
|
-
// links
|
29
|
-
$link-color: #489AC1;
|
30
|
-
$link-active: #198D98;
|
31
|
-
// selection
|
32
|
-
$selection-color: $link-color;
|
33
|
-
$selection-text: #ffffff;
|
34
|
-
// borders
|
35
|
-
$border-color: #dddddd;
|
36
|
-
// buttons
|
37
|
-
$button-color: #1DABB8;
|
38
|
-
$button-border-color: darken($button-color,10%);
|
39
|
-
$button-active: #198D98;
|
40
|
-
$button-text: #ffffff;
|
41
|
-
$button-active-text: #ffffff;
|
42
|
-
// disabled
|
43
|
-
$disabled-color: gray;
|
44
|
-
// info
|
45
|
-
$info-color: #3a87ad;
|
46
|
-
$info-background: #d9edf7;
|
47
|
-
$info-border: #bce8f1;
|
48
|
-
// alert
|
49
|
-
$alert-color: #c09853;
|
50
|
-
$alert-background: #fcf8e3;
|
51
|
-
$alert-border: #fbeee0;
|
52
|
-
// error
|
53
|
-
$error-color: #b94a48;
|
54
|
-
$error-background: #f2dede;
|
55
|
-
$error-border: #eed3d7;
|
56
|
-
// warning
|
57
|
-
$warning-color: #FF971E;
|
58
|
-
$warning-background: #FFE5C7;
|
59
|
-
$warning-border: #FFDBB3;
|
60
|
-
// success
|
61
|
-
$success-color: #468847;
|
62
|
-
$success-background: #dff0d8;
|
63
|
-
$success-border: #d6e9c6;
|
64
|
-
// rounded corners
|
65
|
-
$radius: 4px;
|
12
|
+
$white: #ffffff;
|
13
|
+
$black: #111111;
|
14
|
+
|
66
15
|
|
67
16
|
|
68
17
|
///////////////////////
|
@@ -0,0 +1,150 @@
|
|
1
|
+
// =============================================
|
2
|
+
// Custom Settings
|
3
|
+
// Last Updated:2013-4-25
|
4
|
+
// =============================================
|
5
|
+
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
///////////////////////
|
10
|
+
// custom settings //
|
11
|
+
///////////////////////
|
12
|
+
|
13
|
+
// framework options
|
14
|
+
$classes: true !default; // enable CSS class selectors (WIP)
|
15
|
+
$tags: true !default; // enable semantic tag selectors (WIP)
|
16
|
+
$tag-elements: html body
|
17
|
+
div span header footer aside nav menu section article details
|
18
|
+
h1 h2 h3 h4 h5 h6 p
|
19
|
+
ol ul li dl dt dd
|
20
|
+
em small big strong b u i sub sup del strike
|
21
|
+
blockquote cite pre code time address
|
22
|
+
a img center hr
|
23
|
+
form fieldset legend label input textarea select button
|
24
|
+
table caption tbody thead tfoot tr th td
|
25
|
+
iframe object canvas audio video !default;
|
26
|
+
|
27
|
+
$aria: true !default; // enable Aria role selectors (WIP)
|
28
|
+
|
29
|
+
// file paths
|
30
|
+
$root_path: '../' !default; // path to HTML document root (relative from $css_path)
|
31
|
+
$css_path: 'css/' !default; // path to CSS output (relative from HTML document root)
|
32
|
+
$images_path: 'images/' !default; // path to images (relative from $root_path)
|
33
|
+
$fonts_path: 'font/' !default; // path to fonts (relative from $root_path)
|
34
|
+
$boxsizing_path: '/js/libs/boxsizing.htc' !default; // path to box sizing polyfill (change to absolute path from HTML document root)
|
35
|
+
|
36
|
+
// layout/grid settings
|
37
|
+
$max-width: 1200px !default; // max container width (i.e. - 960px)
|
38
|
+
$gutter: 10px !default; // gutter spacing
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
///////////////////////
|
43
|
+
// colors //
|
44
|
+
///////////////////////
|
45
|
+
|
46
|
+
// base styles
|
47
|
+
$background-color: #ffffff !default;
|
48
|
+
$font-color: #2b2b2d !default;
|
49
|
+
$font-size: 14px !default;
|
50
|
+
$font-family: Helvetica, Arial, Geneva, sans-serif !default;
|
51
|
+
|
52
|
+
// links
|
53
|
+
$link-color: #489AC1 !default;
|
54
|
+
$link-active: #198D98 !default;
|
55
|
+
|
56
|
+
// selection
|
57
|
+
$selection-color: $link-color !default;
|
58
|
+
$selection-text: #ffffff !default;
|
59
|
+
|
60
|
+
// borders
|
61
|
+
$border-color: #dddddd !default;
|
62
|
+
|
63
|
+
// buttons
|
64
|
+
$button-color: #1DABB8 !default;
|
65
|
+
$button-border-color: darken($button-color,10%) !default;
|
66
|
+
$button-active: #198D98 !default;
|
67
|
+
$button-text: #ffffff !default;
|
68
|
+
$button-active-text: #ffffff !default;
|
69
|
+
|
70
|
+
// disabled
|
71
|
+
$disabled-color: gray !default;
|
72
|
+
|
73
|
+
// info
|
74
|
+
$info-color: #3a87ad !default;
|
75
|
+
$info-background: #d9edf7 !default;
|
76
|
+
$info-border: #bce8f1 !default;
|
77
|
+
|
78
|
+
// alert
|
79
|
+
$alert-color: #c09853 !default;
|
80
|
+
$alert-background: #fcf8e3 !default;
|
81
|
+
$alert-border: #fbeee0 !default;
|
82
|
+
|
83
|
+
// error
|
84
|
+
$error-color: #b94a48 !default;
|
85
|
+
$error-background: #f2dede !default;
|
86
|
+
$error-border: #eed3d7 !default;
|
87
|
+
|
88
|
+
// warning
|
89
|
+
$warning-color: #FF971E !default;
|
90
|
+
$warning-background: #FFE5C7 !default;
|
91
|
+
$warning-border: #FFDBB3 !default;
|
92
|
+
|
93
|
+
// success
|
94
|
+
$success-color: #468847 !default;
|
95
|
+
$success-background: #dff0d8 !default;
|
96
|
+
$success-border: #d6e9c6 !default;
|
97
|
+
|
98
|
+
$state-name: disabled info alert warning error success !default;
|
99
|
+
$state-code: $disabled-color $info-color $alert-color $warning-color $error-color $success-color !default;
|
100
|
+
$state-text: $white $white $white $white $white $white !default;
|
101
|
+
|
102
|
+
// modifier colors
|
103
|
+
$green: #2ecc71 !default;
|
104
|
+
$blue: #3498db !default;
|
105
|
+
$purple: #9b59b6 !default;
|
106
|
+
$yellow: #f1c40f !default;
|
107
|
+
$orange: #e67e22 !default;
|
108
|
+
$red: #e74c3c !default;
|
109
|
+
$pink: #f02475 !default;
|
110
|
+
$turquoise: #1abc9c !default;
|
111
|
+
$asphalt: #34495e !default;
|
112
|
+
|
113
|
+
$modifier-name: green blue purple yellow orange red pink turquoise asphalt !default;
|
114
|
+
$modifier-code: $green $blue $purple $yellow $orange $red $pink $turquoise $asphalt !default;
|
115
|
+
$modifier-text: $white $white $white $white $white $white $white $white $white !default;
|
116
|
+
|
117
|
+
// rounded corners
|
118
|
+
$radius: 4px !default;
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
///////////////////////
|
123
|
+
// reset elements //
|
124
|
+
///////////////////////
|
125
|
+
|
126
|
+
// elements that will be reset (trim this to include only the elements that are used in your markup)
|
127
|
+
$reset: true !default;
|
128
|
+
$reset-elements: html body
|
129
|
+
div span header footer aside nav menu section article details
|
130
|
+
h1 h2 h3 h4 h5 h6 p
|
131
|
+
ol ul li dl dt dd
|
132
|
+
em small big strong b u i
|
133
|
+
blockquote cite pre code time address
|
134
|
+
a img center hr
|
135
|
+
form fieldset legend label input textarea select button
|
136
|
+
table caption tbody thead tfoot tr th td
|
137
|
+
iframe object canvas audio video !default;
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
///////////////////////
|
142
|
+
// web fonts //
|
143
|
+
///////////////////////
|
144
|
+
|
145
|
+
// font names (no spaces or special characters, these are used to build selectors)
|
146
|
+
$web-font-names: AverageSans,
|
147
|
+
AmericanTypewriter !default;
|
148
|
+
// font files (must all be named the same as listed below and include .eot, .woff and .ttf file types)
|
149
|
+
$web-font-files: average-sans-webfont,
|
150
|
+
americantypewriterstd-bold !default;
|