refills 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.hound.yml +3 -2
- data/.ruby-version +1 -1
- data/.scss-lint.yml +97 -24
- data/CONTRIBUTING.md +4 -3
- data/Gemfile +13 -10
- data/README.md +31 -15
- data/circle.yml +7 -0
- data/config.rb +4 -13
- data/{lib → helpers}/snippet_helpers.rb +14 -6
- data/lib/refills/version.rb +1 -1
- data/refills.gemspec +2 -2
- data/sache.json +1 -1
- data/source/_badges.html.erb +1 -1
- data/source/_cards.html.erb +1 -1
- data/source/_centered_navigation.html.erb +5 -5
- data/source/_comment.html.erb +2 -2
- data/source/_device.html.erb +0 -1
- data/source/_expander.html.erb +2 -2
- data/source/_flex_boxes.html.erb +6 -6
- data/source/_footer.html.erb +1 -1
- data/source/_footer_2.html.erb +1 -1
- data/source/_grid_items.html.erb +7 -7
- data/source/_grid_items_lines.html.erb +8 -8
- data/source/_hero.html.erb +4 -9
- data/source/_icon_bullet_points.html.erb +6 -7
- data/source/_logo_section.html.erb +8 -0
- data/source/_modal.html.erb +2 -2
- data/source/_navigation.html.erb +2 -3
- data/source/_search_bar.html.erb +1 -1
- data/source/_search_tools.html.erb +54 -52
- data/source/_side_image.html.erb +0 -1
- data/source/_sliding_panel.html.erb +13 -0
- data/source/_type_system_geometric.html.erb +4 -3
- data/source/_type_system_rounded.html.erb +3 -3
- data/source/_type_system_sans.html.erb +3 -3
- data/source/_type_system_serif.html.erb +4 -4
- data/source/_type_system_slab.html.erb +3 -3
- data/source/_type_system_traditional.html.erb +3 -3
- data/source/components.html.erb +9 -5
- data/source/images/background-image.png +0 -0
- data/source/images/cosmin_capitanu_screen.jpg +0 -0
- data/source/images/new.svg +22 -0
- data/source/images/placeholder_square.png +0 -0
- data/source/images/placeholder_wide.png +0 -0
- data/source/images/placeholder_wider.png +0 -0
- data/source/index.html.erb +10 -3
- data/source/javascripts/jquery.erToc.js +1 -6
- data/source/javascripts/refills/accordion_base.js +5 -0
- data/source/javascripts/refills/accordion_tabs.js +1 -2
- data/source/javascripts/refills/accordion_tabs_minimal.js +1 -2
- data/source/javascripts/refills/base-accordion.js +5 -0
- data/source/javascripts/refills/centered_navigation.js +27 -9
- data/source/javascripts/refills/coffeescript/accordion.coffee +3 -4
- data/source/javascripts/refills/coffeescript/accordion_base.coffee +6 -0
- data/source/javascripts/refills/coffeescript/accordion_tabs.coffee +9 -12
- data/source/javascripts/refills/coffeescript/accordion_tabs_minimal.coffee +9 -12
- data/source/javascripts/refills/coffeescript/animate.coffee +4 -7
- data/source/javascripts/refills/coffeescript/base-accordion.coffee +5 -0
- data/source/javascripts/refills/coffeescript/centered_navigation.coffee +6 -8
- data/source/javascripts/refills/coffeescript/dropdown.coffee +6 -10
- data/source/javascripts/refills/coffeescript/expander.coffee +4 -6
- data/source/javascripts/refills/coffeescript/fade_in.coffee +6 -8
- data/source/javascripts/refills/coffeescript/modal.coffee +7 -11
- data/source/javascripts/refills/coffeescript/navigation.coffee +6 -8
- data/source/javascripts/refills/coffeescript/parallax.coffee +9 -8
- data/source/javascripts/refills/coffeescript/scroll_on_page.coffee +6 -11
- data/source/javascripts/refills/coffeescript/search_tools.coffee +0 -85
- data/source/javascripts/refills/coffeescript/sliding_panel.coffee +6 -0
- data/source/javascripts/refills/coffeescript/vertical_tabs.coffee +21 -21
- data/source/javascripts/refills/dropdown.js +8 -8
- data/source/javascripts/refills/expander.js +1 -4
- data/source/javascripts/refills/modal.js +1 -1
- data/source/javascripts/refills/navigation.js +26 -7
- data/source/javascripts/refills/navigation_centered.js +13 -0
- data/source/javascripts/refills/scroll_on_page.js +8 -5
- data/source/javascripts/refills/search_tools.js +2 -2
- data/source/javascripts/refills/sliding_panel.js +6 -0
- data/source/javascripts/refills/unstyled/accordion.js +5 -0
- data/source/javascripts/refills/unstyled/accordion_tabs.js +18 -0
- data/source/javascripts/refills/unstyled/dropdown.js +12 -0
- data/source/javascripts/refills/unstyled/expander.js +8 -0
- data/source/javascripts/refills/unstyled/modal.js +17 -0
- data/source/javascripts/refills/unstyled/navigation.js +13 -0
- data/source/javascripts/refills/unstyled/navigation_centered.js +13 -0
- data/source/javascripts/refills/unstyled/scroll_on_page.js +29 -0
- data/source/javascripts/refills/unstyled/sliding_panel.js +6 -0
- data/source/javascripts/refills/unstyled/vertical_tabs.js +32 -0
- data/source/layouts/layout.erb +3 -3
- data/source/refills-hero.html.erb +6 -3
- data/source/stylesheets/_bourbon-nav.scss +14 -7
- data/source/stylesheets/_refill.scss +215 -0
- data/source/stylesheets/_refills-footer.scss +62 -0
- data/source/stylesheets/_refills-header.scss +113 -0
- data/source/stylesheets/_refills-menu.scss +91 -0
- data/source/stylesheets/_refills-nav.scss +13 -13
- data/source/stylesheets/_refills-styles.scss +8 -644
- data/source/stylesheets/_refills-variables.scss +20 -0
- data/source/stylesheets/all.css.scss +78 -0
- data/source/stylesheets/refills/_accordion-tabs-minimal.scss +9 -14
- data/source/stylesheets/refills/_accordion-tabs.scss +11 -16
- data/source/stylesheets/refills/_accordion.scss +13 -29
- data/source/stylesheets/refills/_animate.scss +9 -10
- data/source/stylesheets/refills/_badges.scss +18 -35
- data/source/stylesheets/refills/_breadcrumbs.scss +15 -19
- data/source/stylesheets/refills/_button-group.scss +6 -12
- data/source/stylesheets/refills/_cards.scss +22 -31
- data/source/stylesheets/refills/_centered-navigation.scss +16 -13
- data/source/stylesheets/refills/_comment.scss +3 -6
- data/source/stylesheets/refills/_device.scss +29 -40
- data/source/stylesheets/refills/_dropdown.scss +17 -27
- data/source/stylesheets/refills/_expander.scss +14 -21
- data/source/stylesheets/refills/_fade-in.scss +7 -11
- data/source/stylesheets/refills/_flashes.scss +21 -33
- data/source/stylesheets/refills/_flex-boxes.scss +18 -26
- data/source/stylesheets/refills/_footer-2.scss +19 -33
- data/source/stylesheets/refills/_footer.scss +15 -38
- data/source/stylesheets/refills/_grid-items-lines.scss +12 -21
- data/source/stylesheets/refills/_grid-items.scss +31 -40
- data/source/stylesheets/refills/_hero.scss +22 -55
- data/source/stylesheets/refills/_hover-tile-animation.scss +8 -17
- data/source/stylesheets/refills/_icon-bullet-points.scss +26 -35
- data/source/stylesheets/refills/_image-gradient-dynamic.scss +31 -20
- data/source/stylesheets/refills/_logo-section.scss +25 -0
- data/source/stylesheets/refills/_maps.scss +2 -2
- data/source/stylesheets/refills/_modal.scss +32 -45
- data/source/stylesheets/refills/_navigation.scss +33 -39
- data/source/stylesheets/refills/_pagination.scss +10 -23
- data/source/stylesheets/refills/_progress-bar-indication.scss +8 -15
- data/source/stylesheets/refills/_progress-bar.scss +24 -26
- data/source/stylesheets/refills/_ribbon.scss +4 -5
- data/source/stylesheets/refills/_scroll-on-page.scss +12 -15
- data/source/stylesheets/refills/_search-bar.scss +6 -13
- data/source/stylesheets/refills/_search-tools.scss +41 -42
- data/source/stylesheets/refills/_side-image.scss +8 -20
- data/source/stylesheets/refills/_sliding-panel.scss +79 -0
- data/source/stylesheets/refills/_stats.scss +2 -3
- data/source/stylesheets/refills/_switch.scss +13 -16
- data/source/stylesheets/refills/_tables-minimal.scss +12 -24
- data/source/stylesheets/refills/_tables.scss +11 -20
- data/source/stylesheets/refills/_texture-legend.scss +17 -13
- data/source/stylesheets/refills/_textures.scss +13 -9
- data/source/stylesheets/refills/_tooltip.scss +9 -16
- data/source/stylesheets/refills/_type-system-geometric.scss +14 -17
- data/source/stylesheets/refills/_type-system-rounded.scss +19 -19
- data/source/stylesheets/refills/_type-system-sans.scss +26 -26
- data/source/stylesheets/refills/_type-system-serif.scss +17 -20
- data/source/stylesheets/refills/_type-system-slab.scss +14 -17
- data/source/stylesheets/refills/_type-system-traditional.scss +18 -21
- data/source/stylesheets/refills/_vertical-tabs.scss +26 -30
- data/source/stylesheets/refills/_video.scss +1 -1
- data/source/stylesheets/refills/unstyled/_accordion-tabs.scss +36 -0
- data/source/stylesheets/refills/unstyled/_accordion.scss +17 -0
- data/source/stylesheets/refills/unstyled/_button-group.scss +30 -0
- data/source/stylesheets/refills/unstyled/_cards.scss +20 -0
- data/source/stylesheets/refills/unstyled/_comment.scss +28 -0
- data/source/stylesheets/refills/unstyled/_dropdown.scss +42 -0
- data/source/stylesheets/refills/unstyled/_expander.scss +20 -0
- data/source/stylesheets/refills/unstyled/_footer.scss +64 -0
- data/source/stylesheets/refills/unstyled/_hover-menu.scss +60 -0
- data/source/stylesheets/refills/unstyled/_modal.scss +71 -0
- data/source/stylesheets/refills/unstyled/_navigation-centered.scss +92 -0
- data/source/stylesheets/refills/unstyled/_navigation.scss +82 -0
- data/source/stylesheets/refills/unstyled/_scroll-on-page.scss +22 -0
- data/source/stylesheets/refills/unstyled/_search-bar.scss +26 -0
- data/source/stylesheets/refills/unstyled/_sliding-panel.scss +36 -0
- data/source/stylesheets/refills/unstyled/_switch.scss +50 -0
- data/source/stylesheets/refills/unstyled/_tooltip.scss +36 -0
- data/source/stylesheets/refills/unstyled/_vertical-tabs.scss +53 -0
- data/source/stylesheets/vendor/prism.css +4 -4
- data/source/svgs/_menu_icon.html.erb +6 -0
- data/source/svgs/_refills_logo.html.erb +8 -0
- data/source/type-systems.html.erb +5 -1
- data/spec/refills/import_generator_spec.rb +1 -1
- metadata +59 -19
- data/.travis.yml +0 -8
- data/source/_sliding_menu.html.erb +0 -13
- data/source/images/placeholder_logo_1.png +0 -0
- data/source/images/placeholder_logo_1_dark.png +0 -0
- data/source/images/placeholder_logo_2.png +0 -0
- data/source/images/placeholder_logo_2_dark.png +0 -0
- data/source/images/placeholder_logo_3.png +0 -0
- data/source/images/placeholder_logo_3_dark.png +0 -0
- data/source/images/placeholder_logo_4.png +0 -0
- data/source/images/placeholder_logo_4_dark.png +0 -0
- data/source/javascripts/refills/sliding_menu.js +0 -6
- data/source/stylesheets/all.scss +0 -66
- data/source/stylesheets/refills/_sliding-menu.scss +0 -86
@@ -1,25 +1,11 @@
|
|
1
|
-
.expander {
|
2
|
-
///////////////////////////////////////////////////////////////////////////////////
|
1
|
+
.expander {
|
3
2
|
$base-font-size: 1em !default;
|
4
3
|
$base-line-height: 1.5em !default;
|
5
4
|
$base-spacing: 1.5em !default;
|
6
|
-
$
|
7
|
-
$base-link-color: $base-accent-color !default;
|
5
|
+
$action-color: #477DCA !default;
|
8
6
|
$dark-gray: #333 !default;
|
9
7
|
$light-gray: #DDD !default;
|
10
8
|
$base-font-color: $dark-gray !default;
|
11
|
-
|
12
|
-
p {
|
13
|
-
color: $base-font-color;
|
14
|
-
line-height: $base-line-height;
|
15
|
-
}
|
16
|
-
|
17
|
-
a {
|
18
|
-
color: $base-link-color;
|
19
|
-
text-decoration: none;
|
20
|
-
}
|
21
|
-
//////////////////////////////////////////////////////////////////////////////////
|
22
|
-
|
23
9
|
$expander-arrow-width: 0.7em;
|
24
10
|
$expander-toggle-size: 1em;
|
25
11
|
$expander-toggle-arrow-size: $expander-toggle-size;
|
@@ -28,25 +14,32 @@
|
|
28
14
|
width: 60%;
|
29
15
|
|
30
16
|
.expander-trigger {
|
31
|
-
@include user-select(none);
|
32
17
|
border-bottom: 1px solid $light-gray;
|
18
|
+
color: $action-color;
|
33
19
|
cursor: pointer;
|
34
20
|
display: block;
|
35
21
|
font-size: $expander-toggle-size;
|
36
22
|
margin-bottom: $expander-toggle-size;
|
37
23
|
padding-bottom: $expander-toggle-size / 4;
|
24
|
+
text-decoration: none;
|
25
|
+
user-select: none;
|
38
26
|
|
39
|
-
|
40
|
-
font-size: $expander-arrow-width;
|
27
|
+
&::before {
|
41
28
|
content: "\25BC";
|
29
|
+
font-size: $expander-arrow-width;
|
42
30
|
margin-right: 0.5em;
|
43
31
|
}
|
44
32
|
}
|
45
33
|
|
34
|
+
.expander-content p {
|
35
|
+
color: $base-font-color;
|
36
|
+
line-height: $base-line-height;
|
37
|
+
}
|
38
|
+
|
46
39
|
.expander-hidden {
|
47
|
-
|
48
|
-
font-size: $expander-arrow-width;
|
40
|
+
&::before {
|
49
41
|
content: "\25BA";
|
42
|
+
font-size: $expander-arrow-width;
|
50
43
|
}
|
51
44
|
}
|
52
45
|
|
@@ -1,5 +1,4 @@
|
|
1
1
|
.fade-in-element {
|
2
|
-
///////////////////////////////////////////////////////////////////////////////////
|
3
2
|
$base-border-color: gainsboro !default;
|
4
3
|
$base-border-radius: 3px !default;
|
5
4
|
$base-background-color: white !default;
|
@@ -7,25 +6,22 @@
|
|
7
6
|
$base-spacing: 1.5em !default;
|
8
7
|
$dark-gray: #333 !default;
|
9
8
|
$base-font-color: $dark-gray !default;
|
10
|
-
|
11
|
-
line-height: $base-line-height;
|
12
|
-
|
13
|
-
p {
|
14
|
-
color: $base-font-color;
|
15
|
-
line-height: $base-line-height;
|
16
|
-
}
|
17
|
-
//////////////////////////////////////////////////////////////////////////////////
|
18
9
|
|
19
10
|
@include clearfix;
|
20
11
|
background: $base-background-color;
|
21
|
-
border-radius: $base-border-radius;
|
22
12
|
border: 1px solid silver;
|
13
|
+
border-radius: $base-border-radius;
|
23
14
|
box-shadow: 0 2px 2px transparentize(black, 0.8);
|
15
|
+
line-height: $base-line-height;
|
24
16
|
margin-bottom: 4em;
|
25
17
|
padding: $base-spacing;
|
26
18
|
text-align: center;
|
27
19
|
width: 100%;
|
28
20
|
|
21
|
+
p {
|
22
|
+
color: $base-font-color;
|
23
|
+
line-height: $base-line-height;
|
24
|
+
}
|
29
25
|
}
|
30
26
|
|
31
27
|
.js-fade-element-hide {
|
@@ -33,6 +29,6 @@
|
|
33
29
|
}
|
34
30
|
|
35
31
|
.js-fade-element-show {
|
36
|
-
@include transition (all 0.4s ease-in-out);
|
37
32
|
opacity: 1;
|
33
|
+
transition: all 0.4s ease-in-out;
|
38
34
|
}
|
@@ -1,40 +1,28 @@
|
|
1
1
|
$base-spacing: 1.5em !default;
|
2
|
-
$
|
3
|
-
|
4
|
-
|
5
|
-
|
2
|
+
$flashes: (
|
3
|
+
"alert": #fff6bf,
|
4
|
+
"error": #fbe3e4,
|
5
|
+
"notice": #e5edf8,
|
6
|
+
"success": #e6efc2,
|
7
|
+
) !default;
|
6
8
|
|
7
|
-
@
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
9
|
+
@each $flash-type, $color in $flashes {
|
10
|
+
.flash-#{$flash-type} {
|
11
|
+
background-color: $color;
|
12
|
+
color: shade($color, 60%);
|
13
|
+
display: block;
|
14
|
+
margin-bottom: $base-spacing / 2;
|
15
|
+
padding: $base-spacing / 2;
|
16
|
+
text-align: center;
|
15
17
|
|
16
|
-
|
17
|
-
|
18
|
+
a {
|
19
|
+
color: shade($color, 70%);
|
20
|
+
text-decoration: underline;
|
18
21
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
+
&:focus,
|
23
|
+
&:hover {
|
24
|
+
color: shade($color, 90%);
|
25
|
+
}
|
22
26
|
}
|
23
27
|
}
|
24
28
|
}
|
25
|
-
|
26
|
-
.flash-alert {
|
27
|
-
@include flash($alert-color);
|
28
|
-
}
|
29
|
-
|
30
|
-
.flash-error {
|
31
|
-
@include flash($error-color);
|
32
|
-
}
|
33
|
-
|
34
|
-
.flash-notice {
|
35
|
-
@include flash($notice-color);
|
36
|
-
}
|
37
|
-
|
38
|
-
.flash-success {
|
39
|
-
@include flash($success-color);
|
40
|
-
}
|
@@ -1,54 +1,48 @@
|
|
1
1
|
.flex-boxes {
|
2
|
-
///////////////////////////////////////////////////////////////////////////////////
|
3
2
|
$base-border-radius: 3px !default;
|
4
3
|
$base-background-color: white !default;
|
5
4
|
$dark-gray: #333 !default;
|
6
5
|
$light-gray: #DDD !default;
|
7
6
|
$base-font-color: $dark-gray !default;
|
8
|
-
|
9
|
-
a {
|
10
|
-
text-decoration: none;
|
11
|
-
}
|
12
|
-
//////////////////////////////////////////////////////////////////////////////////
|
13
|
-
|
14
7
|
$flex-box-border-color: $light-gray;
|
15
8
|
$flex-box-border: 1px solid $flex-box-border-color;
|
16
9
|
$flex-box-background: lighten($light-gray, 10%);
|
17
10
|
$flex-box-gutter: 0.4em;
|
18
11
|
$flex-box-width: 18em;
|
19
12
|
$flex-box-color: transparentize($base-font-color, 0.3);
|
20
|
-
$flex-box-top-colors:
|
21
|
-
tomato,
|
22
|
-
#72BFBF,
|
23
|
-
#92B1E3,
|
13
|
+
$flex-box-top-colors:
|
14
|
+
tomato,
|
15
|
+
#72BFBF,
|
16
|
+
#92B1E3,
|
24
17
|
#E3D743,
|
25
18
|
#CCC,
|
26
19
|
#F6C05C;
|
27
20
|
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
21
|
+
@include clearfix;
|
22
|
+
align-items: stretch;
|
23
|
+
clear: both;
|
24
|
+
display: flex;
|
25
|
+
flex-wrap: wrap;
|
26
|
+
justify-content: center;
|
27
|
+
text-align: center;
|
35
28
|
|
36
29
|
.flex-box {
|
37
|
-
|
38
|
-
@include flex(2 2 15em);
|
39
|
-
@include align-self(stretch);
|
30
|
+
align-self: stretch;
|
40
31
|
background: $flex-box-background;
|
41
32
|
border-radius: $base-border-radius;
|
42
33
|
box-shadow: inset 0 0 1px $flex-box-border-color, 0 2px 4px darken($base-background-color, 10%);
|
43
34
|
display: block;
|
35
|
+
flex: 2 2 15em;
|
44
36
|
margin: $flex-box-gutter;
|
45
37
|
padding: 2em 2em 3em 2em;
|
38
|
+
text-decoration: none;
|
39
|
+
transition: all 0.2s ease-in-out;
|
46
40
|
|
47
41
|
@for $i from 1 to 7 { // assign colors from $flex-box-top-colors list
|
48
42
|
&:nth-child(#{$i}) {
|
49
43
|
$color-from-list: nth($flex-box-top-colors, $i);
|
50
44
|
border-top: 6px solid $color-from-list;
|
51
|
-
|
45
|
+
|
52
46
|
&:focus,
|
53
47
|
&:hover {
|
54
48
|
background-color: transparentize($color-from-list, 0.9);
|
@@ -59,15 +53,13 @@
|
|
59
53
|
img {
|
60
54
|
display: block;
|
61
55
|
height: 3em;
|
62
|
-
margin
|
63
|
-
margin: auto;
|
56
|
+
margin: 0 auto 1em;
|
64
57
|
opacity: 0.4;
|
65
58
|
}
|
66
59
|
|
67
60
|
.flex-title {
|
68
61
|
color: $flex-box-color;
|
69
62
|
font-size: 1.2em;
|
70
|
-
font-weight: 800;
|
71
63
|
margin-bottom: 0.5em;
|
72
64
|
}
|
73
65
|
|
@@ -79,6 +71,6 @@
|
|
79
71
|
}
|
80
72
|
|
81
73
|
.flex-box-big {
|
82
|
-
|
74
|
+
flex: 1 1 40em;
|
83
75
|
}
|
84
76
|
}
|
@@ -11,12 +11,12 @@
|
|
11
11
|
// height: 100%;
|
12
12
|
// }
|
13
13
|
|
14
|
-
// .wrapper-for-content-outside-of-footer
|
14
|
+
// .wrapper-for-content-outside-of-footer::after {
|
15
15
|
// content: "";
|
16
16
|
// display: block;
|
17
17
|
// }
|
18
18
|
|
19
|
-
// .footer-2, .wrapper-for-content-outside-of-footer
|
19
|
+
// .footer-2, .wrapper-for-content-outside-of-footer::after {
|
20
20
|
// height: 17em;
|
21
21
|
|
22
22
|
// @include media($large-screen) {
|
@@ -25,40 +25,23 @@
|
|
25
25
|
// }
|
26
26
|
|
27
27
|
.footer-2 {
|
28
|
-
///////////////////////////////////////////////////////////////////////////////////
|
29
28
|
$base-spacing: 1.5em !default;
|
30
|
-
$
|
31
|
-
$medium-screen:
|
32
|
-
$large-screen:
|
33
|
-
|
34
|
-
ul {
|
35
|
-
margin: 0;
|
36
|
-
padding: 0;
|
37
|
-
line-height: 1.5em;
|
38
|
-
}
|
39
|
-
|
40
|
-
li {
|
41
|
-
list-style: none;
|
42
|
-
}
|
43
|
-
|
44
|
-
a {
|
45
|
-
text-decoration: none;
|
46
|
-
}
|
47
|
-
//////////////////////////////////////////////////////////////////////////////////
|
48
|
-
|
49
|
-
$footer-background: desaturate(darken($base-accent-color, 20%), 30%);
|
29
|
+
$action-color: #477DCA !default;
|
30
|
+
$medium-screen: 40em !default;
|
31
|
+
$large-screen: 53.75em !default;
|
32
|
+
$footer-background: desaturate(darken($action-color, 20%), 30%);
|
50
33
|
$footer-color: white;
|
51
34
|
$footer-link-color: transparentize($footer-color, 0.6);
|
52
35
|
$footer-disclaimer-color: transparentize($footer-color, 0.6);
|
53
36
|
|
54
37
|
background: $footer-background;
|
38
|
+
display: inline-block;
|
55
39
|
padding: $base-spacing;
|
56
40
|
width: 100%;
|
57
|
-
display: inline-block;
|
58
41
|
|
59
42
|
.footer-logo {
|
60
|
-
margin-right: 1em;
|
61
43
|
margin-bottom: 1em;
|
44
|
+
margin-right: 1em;
|
62
45
|
|
63
46
|
@include media($large-screen) {
|
64
47
|
float: left;
|
@@ -68,21 +51,23 @@
|
|
68
51
|
|
69
52
|
.footer-logo img {
|
70
53
|
height: 1.6em;
|
71
|
-
}
|
54
|
+
}
|
72
55
|
|
73
56
|
ul {
|
74
|
-
|
75
|
-
|
57
|
+
line-height: 1.5em;
|
58
|
+
margin: 0 0 1em 0;
|
59
|
+
padding: 0;
|
60
|
+
|
76
61
|
@include media($large-screen) {
|
77
62
|
float: left;
|
78
63
|
line-height: 1.8em;
|
79
|
-
margin-left: 1em;
|
80
64
|
margin-bottom: 0;
|
65
|
+
margin-left: 1em;
|
81
66
|
}
|
82
67
|
}
|
83
68
|
|
84
69
|
ul li {
|
85
|
-
|
70
|
+
list-style: none;
|
86
71
|
padding-right: 1em;
|
87
72
|
|
88
73
|
@include media($large-screen) {
|
@@ -93,6 +78,7 @@
|
|
93
78
|
|
94
79
|
ul li a {
|
95
80
|
color: $footer-link-color;
|
81
|
+
text-decoration: none;
|
96
82
|
|
97
83
|
&:focus,
|
98
84
|
&:hover {
|
@@ -107,11 +93,10 @@
|
|
107
93
|
|
108
94
|
li {
|
109
95
|
font-size: 0.8em;
|
110
|
-
font-weight: 400;
|
111
96
|
}
|
112
97
|
|
113
98
|
ul.footer-social {
|
114
|
-
margin
|
99
|
+
margin: 1em 0 0 0;
|
115
100
|
|
116
101
|
@include media($large-screen) {
|
117
102
|
float: right;
|
@@ -119,9 +104,10 @@
|
|
119
104
|
}
|
120
105
|
|
121
106
|
li {
|
122
|
-
font-size: 1em;
|
123
107
|
float: left;
|
108
|
+
font-size: 1em;
|
124
109
|
line-height: 0;
|
110
|
+
margin: 0;
|
125
111
|
padding-right: 0.7em;
|
126
112
|
|
127
113
|
&:last-child {
|
@@ -1,25 +1,9 @@
|
|
1
1
|
.footer {
|
2
|
-
///////////////////////////////////////////////////////////////////////////////////
|
3
2
|
$base-spacing: 1.5em !default;
|
4
|
-
$
|
5
|
-
$medium-screen:
|
6
|
-
$large-screen:
|
7
|
-
|
8
|
-
ul {
|
9
|
-
padding: 0;
|
10
|
-
}
|
11
|
-
|
12
|
-
li {
|
13
|
-
list-style: none;
|
14
|
-
line-height: 1.5em;
|
15
|
-
}
|
16
|
-
|
17
|
-
a {
|
18
|
-
text-decoration: none;
|
19
|
-
}
|
20
|
-
//////////////////////////////////////////////////////////////////////////////////
|
21
|
-
|
22
|
-
$footer-background: desaturate(darken($base-accent-color, 20%), 30%);
|
3
|
+
$action-color: #477DCA !default;
|
4
|
+
$medium-screen: 40em !default;
|
5
|
+
$large-screen: 53.75em !default;
|
6
|
+
$footer-background: desaturate(darken($action-color, 20%), 30%);
|
23
7
|
$footer-color: white;
|
24
8
|
$footer-link-color: transparentize($footer-color, 0.6);
|
25
9
|
$footer-disclaimer-color: transparentize($footer-color, 0.6);
|
@@ -35,37 +19,31 @@
|
|
35
19
|
img {
|
36
20
|
height: 3em;
|
37
21
|
}
|
38
|
-
}
|
22
|
+
}
|
39
23
|
|
40
24
|
.footer-links {
|
41
|
-
|
25
|
+
display: flex;
|
26
|
+
flex-wrap: wrap;
|
27
|
+
justify-content: center;
|
42
28
|
margin-bottom: $base-spacing;
|
43
|
-
|
44
|
-
@include media($medium-screen) {
|
45
|
-
@include shift(3);
|
46
|
-
}
|
47
29
|
}
|
48
30
|
|
49
31
|
ul {
|
32
|
+
flex-basis: 13em;
|
33
|
+
flex-shrink: 0;
|
50
34
|
margin-bottom: $base-spacing * 2;
|
51
|
-
|
52
|
-
@include media($medium-screen) {
|
53
|
-
@include span-columns(3);
|
54
|
-
@include omega(3n);
|
55
|
-
@include clearfix;
|
56
|
-
}
|
35
|
+
padding: 0;
|
57
36
|
}
|
58
37
|
|
59
38
|
li {
|
39
|
+
line-height: 1.5em;
|
40
|
+
list-style: none;
|
60
41
|
text-align: center;
|
61
|
-
|
62
|
-
@include media($medium-screen) {
|
63
|
-
text-align: left;
|
64
|
-
}
|
65
42
|
}
|
66
43
|
|
67
44
|
li a {
|
68
45
|
color: $footer-link-color;
|
46
|
+
text-decoration: none;
|
69
47
|
|
70
48
|
&:focus,
|
71
49
|
&:hover {
|
@@ -76,9 +54,8 @@
|
|
76
54
|
li h3 {
|
77
55
|
color: $footer-color;
|
78
56
|
font-size: 1em;
|
79
|
-
font-weight: 800;
|
80
57
|
margin-bottom: 0.4em;
|
81
|
-
}
|
58
|
+
}
|
82
59
|
|
83
60
|
hr {
|
84
61
|
border: 1px solid transparentize($footer-disclaimer-color, 0.3);
|