groundworkcss 0.2.2 → 0.2.3

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.
Files changed (58) hide show
  1. data/README.md +11 -33
  2. data/lib/groundworkcss/generators/install_generator.rb +1 -1
  3. data/lib/groundworkcss/version.rb +1 -1
  4. data/vendor/assets/fonts/groundworkcss/FontAwesome.otf +0 -0
  5. data/vendor/assets/fonts/groundworkcss/fontawesome-webfont.eot +0 -0
  6. data/vendor/assets/fonts/groundworkcss/fontawesome-webfont.svg +153 -38
  7. data/vendor/assets/fonts/groundworkcss/fontawesome-webfont.ttf +0 -0
  8. data/vendor/assets/fonts/groundworkcss/fontawesome-webfont.woff +0 -0
  9. data/vendor/assets/stylesheets/groundworkcss/_settings.scss +301 -1
  10. data/vendor/assets/stylesheets/groundworkcss/base/{_all.scss → _all-base.scss} +2 -3
  11. data/vendor/assets/stylesheets/groundworkcss/base/_animations.scss +1 -1
  12. data/vendor/assets/stylesheets/groundworkcss/base/_global.scss +4 -23
  13. data/vendor/assets/stylesheets/groundworkcss/base/_grid.scss +53 -26
  14. data/vendor/assets/stylesheets/groundworkcss/base/_helpers.scss +105 -56
  15. data/vendor/assets/stylesheets/groundworkcss/base/_reset.scss +34 -34
  16. data/vendor/assets/stylesheets/groundworkcss/core/{_all.scss → _all-core.scss} +1 -1
  17. data/vendor/assets/stylesheets/groundworkcss/core/_breakpoints.scss +22 -0
  18. data/vendor/assets/stylesheets/groundworkcss/core/_defaults.scss +196 -93
  19. data/vendor/assets/stylesheets/groundworkcss/core/_mixins.scss +132 -131
  20. data/vendor/assets/stylesheets/groundworkcss/form/_all-form.scss +11 -0
  21. data/vendor/assets/stylesheets/groundworkcss/form/_forms.scss +57 -112
  22. data/vendor/assets/stylesheets/groundworkcss/form/_tiles.scss +9 -11
  23. data/vendor/assets/stylesheets/groundworkcss/groundwork-ie.scss +7 -8
  24. data/vendor/assets/stylesheets/groundworkcss/groundwork.scss +11 -14
  25. data/vendor/assets/stylesheets/groundworkcss/nav/_all-nav.scss +12 -0
  26. data/vendor/assets/stylesheets/groundworkcss/nav/_buttons.scss +22 -15
  27. data/vendor/assets/stylesheets/groundworkcss/nav/_navigation.scss +26 -29
  28. data/vendor/assets/stylesheets/groundworkcss/nav/_tabs.scss +39 -37
  29. data/vendor/assets/stylesheets/groundworkcss/responsive/_all-responsive.scss +14 -0
  30. data/vendor/assets/stylesheets/groundworkcss/responsive/_desktop.scss +5 -3
  31. data/vendor/assets/stylesheets/groundworkcss/responsive/_ipad.scss +5 -3
  32. data/vendor/assets/stylesheets/groundworkcss/responsive/_mobile.scss +6 -4
  33. data/vendor/assets/stylesheets/groundworkcss/responsive/_small-tablet.scss +20 -16
  34. data/vendor/assets/stylesheets/groundworkcss/social-icons-png.scss +295 -0
  35. data/vendor/assets/stylesheets/groundworkcss/{misc/_social-icons.scss → social-icons-svg.scss} +8 -5
  36. data/vendor/assets/stylesheets/groundworkcss/type/{_all.scss → _all-type.scss} +0 -1
  37. data/vendor/assets/stylesheets/groundworkcss/type/_typography.scss +168 -161
  38. data/vendor/assets/stylesheets/groundworkcss/type/_webfonts.scss +1 -1
  39. data/vendor/assets/stylesheets/groundworkcss/ui/_all-ui.scss +14 -0
  40. data/vendor/assets/stylesheets/groundworkcss/ui/_callouts.scss +31 -18
  41. data/vendor/assets/stylesheets/groundworkcss/ui/_messages.scss +31 -18
  42. data/vendor/assets/stylesheets/groundworkcss/ui/_modals.scss +6 -8
  43. data/vendor/assets/stylesheets/groundworkcss/ui/_tables.scss +6 -5
  44. data/vendor/assets/stylesheets/groundworkcss/ui/_tooltips.scss +15 -14
  45. metadata +28 -25
  46. checksums.yaml +0 -7
  47. data/vendor/assets/stylesheets/groundworkcss/_rails-settings.scss +0 -202
  48. data/vendor/assets/stylesheets/groundworkcss/font-awesome-ie7.min.css +0 -22
  49. data/vendor/assets/stylesheets/groundworkcss/form/_all.scss +0 -10
  50. data/vendor/assets/stylesheets/groundworkcss/index.scss +0 -3
  51. data/vendor/assets/stylesheets/groundworkcss/magnific-popup.css +0 -393
  52. data/vendor/assets/stylesheets/groundworkcss/misc/_all.scss +0 -9
  53. data/vendor/assets/stylesheets/groundworkcss/nav/_all.scss +0 -11
  54. data/vendor/assets/stylesheets/groundworkcss/no-svg.scss +0 -355
  55. data/vendor/assets/stylesheets/groundworkcss/placeholder_polyfill.css +0 -32
  56. data/vendor/assets/stylesheets/groundworkcss/responsive/_all.scss +0 -13
  57. data/vendor/assets/stylesheets/groundworkcss/type/_font-awesome.scss +0 -542
  58. data/vendor/assets/stylesheets/groundworkcss/ui/_all.scss +0 -13
@@ -1,47 +1,177 @@
1
1
  // =============================================
2
- // Custom Settings
3
- // Last Updated:2013-4-25
2
+ // Default Settings
3
+ // Last Updated:2013-6-24
4
4
  // =============================================
5
5
 
6
6
 
7
+ ///////////////////////
8
+ // framework //
9
+ ///////////////////////
10
+
11
+ // file paths
12
+ $root_path: "../" !default; // path to HTML document root (relative from CSS)
13
+ $images_path: "images/" !default; // path to images (relative from $root_path)
14
+ $fonts_path: "fonts/" !default; // path to fonts (relative from $root_path)
15
+ $boxsizing_path: "/js/libs/boxsizing.htc" !default; // path to box sizing polyfill (change to absolute path from HTML document root)
16
+
17
+ // build options
18
+ $reset: true !default; // enable CSS reset (recommended)
19
+ // elements that will be reset (refine this to only include elements that you actually use in your markup patterns for optimal performance)
20
+ $reset-elements: html body
21
+ div span header footer aside nav menu section article details
22
+ h1 h2 h3 h4 h5 h6 p
23
+ ol ul li dl dt dd
24
+ em small big strong b u i sub sup del strike
25
+ blockquote cite pre code time address
26
+ a img center hr
27
+ form fieldset legend label input textarea button
28
+ table caption tbody thead tfoot tr th td
29
+ iframe object canvas audio video !default;
30
+
31
+ $global-tags: true !default; // enable output in base/_global.scss (recommended)
32
+
33
+ // grid settings
34
+ $grid-classes: true !default; // enable output of grid classes (recommended)
35
+ $numerators: one two three four five six seven eight nine ten eleven twelve !default;
36
+ $denominators: whole half third fourth fifth sixth seventh eighth ninth tenth eleventh twelfth !default;
37
+ $denominators-plural: wholes halves thirds fourths fifths sixths sevenths eighths ninths tenths elevenths twelfths !default;
38
+ $grid-adapters: $one-whole $one-half $one-third $one-fourth $one-fifth !default;
39
+ $max-width: 1200px !default; // maximum container width (i.e. - 960px)
40
+ $gutter: 10px !default; // gutter spacing (used by padded/gapped helpers, elements with padding, etc.)
41
+
42
+ // helper settings
43
+ $layout-classes: true !default; // enable output of layout helpers (recommended)
44
+ $layout-helpers: inline block
45
+ hidden
46
+ disabled
47
+ zero
48
+ pull-right pull-left clear
49
+ center !default;
50
+
51
+ $positioning-classes: true !default; // enable output of position helpers (optional)
52
+
53
+ $size-classes: true !default; // enable output of size helpers (recommended)
54
+ $size-helpers: small large !default;
55
+
56
+ $typography-classes: true !default; // enable output of typography helpers (recommended)
57
+ $typography-helpers: align-top align-right align-bottom align-left align-center justify
58
+ truncate !default;
59
+
60
+ $border-classes: true !default; // enable output of border helpers (optional)
61
+ $border-helpers: bordered border-right border-left border-top border-bottom !default;
62
+
63
+ // round/square
64
+ $default-radius: 4px !default;
65
+ $radius-classes: true !default; // enable output of radius helpers (optional)
66
+ $radius-helpers: square round !default;
67
+
68
+ // rotation
69
+ $rotation-classes: true !default; // enable output of rotational helpers (optional)
70
+ $rotation-helpers: rotate-90 rotate-180 rotate-270 rotate-90-ctr rotate-180-ctr rotate-270-ctr !default;
71
+
72
+ // spinners
73
+ $spin-classes: true !default; // enable output of spin helpers (optional)
74
+ $spin-helpers: spin spin-once spin-twice spin-thrice
75
+ spin-fast spin-fast-once spin-fast-twice spin-fast-thrice
76
+ spin-slow spin-slow-once spin-slow-twice spin-slow-thrice !default;
77
+
78
+ // spacers
79
+ $spacer-classes: true !default; // enable output of spacer helpers (recommended)
80
+ $spacer-helpers: padded pad-top pad-right pad-bottom pad-left
81
+ gapped gap-top gap-right gap-bottom gap-left !default;
82
+
83
+ // spacer multipliers
84
+ $spacer-mod-classes: true !default; // enable output of spacer modifiers (optional)
85
+ $spacer-modifiers: double triple !default;
86
+
87
+ // states
88
+ $ui-states: disabled info alert warning error success !default;
89
+ $button-states: on active disabled info alert warning error success !default;
90
+
91
+ // typography
92
+ $type-tags: true !default; // enable output of type selectors (recommended)
93
+ $type-elements: h1 h2 h3 h4 h5 h6 p
94
+ ul ol dl
95
+ blockquote cite
96
+ small big em b strong
97
+ sup sub
98
+ del strike
99
+ code pre !default;
100
+ $type-colors: true !default; // enable output of colors classes (optional)
101
+ $type-classes: false !default; // enable output of type classes (optional)
102
+ $type-classnames: h1 h2 h3 h4 h5 h6 p
103
+ ul ol dl
104
+ blockquote cite
105
+ small big large
106
+ b bold strong
107
+ em italic
108
+ sup sub
109
+ del strike
110
+ code pre
111
+ invalid valid
112
+ unstyled !default;
113
+ $styled-lists: true !default; // enable output of styled lists (optional)
114
+
115
+ // webfonts
116
+ $webfont-classes: true !default; // enable output of webfont classes (optional)
117
+
118
+ // buttons
119
+ $button-tags: true !default; // enable output of button selectors (recommended)
120
+ $button-classes: true !default; // enable output of button classes (recommended)
121
+ $button-modifiers: small large on active square round block !default;
122
+
123
+ // navigation
124
+ $nav-tags: true !default; // enable output of nav selectors (optional)
125
+ $nav-classes: true !default;
126
+
127
+ // tabs
128
+ $tab-classes: true !default; // enable output of tab classes (optional)
129
+
130
+ // forms
131
+ $form-tags: true !default; // enable output of form selectors (recommended)
132
+ $form-classes: false !default; // enable output of form classes (optional)
133
+ $form-elements: fieldset legend label input textarea !default;
134
+
135
+ // tiles
136
+ $tiles: true !default; // enable output of tile classes (optional)
137
+ $tile-modifiers: on active small large square round disabled !default;
138
+
139
+ // message & callout boxes
140
+ $ui-classes: true !default;
141
+ $ui-modifiers: dismissible !default;
142
+
143
+ // tables
144
+ $table-tags: true !default;
145
+ $table-classes: true !default;
146
+
147
+ // ARIA role selectors (WIP - nav, buttons, tabs, etc.)
148
+ $aria-selectors: true !default; // enable Aria role selectors
149
+
150
+ // Compass default transition settings
151
+ $default-transition-property: all;
152
+ $default-transition-duration: 0.2s;
7
153
 
8
154
 
9
155
  ///////////////////////
10
- // custom settings //
156
+ // typography //
11
157
  ///////////////////////
12
158
 
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
- $aria: true !default; // enable Aria role selectors (WIP)
27
-
28
- // file paths
29
- $root_path: '../' !default; // path to HTML document root (relative from $css_path)
30
- $css_path: 'css/' !default; // path to CSS output (relative from HTML document root)
31
- $images_path: 'images/' !default; // path to images (relative from $root_path)
32
- $fonts_path: 'font/' !default; // path to fonts (relative from $root_path)
33
- $boxsizing_path: '/js/libs/boxsizing.htc' !default; // path to box sizing polyfill (change to absolute path from HTML document root)
159
+ // typography
160
+ $base-font-size: 16px !default; // already set by Compass
161
+ $base-line-height: 24px !default; // already set by Compass
162
+ $font-family: Helvetica, Arial, Geneva, sans-serif !default;
34
163
 
35
- // layout/grid settings
36
- $max-width: 1200px !default; // max container width (i.e. - 960px)
37
- $gutter: 10px !default; // gutter spacing
38
164
 
39
- // break points
40
- $mobile: "only screen and (max-width:480px)" !default;
41
- $small-tablet: "only screen and (max-width:767px)" !default;
42
- $ipad: "only screen and (min-width:768px) and (max-width:1024px)" !default;
43
- $desktop: "only screen and (min-width:1025px)" !default;
165
+ ///////////////////////
166
+ // web fonts //
167
+ ///////////////////////
44
168
 
169
+ // font names (no spaces or special characters, these are used to build selectors)
170
+ $web-font-names: AverageSans,
171
+ AmericanTypewriter !default;
172
+ // font files (must all be named the same as listed below and include .eot, .woff and .ttf file types)
173
+ $web-font-files: average-sans-webfont,
174
+ americantypewriterstd-bold !default;
45
175
 
46
176
 
47
177
  ///////////////////////
@@ -51,59 +181,68 @@ $desktop: "only screen and (min-width:1025px)" !default;
51
181
  // base styles
52
182
  $background-color: #ffffff !default;
53
183
  $font-color: #2b2b2d !default;
54
- $base-font-size: 16px !default; // these are already set by Compass, changing these here will do nothing
55
- $base-line-height: 24px !default; // these are already set by Compass, changing these here will do nothing
56
- $font-family: Helvetica, Arial, Geneva, sans-serif !default;
57
184
 
58
185
  // links
59
186
  $link-color: #489AC1 !default;
60
187
  $link-active: #198D98 !default;
61
188
 
62
- // selection
189
+ // selection highlight
63
190
  $selection-color: $link-color !default;
64
191
  $selection-text: #ffffff !default;
65
192
 
66
193
  // borders
194
+ $border-thickness: 1px !default;
195
+ $border-style: solid !default;
67
196
  $border-color: #dddddd !default;
197
+ $border: #{$border-thickness} #{$border-style} #{$border-color} !default;
68
198
 
69
199
  // buttons
70
200
  $button-color: #1DABB8 !default;
71
- $button-border-color: darken($button-color,10%) !default;
201
+ $button-border-color: darken($button-color, 10%) !default;
72
202
  $button-active: #198D98 !default;
73
203
  $button-text: #ffffff !default;
74
204
  $button-active-text: #ffffff !default;
75
205
 
76
- // disabled
77
- $disabled-color: gray !default;
78
-
79
206
  // info
80
- $info-color: #3a87ad !default;
207
+ $info-color: #3a87ad !default; // text only
208
+ $info-text: #ffffff !default; // box text
81
209
  $info-background: #d9edf7 !default;
82
210
  $info-border: #bce8f1 !default;
83
211
 
84
212
  // alert
85
- $alert-color: #c09853 !default;
213
+ $alert-color: #c09853 !default; // text only
214
+ $alert-text: #ffffff !default; // box text
86
215
  $alert-background: #fcf8e3 !default;
87
216
  $alert-border: #fbeee0 !default;
88
217
 
89
218
  // error
90
- $error-color: #b94a48 !default;
219
+ $error-color: #b94a48 !default; // text only
220
+ $error-text: #ffffff !default; // box text
91
221
  $error-background: #f2dede !default;
92
222
  $error-border: #eed3d7 !default;
93
223
 
94
224
  // warning
95
- $warning-color: #FF971E !default;
225
+ $warning-color: #FF971E !default; // text only
226
+ $warning-text: #ffffff !default; // box text
96
227
  $warning-background: #FFE5C7 !default;
97
228
  $warning-border: #FFDBB3 !default;
98
229
 
99
230
  // success
100
- $success-color: #468847 !default;
231
+ $success-color: #468847 !default; // text only
232
+ $success-text: #ffffff !default; // box text
101
233
  $success-background: #dff0d8 !default;
102
234
  $success-border: #d6e9c6 !default;
103
235
 
104
- $state-name: 'disabled' 'info' 'alert' 'warning' 'error' 'success' !default;
105
- $state-code: $disabled-color $info-color $alert-color $warning-color $error-color $success-color !default;
106
- $state-text: $white $white $white $white $white $white !default;
236
+ // disabled
237
+ $disabled-color: #808080 !default; // text only
238
+ $disabled-text: #ffffff !default; // box text
239
+ $disabled-background: lighten($disabled-color, 20%) !default;
240
+ $disabled-border: darken($disabled-color, 10%) !default;
241
+
242
+ // modifier states
243
+ $state-name: "info" "alert" "warning" "error" "success" "disabled" !default;
244
+ $state-code: $info-color $alert-color $warning-color $error-color $success-color $disabled-color !default;
245
+ $state-text: $info-text $alert-text $warning-text $error-text $success-text $disabled-text !default;
107
246
 
108
247
  // modifier colors
109
248
  $green: #2ecc71 !default;
@@ -116,45 +255,9 @@ $pink: #f02475 !default;
116
255
  $turquoise: #1abc9c !default;
117
256
  $asphalt: #34495e !default;
118
257
 
119
- $modifier-name: 'green' 'blue' 'purple' 'yellow' 'orange' 'red' 'pink' 'turquoise' 'asphalt' !default;
120
- $modifier-code: $green $blue $purple $yellow $orange $red $pink $turquoise $asphalt !default;
121
- $modifier-text: $white $white $white $white $white $white $white $white $white !default;
122
-
123
- // rounded corners
124
- $radius: 4px !default;
125
-
126
-
127
-
128
- ///////////////////////
129
- // reset elements //
130
- ///////////////////////
131
-
132
- // elements that will be reset (trim this to include only the elements that are used in your markup)
133
- $reset: true !default;
134
- $reset-elements: html body
135
- div span header footer aside nav menu section article details
136
- h1 h2 h3 h4 h5 h6 p
137
- ol ul li dl dt dd
138
- em small big strong b u i
139
- blockquote cite pre code time address
140
- a img center hr
141
- form fieldset legend label input textarea button
142
- table caption tbody thead tfoot tr th td
143
- iframe object canvas audio video !default;
144
-
145
-
146
-
147
- ///////////////////////
148
- // web fonts //
149
- ///////////////////////
150
-
151
- // font names (no spaces or special characters, these are used to build selectors)
152
- $web-font-names: AverageSans,
153
- AmericanTypewriter !default;
154
- // font files (must all be named the same as listed below and include .eot, .woff and .ttf file types)
155
- $web-font-files: average-sans-webfont,
156
- americantypewriterstd-bold !default;
157
-
258
+ $modifier-name: "green" "blue" "purple" "yellow" "orange" "red" "pink" "turquoise" "asphalt" !default;
259
+ $modifier-code: $green $blue $purple $yellow $orange $red $pink $turquoise $asphalt !default;
260
+ $modifier-text: $white $white $white $white $white $white $white $white $white !default;
158
261
 
159
262
 
160
263
  ///////////////////////
@@ -177,8 +280,8 @@ $include-arrows: true !default; // Includ
177
280
  $controls-opacity: 0.65 !default; // Opacity of controls
178
281
  $controls-color: #FFF !default; // Color of controls
179
282
  $inner-close-icon-color: #333 !default; // Color of close button when inside
180
- $controls-text-color: #CCC !default; // Color of preloader and "1 of X" indicator
181
- $controls-text-color-hover: #FFF !default; // Hover color of preloader and "1 of X" indicator
283
+ $controls-text-color: #CCC !default; // Color of preloader and '1 of X' indicator
284
+ $controls-text-color-hover: #FFF !default; // Hover color of preloader and '1 of X' indicator
182
285
  $IE7support: true !default; // Very basic IE7 support
183
286
 
184
287
  // Inline-type options
@@ -186,15 +289,15 @@ $modal-max-width: $max-width !default; // Maximu
186
289
 
187
290
  // Iframe-type options
188
291
  $include-iframe-type: true !default; // Enable Iframe-type popups
189
- $iframe-padding-top: ($gutter*4) !default; // Iframe padding top
292
+ $iframe-padding-top: ($gutter*4) !default; // Iframe padding top
190
293
  $iframe-background: #000 !default; // Background color of iframes
191
- $iframe-max-width: $max-width !default; // Maximum width of iframes
294
+ $iframe-max-width: $max-width !default; // Maximum width of iframes
192
295
  $iframe-ratio: 9/16 !default; // Ratio of iframe (9/16 = widescreen, 3/4 = standard, etc.)
193
296
 
194
297
  // Image-type options
195
298
  $include-image-type: true !default; // Enable Image-type popups
196
- $image-padding-top: ($gutter*4) !default; // Image padding top
197
- $image-padding-bottom: ($gutter*4) !default; // Image padding bottom
299
+ $image-padding-top: ($gutter*4) !default; // Image padding top
300
+ $image-padding-bottom: ($gutter*4) !default; // Image padding bottom
198
301
  $include-mobile-layout-for-image: true !default; // Removes paddings from top and bottom
199
302
 
200
303
  // Image caption options