wrgem 0.0.50 → 0.0.51

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 (60) hide show
  1. checksums.yaml +4 -4
  2. data/.DS_Store +0 -0
  3. data/lib/.DS_Store +0 -0
  4. data/lib/generators/.DS_Store +0 -0
  5. data/lib/generators/wrstart/.DS_Store +0 -0
  6. data/lib/generators/wrstart/template/.DS_Store +0 -0
  7. data/lib/generators/wrstart/template/Gemfile +13 -6
  8. data/lib/generators/wrstart/template/javascripts/.DS_Store +0 -0
  9. data/lib/generators/wrstart/template/stylesheets/.DS_Store +0 -0
  10. data/lib/generators/wrstart/template/stylesheets/_requirements.sass +10 -24
  11. data/lib/generators/wrstart/template/stylesheets/application.css.sass +68 -32
  12. data/lib/generators/wrstart/template/stylesheets/base/_base.page.sass +3 -3
  13. data/lib/generators/wrstart/template/stylesheets/base/_base.type.sass +66 -0
  14. data/lib/generators/wrstart/template/stylesheets/components/_components.buttons.sass +23 -0
  15. data/lib/generators/wrstart/template/stylesheets/generic/{.keep → _generic.example.sass} +0 -0
  16. data/lib/generators/wrstart/template/stylesheets/objects/_objects.containers.sass +4 -3
  17. data/lib/generators/wrstart/template/stylesheets/settings/_settings.colors.sass +32 -56
  18. data/lib/generators/wrstart/template/stylesheets/settings/_settings.fonts.sass +11 -48
  19. data/lib/generators/wrstart/template/stylesheets/settings/_settings.global.sass +9 -0
  20. data/lib/generators/wrstart/template/stylesheets/settings/_settings.grid.sass +3 -3
  21. data/lib/generators/wrstart/template/stylesheets/tools/_tools.intrinsic-ratio.sass +2 -2
  22. data/lib/generators/wrstart/template/stylesheets/tools/_tools.mediaqueries.sass +4 -3
  23. data/lib/generators/wrstart/template/stylesheets/tools/_tools.mixins.sass +5 -8
  24. data/lib/generators/wrstart/template/stylesheets/trumps/{.keep → _trumps.example.sass} +0 -0
  25. data/lib/generators/wrstart/template/vendor/.DS_Store +0 -0
  26. data/lib/generators/wrstart/template/vendor/assets/.DS_Store +0 -0
  27. data/lib/generators/wrstart/template/vendor/assets/components/.DS_Store +0 -0
  28. data/lib/generators/wrstart/template/vendor/assets/components/enquire/.bower.json +25 -0
  29. data/lib/generators/wrstart/template/vendor/assets/components/enquire/.gitignore +53 -0
  30. data/lib/generators/wrstart/template/vendor/assets/components/enquire/.jshintrc +29 -0
  31. data/lib/generators/wrstart/template/vendor/assets/components/enquire/CONTRIBUTING.md +141 -0
  32. data/lib/generators/wrstart/template/vendor/assets/components/enquire/bower.json +13 -0
  33. data/lib/generators/wrstart/template/vendor/assets/components/enquire/dist/enquire.js +296 -0
  34. data/lib/generators/wrstart/template/vendor/assets/components/enquire/dist/enquire.min.js +7 -0
  35. data/lib/generators/wrstart/template/vendor/assets/components/enquire/package.json +42 -0
  36. data/lib/generators/wrstart/template/vendor/assets/components/enquire/readme.md +85 -0
  37. data/lib/wrgem/version.rb +1 -1
  38. metadata +26 -26
  39. data/lib/generators/wrstart/template/stylesheets/_base.sass +0 -12
  40. data/lib/generators/wrstart/template/stylesheets/_components.sass +0 -6
  41. data/lib/generators/wrstart/template/stylesheets/_generic.sass +0 -11
  42. data/lib/generators/wrstart/template/stylesheets/_objects.sass +0 -15
  43. data/lib/generators/wrstart/template/stylesheets/_settings.sass +0 -23
  44. data/lib/generators/wrstart/template/stylesheets/_tools.sass +0 -12
  45. data/lib/generators/wrstart/template/stylesheets/_trumps.sass +0 -8
  46. data/lib/generators/wrstart/template/stylesheets/components/_components.header.sass +0 -42
  47. data/lib/generators/wrstart/template/stylesheets/objects/_objects.alerts.sass +0 -33
  48. data/lib/generators/wrstart/template/stylesheets/objects/_objects.buttons_settings.sass +0 -228
  49. data/lib/generators/wrstart/template/stylesheets/objects/_objects.form-files.sass +0 -79
  50. data/lib/generators/wrstart/template/stylesheets/objects/_objects.form-selects.sass +0 -80
  51. data/lib/generators/wrstart/template/stylesheets/objects/_objects.forms.sass +0 -297
  52. data/lib/generators/wrstart/template/stylesheets/objects/_objects.lists.sass +0 -89
  53. data/lib/generators/wrstart/template/stylesheets/objects/_objects.progressbar.sass +0 -92
  54. data/lib/generators/wrstart/template/stylesheets/objects/_objects.rows.sass +0 -12
  55. data/lib/generators/wrstart/template/stylesheets/objects/_objects.tables.sass +0 -49
  56. data/lib/generators/wrstart/template/stylesheets/objects/_objects.tabs.sass +0 -59
  57. data/lib/generators/wrstart/template/stylesheets/objects/_objects.text-effects.sass +0 -34
  58. data/lib/generators/wrstart/template/stylesheets/objects/_objects.tooltips.sass +0 -56
  59. data/lib/generators/wrstart/template/stylesheets/objects/_objects.videos.sass +0 -39
  60. data/lib/generators/wrstart/template/stylesheets/settings/_settings.borders.sass +0 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fd953004b3964cc77e7ff9a132779ce96dbb1c38
4
- data.tar.gz: dfd44369e7ae6c9bd968c22c5c0253020d739133
3
+ metadata.gz: 5675df71d148940bd60b7438e3d7eae7df10c09f
4
+ data.tar.gz: ff66b42e394d335755795a9fbac451e3859ee139
5
5
  SHA512:
6
- metadata.gz: 2ac695ddb4177370c511038aefa89a1e5eeb4a46040b1fe993a8a2910b328d11c858564edd6ca9784a4df8d198d0061860c885546be0975f58a128b21edaa7fb
7
- data.tar.gz: 4d4e3e31964a96975dc7f055e031540eab83499403960ab4a8c5046e4dfe6edd794777c6ae2a3798c16244bfe94033ee4716edeeeb779e7dc000c0a7b329f615
6
+ metadata.gz: c44bcb3f78658e53acc1df729bc15ab2ccff68ffd6cbc68aafc43722c43bf9b709468d674d84fd6266456a90808b5182c00288b719da8e99dc0032375b1e60b4
7
+ data.tar.gz: e725d0faa274fa1f0a2d925d3e11782e725f1fe4731c438472de9aac5c7f419f65de5662be9a6cde83b4a7990e94d27278847307c57f46a735e709bbac674294
data/.DS_Store ADDED
Binary file
data/lib/.DS_Store ADDED
Binary file
Binary file
Binary file
@@ -1,11 +1,14 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  # rails
4
- gem 'rails', '~> 4.2.1'
4
+ gem 'rails', '~> 4.2.4'
5
5
 
6
6
  # use postgresql as the database for Active Record
7
7
  gem 'pg'
8
8
 
9
+ gem 'sinatra', '1.1.0'
10
+ gem 'passenger', '>= 5.0.15'
11
+
9
12
  # error tracking
10
13
  gem 'rollbar'
11
14
 
@@ -14,10 +17,8 @@ gem 'uglifier', '>= 1.3.0'
14
17
  gem 'jquery-rails', '~> 3.1.1'
15
18
  # -------------------------------
16
19
  # trick to use sass 3.3
17
- gem 'sprockets', '<= 2.11.0'
18
- gem 'sprockets-rails', '~> 2.0.0'
19
- gem 'sass', '~> 3.4.0'
20
- gem 'sass-rails', '~> 4.0.1'
20
+ gem 'sass', '~> 3.4.18'
21
+ gem 'sass-rails', '~> 5.0.4'
21
22
  # -------------------------------
22
23
  gem 'coffee-rails', '~> 4.1.0'
23
24
  gem 'font-awesome-sass', '~> 4.2.0'
@@ -45,7 +46,7 @@ group :development do
45
46
  end
46
47
 
47
48
  # authentication
48
- gem 'devise', '~> 3.2.3'
49
+ gem 'devise'
49
50
  gem 'devise_invitable', '~> 1.3.6'
50
51
 
51
52
  # access levels
@@ -102,3 +103,9 @@ gem 'roadie', '~> 2.4.3'
102
103
  gem 'remotipart', '~> 1.2.1'
103
104
 
104
105
  gem 'wrgem'
106
+
107
+ gem 'rails_12factor', group: :production
108
+ gem 'rufus-scheduler', '~> 3.0.3', group: :production
109
+ gem 'rack-timeout', '~> 0.0.4'
110
+
111
+ gem 'gibbon', '~> 1.2.0'
@@ -1,34 +1,20 @@
1
- // **************************************
1
+ // --------------------------------------
2
2
  //
3
3
  // #requirements
4
4
  //
5
- // **************************************
6
-
5
+ // --------------------------------------
7
6
 
8
7
  // -------------------------------------
9
- // Bourbon
10
- // bourbon.io
8
+ // Bourbon - bourbon.io
11
9
  // -------------------------------------
12
- @import "bourbon/dist/bourbon"
10
+ @import "bourbon/app/assets/stylesheets/bourbon"
11
+ $prefix-for-webkit: false
12
+ $prefix-for-mozilla: false
13
+ $prefix-for-microsoft: false
14
+ $prefix-for-opera: false
15
+ $prefix-for-spec: true
13
16
 
14
17
  // -------------------------------------
15
- // Susy
16
- // susy.oddbird.net
18
+ // Susy - susy.oddbird.net
17
19
  // -------------------------------------
18
20
  @import "susy/sass/susy"
19
-
20
- // -------------------------------------
21
- // font-awesome
22
- // -------------------------------------
23
- @import "font-awesome-sprockets"
24
- @import "font-awesome"
25
-
26
- // -------------------------------------
27
- // Sliderbars
28
- // -------------------------------------
29
- @import "Slidebars/distribution/0.10.2/slidebars"
30
-
31
- // -------------------------------------
32
- // Sweetalert
33
- // -------------------------------------
34
- @import "sweetalert/lib/sweet-alert.scss"
@@ -1,44 +1,80 @@
1
1
  @charset "utf-8"
2
- // **************************************
2
+ // --------------------------------------
3
3
  //
4
- // #application
4
+ // APPLICATION
5
5
  //
6
- // **************************************
6
+ // --------------------------------------
7
7
 
8
- // -------------------------------------
9
- // IMPORTS: Basic project imports
10
- // Keep the order of imports
11
- //
12
- // 0. #requirements: Vendor libraries
13
- // 1. #settings: Global variables, site-wide settings, config switches, etc.
14
- // 2. #tools: Site-wide mixins and functions.
15
- // 3. #generic: Low-specificity, far-reaching rulesets (e.g. resets).
16
- // 4. #base: Unclassed HTML elements (e.g. a {}, blockquote {}, address {}).
17
- // 5. #objects: Objects, abstractions, and design patterns (e.g. .media {}).
18
- // 6. #components: Discrete, complete chunks of UI (e.g. .carousel {}). This is the one layer that inuitcss doesn’t get involved with.
19
- // 7. #trumps: High-specificity, very explicit selectors. Overrides and helper classes (e.g. .hidden {}).
20
- // -------------------------------------
21
-
22
- // [0] #requirements
8
+
9
+ // 0. Requirements -- Vendor libraries
10
+ // 1. Settings ------ Sass vars, etc.
11
+ // 2. Tools --------- Functions and mixins.
12
+ // 3. Generic ------- Generic, high-level styling, like resets, etc.
13
+ // 4. Base ---------- Unclasses HTML elements (e.g. `h2`, `ul`).
14
+ // 5. Objects ------- Objects and abstractions.
15
+ // 6. Components ---- Your designed UI elements (inuitcss includes none of these).
16
+ // 7. Trumps -------- Overrides and helper classes.
17
+
18
+
19
+ // [0] Requirements
23
20
  @import "requirements"
24
21
 
25
- // [1] #tools
26
- @import "tools"
27
22
 
28
- // [2] #settings
29
- @import "settings"
23
+ // [1] Settings
24
+ @import "inuit-defaults/settings.defaults"
25
+ @import "settings/settings.global"
26
+ @import "settings/settings.fonts"
27
+ @import "settings/settings.colors"
28
+ @import "settings/settings.grid"
29
+
30
+
31
+ // [2] Tools
32
+ @import "inuit-functions/tools.functions"
33
+ @import "inuit-mixins/tools.mixins"
34
+ @import "tools/tools.mixins"
35
+ @import "tools/tools.mediaqueries"
36
+ @import "tools/tools.intrinsic-ratio"
37
+
38
+
39
+ // [3] Generic
40
+ @import "inuit-normalize/generic.normalize"
41
+ @import "inuit-box-sizing/generic.box-sizing"
42
+ @import "inuit-reset/generic.reset"
43
+ @import "inuit-shared/generic.shared"
44
+
45
+
46
+ // [4] Base
47
+ @import "inuit-page/base.page"
48
+ @import "inuit-lists/base.lists"
49
+ @import "inuit-images/base.images"
50
+ @import "base/base.page"
51
+ @import "base/base.type"
52
+
53
+
54
+ // [5] Objects
55
+ $inuit-btn-radius: $base-radius
56
+ $inuit-enable-btn--small: true
57
+ $inuit-enable-btn--large: true
58
+ $inuit-enable-btn--full: true
59
+ @import "inuit-buttons/objects.buttons"
60
+ @import "inuit-list-bare/objects.list-bare"
61
+ @import "inuit-list-block/objects.list-block"
62
+ @import "inuit-list-inline/objects.list-inline"
63
+ @import "inuit-list-ui/objects.list-ui"
64
+ @import "inuit-media/objects.media"
65
+ @import "inuit-flag/objects.flag"
66
+ @import "objects/objects.containers"
30
67
 
31
- // [3] #generic
32
- @import "generic"
33
68
 
34
- // [4] #base
35
- @import "base"
69
+ // [6] Components
70
+ @import "components/components.buttons"
71
+ // >>> Your components here <<<
36
72
 
37
- // [5] #objects
38
- @import "objects"
39
73
 
40
- // [6] #components
41
- @import "components"
74
+ // [7] Trumps
75
+ @import "inuit-clearfix/trumps.clearfix"
42
76
 
43
- // [7] #trumps
44
- @import "trumps"
77
+ $inuit-enable-margins: true
78
+ $inuit-enable-margins--huge: true
79
+ $inuit-enable-margins--none: true
80
+ @import "inuit-spacing/trumps.spacing"
@@ -1,9 +1,9 @@
1
- // **************************************
1
+ // --------------------------------------
2
2
  //
3
3
  // #base.page
4
4
  //
5
- // **************************************
5
+ // --------------------------------------
6
6
 
7
7
 
8
8
  html
9
- font-family: $base-font-family
9
+ font-family: $sans-serif
@@ -0,0 +1,66 @@
1
+ // --------------------------------------
2
+ //
3
+ // #base.type
4
+ // Typographical base selectors.
5
+ //
6
+ // --------------------------------------
7
+
8
+
9
+ // Headings 1–6.
10
+ +headings()
11
+ +font-weight(bold)
12
+ color: $color-headings
13
+
14
+
15
+ // A generic heading style which can be applied to any headings.
16
+ .heading
17
+ +inuit-font-size(22px)
18
+
19
+ .heading-sub
20
+ +inuit-font-size(16px)
21
+ +font-weight(bold)
22
+ margin-bottom: 0
23
+ color: $color-heading-sub
24
+
25
+
26
+ // Emboldened elements.
27
+ strong, b, dt
28
+ +font-weight(bold)
29
+
30
+
31
+ // Code-like elements.
32
+ code, kbd, samp
33
+ color: $color-code
34
+ font-family: $monospace
35
+
36
+ pre
37
+ white-space: pre
38
+ word-wrap: normal
39
+ overflow: auto
40
+ padding: $inuit-base-spacing-unit--small
41
+ background-color: $color-pre-background
42
+ border-radius: $base-radius
43
+
44
+ &,
45
+ code, kbd, samp
46
+ color: $color-pre
47
+
48
+
49
+ // Horizontal rules.
50
+ hr
51
+ border: none
52
+ border-bottom: 1px solid $color-gray-ui
53
+ margin-bottom: $inuit-base-spacing-unit - 1px
54
+
55
+
56
+ // Highlighted text.
57
+ mark
58
+ pre &
59
+ background: none
60
+ border-bottom: 1px solid
61
+ color: inherit
62
+
63
+
64
+ // Text-alignment.
65
+ .text-banner
66
+ text-align: center
@@ -0,0 +1,23 @@
1
+ // --------------------------------------
2
+ //
3
+ // #components.buttons
4
+ //
5
+ // --------------------------------------
6
+
7
+
8
+ .btn
9
+ +font-weight(bold)
10
+ +transition(all 0.2s)
11
+
12
+ +attention()
13
+ background-color: darken($color-btn, 10%)
14
+ border-color: darken($color-btn, 10%)
15
+
16
+
17
+ .btn--secondary
18
+ background: none
19
+ color: $color-btn
20
+
21
+ +attention()
22
+ background: none
23
+ color: darken($color-btn, 10%)
@@ -1,8 +1,9 @@
1
- // **************************************
1
+ // --------------------------------------
2
2
  //
3
3
  // #objects.containers
4
+ // Width-limiting blocks
4
5
  //
5
- // **************************************
6
+ // --------------------------------------
6
7
 
7
8
  .container
8
- @include container
9
+ +container
@@ -1,83 +1,59 @@
1
- // **************************************
1
+ // --------------------------------------
2
2
  //
3
3
  // #settings.colors
4
4
  //
5
- // **************************************
5
+ // --------------------------------------
6
6
 
7
7
 
8
- $color-brand: #000
9
- $color-pink: #ff0069
10
- $color-gray-dark: #212121
11
- $color-gray: #666
12
- $color-gray-light: #999
13
- $color-gray-ui: #ddd
14
- $color-green: #859900
15
- $color-highlight: #fff
16
- $color-tint: #f2f2f2
17
- $color-positive: #3f990f
18
- $color-negative: #9f102e
8
+ $color-brand: #000
9
+ $color-gray-light: #999
10
+ $color-gray: #666
11
+ $color-gray-dark: #212121
12
+ $color-gray-ui: #ddd
13
+ $color-pink: #ff0069
14
+ $color-blue: #008cdd
15
+ $color-green: #64bd2e
16
+ $color-highlight: #fff
17
+ $color-tint: #f2f2f2
18
+ $color-positive: #64bd2e
19
+ $color-negative: #ff7076
19
20
 
20
21
 
21
22
  // Page
22
- $inuit-base-background-color: #edeff0
23
- $inuit-base-text-color: $color-gray-dark
23
+ $inuit-base-background-color: #fff
24
+ $inuit-base-text-color: $color-gray-dark
24
25
 
25
26
 
26
27
  // Links
27
- $color-links: $color-pink
28
- $color-links-carousel: $color-gray-ui
28
+ $color-links: $color-blue
29
+ $color-links-carousel: $color-gray-ui
29
30
 
30
31
 
31
32
  // Text
32
- $color-code: $color-green
33
- $color-pre-background: $color-gray
34
- $color-pre: #fff
33
+ $color-code: $color-green
34
+ $color-pre-background: $color-gray
35
+ $color-pre: #fff
35
36
 
36
37
 
37
- // Buttons
38
- $color-btn: $color-links
38
+ // Headings
39
+ $color-headings: $color-gray-dark
40
+ $color-heading-sub: $color-gray
39
41
 
40
42
 
41
- // Iconic
42
- $color-iconic: $color-gray-ui
43
+ // Buttons
44
+ $color-btn: $color-links
43
45
 
44
46
 
45
47
  // Page head
46
- $color-masthead: #fff
47
- $color-page-head-border: $color-pink
48
- $color-page-head: #fff
49
- $color-page-head-background: #fff
48
+ $color-masthead: #fff
49
+ $color-page-head-border: $color-pink
50
+ $color-page-head: #fff
51
+ $color-page-head-background: #fff
50
52
 
51
53
 
52
54
  // Site nav
53
- $color-site-nav: $inuit-base-text-color
55
+ $color-site-nav: $inuit-base-text-color
54
56
 
55
57
 
56
58
  // Page foot
57
- $color-page-foot: #fff
58
-
59
-
60
- // Page micro
61
- $color-page-micro: #fff
62
- $color-page-micro-background: $color-gray
63
-
64
-
65
- // Headings
66
- $color-headings: $color-pink
67
- $color-heading-sub: $color-gray
68
-
69
-
70
- // Quotes
71
- $color-quote: $color-gray-light
72
- $color-quote--banner: $color-gray
73
-
74
-
75
- // Boxes
76
- $color-box-highlight-background: $color-highlight
77
- $color-box-highlight-border: $color-gray-ui
78
- $color-box-tint-background: $color-tint
79
-
80
-
81
- // Bands
82
- $color-band-highlight-background: $color-highlight
83
- $color-band-tint-background: $color-tint
59
+ $color-page-foot: #fff
@@ -1,58 +1,21 @@
1
- // **************************************
1
+ // --------------------------------------
2
2
  //
3
3
  // #settings.fonts
4
4
  //
5
- // **************************************
5
+ // --------------------------------------
6
6
 
7
7
 
8
8
  // -------------------------------------
9
- // Fonts
9
+ // Font Sizes
10
10
  // -------------------------------------
11
+ $inuit-base-font-size: 16px
12
+ $inuit-base-line-height: 24px
11
13
 
12
- $base-font-family: $helvetica
13
- $header-font-family: $base-font-family
14
14
 
15
-
16
- h1, h2, h3, h4, h5, h6, p
17
- font-family: $base-font-family
18
- color: $color-gray
19
- line-height: 1.2
20
- font-weight: 400
21
-
22
- h1
23
- font-size: 1.7em
24
- text-transform: uppercase
25
- +respond-to(medium, large)
26
- font-size: 3em
27
- h2
28
- font-size: 1.7em
29
- font-style: italic
30
- +respond-to(medium, large)
31
- font-size: 3em
32
- h3
33
- font-size: 1.5em
34
- font-weight: 700
35
- text-transform: uppercase
36
- h4
37
- font-size: 1.1em
38
- text-transform: uppercase
39
- +respond-to(medium, large)
40
- font-size: 1.25em
41
- h5
42
- font-size: 1.2em
43
- font-style: italic
44
- +respond-to(medium, large)
45
- font-size: 1.5em
46
- h6
47
- font-size: 1.2em
48
- +respond-to(medium, large)
49
- font-size: 1.5em
50
-
51
- a
52
- text-decoration: none
53
- &:hover
54
- text-decoration: underline
55
-
56
- p
57
- line-height: 1.5em
15
+ // -------------------------------------
16
+ // Font Families
17
+ // -------------------------------------
18
+ $sans-serif: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif
19
+ $serif: Georgia, Cambria, "Times New Roman", Times, serif
20
+ $monospace: "Bitstream Vera Sans Mono", Consolas, Courier, monospace
58
21
 
@@ -0,0 +1,9 @@
1
+ // --------------------------------------
2
+ //
3
+ // #settings.global
4
+ //
5
+ // --------------------------------------
6
+
7
+
8
+ // Base border radius
9
+ $base-radius: 3px
@@ -1,8 +1,8 @@
1
- // **************************************
1
+ // --------------------------------------
2
2
  //
3
3
  // #settings.grid
4
4
  //
5
- // **************************************
5
+ // --------------------------------------
6
6
 
7
7
 
8
- $susy: (box-sizing: border-box, container: 1140px, columns: 12, gutters: .5, rem: true)
8
+ $susy: (container: 1140px, columns: 12, gutters: .5, rem: true)
@@ -1,9 +1,9 @@
1
- // **************************************
1
+ // --------------------------------------
2
2
  //
3
3
  // #tools.intrinsic-ratio
4
4
  // Fluid Embeds and whatever WITH NO JAVASCIPT!
5
5
  //
6
- // **************************************
6
+ // --------------------------------------
7
7
 
8
8
 
9
9
  $intrinsic-ratio: 16 / 9 !default
@@ -1,9 +1,9 @@
1
- // **************************************
1
+ // --------------------------------------
2
2
  //
3
3
  // #tools.mediaqueries
4
4
  // http://www.sitepoint.com/managing-responsive-breakpoints-sass/
5
5
  //
6
- // **************************************
6
+ // --------------------------------------
7
7
 
8
8
 
9
9
  $breakpoints: ("small": "(max-width: 520px)", "medium": "(min-width: 521px)", "large": "(min-width: 920px)", "xlarge": "(min-width: 1220px)", "large-shorter": "(min-width: 920px) and ( max-height: 600px)")
@@ -28,13 +28,14 @@ $breakpoints: ("small": "(max-width: 520px)", "medium": "(min-width: 521px)", "l
28
28
  // Just warn the user
29
29
  @warn "Unfortunately, no value could be retrieved from `#{$name}`. " + "Please make sure it is defined in `$breakpoints` map. " + "Or pass the media query as a second parameter to add it to the map."
30
30
 
31
+
31
32
  // ------------------------------------------------------------------
32
33
  // @mixin respond-to
33
34
  // this mixin allow us to call several media-queries at once
34
35
  //
35
36
  // USAGE
36
37
  // .searchform
37
- // @include respond-to(screen-xs, small)
38
+ // +respond-to(screen-xs, screen-sm)
38
39
  // padding-left: 0
39
40
  // ------------------------------------------------------------------
40
41
  =respond-to($media...)
@@ -1,8 +1,8 @@
1
- // **************************************
1
+ // --------------------------------------
2
2
  //
3
3
  // #tools.mixins
4
4
  //
5
- // **************************************
5
+ // --------------------------------------
6
6
 
7
7
 
8
8
  // Apply ‘attention’ styles in one go.
@@ -22,6 +22,8 @@
22
22
 
23
23
  // Generate Helvetica Neue’s numbered font-weights from their aliases.
24
24
  =font-weight($font-weight)
25
+ @if $font-weight == "thin"
26
+ font-weight: 100
25
27
  @if $font-weight == "light"
26
28
  font-weight: 300
27
29
  @if $font-weight == "regular"
@@ -29,15 +31,10 @@
29
31
  @if $font-weight == "semibold"
30
32
  font-weight: 500
31
33
  @if $font-weight == "bold"
32
- font-weight: 700
34
+ font-weight: 600
33
35
  @if $font-weight == "black"
34
36
  font-weight: 800
35
37
 
36
- =font-helvetica-condensed
37
- font-family: 'HelveticaNeue-CondensedBold', 'Helvetica Neue', Helvetica, Arial, sans-serif
38
- font-stretch: condensed
39
- font-weight: 900
40
-
41
38
 
42
39
  // Create all specified heading styles in one go.
43
40
  =headings($from: 1, $to: 6)