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
@@ -3,26 +3,15 @@
|
|
3
3
|
}
|
4
4
|
|
5
5
|
.grid-items-lines {
|
6
|
-
///////////////////////////////////////////////////////////////////////////////////
|
7
6
|
$base-background-color: white !default;
|
8
7
|
$dark-gray: #333 !default;
|
9
8
|
$light-gray: #DDD !default;
|
10
|
-
$medium-screen:
|
11
|
-
$large-screen:
|
9
|
+
$medium-screen: 40em !default;
|
10
|
+
$large-screen: 53.75em !default;
|
12
11
|
$base-font-color: $dark-gray !default;
|
13
|
-
|
14
|
-
p {
|
15
|
-
line-height: 1.5em;
|
16
|
-
}
|
17
|
-
|
18
|
-
a {
|
19
|
-
text-decoration: none;
|
20
|
-
}
|
21
|
-
//////////////////////////////////////////////////////////////////////////////////
|
22
|
-
|
23
12
|
$grid-items-background: $base-background-color;
|
24
13
|
$grid-item-background: $base-background-color;
|
25
|
-
$grid-item-border: 1px solid transparentize($base-font-color, 0.8);
|
14
|
+
$grid-item-border: 1px solid transparentize($base-font-color, 0.8);
|
26
15
|
$grid-item-columns: 4;
|
27
16
|
$grid-item-big-columns: 8;
|
28
17
|
$grid-item-color: $base-font-color;
|
@@ -30,18 +19,19 @@
|
|
30
19
|
|
31
20
|
@include clearfix;
|
32
21
|
position: relative;
|
33
|
-
|
22
|
+
|
34
23
|
.grid-item {
|
35
|
-
@include transition (all 0.2s ease-in-out);
|
36
24
|
background: $grid-item-background;
|
37
25
|
border-bottom: $grid-item-border;
|
38
26
|
border-right: $grid-item-border;
|
39
27
|
cursor: pointer;
|
40
28
|
float: left;
|
41
29
|
height: $grid-item-height;
|
42
|
-
overflow: hidden;
|
43
30
|
outline: none;
|
31
|
+
overflow: hidden;
|
44
32
|
padding: 2em;
|
33
|
+
text-decoration: none;
|
34
|
+
transition: all 0.2s ease-in-out;
|
45
35
|
width: 100%;
|
46
36
|
|
47
37
|
@include media($large-screen) {
|
@@ -69,7 +59,8 @@
|
|
69
59
|
|
70
60
|
.grid-item p {
|
71
61
|
color: transparentize($grid-item-color, 0.4);
|
72
|
-
|
62
|
+
line-height: 1.5em;
|
63
|
+
|
73
64
|
@include media($medium-screen) {
|
74
65
|
max-width: 70%;
|
75
66
|
}
|
@@ -82,14 +73,14 @@
|
|
82
73
|
p {
|
83
74
|
@include media($medium-screen) {
|
84
75
|
max-width: 60%;
|
85
|
-
}
|
76
|
+
}
|
86
77
|
}
|
87
78
|
}
|
88
79
|
|
89
80
|
// this, below, might not be the most beautiful solution but it removes the outer borders by using the background color.
|
90
81
|
.bottom-cover {
|
91
82
|
background: $grid-items-background;
|
92
|
-
bottom:
|
83
|
+
bottom: 0;
|
93
84
|
height: 3px;
|
94
85
|
position: absolute;
|
95
86
|
width: 100%;
|
@@ -99,7 +90,7 @@
|
|
99
90
|
background: $grid-items-background;
|
100
91
|
height: 100%;
|
101
92
|
position: absolute;
|
102
|
-
right:
|
93
|
+
right: 0;
|
103
94
|
width: 4px;
|
104
95
|
}
|
105
96
|
}
|
@@ -3,29 +3,18 @@
|
|
3
3
|
}
|
4
4
|
|
5
5
|
.grid-items {
|
6
|
-
|
7
|
-
$base-accent-color: #477DCA !default;
|
6
|
+
$action-color: #477DCA !default;
|
8
7
|
$base-background-color: white !default;
|
9
|
-
$medium-screen:
|
10
|
-
$large-screen:
|
11
|
-
|
12
|
-
p {
|
13
|
-
line-height: 1.5em;
|
14
|
-
}
|
15
|
-
|
16
|
-
a {
|
17
|
-
text-decoration: none;
|
18
|
-
}
|
19
|
-
//////////////////////////////////////////////////////////////////////////////////
|
20
|
-
|
8
|
+
$medium-screen: 40em !default;
|
9
|
+
$large-screen: 53.75em !default;
|
21
10
|
$grid-items-background: $base-background-color;
|
22
|
-
$grid-item-background: desaturate($
|
23
|
-
$grid-item-colors:
|
24
|
-
desaturate($
|
25
|
-
#3581A5,
|
11
|
+
$grid-item-background: desaturate($action-color, 30%);
|
12
|
+
$grid-item-colors:
|
13
|
+
desaturate($action-color, 30%),
|
14
|
+
#3581A5,
|
26
15
|
#5FBEBE,
|
27
16
|
#98C79A,
|
28
|
-
#A7A891,
|
17
|
+
#A7A891,
|
29
18
|
#BDCC97,
|
30
19
|
#979EA0;
|
31
20
|
$grid-item-border-size: 9px;
|
@@ -35,9 +24,8 @@
|
|
35
24
|
$grid-item-height: 14em;
|
36
25
|
|
37
26
|
@include clearfix;
|
38
|
-
|
27
|
+
|
39
28
|
.grid-item {
|
40
|
-
@include transition (all 0.2s ease-in-out);
|
41
29
|
background: $grid-item-background;
|
42
30
|
border-bottom: $grid-item-border-size solid $grid-items-background;
|
43
31
|
border-left: ($grid-item-border-size / 2) solid $grid-items-background;
|
@@ -46,10 +34,12 @@
|
|
46
34
|
cursor: pointer;
|
47
35
|
float: left;
|
48
36
|
height: $grid-item-height;
|
49
|
-
overflow: hidden;
|
50
37
|
outline: none;
|
38
|
+
overflow: hidden;
|
51
39
|
padding: 2em;
|
52
40
|
text-align: center;
|
41
|
+
text-decoration: none;
|
42
|
+
transition: all 0.2s ease-in-out;
|
53
43
|
width: 100%;
|
54
44
|
|
55
45
|
@include media($large-screen) {
|
@@ -60,13 +50,13 @@
|
|
60
50
|
&:nth-child(#{$i}) {
|
61
51
|
$background-from-list: nth($grid-item-colors, $i);
|
62
52
|
background-color: $background-from-list;
|
63
|
-
box-shadow: inset
|
53
|
+
box-shadow: inset 0 0 1px 2px darken($background-from-list, 10%);
|
64
54
|
|
65
55
|
&:focus,
|
66
56
|
&:hover {
|
67
57
|
background-color: darken($background-from-list, 10%);
|
68
|
-
background-repeat: no-repeat;
|
69
58
|
background-position: top;
|
59
|
+
background-repeat: no-repeat;
|
70
60
|
background-size: cover;
|
71
61
|
}
|
72
62
|
}
|
@@ -74,35 +64,36 @@
|
|
74
64
|
}
|
75
65
|
|
76
66
|
.grid-item img {
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
}
|
67
|
+
display: block;
|
68
|
+
height: 3em;
|
69
|
+
margin: 0 auto 1em;
|
70
|
+
}
|
82
71
|
|
83
72
|
.grid-item h1 {
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
73
|
+
color: $grid-item-color;
|
74
|
+
font-size: 1.3em;
|
75
|
+
margin-bottom: 0.4em;
|
76
|
+
}
|
88
77
|
|
89
78
|
.grid-item p {
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
79
|
+
color: transparentize($grid-item-color, 0.3);
|
80
|
+
line-height: 1.5em;
|
81
|
+
margin: auto;
|
82
|
+
|
83
|
+
@include media($medium-screen) {
|
84
|
+
max-width: 70%;
|
96
85
|
}
|
86
|
+
}
|
97
87
|
|
98
88
|
.grid-item-big {
|
99
89
|
@include media($large-screen) {
|
100
90
|
@include grid-item-columns($grid-item-big-columns);
|
101
91
|
}
|
92
|
+
|
102
93
|
p {
|
103
94
|
@include media($medium-screen) {
|
104
95
|
max-width: 60%;
|
105
|
-
}
|
96
|
+
}
|
106
97
|
}
|
107
98
|
}
|
108
99
|
|
@@ -1,63 +1,30 @@
|
|
1
|
-
.hero {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
$
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
background-position: top;
|
17
|
-
background-repeat: no-repeat;
|
18
|
-
background-size: cover;
|
19
|
-
padding-bottom: 3em;
|
20
|
-
|
21
|
-
.hero-logo img {
|
22
|
-
height: 4em;
|
23
|
-
margin-bottom: 1em;
|
1
|
+
.hero {
|
2
|
+
$large-screen: 50em !default;
|
3
|
+
align-items: center;
|
4
|
+
background: image-url("background-image.png");
|
5
|
+
background-position: right;
|
6
|
+
background-size: none;
|
7
|
+
display: flex;
|
8
|
+
justify-content: center;
|
9
|
+
min-height: 25em;
|
10
|
+
padding: 2em;
|
11
|
+
|
12
|
+
@include media($large-screen) {
|
13
|
+
background-position: left;
|
14
|
+
background-size: cover;
|
15
|
+
justify-content: flex-end;
|
24
16
|
}
|
25
17
|
|
26
|
-
.hero-
|
27
|
-
|
28
|
-
@include clearfix;
|
29
|
-
color: $hero-color;
|
30
|
-
margin: auto;
|
31
|
-
padding: 3.5em;
|
18
|
+
.hero-content {
|
19
|
+
max-width: 20em;
|
32
20
|
text-align: center;
|
33
21
|
|
34
|
-
|
35
|
-
text-align:
|
36
|
-
|
37
|
-
h1 {
|
38
|
-
font-size: 1.6em;
|
39
|
-
margin-bottom: 0.5em;
|
40
|
-
|
41
|
-
@include media($large-screen) {
|
42
|
-
font-size: 1.8em;
|
43
|
-
}
|
44
|
-
}
|
45
|
-
|
46
|
-
p {
|
47
|
-
font-weight: 200;
|
48
|
-
line-height: 1.4em;
|
49
|
-
margin: 0 auto 3em auto;
|
50
|
-
|
51
|
-
@include media($large-screen) {
|
52
|
-
font-size: 1.1em;
|
53
|
-
max-width: 40%;
|
54
|
-
}
|
55
|
-
}
|
22
|
+
@include media($large-screen) {
|
23
|
+
text-align: left;
|
56
24
|
}
|
25
|
+
}
|
57
26
|
|
58
|
-
|
59
|
-
|
60
|
-
padding: 0.7em 1em;
|
61
|
-
}
|
27
|
+
.hero-logo {
|
28
|
+
margin: auto;
|
62
29
|
}
|
63
30
|
}
|
@@ -1,29 +1,19 @@
|
|
1
1
|
.hover-tile-outer {
|
2
|
-
///////////////////////////////////////////////////////////////////////////////////
|
3
2
|
$base-border-color: gainsboro !default;
|
4
3
|
$base-line-height: 1.5em !default;
|
5
|
-
$medium-screen:
|
6
|
-
|
7
|
-
h4 {
|
8
|
-
margin: 0;
|
9
|
-
}
|
10
|
-
|
11
|
-
p {
|
12
|
-
line-height: $base-line-height;
|
13
|
-
}
|
14
|
-
//////////////////////////////////////////////////////////////////////////////////
|
15
|
-
|
4
|
+
$medium-screen: 40em !default;
|
16
5
|
$hover-tile-height: 10em;
|
6
|
+
$base-spacing: 1.5em;
|
17
7
|
|
18
8
|
background: url("https://raw.githubusercontent.com/thoughtbot/refills/master/source/images/mountains.png");
|
9
|
+
background-color: beige;
|
19
10
|
background-position: top;
|
20
11
|
background-size: cover;
|
21
|
-
background-color: beige;
|
22
12
|
border: 1px solid $base-border-color;
|
23
13
|
cursor: pointer;
|
24
14
|
height: $hover-tile-height;
|
25
15
|
margin-bottom: $base-line-height;
|
26
|
-
|
16
|
+
|
27
17
|
@include media($medium-screen) {
|
28
18
|
width: 40%;
|
29
19
|
}
|
@@ -34,16 +24,16 @@
|
|
34
24
|
}
|
35
25
|
|
36
26
|
.hover-tile-container:hover > .hover-tile {
|
37
|
-
|
27
|
+
transform: translate(0, -100%);
|
38
28
|
}
|
39
29
|
|
40
30
|
.hover-tile {
|
41
|
-
@include transition(all, 0.2s ease-in-out);
|
42
31
|
background: inherit;
|
43
32
|
color: white;
|
44
33
|
height: inherit;
|
45
34
|
overflow: hidden;
|
46
35
|
padding: $base-spacing;
|
36
|
+
transition: all 0.2s ease-in-out;
|
47
37
|
}
|
48
38
|
|
49
39
|
.hover-tile-hidden {
|
@@ -51,10 +41,11 @@
|
|
51
41
|
|
52
42
|
p {
|
53
43
|
color: transparentize(#fff, 0.3);
|
44
|
+
line-height: $base-line-height;
|
54
45
|
}
|
55
46
|
|
56
47
|
h4 {
|
57
|
-
margin
|
48
|
+
margin: 0 0 0.5em 0;
|
58
49
|
}
|
59
50
|
}
|
60
51
|
}
|
@@ -1,46 +1,24 @@
|
|
1
1
|
.bullets {
|
2
|
-
///////////////////////////////////////////////////////////////////////////////////
|
3
2
|
$base-line-height: 1.5em !default;
|
4
|
-
$
|
5
|
-
$base-link-color: $base-accent-color !default;
|
3
|
+
$action-color: #477DCA !default;
|
6
4
|
$dark-gray: #333 !default;
|
7
5
|
$base-font-color: $dark-gray !default;
|
8
|
-
|
9
|
-
padding: 0;
|
10
|
-
|
11
|
-
h2 {
|
12
|
-
margin: 0;
|
13
|
-
}
|
14
|
-
|
15
|
-
li {
|
16
|
-
list-style: none;
|
17
|
-
}
|
18
|
-
|
19
|
-
p {
|
20
|
-
color: $base-font-color;
|
21
|
-
line-height: $base-line-height;
|
22
|
-
}
|
23
|
-
|
24
|
-
img {
|
25
|
-
max-width: 100%;
|
26
|
-
}
|
27
|
-
//////////////////////////////////////////////////////////////////////////////////
|
28
|
-
|
29
6
|
$icon-bullet-size: 3.5em;
|
30
7
|
|
31
|
-
|
32
|
-
|
33
|
-
margin-bottom: $base-line-height;
|
8
|
+
display: flex;
|
9
|
+
flex-wrap: wrap;
|
34
10
|
margin: 1em;
|
11
|
+
margin-bottom: $base-line-height;
|
35
12
|
overflow: auto;
|
13
|
+
padding: 0;
|
36
14
|
|
37
15
|
.bullet {
|
38
|
-
|
39
|
-
|
16
|
+
flex-basis: 20em;
|
17
|
+
flex-grow: 1;
|
40
18
|
}
|
41
19
|
|
42
20
|
.bullet-icon {
|
43
|
-
background: $
|
21
|
+
background: $action-color;
|
44
22
|
border-radius: 50%;
|
45
23
|
float: left;
|
46
24
|
height: $icon-bullet-size;
|
@@ -49,27 +27,40 @@
|
|
49
27
|
}
|
50
28
|
|
51
29
|
.bullet-icon-1 {
|
52
|
-
background: $
|
30
|
+
background: $action-color;
|
53
31
|
}
|
54
32
|
|
55
33
|
.bullet-icon-2 {
|
56
|
-
background: adjust-hue($
|
34
|
+
background: adjust-hue($action-color, -50%);
|
57
35
|
}
|
58
36
|
|
59
37
|
.bullet-icon-3 {
|
60
|
-
background: adjust-hue($
|
38
|
+
background: adjust-hue($action-color, -140%);
|
61
39
|
}
|
62
40
|
|
63
41
|
.bullet-content {
|
64
|
-
margin-left: $icon-bullet-size * 1.4;
|
65
42
|
margin-bottom: 2em;
|
43
|
+
margin-left: $icon-bullet-size * 1.4;
|
66
44
|
}
|
67
45
|
|
68
46
|
h2 {
|
69
47
|
border-bottom: 1px solid transparentize($base-font-color, 0.8);
|
70
48
|
display: inline-block;
|
71
49
|
font-size: $icon-bullet-size / 2.5;
|
72
|
-
margin
|
50
|
+
margin: 0 0 ($icon-bullet-size / 6) 0;
|
73
51
|
padding-top: $icon-bullet-size / 7;
|
74
52
|
}
|
53
|
+
|
54
|
+
li {
|
55
|
+
list-style: none;
|
56
|
+
}
|
57
|
+
|
58
|
+
p {
|
59
|
+
color: $base-font-color;
|
60
|
+
line-height: $base-line-height;
|
61
|
+
}
|
62
|
+
|
63
|
+
img {
|
64
|
+
max-width: 100%;
|
65
|
+
}
|
75
66
|
}
|