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,24 +1,28 @@
|
|
1
1
|
article.type-system-traditional {
|
2
|
-
///////////////////////////////////////////////////////////////////////////////////
|
3
2
|
$base-border-radius: 3px !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
|
-
$medium-screen:
|
8
|
+
$medium-screen: 40em !default;
|
11
9
|
$base-font-color: $dark-gray !default;
|
12
|
-
|
10
|
+
$sans-serif: 'Noto Sans', sans-serif;
|
11
|
+
$serif: 'Radley', serif;
|
12
|
+
|
13
|
+
@include clearfix;
|
14
|
+
font-family: $sans-serif;
|
15
|
+
text-align: left;
|
16
|
+
|
13
17
|
h1, h2, h3, p {
|
14
18
|
margin: 0;
|
15
19
|
}
|
16
20
|
|
17
21
|
hr {
|
18
22
|
border-bottom: 1px solid $light-gray;
|
19
|
-
border-left:
|
20
|
-
border-right:
|
21
|
-
border-top:
|
23
|
+
border-left: 0;
|
24
|
+
border-right: 0;
|
25
|
+
border-top: 0;
|
22
26
|
margin: $base-spacing 0;
|
23
27
|
}
|
24
28
|
|
@@ -28,25 +32,18 @@ article.type-system-traditional {
|
|
28
32
|
}
|
29
33
|
|
30
34
|
a {
|
31
|
-
color: $
|
35
|
+
color: $action-color;
|
32
36
|
text-decoration: none;
|
33
37
|
}
|
34
|
-
//////////////////////////////////////////////////////////////////////////////////
|
35
|
-
|
36
|
-
$sans-serif: 'Noto Sans', sans-serif;
|
37
|
-
$serif: 'Radley', serif;
|
38
|
-
|
39
|
-
@include clearfix;
|
40
|
-
text-align: left;
|
41
38
|
|
42
39
|
.type {
|
43
40
|
border-bottom: 2px solid;
|
44
41
|
display: inline-block;
|
45
42
|
font-family: $sans-serif;
|
46
|
-
font-size: .7em;
|
43
|
+
font-size: 0.7em;
|
47
44
|
font-weight: 800;
|
48
45
|
margin-bottom: 2em;
|
49
|
-
padding: .1em 0;
|
46
|
+
padding: 0.1em 0;
|
50
47
|
text-align: left;
|
51
48
|
text-transform: uppercase;
|
52
49
|
}
|
@@ -67,7 +64,7 @@ article.type-system-traditional {
|
|
67
64
|
font-size: 1.3em;
|
68
65
|
font-weight: 400;
|
69
66
|
line-height: 1.25em;
|
70
|
-
margin-bottom: .9em;
|
67
|
+
margin-bottom: 0.9em;
|
71
68
|
|
72
69
|
@include media($medium-screen) {
|
73
70
|
font-size: 1.5em;
|
@@ -101,7 +98,7 @@ article.type-system-traditional {
|
|
101
98
|
color: transparentize($base-font-color, 0.6);
|
102
99
|
font-family: $serif;
|
103
100
|
font-style: italic;
|
104
|
-
margin-bottom: .3em;
|
101
|
+
margin-bottom: 0.3em;
|
105
102
|
}
|
106
103
|
|
107
104
|
p {
|
@@ -116,7 +113,7 @@ article.type-system-traditional {
|
|
116
113
|
font-style: italic;
|
117
114
|
}
|
118
115
|
}
|
119
|
-
|
116
|
+
|
120
117
|
a.read-more {
|
121
118
|
display: inline-block;
|
122
119
|
font-family: $sans-serif;
|
@@ -1,46 +1,37 @@
|
|
1
1
|
.vertical-tabs-container {
|
2
|
-
///////////////////////////////////////////////////////////////////////////////////
|
3
2
|
$base-border-color: gainsboro !default;
|
4
3
|
$base-border-radius: 3px !default;
|
5
4
|
$base-background-color: white !default;
|
6
5
|
$base-line-height: 1.5em !default;
|
7
6
|
$base-spacing: 1.5em !default;
|
8
|
-
$
|
9
|
-
$base-link-color: $base-accent-color !default;
|
7
|
+
$action-color: #477dca !default;
|
10
8
|
$dark-gray: #333 !default;
|
11
|
-
$medium-screen:
|
9
|
+
$medium-screen: 40em !default;
|
12
10
|
$base-font-color: $dark-gray !default;
|
13
|
-
|
14
|
-
li {
|
15
|
-
list-style: none;
|
16
|
-
}
|
17
|
-
|
18
|
-
p {
|
19
|
-
color: $base-font-color;
|
20
|
-
line-height: $base-line-height;
|
21
|
-
}
|
22
|
-
|
23
|
-
a {
|
24
|
-
text-decoration: none;
|
25
|
-
color: $base-link-color;
|
26
|
-
}
|
27
|
-
//////////////////////////////////////////////////////////////////////////////////
|
28
|
-
|
29
11
|
$tab-border-color: $base-border-color;
|
30
12
|
$tab-border: 1px solid $tab-border-color;
|
31
13
|
$tab-border-radius: $base-border-radius;
|
32
14
|
$tab-content-background: lighten($tab-border-color, 10%);
|
33
15
|
$tab-active-color: $tab-content-background;
|
34
16
|
$tab-inactive-color: $base-background-color;
|
35
|
-
$vertical-tabs-height:
|
17
|
+
$vertical-tabs-height: 18.75em;
|
36
18
|
$vertical-tab-mode: $medium-screen;
|
37
19
|
|
38
20
|
@include clearfix;
|
39
|
-
border-radius: $tab-border-radius;
|
40
21
|
border: $tab-border;
|
22
|
+
border-radius: $tab-border-radius;
|
41
23
|
margin-bottom: $base-spacing;
|
42
24
|
overflow: hidden;
|
43
25
|
|
26
|
+
li {
|
27
|
+
list-style: none;
|
28
|
+
}
|
29
|
+
|
30
|
+
a {
|
31
|
+
color: $action-color;
|
32
|
+
text-decoration: none;
|
33
|
+
}
|
34
|
+
|
44
35
|
.vertical-tabs {
|
45
36
|
display: none;
|
46
37
|
|
@@ -74,19 +65,19 @@
|
|
74
65
|
}
|
75
66
|
|
76
67
|
.vertical-tab:focus {
|
77
|
-
outline: none;
|
68
|
+
outline: none;
|
78
69
|
}
|
79
70
|
|
80
71
|
.vertical-tab-content-container {
|
81
72
|
display: block;
|
82
73
|
margin: 0 auto;
|
83
74
|
|
84
|
-
& a:focus {
|
85
|
-
outline: none;
|
75
|
+
& a:focus {
|
76
|
+
outline: none;
|
86
77
|
}
|
87
78
|
|
88
79
|
@include media($vertical-tab-mode) {
|
89
|
-
@include size(80
|
80
|
+
@include size(80%, $vertical-tabs-height);
|
90
81
|
background-color: $tab-content-background;
|
91
82
|
display: inline-block;
|
92
83
|
}
|
@@ -96,8 +87,13 @@
|
|
96
87
|
background-color: $tab-content-background;
|
97
88
|
padding: $base-spacing $gutter;
|
98
89
|
|
90
|
+
p {
|
91
|
+
color: $base-font-color;
|
92
|
+
line-height: $base-line-height;
|
93
|
+
}
|
94
|
+
|
99
95
|
@include media($vertical-tab-mode) {
|
100
|
-
border:
|
96
|
+
border: 0;
|
101
97
|
display: none;
|
102
98
|
}
|
103
99
|
}
|
@@ -112,16 +108,16 @@
|
|
112
108
|
|
113
109
|
&:focus,
|
114
110
|
&:hover {
|
115
|
-
color: $
|
111
|
+
color: $action-color;
|
116
112
|
}
|
117
113
|
|
118
114
|
&:first-child {
|
119
|
-
border-top:
|
115
|
+
border-top: 0;
|
120
116
|
}
|
121
117
|
|
122
118
|
&.is-active {
|
123
119
|
background: $tab-active-color;
|
124
|
-
border-bottom:
|
120
|
+
border-bottom: 0;
|
125
121
|
}
|
126
122
|
|
127
123
|
@include media($vertical-tab-mode) {
|
@@ -0,0 +1,36 @@
|
|
1
|
+
.accordion-tabs {
|
2
|
+
$large-screen: 53.75em !default;
|
3
|
+
|
4
|
+
@include clearfix;
|
5
|
+
padding: 0;
|
6
|
+
|
7
|
+
.tab-header-and-content {
|
8
|
+
list-style: none;
|
9
|
+
|
10
|
+
@include media($large-screen) {
|
11
|
+
display: inline;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
.tab-link {
|
16
|
+
display: block;
|
17
|
+
padding-right: 1em;
|
18
|
+
|
19
|
+
@include media($large-screen) {
|
20
|
+
display: inline-block;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
.is-active {
|
25
|
+
color: #ff0000;
|
26
|
+
}
|
27
|
+
|
28
|
+
.tab-content {
|
29
|
+
display: none;
|
30
|
+
width: 100%;
|
31
|
+
|
32
|
+
@include media($large-screen) {
|
33
|
+
float: left;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
.button-group {
|
2
|
+
$large-screen: 53.75em !default;
|
3
|
+
|
4
|
+
input {
|
5
|
+
display: none;
|
6
|
+
}
|
7
|
+
|
8
|
+
label {
|
9
|
+
font-weight: normal;
|
10
|
+
|
11
|
+
@include media($large-screen) {
|
12
|
+
float: left;
|
13
|
+
padding: 0 0.5em;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
.button-group-item {
|
18
|
+
cursor: pointer;
|
19
|
+
display: inline-block;
|
20
|
+
width: 100%;
|
21
|
+
|
22
|
+
@include media($large-screen) {
|
23
|
+
width: auto;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
input:checked + .button-group-item {
|
28
|
+
color: #f00;
|
29
|
+
}
|
30
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
.cards {
|
2
|
+
display: flex;
|
3
|
+
flex-wrap: wrap;
|
4
|
+
justify-content: space-between;
|
5
|
+
|
6
|
+
.card {
|
7
|
+
flex-basis: 20em;
|
8
|
+
flex-grow: 1;
|
9
|
+
margin: 0 1em;
|
10
|
+
}
|
11
|
+
|
12
|
+
.card-image {
|
13
|
+
max-height: 150px;
|
14
|
+
overflow: hidden;
|
15
|
+
|
16
|
+
img {
|
17
|
+
width: 100%;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
.comment {
|
2
|
+
display: table;
|
3
|
+
width: 100%;
|
4
|
+
|
5
|
+
.comment-image,
|
6
|
+
.comment-content {
|
7
|
+
display: table-cell;
|
8
|
+
vertical-align: top;
|
9
|
+
}
|
10
|
+
|
11
|
+
.comment-image {
|
12
|
+
padding-right: $gutter;
|
13
|
+
|
14
|
+
img {
|
15
|
+
height: 3em;
|
16
|
+
max-width: none;
|
17
|
+
}
|
18
|
+
|
19
|
+
.comment-reverse-order & {
|
20
|
+
padding-left: 10px;
|
21
|
+
padding-right: 0;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
.comment-content {
|
26
|
+
width: 100%;
|
27
|
+
}
|
28
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
.dropdown {
|
2
|
+
$large-screen: 40em !default;
|
3
|
+
$dropdown-distance-from-menu: 50px;
|
4
|
+
|
5
|
+
.dropdown-container {
|
6
|
+
display: inline-block;
|
7
|
+
position: relative;
|
8
|
+
text-align: center;
|
9
|
+
}
|
10
|
+
|
11
|
+
.dropdown-description {
|
12
|
+
float: left;
|
13
|
+
padding-right: 1em;
|
14
|
+
}
|
15
|
+
|
16
|
+
.dropdown-button {
|
17
|
+
cursor: pointer;
|
18
|
+
float: right;
|
19
|
+
position: relative;
|
20
|
+
}
|
21
|
+
|
22
|
+
.dropdown-button::after {
|
23
|
+
display: block;
|
24
|
+
position: absolute;
|
25
|
+
}
|
26
|
+
|
27
|
+
.dropdown-menu {
|
28
|
+
cursor: pointer;
|
29
|
+
display: none;
|
30
|
+
overflow: visible;
|
31
|
+
position: absolute;
|
32
|
+
text-align: left;
|
33
|
+
top: $dropdown-distance-from-menu;
|
34
|
+
transition: all 0.2s ease-in-out;
|
35
|
+
width: 228px;
|
36
|
+
z-index: 99999;
|
37
|
+
}
|
38
|
+
|
39
|
+
.show-menu {
|
40
|
+
display: block;
|
41
|
+
}
|
42
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
.expander {
|
2
|
+
.expander-trigger {
|
3
|
+
display: block;
|
4
|
+
|
5
|
+
&::before {
|
6
|
+
content: "\25BC";
|
7
|
+
margin-right: 0.5em;
|
8
|
+
}
|
9
|
+
}
|
10
|
+
|
11
|
+
.expander-hidden {
|
12
|
+
&::before {
|
13
|
+
content: "\25BA";
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
.expander-hidden + .expander-content {
|
18
|
+
display: none;
|
19
|
+
}
|
20
|
+
}
|
@@ -0,0 +1,64 @@
|
|
1
|
+
// Uncomment this for a sticky footer.
|
2
|
+
//
|
3
|
+
// .wrapper-for-content-outside-of-footer {
|
4
|
+
// min-height: 100%;
|
5
|
+
// height: auto !important;
|
6
|
+
// height: 100%;
|
7
|
+
// margin: 0 auto -4em;
|
8
|
+
// }
|
9
|
+
|
10
|
+
// html, body {
|
11
|
+
// height: 100%;
|
12
|
+
// }
|
13
|
+
|
14
|
+
// .wrapper-for-content-outside-of-footer::after {
|
15
|
+
// content: "";
|
16
|
+
// display: block;
|
17
|
+
// }
|
18
|
+
|
19
|
+
// .footer, .wrapper-for-content-outside-of-footer::after {
|
20
|
+
// $large-screen: 53.75em !default;
|
21
|
+
// height: 12em;
|
22
|
+
|
23
|
+
// @include media($large-screen) {
|
24
|
+
// height: 4em;
|
25
|
+
// }
|
26
|
+
// }
|
27
|
+
|
28
|
+
.footer {
|
29
|
+
$large-screen: 53.75em !default;
|
30
|
+
|
31
|
+
.footer-logo {
|
32
|
+
margin-bottom: 1em;
|
33
|
+
margin-right: 1em;
|
34
|
+
|
35
|
+
@include media($large-screen) {
|
36
|
+
float: left;
|
37
|
+
margin-bottom: 0;
|
38
|
+
}
|
39
|
+
|
40
|
+
img {
|
41
|
+
height: 2.2em;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
ul {
|
46
|
+
margin: 0;
|
47
|
+
padding-left: 0;
|
48
|
+
|
49
|
+
@include media($large-screen) {
|
50
|
+
float: left;
|
51
|
+
padding-top: 0.3em;
|
52
|
+
}
|
53
|
+
|
54
|
+
li {
|
55
|
+
line-height: 1.5em;
|
56
|
+
padding-right: 1em;
|
57
|
+
|
58
|
+
@include media($large-screen) {
|
59
|
+
display: inline;
|
60
|
+
text-align: left;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|