staple 0.0.9 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -7
- data/Rakefile +1 -0
- data/lib/staple/install_generator.rb +11 -1
- data/source/stylesheets/after.scss +5 -0
- data/source/stylesheets/before.scss +9 -0
- data/source/stylesheets/buttons.scss +0 -0
- data/source/stylesheets/color.scss +0 -0
- data/source/stylesheets/forms.scss +0 -0
- data/source/stylesheets/foundation_and_overrides.scss +3 -0
- data/source/stylesheets/sizing.scss +0 -0
- data/source/stylesheets/typography.scss +0 -0
- data/source/stylesheets/utilities.scss +0 -0
- data/staple.gemspec +6 -6
- metadata +12 -190
- data/config.rb +0 -24
- data/source/CNAME +0 -1
- data/source/_accordion.html.erb +0 -24
- data/source/_accordion_tabs.html.erb +0 -26
- data/source/_accordion_tabs_minimal.html.erb +0 -26
- data/source/_badges.html.erb +0 -7
- data/source/_breadcrumbs.html.erb +0 -7
- data/source/_browser.html.erb +0 -29
- data/source/_button_group.html.erb +0 -18
- data/source/_cards.html.erb +0 -59
- data/source/_centered_navigation.html.erb +0 -38
- data/source/_code.html.erb +0 -10
- data/source/_comment.html.erb +0 -21
- data/source/_device.html.erb +0 -10
- data/source/_dropdown.html.erb +0 -12
- data/source/_expander.html.erb +0 -6
- data/source/_flashes.html.erb +0 -15
- data/source/_footer.html.erb +0 -28
- data/source/_footer_2.html.erb +0 -33
- data/source/_grid_items.html.erb +0 -37
- data/source/_grid_items_lines.html.erb +0 -44
- data/source/_hero.html.erb +0 -11
- data/source/_hover_tile_animation.html.erb +0 -11
- data/source/_icon_bullet_points.html.erb +0 -30
- data/source/_image_gradient_dynamic.html.erb +0 -7
- data/source/_intro_text.html.erb +0 -6
- data/source/_label_alerts.html.erb +0 -5
- data/source/_modal.html.erb +0 -14
- data/source/_navigation.html.erb +0 -44
- data/source/_pagination.html.erb +0 -17
- data/source/_progress_bar.html.erb +0 -3
- data/source/_progress_bar_indication.html.erb +0 -5
- data/source/_search_bar.html.erb +0 -8
- data/source/_search_tools.html.erb +0 -58
- data/source/_side_image.html.erb +0 -10
- data/source/_sliding_menu.html.erb +0 -13
- data/source/_snippet.html.erb +0 -4
- data/source/_switch.html.erb +0 -4
- data/source/_tables.html.erb +0 -31
- data/source/_tables_minimal.html.erb +0 -31
- data/source/_texture-legend.html.erb +0 -24
- data/source/_textures.html.erb +0 -4
- data/source/_tooltip.html.erb +0 -6
- data/source/_type_system_geometric.html.erb +0 -18
- data/source/_type_system_rounded.html.erb +0 -18
- data/source/_type_system_sans.html.erb +0 -18
- data/source/_type_system_serif.html.erb +0 -19
- data/source/_type_system_slab.html.erb +0 -18
- data/source/_type_system_traditional.html.erb +0 -18
- data/source/_vertical_tabs.html.erb +0 -30
- data/source/_video.html.erb +0 -5
- data/source/components.html.erb +0 -174
- data/source/foundation/application.html.slim +0 -17
- data/source/foundation/foundation_and_overrides.scss +0 -4
- data/source/index.html.erb +0 -162
- data/source/javascripts/all.js +0 -11
- data/source/javascripts/jquery.erToc.js +0 -477
- data/source/javascripts/jquery.glide.js +0 -941
- data/source/javascripts/staple/accordion.js +0 -5
- data/source/javascripts/staple/accordion_tabs.js +0 -19
- data/source/javascripts/staple/accordion_tabs_minimal.js +0 -19
- data/source/javascripts/staple/centered_navigation.js +0 -14
- data/source/javascripts/staple/dropdown.js +0 -9
- data/source/javascripts/staple/expander.js +0 -53
- data/source/javascripts/staple/navigation.js +0 -23
- data/source/javascripts/staple/search_tools.js +0 -110
- data/source/javascripts/staple/sliding_menu.js +0 -13
- data/source/javascripts/staple/vertical_tabs.js +0 -32
- data/source/layouts/layout.erb +0 -1
- data/source/refills-hero.html.erb +0 -7
- data/source/refills-menu.html.erb +0 -5
- data/source/refills-page-scripts.html.erb +0 -66
- data/source/stylesheets/_bourbon-nav.scss +0 -86
- data/source/stylesheets/_normalize.scss +0 -425
- data/source/stylesheets/_refills-nav.scss +0 -102
- data/source/stylesheets/_refills-styles.scss +0 -543
- data/source/stylesheets/all.scss +0 -61
- data/source/stylesheets/staple/_accordion-tabs-minimal.scss +0 -60
- data/source/stylesheets/staple/_accordion-tabs.scss +0 -88
- data/source/stylesheets/staple/_accordion.scss +0 -55
- data/source/stylesheets/staple/_badges.scss +0 -44
- data/source/stylesheets/staple/_breadcrumbs.scss +0 -84
- data/source/stylesheets/staple/_browser.scss +0 -141
- data/source/stylesheets/staple/_button-group.scss +0 -81
- data/source/stylesheets/staple/_cards.scss +0 -132
- data/source/stylesheets/staple/_centered-navigation.scss +0 -251
- data/source/stylesheets/staple/_comment.scss +0 -60
- data/source/stylesheets/staple/_device.scss +0 -83
- data/source/stylesheets/staple/_dropdown.scss +0 -127
- data/source/stylesheets/staple/_expander.scss +0 -30
- data/source/stylesheets/staple/_flashes.scss +0 -29
- data/source/stylesheets/staple/_footer-2.scss +0 -117
- data/source/stylesheets/staple/_footer.scss +0 -76
- data/source/stylesheets/staple/_grid-items-lines.scss +0 -86
- data/source/stylesheets/staple/_grid-items.scss +0 -97
- data/source/stylesheets/staple/_hero.scss +0 -54
- data/source/stylesheets/staple/_hover-tile-animation.scss +0 -52
- data/source/stylesheets/staple/_icon-bullet-points.scss +0 -63
- data/source/stylesheets/staple/_image-gradient-dynamic.scss +0 -59
- data/source/stylesheets/staple/_intro-text.scss +0 -67
- data/source/stylesheets/staple/_label-alerts.scss +0 -11
- data/source/stylesheets/staple/_modal.scss +0 -147
- data/source/stylesheets/staple/_navigation.scss +0 -329
- data/source/stylesheets/staple/_pagination.scss +0 -51
- data/source/stylesheets/staple/_progress-bar-indication.scss +0 -39
- data/source/stylesheets/staple/_progress-bar.scss +0 -83
- data/source/stylesheets/staple/_search-bar.scss +0 -40
- data/source/stylesheets/staple/_search-tools.scss +0 -67
- data/source/stylesheets/staple/_side-image.scss +0 -59
- data/source/stylesheets/staple/_sliding-menu.scss +0 -63
- data/source/stylesheets/staple/_switch.scss +0 -77
- data/source/stylesheets/staple/_tables-minimal.scss +0 -60
- data/source/stylesheets/staple/_tables.scss +0 -88
- data/source/stylesheets/staple/_texture-legend.scss +0 -182
- data/source/stylesheets/staple/_textures.scss +0 -119
- data/source/stylesheets/staple/_tooltip.scss +0 -57
- data/source/stylesheets/staple/_type-system-geometric.scss +0 -103
- data/source/stylesheets/staple/_type-system-rounded.scss +0 -107
- data/source/stylesheets/staple/_type-system-sans.scss +0 -110
- data/source/stylesheets/staple/_type-system-serif.scss +0 -111
- data/source/stylesheets/staple/_type-system-slab.scss +0 -107
- data/source/stylesheets/staple/_type-system-traditional.scss +0 -114
- data/source/stylesheets/staple/_vertical-tabs.scss +0 -105
- data/source/stylesheets/staple/_video.scss +0 -21
- data/source/type-systems.html.erb +0 -67
- data/source/vendor/javascripts/ZeroClipboard.min.js +0 -9
- data/source/vendor/javascripts/fixedsticky.js +0 -185
- data/source/vendor/javascripts/prism.js +0 -13
- data/source/vendor/javascripts/smooth-scroll.js +0 -125
- data/source/vendor/stylesheets/fixedsticky.css +0 -22
- data/source/vendor/stylesheets/prism.css +0 -126
@@ -1,76 +0,0 @@
|
|
1
|
-
.footer {
|
2
|
-
$footer-background: desaturate(darken($base-accent-color, 20), 30);
|
3
|
-
$footer-color: white;
|
4
|
-
$footer-link-color: transparentize($footer-color, .6);
|
5
|
-
$footer-disclaimer-color: transparentize($footer-color, .6);
|
6
|
-
|
7
|
-
background: $footer-background;
|
8
|
-
padding: $base-spacing*2 $gutter;
|
9
|
-
width: 100%;
|
10
|
-
|
11
|
-
.footer-logo {
|
12
|
-
text-align: center;
|
13
|
-
margin-bottom: 2em;
|
14
|
-
|
15
|
-
img {
|
16
|
-
height: 3em;
|
17
|
-
}
|
18
|
-
}
|
19
|
-
|
20
|
-
.footer-links {
|
21
|
-
@include clearfix;
|
22
|
-
margin-bottom: $base-spacing;
|
23
|
-
|
24
|
-
@include media($medium-screen) {
|
25
|
-
@include shift(3);
|
26
|
-
}
|
27
|
-
}
|
28
|
-
|
29
|
-
ul {
|
30
|
-
margin-bottom: $base-spacing*2;
|
31
|
-
|
32
|
-
@include media($medium-screen) {
|
33
|
-
@include span-columns(3);
|
34
|
-
@include omega(3n);
|
35
|
-
@include clearfix;
|
36
|
-
}
|
37
|
-
}
|
38
|
-
|
39
|
-
li {
|
40
|
-
text-align: center;
|
41
|
-
|
42
|
-
@include media($medium-screen) {
|
43
|
-
text-align: left;
|
44
|
-
}
|
45
|
-
}
|
46
|
-
|
47
|
-
li a {
|
48
|
-
color: $footer-link-color;
|
49
|
-
|
50
|
-
&:hover {
|
51
|
-
color: transparentize($footer-color, 0);
|
52
|
-
}
|
53
|
-
}
|
54
|
-
|
55
|
-
li h3 {
|
56
|
-
color: $footer-color;
|
57
|
-
font-size: 1em;
|
58
|
-
font-weight: 800;
|
59
|
-
margin-bottom: .4em;
|
60
|
-
}
|
61
|
-
|
62
|
-
hr {
|
63
|
-
border: 1px solid transparentize($footer-disclaimer-color, .3);
|
64
|
-
margin: 0 auto $base-spacing;
|
65
|
-
width: 12em;
|
66
|
-
}
|
67
|
-
|
68
|
-
p {
|
69
|
-
color: $footer-disclaimer-color;
|
70
|
-
font-size: .9em;
|
71
|
-
line-height: 1.5em;
|
72
|
-
margin: auto;
|
73
|
-
max-width: 35em;
|
74
|
-
text-align: center;
|
75
|
-
}
|
76
|
-
}
|
@@ -1,86 +0,0 @@
|
|
1
|
-
@mixin grid-item-columns($columns) {
|
2
|
-
width: (100% / 12) * $columns;
|
3
|
-
}
|
4
|
-
|
5
|
-
.grid-items-lines {
|
6
|
-
$grid-items-background: $base-background-color;
|
7
|
-
$grid-item-background: $base-background-color;
|
8
|
-
$grid-item-border: 1px solid transparentize($base-font-color, .8);
|
9
|
-
$grid-item-columns: 4;
|
10
|
-
$grid-item-big-columns: 8;
|
11
|
-
$grid-item-color: $base-font-color;
|
12
|
-
$grid-item-height: 14em;
|
13
|
-
|
14
|
-
@include clearfix;
|
15
|
-
position: relative;
|
16
|
-
|
17
|
-
.grid-item {
|
18
|
-
@include transition (all 0.2s ease-in-out);
|
19
|
-
height: $grid-item-height;
|
20
|
-
background: $grid-item-background;
|
21
|
-
width: 100%;
|
22
|
-
overflow: hidden;
|
23
|
-
float: left;
|
24
|
-
padding: 2em;
|
25
|
-
border-right: $grid-item-border;
|
26
|
-
border-bottom: $grid-item-border;
|
27
|
-
cursor: pointer;
|
28
|
-
|
29
|
-
@include media($large-screen) {
|
30
|
-
@include grid-item-columns($grid-item-columns);
|
31
|
-
}
|
32
|
-
|
33
|
-
&:hover {
|
34
|
-
background: transparentize($grid-item-color, .95);
|
35
|
-
}
|
36
|
-
}
|
37
|
-
|
38
|
-
.grid-item img {
|
39
|
-
display: block;
|
40
|
-
height: 2.5em;
|
41
|
-
margin-bottom: 1.2em;
|
42
|
-
opacity: .2;
|
43
|
-
}
|
44
|
-
|
45
|
-
.grid-item h1 {
|
46
|
-
color: $grid-item-color;
|
47
|
-
font-size: 1.3em;
|
48
|
-
margin-bottom: .4em;
|
49
|
-
}
|
50
|
-
|
51
|
-
.grid-item p {
|
52
|
-
color: transparentize($grid-item-color, .4);
|
53
|
-
@include media($medium-screen) {
|
54
|
-
max-width: 70%;
|
55
|
-
}
|
56
|
-
}
|
57
|
-
|
58
|
-
.grid-item-big {
|
59
|
-
@include media($large-screen) {
|
60
|
-
@include grid-item-columns($grid-item-big-columns);
|
61
|
-
}
|
62
|
-
p {
|
63
|
-
@include media($medium-screen) {
|
64
|
-
max-width: 60%;
|
65
|
-
}
|
66
|
-
}
|
67
|
-
}
|
68
|
-
|
69
|
-
// this, below, might not be the most beautiful solution but it removes the outer borders by using the background color.
|
70
|
-
.bottom-cover {
|
71
|
-
position: absolute;
|
72
|
-
bottom: 0px;
|
73
|
-
width: 100%;
|
74
|
-
height: 3px;
|
75
|
-
background: $grid-items-background;
|
76
|
-
}
|
77
|
-
|
78
|
-
.right-cover {
|
79
|
-
position: absolute;
|
80
|
-
right: 0px;
|
81
|
-
height: 100%;
|
82
|
-
width: 4px;
|
83
|
-
background: $grid-items-background;
|
84
|
-
}
|
85
|
-
}
|
86
|
-
|
@@ -1,97 +0,0 @@
|
|
1
|
-
@mixin grid-item-columns($columns) {
|
2
|
-
width: (100% / 12) * $columns;
|
3
|
-
}
|
4
|
-
|
5
|
-
.grid-items {
|
6
|
-
$grid-items-background: $base-background-color;
|
7
|
-
$grid-item-background: desaturate($base-accent-color, 30);
|
8
|
-
$grid-item-colors:
|
9
|
-
desaturate($base-accent-color, 30),
|
10
|
-
#3581A5,
|
11
|
-
#5FBEBE,
|
12
|
-
#98C79A,
|
13
|
-
#A7A891,
|
14
|
-
#BDCC97,
|
15
|
-
#979EA0;
|
16
|
-
$grid-item-border-size: 9px;
|
17
|
-
$grid-item-columns: 4;
|
18
|
-
$grid-item-big-columns: 8;
|
19
|
-
$grid-item-color: white;
|
20
|
-
$grid-item-height: 14em;
|
21
|
-
|
22
|
-
@include clearfix;
|
23
|
-
|
24
|
-
.grid-item {
|
25
|
-
@include transition (all 0.2s ease-in-out);
|
26
|
-
height: $grid-item-height;
|
27
|
-
background: $grid-item-background;
|
28
|
-
width: 100%;
|
29
|
-
overflow: hidden;
|
30
|
-
float: left;
|
31
|
-
padding: 2em;
|
32
|
-
border-top: 0;
|
33
|
-
border-bottom: $grid-item-border-size solid $grid-items-background;
|
34
|
-
border-left: $grid-item-border-size /2 solid $grid-items-background;
|
35
|
-
border-right: $grid-item-border-size /2 solid $grid-items-background;
|
36
|
-
text-align: center;
|
37
|
-
cursor: pointer;
|
38
|
-
|
39
|
-
@include media($large-screen) {
|
40
|
-
@include grid-item-columns($grid-item-columns);
|
41
|
-
}
|
42
|
-
|
43
|
-
@for $i from 1 to 8 { // assign colors from $grid-item-colors list
|
44
|
-
&:nth-child(#{$i}) {
|
45
|
-
$background-from-list: nth($grid-item-colors, $i);
|
46
|
-
background-color: $background-from-list;
|
47
|
-
box-shadow: inset 0px 0px 1px 2px darken($background-from-list, 10);
|
48
|
-
&:hover {
|
49
|
-
background-color: darken($background-from-list, 10);
|
50
|
-
background-repeat: no-repeat;
|
51
|
-
background-position: top;
|
52
|
-
background-size: cover;
|
53
|
-
}
|
54
|
-
}
|
55
|
-
}
|
56
|
-
}
|
57
|
-
|
58
|
-
.grid-item img {
|
59
|
-
display: block;
|
60
|
-
height: 3em;
|
61
|
-
margin: auto;
|
62
|
-
margin-bottom: 1em;
|
63
|
-
}
|
64
|
-
|
65
|
-
.grid-item h1 {
|
66
|
-
color: $grid-item-color;
|
67
|
-
font-size: 1.3em;
|
68
|
-
margin-bottom: .4em;
|
69
|
-
}
|
70
|
-
|
71
|
-
.grid-item p {
|
72
|
-
margin: auto;
|
73
|
-
color: transparentize($grid-item-color, .3);
|
74
|
-
@include media($medium-screen) {
|
75
|
-
max-width: 70%;
|
76
|
-
}
|
77
|
-
}
|
78
|
-
|
79
|
-
.grid-item-big {
|
80
|
-
@include media($large-screen) {
|
81
|
-
@include grid-item-columns($grid-item-big-columns);
|
82
|
-
}
|
83
|
-
p {
|
84
|
-
@include media($medium-screen) {
|
85
|
-
max-width: 60%;
|
86
|
-
}
|
87
|
-
}
|
88
|
-
}
|
89
|
-
|
90
|
-
.grid-item-image {
|
91
|
-
background: url(/images/lake-transparent.png);
|
92
|
-
background-color: $grid-item-background;
|
93
|
-
background-repeat: no-repeat;
|
94
|
-
background-position: top;
|
95
|
-
background-size: cover;
|
96
|
-
}
|
97
|
-
}
|
@@ -1,54 +0,0 @@
|
|
1
|
-
.hero {
|
2
|
-
$hero-background-top: #7F99BE;
|
3
|
-
$hero-background-bottom: #20392B;
|
4
|
-
$hero-color: white;
|
5
|
-
$gradient-angle: 10deg;
|
6
|
-
$hero-image: 'https://raw.githubusercontent.com/thoughtbot/refills/master/source/images/mountains.png';
|
7
|
-
|
8
|
-
@include background(url($hero-image), linear-gradient($gradient-angle, $hero-background-bottom, $hero-background-top), no-repeat $hero-background-top scroll);
|
9
|
-
|
10
|
-
background-repeat: no-repeat;
|
11
|
-
background-position: top;
|
12
|
-
background-size: cover;
|
13
|
-
padding-bottom: 4em;
|
14
|
-
|
15
|
-
.hero-logo img {
|
16
|
-
height: 3em;
|
17
|
-
margin-bottom: 2.5em;
|
18
|
-
}
|
19
|
-
|
20
|
-
.hero-inner {
|
21
|
-
@include outer-container;
|
22
|
-
@include clearfix;
|
23
|
-
padding: 3em;
|
24
|
-
margin: auto;
|
25
|
-
text-align: center;
|
26
|
-
color: $hero-color;
|
27
|
-
|
28
|
-
.hero-copy {
|
29
|
-
text-align: center;
|
30
|
-
|
31
|
-
h1 {
|
32
|
-
font-size: 1.6em;
|
33
|
-
margin-bottom: .5em;
|
34
|
-
|
35
|
-
@include media($large-screen) {
|
36
|
-
font-size: 1.8em;
|
37
|
-
}
|
38
|
-
}
|
39
|
-
|
40
|
-
p {
|
41
|
-
font-family: $serif;
|
42
|
-
margin: auto;
|
43
|
-
margin-bottom: 3em;
|
44
|
-
font-weight: 200;
|
45
|
-
line-height: 1.4em;
|
46
|
-
|
47
|
-
@include media($large-screen) {
|
48
|
-
font-size: 1.1em;
|
49
|
-
max-width: 40%;
|
50
|
-
}
|
51
|
-
}
|
52
|
-
}
|
53
|
-
}
|
54
|
-
}
|
@@ -1,52 +0,0 @@
|
|
1
|
-
.hover-tile-outer {
|
2
|
-
$hover-tile-height: 10em;
|
3
|
-
|
4
|
-
background-position: bottom;
|
5
|
-
background-size: cover;
|
6
|
-
background: url("/images/mountains.png");
|
7
|
-
background-size: cover;
|
8
|
-
background-color: $base-accent-color;
|
9
|
-
border: 1px solid $base-border-color;
|
10
|
-
height: $hover-tile-height;
|
11
|
-
margin-bottom: $base-line-height;
|
12
|
-
cursor: pointer;
|
13
|
-
|
14
|
-
@include media($medium-screen) {
|
15
|
-
width: 40%;
|
16
|
-
}
|
17
|
-
|
18
|
-
.hover-tile-container {
|
19
|
-
height: $hover-tile-height;
|
20
|
-
overflow: hidden;
|
21
|
-
}
|
22
|
-
|
23
|
-
.hover-tile-container:hover > .hover-tile {
|
24
|
-
@include transform(translate(0, -100%));
|
25
|
-
}
|
26
|
-
|
27
|
-
.hover-tile {
|
28
|
-
@include transition(all, .2s ease-in-out);
|
29
|
-
background:inherit;
|
30
|
-
color: white;
|
31
|
-
height:inherit;
|
32
|
-
padding: 1em 1.5em;
|
33
|
-
}
|
34
|
-
|
35
|
-
.hover-tile-visible {
|
36
|
-
color: transparentize(white, .3);
|
37
|
-
font-size: 2em;
|
38
|
-
font-weight: 200;
|
39
|
-
padding-top: 1.5em;
|
40
|
-
text-align: center;
|
41
|
-
}
|
42
|
-
|
43
|
-
.hover-tile-hidden {
|
44
|
-
background: transparentize(black, .5);
|
45
|
-
h4 {
|
46
|
-
margin-bottom: .5em;
|
47
|
-
}
|
48
|
-
p {
|
49
|
-
color: transparentize(white, .3);
|
50
|
-
}
|
51
|
-
}
|
52
|
-
}
|
@@ -1,63 +0,0 @@
|
|
1
|
-
.bullets {
|
2
|
-
$icon-bullet-size: 3.5em;
|
3
|
-
|
4
|
-
overflow: auto;
|
5
|
-
margin-bottom: $base-line-height;
|
6
|
-
|
7
|
-
// change ".three-col-bullet" class to this for two bullet layout
|
8
|
-
.two-col-bullet {
|
9
|
-
@include media($large-screen) {
|
10
|
-
@include span-columns(6);
|
11
|
-
@include omega(2n);
|
12
|
-
}
|
13
|
-
}
|
14
|
-
|
15
|
-
.three-col-bullet {
|
16
|
-
@include media($large-screen) {
|
17
|
-
@include span-columns(4);
|
18
|
-
@include omega(3n);
|
19
|
-
}
|
20
|
-
}
|
21
|
-
|
22
|
-
// change ".three-col-bullet" class to this for four bullet layout
|
23
|
-
.four-col-bullet {
|
24
|
-
@include media($large-screen) {
|
25
|
-
@include span-columns(3);
|
26
|
-
@include omega(4n);
|
27
|
-
}
|
28
|
-
}
|
29
|
-
|
30
|
-
.bullet-icon {
|
31
|
-
float: left;
|
32
|
-
background: $base-accent-color;
|
33
|
-
padding: $icon-bullet-size /4;
|
34
|
-
border-radius: 50%;
|
35
|
-
width: $icon-bullet-size;
|
36
|
-
height: $icon-bullet-size;
|
37
|
-
}
|
38
|
-
|
39
|
-
.bullet-icon-1 {
|
40
|
-
background: $base-accent-color;
|
41
|
-
}
|
42
|
-
|
43
|
-
.bullet-icon-2 {
|
44
|
-
background: adjust-hue($base-accent-color, -50);
|
45
|
-
}
|
46
|
-
|
47
|
-
.bullet-icon-3 {
|
48
|
-
background: adjust-hue($base-accent-color, -140);
|
49
|
-
}
|
50
|
-
|
51
|
-
.bullet-content {
|
52
|
-
margin-left: $icon-bullet-size *1.4;
|
53
|
-
margin-bottom: 2em;
|
54
|
-
}
|
55
|
-
|
56
|
-
h2 {
|
57
|
-
font-size: $icon-bullet-size /2.5;
|
58
|
-
padding-top: $icon-bullet-size /7;
|
59
|
-
margin-bottom: $icon-bullet-size /6;
|
60
|
-
border-bottom: 1px solid transparentize($base-font-color, .8);
|
61
|
-
display: inline-block;
|
62
|
-
}
|
63
|
-
}
|
@@ -1,59 +0,0 @@
|
|
1
|
-
.image-gradient-dynamic {
|
2
|
-
$image-gradient-color-top: red;
|
3
|
-
$transparency-top: .9;
|
4
|
-
$image-gradient-color-bottom: green;
|
5
|
-
$transparency-bottom: .6;
|
6
|
-
$vertical-angle: 0deg;
|
7
|
-
|
8
|
-
$image-gradient-color-left: teal;
|
9
|
-
$transparency-left: .8;
|
10
|
-
$image-gradient-color-right: yellow;
|
11
|
-
$transparency-right: .8;
|
12
|
-
$horizontal-angle: 90deg;
|
13
|
-
|
14
|
-
position: relative;
|
15
|
-
line-height: 0;
|
16
|
-
width: 100%;
|
17
|
-
margin-bottom: $base-line-height;
|
18
|
-
|
19
|
-
img {
|
20
|
-
width: 100%;
|
21
|
-
height: auto;
|
22
|
-
position: relative;
|
23
|
-
top: 0;
|
24
|
-
left: 0;
|
25
|
-
}
|
26
|
-
|
27
|
-
.copy {
|
28
|
-
position: absolute;
|
29
|
-
top: 50%;
|
30
|
-
left: 50%;
|
31
|
-
margin: auto;
|
32
|
-
z-index: 999;
|
33
|
-
text-align: center;
|
34
|
-
@include transform(translate(-50%, -50%));
|
35
|
-
|
36
|
-
p {
|
37
|
-
line-height: 1.5em;
|
38
|
-
padding: 1em 2em;
|
39
|
-
position: relative;
|
40
|
-
color: white;
|
41
|
-
font-weight: 800;
|
42
|
-
}
|
43
|
-
}
|
44
|
-
|
45
|
-
.overlay {
|
46
|
-
@include linear-gradient($vertical-angle, transparentize($image-gradient-color-top, $transparency-top),
|
47
|
-
transparentize($image-gradient-color-bottom, $transparency-bottom));
|
48
|
-
display: block;
|
49
|
-
@include position(absolute, 0px 0px 0px 0px);
|
50
|
-
|
51
|
-
&:after {
|
52
|
-
content: '';
|
53
|
-
@include linear-gradient($horizontal-angle, transparentize($image-gradient-color-left, $transparency-left),
|
54
|
-
transparentize($image-gradient-color-right, $transparency-right));
|
55
|
-
display: block;
|
56
|
-
@include position(absolute, 0px 0px 0px 0px);
|
57
|
-
}
|
58
|
-
}
|
59
|
-
}
|
@@ -1,67 +0,0 @@
|
|
1
|
-
.intro-text {
|
2
|
-
$intro-text-width: 60%;
|
3
|
-
|
4
|
-
margin-bottom: 5em;
|
5
|
-
margin-top: 4em;
|
6
|
-
text-align: center;
|
7
|
-
|
8
|
-
h2 {
|
9
|
-
font-family: $serif;
|
10
|
-
font-weight: 800;
|
11
|
-
margin-bottom: .3em;
|
12
|
-
|
13
|
-
@include media($large-screen) {
|
14
|
-
font-size: 3em;
|
15
|
-
margin-bottom: .4em;
|
16
|
-
}
|
17
|
-
}
|
18
|
-
|
19
|
-
h3 {
|
20
|
-
background: $base-accent-color;
|
21
|
-
color: white;
|
22
|
-
display: inline-block;
|
23
|
-
font-size: .7em;
|
24
|
-
font-weight: 800;
|
25
|
-
margin-bottom: 2em;
|
26
|
-
padding: 3px 8px;
|
27
|
-
text-transform: uppercase;
|
28
|
-
|
29
|
-
@include media($large-screen) {
|
30
|
-
margin-bottom: 3.3em;
|
31
|
-
}
|
32
|
-
}
|
33
|
-
|
34
|
-
h4 {
|
35
|
-
color: lighten($base-font-color, 20);
|
36
|
-
font-size: 1.3em;
|
37
|
-
font-weight: 300;
|
38
|
-
line-height: 1.4em;
|
39
|
-
margin: 0 auto 1em;
|
40
|
-
|
41
|
-
@include media($large-screen) {
|
42
|
-
font-size: 1.7em;
|
43
|
-
line-height: 1.35em;
|
44
|
-
margin: 0 auto 1em;
|
45
|
-
width: $intro-text-width;
|
46
|
-
}
|
47
|
-
}
|
48
|
-
|
49
|
-
p {
|
50
|
-
margin: auto;
|
51
|
-
|
52
|
-
@include media($large-screen) {
|
53
|
-
width: $intro-text-width;
|
54
|
-
}
|
55
|
-
|
56
|
-
a {
|
57
|
-
font-size: .8em;
|
58
|
-
font-weight: 400;
|
59
|
-
text-transform: uppercase;
|
60
|
-
|
61
|
-
span {
|
62
|
-
font-size: 1.3em;
|
63
|
-
line-height: 0;
|
64
|
-
}
|
65
|
-
}
|
66
|
-
}
|
67
|
-
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
$alert-red: #FBE3E4;
|
2
|
-
$alert-yellow: #FFF6BF;
|
3
|
-
$alert-green: #E6EFC2;
|
4
|
-
|
5
|
-
$label-alerts: (alert: $alert-yellow, error: $alert-red, notice: lighten($base-accent-color, 40), success: $alert-green);
|
6
|
-
|
7
|
-
@each $alert, $color in $label-alerts {
|
8
|
-
.label-#{$alert} {
|
9
|
-
color: darken($color, 45);
|
10
|
-
}
|
11
|
-
}
|
@@ -1,147 +0,0 @@
|
|
1
|
-
.modal {
|
2
|
-
$modal-padding: 3em;
|
3
|
-
$modal-background: $base-background-color;
|
4
|
-
$modal-close-color: $light-gray;
|
5
|
-
$modal-image-height: 135px;
|
6
|
-
$modal-image-width: $modal-image-height;
|
7
|
-
|
8
|
-
label {
|
9
|
-
cursor: pointer;
|
10
|
-
margin-bottom: 0;
|
11
|
-
}
|
12
|
-
|
13
|
-
label img {
|
14
|
-
$img-width: 300px;
|
15
|
-
border-radius: $img-width/2;
|
16
|
-
display: block;
|
17
|
-
max-width: $img-width;
|
18
|
-
}
|
19
|
-
|
20
|
-
input[type="checkbox"] {
|
21
|
-
display: none;
|
22
|
-
}
|
23
|
-
|
24
|
-
.btn {
|
25
|
-
@extend button;
|
26
|
-
}
|
27
|
-
|
28
|
-
.modal-open {
|
29
|
-
overflow: hidden;
|
30
|
-
}
|
31
|
-
|
32
|
-
.modal-window { // overlay
|
33
|
-
@include transition(opacity .25s ease);
|
34
|
-
@include position(fixed, 0px 0px 0px 0px);
|
35
|
-
background: rgba(0,0,0, .85);
|
36
|
-
opacity: 0;
|
37
|
-
text-align: left;
|
38
|
-
visibility: hidden;
|
39
|
-
z-index: 99999999999;
|
40
|
-
|
41
|
-
.modal-bg {
|
42
|
-
@include position(absolute, 0px 0px 0px 0px);
|
43
|
-
cursor: pointer;
|
44
|
-
}
|
45
|
-
}
|
46
|
-
|
47
|
-
.modal-close {
|
48
|
-
@include position(absolute, ($modal-padding /2) ($modal-padding /2) null null);
|
49
|
-
@include size(1.5em);
|
50
|
-
cursor: pointer;
|
51
|
-
background: $modal-background;
|
52
|
-
|
53
|
-
&:after,
|
54
|
-
&:before {
|
55
|
-
@include position(absolute, 3px 3px 0 50%);
|
56
|
-
@include transform(rotate(45deg));
|
57
|
-
@include size(.15em 1.5em);
|
58
|
-
background: $modal-close-color;
|
59
|
-
content: '';
|
60
|
-
display: block;
|
61
|
-
margin: -3px 0 0 -1px;
|
62
|
-
}
|
63
|
-
|
64
|
-
&:hover:after,
|
65
|
-
&:hover:before {
|
66
|
-
background: darken($modal-close-color, 10);
|
67
|
-
}
|
68
|
-
|
69
|
-
&:before {
|
70
|
-
@include transform(rotate(-45deg));
|
71
|
-
}
|
72
|
-
}
|
73
|
-
|
74
|
-
.modal-inner {
|
75
|
-
@include transition(opacity .25s ease);
|
76
|
-
border-radius: $base-border-radius;
|
77
|
-
background: $modal-background;
|
78
|
-
margin: auto;
|
79
|
-
max-height: 95%;
|
80
|
-
position: relative;
|
81
|
-
overflow: auto;
|
82
|
-
width: 95%;
|
83
|
-
padding: $modal-padding /2;
|
84
|
-
margin-top: .6em;
|
85
|
-
|
86
|
-
@include media($medium-screen) {
|
87
|
-
padding: $modal-padding;
|
88
|
-
width: 60%;
|
89
|
-
max-height: 60%;
|
90
|
-
margin-top: 10em;
|
91
|
-
}
|
92
|
-
|
93
|
-
@include media($large-screen) {
|
94
|
-
width: 50%;
|
95
|
-
margin-top: 10em;
|
96
|
-
}
|
97
|
-
|
98
|
-
h1 {
|
99
|
-
color: $base-font-color;
|
100
|
-
margin-bottom: .6em;
|
101
|
-
text-align: left;
|
102
|
-
text-transform: capitalize;
|
103
|
-
}
|
104
|
-
|
105
|
-
p.body, p.intro {
|
106
|
-
font-size: $base-font-size;
|
107
|
-
max-width: 100% !important;
|
108
|
-
text-align: left;
|
109
|
-
|
110
|
-
&.intro {
|
111
|
-
color: $blue;
|
112
|
-
line-height: 1.6em;
|
113
|
-
}
|
114
|
-
|
115
|
-
&.body {
|
116
|
-
color: $base-font-color;
|
117
|
-
line-height: 1.45em;
|
118
|
-
|
119
|
-
@include media($medium-screen) {
|
120
|
-
@include columns(2 8em);
|
121
|
-
}
|
122
|
-
}
|
123
|
-
}
|
124
|
-
|
125
|
-
a.cta {
|
126
|
-
color: white;
|
127
|
-
display: inline-block;
|
128
|
-
margin-right: .5em;
|
129
|
-
margin-top: 1em;
|
130
|
-
|
131
|
-
&:last-child {
|
132
|
-
padding: 0 2em;
|
133
|
-
}
|
134
|
-
}
|
135
|
-
}
|
136
|
-
|
137
|
-
.modal-state:checked + .modal-window {
|
138
|
-
opacity: 1;
|
139
|
-
visibility: visible;
|
140
|
-
}
|
141
|
-
|
142
|
-
.modal-state:checked + .modal-window .modal-inner {
|
143
|
-
top: 0;
|
144
|
-
}
|
145
|
-
}
|
146
|
-
|
147
|
-
// Based on code by Kasper Mikiewicz
|