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.
- checksums.yaml +4 -4
- data/Gemfile.lock +53 -0
- data/Rakefile +1 -2
- data/assets/stylesheets/bitters/_base.scss +24 -0
- data/assets/stylesheets/bitters/_buttons.scss +10 -0
- data/assets/stylesheets/bitters/_forms.scss +78 -0
- data/assets/stylesheets/bitters/_grid-settings.scss +14 -0
- data/assets/stylesheets/bitters/_lists.scss +31 -0
- data/assets/stylesheets/bitters/_tables.scss +24 -0
- data/assets/stylesheets/bitters/_typography.scss +93 -0
- data/assets/stylesheets/bitters/_variables.scss +65 -0
- data/assets/stylesheets/bitters/extends/_button.scss +22 -0
- data/assets/stylesheets/bitters/extends/_clearfix.scss +3 -0
- data/assets/stylesheets/bitters/extends/_errors.scss +11 -0
- data/assets/stylesheets/bitters/extends/_flashes.scss +38 -0
- data/assets/stylesheets/bitters/extends/_hide-text.scss +3 -0
- data/assets/stylesheets/bourbon/_bourbon-deprecated-upcoming.scss +411 -0
- data/assets/stylesheets/bourbon/_bourbon.scss +87 -0
- data/assets/stylesheets/bourbon/addons/_border-color.scss +26 -0
- data/assets/stylesheets/bourbon/addons/_border-radius.scss +48 -0
- data/assets/stylesheets/bourbon/addons/_border-style.scss +25 -0
- data/assets/stylesheets/bourbon/addons/_border-width.scss +25 -0
- data/assets/stylesheets/bourbon/addons/_buttons.scss +64 -0
- data/assets/stylesheets/bourbon/addons/_clearfix.scss +25 -0
- data/assets/stylesheets/bourbon/addons/_ellipsis.scss +30 -0
- data/assets/stylesheets/bourbon/addons/_font-stacks.scss +31 -0
- data/assets/stylesheets/bourbon/addons/_hide-text.scss +27 -0
- data/assets/stylesheets/bourbon/addons/_margin.scss +26 -0
- data/assets/stylesheets/bourbon/addons/_padding.scss +26 -0
- data/assets/stylesheets/bourbon/addons/_position.scss +48 -0
- data/assets/stylesheets/bourbon/addons/_prefixer.scss +66 -0
- data/assets/stylesheets/bourbon/addons/_retina-image.scss +25 -0
- data/assets/stylesheets/bourbon/addons/_size.scss +51 -0
- data/assets/stylesheets/bourbon/addons/_text-inputs.scss +112 -0
- data/assets/stylesheets/bourbon/addons/_timing-functions.scss +34 -0
- data/assets/stylesheets/bourbon/addons/_triangle.scss +63 -0
- data/assets/stylesheets/bourbon/addons/_word-wrap.scss +29 -0
- data/assets/stylesheets/bourbon/css3/_animation.scss +43 -0
- data/assets/stylesheets/bourbon/css3/_appearance.scss +3 -0
- data/assets/stylesheets/bourbon/css3/_backface-visibility.scss +3 -0
- data/assets/stylesheets/bourbon/css3/_background-image.scss +42 -0
- data/assets/stylesheets/bourbon/css3/_background.scss +55 -0
- data/assets/stylesheets/bourbon/css3/_border-image.scss +59 -0
- data/assets/stylesheets/bourbon/css3/_calc.scss +4 -0
- data/assets/stylesheets/bourbon/css3/_columns.scss +47 -0
- data/assets/stylesheets/bourbon/css3/_filter.scss +4 -0
- data/assets/stylesheets/bourbon/css3/_flex-box.scss +287 -0
- data/assets/stylesheets/bourbon/css3/_font-face.scss +24 -0
- data/assets/stylesheets/bourbon/css3/_font-feature-settings.scss +4 -0
- data/assets/stylesheets/bourbon/css3/_hidpi-media-query.scss +10 -0
- data/assets/stylesheets/bourbon/css3/_hyphens.scss +4 -0
- data/assets/stylesheets/bourbon/css3/_image-rendering.scss +14 -0
- data/assets/stylesheets/bourbon/css3/_keyframes.scss +36 -0
- data/assets/stylesheets/bourbon/css3/_linear-gradient.scss +38 -0
- data/assets/stylesheets/bourbon/css3/_perspective.scss +8 -0
- data/assets/stylesheets/bourbon/css3/_placeholder.scss +8 -0
- data/assets/stylesheets/bourbon/css3/_radial-gradient.scss +39 -0
- data/assets/stylesheets/bourbon/css3/_selection.scss +42 -0
- data/assets/stylesheets/bourbon/css3/_text-decoration.scss +19 -0
- data/assets/stylesheets/bourbon/css3/_transform.scss +15 -0
- data/assets/stylesheets/bourbon/css3/_transition.scss +71 -0
- data/assets/stylesheets/bourbon/css3/_user-select.scss +3 -0
- data/assets/stylesheets/bourbon/functions/_assign-inputs.scss +11 -0
- data/assets/stylesheets/bourbon/functions/_contains-falsy.scss +20 -0
- data/assets/stylesheets/bourbon/functions/_contains.scss +26 -0
- data/assets/stylesheets/bourbon/functions/_is-length.scss +11 -0
- data/assets/stylesheets/bourbon/functions/_is-light.scss +21 -0
- data/assets/stylesheets/bourbon/functions/_is-number.scss +11 -0
- data/assets/stylesheets/bourbon/functions/_is-size.scss +13 -0
- data/assets/stylesheets/bourbon/functions/_modular-scale.scss +69 -0
- data/assets/stylesheets/bourbon/functions/_px-to-em.scss +13 -0
- data/assets/stylesheets/bourbon/functions/_px-to-rem.scss +15 -0
- data/assets/stylesheets/bourbon/functions/_shade.scss +24 -0
- data/assets/stylesheets/bourbon/functions/_strip-units.scss +17 -0
- data/assets/stylesheets/bourbon/functions/_tint.scss +24 -0
- data/assets/stylesheets/bourbon/functions/_transition-property-name.scss +22 -0
- data/assets/stylesheets/bourbon/functions/_unpack.scss +27 -0
- data/assets/stylesheets/bourbon/helpers/_convert-units.scss +21 -0
- data/assets/stylesheets/bourbon/helpers/_directional-values.scss +96 -0
- data/assets/stylesheets/bourbon/helpers/_font-source-declaration.scss +43 -0
- data/assets/stylesheets/bourbon/helpers/_gradient-positions-parser.scss +13 -0
- data/assets/stylesheets/bourbon/helpers/_linear-angle-parser.scss +25 -0
- data/assets/stylesheets/bourbon/helpers/_linear-gradient-parser.scss +41 -0
- data/assets/stylesheets/bourbon/helpers/_linear-positions-parser.scss +61 -0
- data/assets/stylesheets/bourbon/helpers/_linear-side-corner-parser.scss +31 -0
- data/assets/stylesheets/bourbon/helpers/_radial-arg-parser.scss +69 -0
- data/assets/stylesheets/bourbon/helpers/_radial-gradient-parser.scss +50 -0
- data/assets/stylesheets/bourbon/helpers/_radial-positions-parser.scss +18 -0
- data/assets/stylesheets/bourbon/helpers/_render-gradients.scss +26 -0
- data/assets/stylesheets/bourbon/helpers/_shape-size-stripper.scss +10 -0
- data/assets/stylesheets/bourbon/helpers/_str-to-num.scss +50 -0
- data/assets/stylesheets/bourbon/settings/_asset-pipeline.scss +7 -0
- data/assets/stylesheets/bourbon/settings/_prefixer.scss +9 -0
- data/assets/stylesheets/bourbon/settings/_px-to-em.scss +1 -0
- data/assets/stylesheets/contentfocus/_animations.scss +9 -0
- data/assets/stylesheets/contentfocus/_breadcrumb.scss +83 -0
- data/assets/stylesheets/contentfocus/_browser.scss +146 -0
- data/assets/stylesheets/contentfocus/_bullets.scss +63 -0
- data/assets/stylesheets/contentfocus/_comments.scss +59 -0
- data/assets/stylesheets/contentfocus/_device.scss +84 -0
- data/assets/stylesheets/contentfocus/_flashes.scss +30 -0
- data/assets/stylesheets/contentfocus/_footer.scss +78 -0
- data/assets/stylesheets/contentfocus/_forms.scss +110 -0
- data/assets/stylesheets/contentfocus/_geometric_typography.scss +104 -0
- data/assets/stylesheets/contentfocus/_hero.scss +108 -0
- data/assets/stylesheets/contentfocus/_hover_tile.scss +51 -0
- data/assets/stylesheets/contentfocus/_nav.scss +396 -0
- data/assets/stylesheets/contentfocus/_progress_bar.scss +92 -0
- data/assets/stylesheets/contentfocus/_variables.scss +84 -0
- data/assets/stylesheets/neat/_neat-helpers.scss +8 -0
- data/assets/stylesheets/neat/_neat.scss +23 -0
- data/assets/stylesheets/neat/functions/_new-breakpoint.scss +49 -0
- data/assets/stylesheets/neat/functions/_private.scss +114 -0
- data/assets/stylesheets/neat/grid/_box-sizing.scss +15 -0
- data/assets/stylesheets/neat/grid/_direction-context.scss +33 -0
- data/assets/stylesheets/neat/grid/_display-context.scss +28 -0
- data/assets/stylesheets/neat/grid/_fill-parent.scss +22 -0
- data/assets/stylesheets/neat/grid/_media.scss +92 -0
- data/assets/stylesheets/neat/grid/_omega.scss +87 -0
- data/assets/stylesheets/neat/grid/_outer-container.scss +38 -0
- data/assets/stylesheets/neat/grid/_pad.scss +25 -0
- data/assets/stylesheets/neat/grid/_private.scss +35 -0
- data/assets/stylesheets/neat/grid/_row.scss +52 -0
- data/assets/stylesheets/neat/grid/_shift.scss +50 -0
- data/assets/stylesheets/neat/grid/_span-columns.scss +94 -0
- data/assets/stylesheets/neat/grid/_to-deprecate.scss +97 -0
- data/assets/stylesheets/neat/grid/_visual-grid.scss +42 -0
- data/assets/stylesheets/neat/settings/_disable-warnings.scss +13 -0
- data/assets/stylesheets/neat/settings/_grid.scss +51 -0
- data/assets/stylesheets/neat/settings/_visual-grid.scss +27 -0
- data/lib/nesta-contentfocus-extensions.rb +14 -4
- data/lib/nesta-contentfocus-extensions/app.rb +8 -0
- data/lib/nesta-contentfocus-extensions/helpers.rb +21 -0
- data/lib/nesta-contentfocus-extensions/kramdown.rb +91 -0
- data/lib/nesta-contentfocus-extensions/menu.rb +4 -1
- data/lib/nesta-contentfocus-extensions/overrides.rb +17 -0
- data/lib/nesta-contentfocus-extensions/page.rb +29 -54
- data/lib/nesta-contentfocus-extensions/path.rb +13 -7
- data/lib/nesta-contentfocus-extensions/paths.rb +52 -0
- data/lib/nesta-contentfocus-extensions/renderer.rb +46 -0
- data/lib/nesta-contentfocus-extensions/routes.rb +15 -0
- data/lib/nesta-contentfocus-extensions/theme.rb +36 -0
- data/lib/nesta-contentfocus-extensions/version.rb +1 -1
- data/nesta-contentfocus-extensions.gemspec +14 -11
- metadata +184 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ad11ce4cc066f51875037370af819b73f9a4d3f
|
4
|
+
data.tar.gz: 1ac35209a27d8c9551879a44ab71e3ed4e8f13d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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,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
|
+
}
|