nesta-contentfocus-extensions 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +53 -0
  3. data/Rakefile +1 -2
  4. data/assets/stylesheets/bitters/_base.scss +24 -0
  5. data/assets/stylesheets/bitters/_buttons.scss +10 -0
  6. data/assets/stylesheets/bitters/_forms.scss +78 -0
  7. data/assets/stylesheets/bitters/_grid-settings.scss +14 -0
  8. data/assets/stylesheets/bitters/_lists.scss +31 -0
  9. data/assets/stylesheets/bitters/_tables.scss +24 -0
  10. data/assets/stylesheets/bitters/_typography.scss +93 -0
  11. data/assets/stylesheets/bitters/_variables.scss +65 -0
  12. data/assets/stylesheets/bitters/extends/_button.scss +22 -0
  13. data/assets/stylesheets/bitters/extends/_clearfix.scss +3 -0
  14. data/assets/stylesheets/bitters/extends/_errors.scss +11 -0
  15. data/assets/stylesheets/bitters/extends/_flashes.scss +38 -0
  16. data/assets/stylesheets/bitters/extends/_hide-text.scss +3 -0
  17. data/assets/stylesheets/bourbon/_bourbon-deprecated-upcoming.scss +411 -0
  18. data/assets/stylesheets/bourbon/_bourbon.scss +87 -0
  19. data/assets/stylesheets/bourbon/addons/_border-color.scss +26 -0
  20. data/assets/stylesheets/bourbon/addons/_border-radius.scss +48 -0
  21. data/assets/stylesheets/bourbon/addons/_border-style.scss +25 -0
  22. data/assets/stylesheets/bourbon/addons/_border-width.scss +25 -0
  23. data/assets/stylesheets/bourbon/addons/_buttons.scss +64 -0
  24. data/assets/stylesheets/bourbon/addons/_clearfix.scss +25 -0
  25. data/assets/stylesheets/bourbon/addons/_ellipsis.scss +30 -0
  26. data/assets/stylesheets/bourbon/addons/_font-stacks.scss +31 -0
  27. data/assets/stylesheets/bourbon/addons/_hide-text.scss +27 -0
  28. data/assets/stylesheets/bourbon/addons/_margin.scss +26 -0
  29. data/assets/stylesheets/bourbon/addons/_padding.scss +26 -0
  30. data/assets/stylesheets/bourbon/addons/_position.scss +48 -0
  31. data/assets/stylesheets/bourbon/addons/_prefixer.scss +66 -0
  32. data/assets/stylesheets/bourbon/addons/_retina-image.scss +25 -0
  33. data/assets/stylesheets/bourbon/addons/_size.scss +51 -0
  34. data/assets/stylesheets/bourbon/addons/_text-inputs.scss +112 -0
  35. data/assets/stylesheets/bourbon/addons/_timing-functions.scss +34 -0
  36. data/assets/stylesheets/bourbon/addons/_triangle.scss +63 -0
  37. data/assets/stylesheets/bourbon/addons/_word-wrap.scss +29 -0
  38. data/assets/stylesheets/bourbon/css3/_animation.scss +43 -0
  39. data/assets/stylesheets/bourbon/css3/_appearance.scss +3 -0
  40. data/assets/stylesheets/bourbon/css3/_backface-visibility.scss +3 -0
  41. data/assets/stylesheets/bourbon/css3/_background-image.scss +42 -0
  42. data/assets/stylesheets/bourbon/css3/_background.scss +55 -0
  43. data/assets/stylesheets/bourbon/css3/_border-image.scss +59 -0
  44. data/assets/stylesheets/bourbon/css3/_calc.scss +4 -0
  45. data/assets/stylesheets/bourbon/css3/_columns.scss +47 -0
  46. data/assets/stylesheets/bourbon/css3/_filter.scss +4 -0
  47. data/assets/stylesheets/bourbon/css3/_flex-box.scss +287 -0
  48. data/assets/stylesheets/bourbon/css3/_font-face.scss +24 -0
  49. data/assets/stylesheets/bourbon/css3/_font-feature-settings.scss +4 -0
  50. data/assets/stylesheets/bourbon/css3/_hidpi-media-query.scss +10 -0
  51. data/assets/stylesheets/bourbon/css3/_hyphens.scss +4 -0
  52. data/assets/stylesheets/bourbon/css3/_image-rendering.scss +14 -0
  53. data/assets/stylesheets/bourbon/css3/_keyframes.scss +36 -0
  54. data/assets/stylesheets/bourbon/css3/_linear-gradient.scss +38 -0
  55. data/assets/stylesheets/bourbon/css3/_perspective.scss +8 -0
  56. data/assets/stylesheets/bourbon/css3/_placeholder.scss +8 -0
  57. data/assets/stylesheets/bourbon/css3/_radial-gradient.scss +39 -0
  58. data/assets/stylesheets/bourbon/css3/_selection.scss +42 -0
  59. data/assets/stylesheets/bourbon/css3/_text-decoration.scss +19 -0
  60. data/assets/stylesheets/bourbon/css3/_transform.scss +15 -0
  61. data/assets/stylesheets/bourbon/css3/_transition.scss +71 -0
  62. data/assets/stylesheets/bourbon/css3/_user-select.scss +3 -0
  63. data/assets/stylesheets/bourbon/functions/_assign-inputs.scss +11 -0
  64. data/assets/stylesheets/bourbon/functions/_contains-falsy.scss +20 -0
  65. data/assets/stylesheets/bourbon/functions/_contains.scss +26 -0
  66. data/assets/stylesheets/bourbon/functions/_is-length.scss +11 -0
  67. data/assets/stylesheets/bourbon/functions/_is-light.scss +21 -0
  68. data/assets/stylesheets/bourbon/functions/_is-number.scss +11 -0
  69. data/assets/stylesheets/bourbon/functions/_is-size.scss +13 -0
  70. data/assets/stylesheets/bourbon/functions/_modular-scale.scss +69 -0
  71. data/assets/stylesheets/bourbon/functions/_px-to-em.scss +13 -0
  72. data/assets/stylesheets/bourbon/functions/_px-to-rem.scss +15 -0
  73. data/assets/stylesheets/bourbon/functions/_shade.scss +24 -0
  74. data/assets/stylesheets/bourbon/functions/_strip-units.scss +17 -0
  75. data/assets/stylesheets/bourbon/functions/_tint.scss +24 -0
  76. data/assets/stylesheets/bourbon/functions/_transition-property-name.scss +22 -0
  77. data/assets/stylesheets/bourbon/functions/_unpack.scss +27 -0
  78. data/assets/stylesheets/bourbon/helpers/_convert-units.scss +21 -0
  79. data/assets/stylesheets/bourbon/helpers/_directional-values.scss +96 -0
  80. data/assets/stylesheets/bourbon/helpers/_font-source-declaration.scss +43 -0
  81. data/assets/stylesheets/bourbon/helpers/_gradient-positions-parser.scss +13 -0
  82. data/assets/stylesheets/bourbon/helpers/_linear-angle-parser.scss +25 -0
  83. data/assets/stylesheets/bourbon/helpers/_linear-gradient-parser.scss +41 -0
  84. data/assets/stylesheets/bourbon/helpers/_linear-positions-parser.scss +61 -0
  85. data/assets/stylesheets/bourbon/helpers/_linear-side-corner-parser.scss +31 -0
  86. data/assets/stylesheets/bourbon/helpers/_radial-arg-parser.scss +69 -0
  87. data/assets/stylesheets/bourbon/helpers/_radial-gradient-parser.scss +50 -0
  88. data/assets/stylesheets/bourbon/helpers/_radial-positions-parser.scss +18 -0
  89. data/assets/stylesheets/bourbon/helpers/_render-gradients.scss +26 -0
  90. data/assets/stylesheets/bourbon/helpers/_shape-size-stripper.scss +10 -0
  91. data/assets/stylesheets/bourbon/helpers/_str-to-num.scss +50 -0
  92. data/assets/stylesheets/bourbon/settings/_asset-pipeline.scss +7 -0
  93. data/assets/stylesheets/bourbon/settings/_prefixer.scss +9 -0
  94. data/assets/stylesheets/bourbon/settings/_px-to-em.scss +1 -0
  95. data/assets/stylesheets/contentfocus/_animations.scss +9 -0
  96. data/assets/stylesheets/contentfocus/_breadcrumb.scss +83 -0
  97. data/assets/stylesheets/contentfocus/_browser.scss +146 -0
  98. data/assets/stylesheets/contentfocus/_bullets.scss +63 -0
  99. data/assets/stylesheets/contentfocus/_comments.scss +59 -0
  100. data/assets/stylesheets/contentfocus/_device.scss +84 -0
  101. data/assets/stylesheets/contentfocus/_flashes.scss +30 -0
  102. data/assets/stylesheets/contentfocus/_footer.scss +78 -0
  103. data/assets/stylesheets/contentfocus/_forms.scss +110 -0
  104. data/assets/stylesheets/contentfocus/_geometric_typography.scss +104 -0
  105. data/assets/stylesheets/contentfocus/_hero.scss +108 -0
  106. data/assets/stylesheets/contentfocus/_hover_tile.scss +51 -0
  107. data/assets/stylesheets/contentfocus/_nav.scss +396 -0
  108. data/assets/stylesheets/contentfocus/_progress_bar.scss +92 -0
  109. data/assets/stylesheets/contentfocus/_variables.scss +84 -0
  110. data/assets/stylesheets/neat/_neat-helpers.scss +8 -0
  111. data/assets/stylesheets/neat/_neat.scss +23 -0
  112. data/assets/stylesheets/neat/functions/_new-breakpoint.scss +49 -0
  113. data/assets/stylesheets/neat/functions/_private.scss +114 -0
  114. data/assets/stylesheets/neat/grid/_box-sizing.scss +15 -0
  115. data/assets/stylesheets/neat/grid/_direction-context.scss +33 -0
  116. data/assets/stylesheets/neat/grid/_display-context.scss +28 -0
  117. data/assets/stylesheets/neat/grid/_fill-parent.scss +22 -0
  118. data/assets/stylesheets/neat/grid/_media.scss +92 -0
  119. data/assets/stylesheets/neat/grid/_omega.scss +87 -0
  120. data/assets/stylesheets/neat/grid/_outer-container.scss +38 -0
  121. data/assets/stylesheets/neat/grid/_pad.scss +25 -0
  122. data/assets/stylesheets/neat/grid/_private.scss +35 -0
  123. data/assets/stylesheets/neat/grid/_row.scss +52 -0
  124. data/assets/stylesheets/neat/grid/_shift.scss +50 -0
  125. data/assets/stylesheets/neat/grid/_span-columns.scss +94 -0
  126. data/assets/stylesheets/neat/grid/_to-deprecate.scss +97 -0
  127. data/assets/stylesheets/neat/grid/_visual-grid.scss +42 -0
  128. data/assets/stylesheets/neat/settings/_disable-warnings.scss +13 -0
  129. data/assets/stylesheets/neat/settings/_grid.scss +51 -0
  130. data/assets/stylesheets/neat/settings/_visual-grid.scss +27 -0
  131. data/lib/nesta-contentfocus-extensions.rb +14 -4
  132. data/lib/nesta-contentfocus-extensions/app.rb +8 -0
  133. data/lib/nesta-contentfocus-extensions/helpers.rb +21 -0
  134. data/lib/nesta-contentfocus-extensions/kramdown.rb +91 -0
  135. data/lib/nesta-contentfocus-extensions/menu.rb +4 -1
  136. data/lib/nesta-contentfocus-extensions/overrides.rb +17 -0
  137. data/lib/nesta-contentfocus-extensions/page.rb +29 -54
  138. data/lib/nesta-contentfocus-extensions/path.rb +13 -7
  139. data/lib/nesta-contentfocus-extensions/paths.rb +52 -0
  140. data/lib/nesta-contentfocus-extensions/renderer.rb +46 -0
  141. data/lib/nesta-contentfocus-extensions/routes.rb +15 -0
  142. data/lib/nesta-contentfocus-extensions/theme.rb +36 -0
  143. data/lib/nesta-contentfocus-extensions/version.rb +1 -1
  144. data/nesta-contentfocus-extensions.gemspec +14 -11
  145. metadata +184 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 31795688f9f78310de422e30b0ba26d3289ab0f3
4
- data.tar.gz: 1f1f4cee9802c94ebb2307671573325dfa0ea919
3
+ metadata.gz: 3ad11ce4cc066f51875037370af819b73f9a4d3f
4
+ data.tar.gz: 1ac35209a27d8c9551879a44ab71e3ed4e8f13d6
5
5
  SHA512:
6
- metadata.gz: 2be3580c108d5e01f80c5758683fe2adc7a2825e2fe8dddb2331b15a30a22e380aabb2a81964c8b877d947fef00618be9f4165c5c1c2f0712111ea443eb4c632
7
- data.tar.gz: 645aa04f8935ec555cc29fb0ef9a46a2ae27b19696f16f2b5948032f02a1567bbc3a28547e99afbec369ed2a4924185db596757cbcaed4b8501406ce866e4a7c
6
+ metadata.gz: a72e7de16d107edd5ed063a5992eeaabd78165345fc17c67a68b93e0d9fc0173dbb74134ee9b1849fd87595a0f614295e9f0340cc6bfe891fbd882189b1d3a8b
7
+ data.tar.gz: 57bb33290687f259154658e2f46024a708f2c0fa5be4d25b1951159e68d8f314b9732b22b1498327555c497934ba79391dc6c6fda834fd7c3477b288e20c9550
data/Gemfile.lock ADDED
@@ -0,0 +1,53 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ nesta-contentfocus-extensions (0.0.2)
5
+ kramdown (~> 1.5.0)
6
+ nesta (>= 0.11.0)
7
+ rouge (~> 1.9.1)
8
+ sass_paths (~> 1.0.1)
9
+ sinatra-flash (~> 0.3.0)
10
+ tilt (~> 1.4.0)
11
+
12
+ GEM
13
+ remote: https://rubygems.org/
14
+ specs:
15
+ RedCloth (4.2.9)
16
+ haml (4.1.0.beta.1)
17
+ tilt
18
+ haml-contrib (1.0.0.1)
19
+ haml (>= 3.2.0.alpha.13)
20
+ kramdown (1.5.0)
21
+ nesta (0.11.1)
22
+ RedCloth (~> 4.2)
23
+ haml (>= 3.1)
24
+ haml-contrib (>= 1.0)
25
+ rack (>= 1.3)
26
+ rdiscount (~> 2.1)
27
+ sass (>= 3.1)
28
+ sinatra (~> 1.4)
29
+ tilt (~> 1.4)
30
+ rack (1.6.4)
31
+ rack-protection (1.5.3)
32
+ rack
33
+ rake (10.4.2)
34
+ rdiscount (2.1.8)
35
+ rouge (1.9.1)
36
+ sass (3.4.16)
37
+ sass_paths (1.0.1)
38
+ sass (~> 3.2)
39
+ sinatra (1.4.6)
40
+ rack (~> 1.4)
41
+ rack-protection (~> 1.4)
42
+ tilt (>= 1.3, < 3)
43
+ sinatra-flash (0.3.0)
44
+ sinatra (>= 1.0.0)
45
+ tilt (1.4.1)
46
+
47
+ PLATFORMS
48
+ ruby
49
+
50
+ DEPENDENCIES
51
+ bundler (~> 1.6)
52
+ nesta-contentfocus-extensions!
53
+ rake
data/Rakefile CHANGED
@@ -1,2 +1 @@
1
- require "bundler/gem_tasks"
2
-
1
+ require 'bundler/gem_tasks'
@@ -0,0 +1,24 @@
1
+ /* Bitters 0.10.0
2
+ * http://bitters.bourbon.io
3
+ * Copyright 2013–2014 thoughtbot, inc.
4
+ * MIT License */
5
+
6
+ // Variables
7
+ @import "variables";
8
+
9
+ // Neat Settings -- uncomment if using Neat -- must be imported before Neat
10
+ @import "grid-settings";
11
+
12
+ // Extends
13
+ @import "extends/button";
14
+ @import "extends/clearfix";
15
+ @import "extends/errors";
16
+ @import "extends/flashes";
17
+ @import "extends/hide-text";
18
+
19
+ // Typography and Elements
20
+ @import "typography";
21
+ @import "forms";
22
+ @import "tables";
23
+ @import "lists";
24
+ @import "buttons";
@@ -0,0 +1,10 @@
1
+ button,
2
+ input[type="submit"] {
3
+ @extend %button;
4
+ @include appearance(none);
5
+ border: none;
6
+ cursor: pointer;
7
+ user-select: none;
8
+ vertical-align: middle;
9
+ white-space: nowrap;
10
+ }
@@ -0,0 +1,78 @@
1
+ fieldset {
2
+ background: lighten($base-border-color, 10);
3
+ border: $base-border;
4
+ margin: 0 0 ($base-spacing / 2) 0;
5
+ padding: $base-spacing;
6
+ }
7
+
8
+ input,
9
+ label,
10
+ select {
11
+ display: block;
12
+ font-family: $form-font-family;
13
+ font-size: $form-font-size;
14
+ }
15
+
16
+ label {
17
+ font-weight: bold;
18
+ margin-bottom: $base-spacing / 4;
19
+
20
+ &.required:after {
21
+ content: "*";
22
+ }
23
+
24
+ abbr {
25
+ display: none;
26
+ }
27
+ }
28
+
29
+ textarea,
30
+ #{$all-text-inputs},
31
+ select[multiple=multiple] {
32
+ @include box-sizing(border-box);
33
+ @include transition(border-color);
34
+ background-color: white;
35
+ border-radius: $form-border-radius;
36
+ border: 1px solid $form-border-color;
37
+ box-shadow: $form-box-shadow;
38
+ font-family: $form-font-family;
39
+ font-size: $form-font-size;
40
+ margin-bottom: $base-spacing / 2;
41
+ padding: ($base-spacing / 3) ($base-spacing / 3);
42
+ width: 100%;
43
+
44
+ &:hover {
45
+ border-color: $form-border-color-hover;
46
+ }
47
+
48
+ &:focus {
49
+ border-color: $form-border-color-focus;
50
+ box-shadow: $form-box-shadow-focus;
51
+ outline: none;
52
+ }
53
+ }
54
+
55
+ textarea {
56
+ resize: vertical;
57
+ }
58
+
59
+ input[type="search"] {
60
+ @include appearance(none);
61
+ }
62
+
63
+ input[type="checkbox"],
64
+ input[type="radio"] {
65
+ display: inline;
66
+ margin-right: $base-spacing / 4;
67
+ }
68
+
69
+ input[type="file"] {
70
+ padding-bottom: $base-spacing / 2;
71
+ width: 100%;
72
+ }
73
+
74
+ select {
75
+ margin-bottom: $base-spacing;
76
+ max-width: 100%;
77
+ width: auto;
78
+ }
@@ -0,0 +1,14 @@
1
+ @import "../neat/neat-helpers"; // or "../neat/neat-helpers" when not in Rails
2
+
3
+ // Neat Overrides
4
+ // $column: 90px;
5
+ // $gutter: 30px;
6
+ // $grid-columns: 12;
7
+ // $max-width: em(1088);
8
+
9
+ // Neat Breakpoints
10
+ $medium-screen: em(640);
11
+ $large-screen: em(860);
12
+
13
+ $medium-screen-up: new-breakpoint(min-width $medium-screen 4);
14
+ $large-screen-up: new-breakpoint(min-width $large-screen 8);
@@ -0,0 +1,31 @@
1
+ ul,
2
+ ol {
3
+ margin: 0;
4
+ padding: 0;
5
+ list-style-type: none;
6
+
7
+ &%default-ul {
8
+ list-style-type: disc;
9
+ margin-bottom: $base-spacing / 2;
10
+ padding-left: $base-spacing;
11
+ }
12
+
13
+ &%default-ol {
14
+ list-style-type: decimal;
15
+ margin-bottom: $base-spacing / 2;
16
+ padding-left: $base-spacing;
17
+ }
18
+ }
19
+
20
+ dl {
21
+ margin-bottom: $base-spacing / 2;
22
+
23
+ dt {
24
+ font-weight: bold;
25
+ margin-top: $base-spacing / 2;
26
+ }
27
+
28
+ dd {
29
+ margin: 0;
30
+ }
31
+ }
@@ -0,0 +1,24 @@
1
+ table {
2
+ border-collapse: collapse;
3
+ margin: ($base-spacing / 2) 0;
4
+ table-layout: fixed;
5
+ width: 100%;
6
+ }
7
+
8
+ th {
9
+ border-bottom: 1px solid darken($base-border-color, 15);
10
+ font-weight: bold;
11
+ padding: ($base-spacing / 2) 0;
12
+ text-align: left;
13
+ }
14
+
15
+ td {
16
+ border-bottom: $base-border;
17
+ padding: ($base-spacing / 2) 0;
18
+ }
19
+
20
+ tr,
21
+ td,
22
+ th {
23
+ vertical-align: middle;
24
+ }
@@ -0,0 +1,93 @@
1
+ body {
2
+ -webkit-font-smoothing: antialiased;
3
+ background-color: $base-background-color;
4
+ color: $base-font-color;
5
+ font-family: $base-font-family;
6
+ font-size: $base-font-size;
7
+ line-height: $base-line-height;
8
+ }
9
+
10
+ h1,
11
+ h2,
12
+ h3,
13
+ h4,
14
+ h5,
15
+ h6 {
16
+ font-family: $header-font-family;
17
+ line-height: $header-line-height;
18
+ margin: 0;
19
+ text-rendering: optimizeLegibility; // Fix the character spacing for headings
20
+ }
21
+
22
+ h1 {
23
+ font-size: $h1-font-size;
24
+ }
25
+
26
+ h2 {
27
+ font-size: $h2-font-size;
28
+ }
29
+
30
+ h3 {
31
+ font-size: $h3-font-size;
32
+ }
33
+
34
+ h4 {
35
+ font-size: $h4-font-size;
36
+ }
37
+
38
+ h5 {
39
+ font-size: $h5-font-size;
40
+ }
41
+
42
+ h6 {
43
+ font-size: $h6-font-size;
44
+ }
45
+
46
+ p {
47
+ margin: 0 0 ($base-spacing / 2);
48
+ }
49
+
50
+ a {
51
+ @include transition(color 0.1s linear);
52
+ color: $base-link-color;
53
+ text-decoration: none;
54
+
55
+ &:hover {
56
+ color: $hover-link-color;
57
+ }
58
+
59
+ &:active, &:focus {
60
+ color: $hover-link-color;
61
+ outline: none;
62
+ }
63
+ }
64
+
65
+ hr {
66
+ border-bottom: $base-border;
67
+ border-left: none;
68
+ border-right: none;
69
+ border-top: none;
70
+ margin: $base-spacing 0;
71
+ }
72
+
73
+ img,
74
+ picture {
75
+ margin: 0;
76
+ max-width: 100%;
77
+ }
78
+
79
+ blockquote {
80
+ border-left: 2px solid $base-border-color;
81
+ color: lighten($base-font-color, 15);
82
+ margin: $base-spacing 0;
83
+ padding-left: $base-spacing / 2;
84
+ }
85
+
86
+ cite {
87
+ color: lighten($base-font-color, 25);
88
+ font-style: italic;
89
+
90
+ &:before {
91
+ content: "\2014 \00A0";
92
+ }
93
+ }
@@ -0,0 +1,65 @@
1
+ // Typography
2
+ $sans-serif: $helvetica;
3
+ $serif: $georgia;
4
+ $base-font-family: $sans-serif;
5
+ $header-font-family: $base-font-family;
6
+
7
+ // Font Sizes
8
+ $base-font-size: 1em;
9
+ $h1-font-size: $base-font-size * 2.25;
10
+ $h2-font-size: $base-font-size * 2;
11
+ $h3-font-size: $base-font-size * 1.75;
12
+ $h4-font-size: $base-font-size * 1.5;
13
+ $h5-font-size: $base-font-size * 1.25;
14
+ $h6-font-size: $base-font-size;
15
+
16
+ // Line height
17
+ $base-line-height: 1.5;
18
+ $header-line-height: 1.25;
19
+
20
+ // Other Sizes
21
+ $base-border-radius: 3px;
22
+ $base-spacing: $base-line-height * 1em;
23
+ $base-z-index: 0;
24
+
25
+ // Colors
26
+ $blue: #477DCA;
27
+ $dark-gray: #333;
28
+ $medium-gray: #999;
29
+ $light-gray: #DDD;
30
+ $light-red: #FBE3E4;
31
+ $light-yellow: #FFF6BF;
32
+ $light-green: #E6EFC2;
33
+
34
+ // Background Color
35
+ $base-background-color: white;
36
+
37
+ // Font Colors
38
+ $base-font-color: $dark-gray;
39
+ $base-accent-color: $blue;
40
+
41
+ // Link Colors
42
+ $base-link-color: $base-accent-color;
43
+ $hover-link-color: darken($base-accent-color, 15);
44
+ $base-button-color: $base-link-color;
45
+ $hover-button-color: $hover-link-color;
46
+
47
+ // Flash Colors
48
+ $alert-color: $light-yellow;
49
+ $error-color: $light-red;
50
+ $notice-color: lighten($base-accent-color, 40);
51
+ $success-color: $light-green;
52
+
53
+ // Border color
54
+ $base-border-color: $light-gray;
55
+ $base-border: 1px solid $base-border-color;
56
+
57
+ // Forms
58
+ $form-border-color: $base-border-color;
59
+ $form-border-color-hover: darken($base-border-color, 10);
60
+ $form-border-color-focus: $base-accent-color;
61
+ $form-border-radius: $base-border-radius;
62
+ $form-box-shadow: inset 0 1px 3px rgba(black,0.06);
63
+ $form-box-shadow-focus: $form-box-shadow, 0 0 5px rgba(darken($form-border-color-focus, 5), 0.7);
64
+ $form-font-size: $base-font-size;
65
+ $form-font-family: $base-font-family;
@@ -0,0 +1,22 @@
1
+ %button {
2
+ -webkit-font-smoothing: antialiased;
3
+ background-color: $base-button-color;
4
+ border-radius: $base-border-radius;
5
+ color: white;
6
+ display: inline-block;
7
+ font-size: $base-font-size;
8
+ font-weight: bold;
9
+ line-height: 1;
10
+ padding: 0.75em 1em;
11
+ text-decoration: none;
12
+
13
+ &:hover {
14
+ background-color: $hover-button-color;
15
+ color: white;
16
+ }
17
+
18
+ &:disabled {
19
+ cursor: not-allowed;
20
+ opacity: 0.5;
21
+ }
22
+ }