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
@@ -0,0 +1,62 @@
|
|
1
|
+
footer.refills-footer {
|
2
|
+
color: silver;
|
3
|
+
padding-bottom: 2em;
|
4
|
+
padding-top: 1em;
|
5
|
+
text-align: center;
|
6
|
+
|
7
|
+
a {
|
8
|
+
color: $refills-anchor-color;
|
9
|
+
text-decoration: none;
|
10
|
+
}
|
11
|
+
|
12
|
+
p {
|
13
|
+
font-size: 0.8em;
|
14
|
+
line-height: 1.5em;
|
15
|
+
margin: 0 1em;
|
16
|
+
|
17
|
+
@include media($refills-large-screen) {
|
18
|
+
font-size: 1em;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
.refills-footer-logo {
|
23
|
+
margin-bottom: 2em;
|
24
|
+
}
|
25
|
+
|
26
|
+
img {
|
27
|
+
@include clearfix;
|
28
|
+
display: block;
|
29
|
+
height: 60px;
|
30
|
+
margin: auto;
|
31
|
+
}
|
32
|
+
|
33
|
+
.footer-links {
|
34
|
+
border-top: 2px solid;
|
35
|
+
display: inline-block;
|
36
|
+
font-family: $refills-narrow-sans;
|
37
|
+
font-size: 0.8em;
|
38
|
+
font-weight: 300;
|
39
|
+
margin-bottom: 4em;
|
40
|
+
padding: 0.6em;
|
41
|
+
text-transform: uppercase;
|
42
|
+
|
43
|
+
@include media($refills-large-screen) {
|
44
|
+
font-size: 1em;
|
45
|
+
padding: 1em;
|
46
|
+
}
|
47
|
+
|
48
|
+
li {
|
49
|
+
display: inline;
|
50
|
+
padding: 0.4em;
|
51
|
+
|
52
|
+
a {
|
53
|
+
color: #a7a7a7;
|
54
|
+
text-decoration: none;
|
55
|
+
|
56
|
+
&:hover {
|
57
|
+
color: $refills-anchor-color;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
@@ -0,0 +1,113 @@
|
|
1
|
+
.refills-header {
|
2
|
+
@include clearfix;
|
3
|
+
background-color: $refills-hero-background;
|
4
|
+
clear: both;
|
5
|
+
margin-bottom: 1em;
|
6
|
+
padding: 5em 0 8em;
|
7
|
+
text-align: center;
|
8
|
+
width: 100%;
|
9
|
+
|
10
|
+
@include media($refills-medium-screen) {
|
11
|
+
margin-bottom: 4em;
|
12
|
+
padding: 6em 0 8em;
|
13
|
+
}
|
14
|
+
|
15
|
+
@include media($refills-large-screen) {
|
16
|
+
border-bottom: 2px solid darken($refills-hero-background, 5%);
|
17
|
+
margin-bottom: 4em;
|
18
|
+
padding: 6em 0 8em;
|
19
|
+
}
|
20
|
+
|
21
|
+
.refills-logo {
|
22
|
+
display: inline-block;
|
23
|
+
margin: 0 auto 1.4em auto;
|
24
|
+
|
25
|
+
svg {
|
26
|
+
@include size(80px);
|
27
|
+
background: $refills-body-background-color;
|
28
|
+
border-radius: 50%;
|
29
|
+
fill: $refills-logo-color;
|
30
|
+
padding: 0.3em;
|
31
|
+
|
32
|
+
@include media($refills-medium-screen) {
|
33
|
+
@include size(120px);
|
34
|
+
padding: 0.5em;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
h2 {
|
40
|
+
font-family: $refills-second-serif;
|
41
|
+
font-size: 1.4em;
|
42
|
+
font-weight: 100;
|
43
|
+
line-height: 1.4em;
|
44
|
+
margin: 0 auto 2em auto;
|
45
|
+
max-width: 80%;
|
46
|
+
text-align: center;
|
47
|
+
|
48
|
+
@include media($refills-medium-screen) {
|
49
|
+
font-size: 2em;
|
50
|
+
margin-bottom: 1em;
|
51
|
+
max-width: 80%;
|
52
|
+
}
|
53
|
+
|
54
|
+
@include media($refills-large-screen) {
|
55
|
+
font-size: 3em;
|
56
|
+
line-height: 1.3em;
|
57
|
+
margin-bottom: 0.8em;
|
58
|
+
max-width: 45%;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
h3 {
|
63
|
+
font-size: 1.3em;
|
64
|
+
font-weight: 200;
|
65
|
+
margin-bottom: 1em;
|
66
|
+
text-align: center;
|
67
|
+
}
|
68
|
+
|
69
|
+
a {
|
70
|
+
color: $refills-anchor-color;
|
71
|
+
text-decoration: none;
|
72
|
+
|
73
|
+
&:focus,
|
74
|
+
&:hover {
|
75
|
+
color: lighten($refills-anchor-color, 10%);
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
p {
|
80
|
+
@include refills-inset;
|
81
|
+
border-radius: 30px;
|
82
|
+
color: darken(desaturate($refills-logo-color, 50%), 15%);
|
83
|
+
display: inline-block;
|
84
|
+
font-family: $refills-narrow-sans;
|
85
|
+
font-size: 0.8em;
|
86
|
+
font-weight: 400;
|
87
|
+
margin-bottom: 2em;
|
88
|
+
padding: 0.5em 1.4em;
|
89
|
+
|
90
|
+
@include media($refills-large-screen) {
|
91
|
+
font-size: 0.8em;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
|
95
|
+
.empties-banner {
|
96
|
+
$empties-color: #776faa;
|
97
|
+
background-color: $empties-color;
|
98
|
+
border: 1px solid darken(transparentize($empties-color, 0.1), 10%);
|
99
|
+
border-radius: 5px;
|
100
|
+
box-shadow: 0 2px 0 darken(transparentize($empties-color, 0.7), 10%);
|
101
|
+
color: lighten(#c8c0ff, 8);
|
102
|
+
display: inline-block;
|
103
|
+
font-family: $refills-narrow-sans;
|
104
|
+
margin-bottom: 2em;
|
105
|
+
padding: 1em 2em;
|
106
|
+
|
107
|
+
&:hover,
|
108
|
+
&:focus {
|
109
|
+
background-color: lighten($empties-color, 1%);
|
110
|
+
color: lighten(#c8c0ff, 10);
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
@@ -0,0 +1,91 @@
|
|
1
|
+
ul.refills-menu {
|
2
|
+
font-weight: normal;
|
3
|
+
margin: -3em auto 0.7em auto;
|
4
|
+
padding: 0;
|
5
|
+
text-align: center;
|
6
|
+
|
7
|
+
@include media($refills-medium-screen) {
|
8
|
+
margin: -6em auto 0.4em auto;
|
9
|
+
}
|
10
|
+
|
11
|
+
@include media($refills-large-screen) {
|
12
|
+
margin: -6.7em auto 0.8em auto;
|
13
|
+
}
|
14
|
+
|
15
|
+
.menu-item {
|
16
|
+
display: inline;
|
17
|
+
|
18
|
+
a {
|
19
|
+
@include refills-inset;
|
20
|
+
border-radius: 3px;
|
21
|
+
color: $refills-secondary-anchor-color;
|
22
|
+
font-family: $refills-narrow-sans;
|
23
|
+
font-size: 0.8em;
|
24
|
+
font-weight: 300;
|
25
|
+
padding: 0.5em 1em 1.5em;
|
26
|
+
text-decoration: none;
|
27
|
+
|
28
|
+
@include media($refills-medium-screen) {
|
29
|
+
font-size: 1em;
|
30
|
+
padding: 0.5em 1.8em 1.3em;
|
31
|
+
}
|
32
|
+
|
33
|
+
@include media($refills-large-screen) {
|
34
|
+
font-size: 1.2em;
|
35
|
+
padding: 0.7em 2.7em 2em;
|
36
|
+
}
|
37
|
+
|
38
|
+
&:hover {
|
39
|
+
color: lighten($refills-secondary-anchor-color, 10%);
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
.refills-patterns li.patterns a {
|
46
|
+
background: $refills-body-background-color;
|
47
|
+
box-shadow: none;
|
48
|
+
|
49
|
+
&:hover {
|
50
|
+
color: darken($refills-hero-background, 20%);
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
54
|
+
.refills-components li.components a {
|
55
|
+
background: $refills-body-background-color;
|
56
|
+
box-shadow: none;
|
57
|
+
|
58
|
+
&:hover {
|
59
|
+
color: darken($refills-hero-background, 20%);
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
.refills-type-systems li.type-systems a {
|
64
|
+
background: $refills-body-background-color;
|
65
|
+
box-shadow: none;
|
66
|
+
|
67
|
+
&:hover {
|
68
|
+
color: darken($refills-hero-background, 20%);
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
.refills-unstyled li.unstyled a {
|
73
|
+
background: $refills-body-background-color;
|
74
|
+
box-shadow: none;
|
75
|
+
|
76
|
+
&:hover {
|
77
|
+
color: darken($refills-hero-background, 20%);
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
.menu-item.unstyled {
|
82
|
+
position: relative;
|
83
|
+
}
|
84
|
+
|
85
|
+
.menu-item.unstyled::after {
|
86
|
+
content: url('/images/new.svg');
|
87
|
+
position: absolute;
|
88
|
+
right: -42px;
|
89
|
+
top: -63px;
|
90
|
+
transform: scale(0.4) rotate(13deg);
|
91
|
+
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
$sidebar-width:
|
1
|
+
$sidebar-width: 12.5em;
|
2
2
|
|
3
3
|
section.inner-content {
|
4
4
|
margin-left: auto;
|
@@ -7,18 +7,19 @@ section.inner-content {
|
|
7
7
|
.refills-menu-anchor {
|
8
8
|
@include position(fixed, 4.5em null null 1em);
|
9
9
|
@include size(50px);
|
10
|
-
border: 1px solid
|
10
|
+
border: 1px solid $refills-secondary-anchor-color;
|
11
11
|
border-radius: 50%;
|
12
12
|
cursor: pointer;
|
13
13
|
display: inline-block;
|
14
|
-
|
15
|
-
padding: 0.7em 1em;
|
14
|
+
fill: $refills-secondary-anchor-color;
|
16
15
|
margin-bottom: 1.5em;
|
16
|
+
padding-top: 0.9em;
|
17
|
+
text-align: center;
|
17
18
|
transition: all 0.2s ease-in-out;
|
18
19
|
z-index: 9999;
|
19
20
|
|
20
21
|
&.fixedsticky-on {
|
21
|
-
margin-top:
|
22
|
+
margin-top: 0;
|
22
23
|
}
|
23
24
|
|
24
25
|
&.fixedsticky-off {
|
@@ -26,7 +27,7 @@ section.inner-content {
|
|
26
27
|
}
|
27
28
|
|
28
29
|
img {
|
29
|
-
@include size(30px 26px);
|
30
|
+
@include size(30px, 26px);
|
30
31
|
max-width: 100%;
|
31
32
|
}
|
32
33
|
}
|
@@ -40,10 +41,10 @@ section.inner-content {
|
|
40
41
|
}
|
41
42
|
|
42
43
|
.refills-menu-screen {
|
43
|
-
@include position(fixed, 0
|
44
|
-
@include transition;
|
44
|
+
@include position(fixed, 0);
|
45
45
|
background-color: teal;
|
46
46
|
opacity: 0;
|
47
|
+
transition: all 0.15s ease-out;
|
47
48
|
visibility: hidden;
|
48
49
|
z-index: 999998;
|
49
50
|
|
@@ -61,13 +62,12 @@ section.inner-content {
|
|
61
62
|
.er_toc {
|
62
63
|
$base-line-height: 1.5em !default;
|
63
64
|
@include position(fixed, 0 auto 0 0);
|
64
|
-
@include size(220px 100%);
|
65
|
-
@include transform(translateX(-220px));
|
66
|
-
@include transition(all 0.2s linear);
|
65
|
+
@include size(220px, 100%);
|
67
66
|
background-color: black;
|
68
|
-
overflow-y: auto;
|
69
67
|
-webkit-font-smoothing: antialiased;
|
70
68
|
-webkit-overflow-scrolling: touch;
|
69
|
+
overflow-y: auto;
|
70
|
+
transform: translateX(-220px);
|
71
71
|
transition: all 0.2s linear;
|
72
72
|
z-index: 999999;
|
73
73
|
|
@@ -103,6 +103,6 @@ section.inner-content {
|
|
103
103
|
}
|
104
104
|
|
105
105
|
&.is-visible {
|
106
|
-
|
106
|
+
transform: translateX(0);
|
107
107
|
}
|
108
108
|
}
|
@@ -1,665 +1,29 @@
|
|
1
1
|
body {
|
2
|
+
-webkit-backface-visibility: hidden;
|
3
|
+
background: $refills-body-background-color;
|
2
4
|
-webkit-font-smoothing: antialiased;
|
5
|
+
min-width: 320px;
|
3
6
|
}
|
4
7
|
|
5
|
-
$refills-body-background-color: #fff;
|
6
|
-
|
7
|
-
nav.bourbon {
|
8
|
-
text-rendering: optimizeLegibility;
|
9
|
-
|
10
|
-
ul {
|
11
|
-
list-style-type: none;
|
12
|
-
margin: 0;
|
13
|
-
padding: 0;
|
14
|
-
|
15
|
-
li a {
|
16
|
-
text-decoration: none;
|
17
|
-
}
|
18
|
-
}
|
19
|
-
|
20
|
-
h1 {
|
21
|
-
margin: 0;
|
22
|
-
|
23
|
-
a {
|
24
|
-
text-decoration: none;
|
25
|
-
}
|
26
|
-
}
|
27
|
-
}
|
28
|
-
|
29
|
-
$refills-color: lighten(desaturate(teal, 60%), 40%);
|
30
|
-
$refills-accent-color: #477dca;
|
31
|
-
$refills-nav-height: 60px;
|
32
|
-
$refills-logo-color: #93e9be;
|
33
|
-
$refills-anchor-color: #f55481;
|
34
|
-
$refills-hero-background: #e7f1ec;
|
35
|
-
$refills-highlight-color: #bbb295;
|
36
|
-
$refills-narrow-sans: "Oswald", sans-serif;
|
37
|
-
$refills-white-shadow: 0 1px 1px transparentize(#fff, 0.6);
|
38
|
-
$refills-medium-screen: em(640);
|
39
|
-
$refills-large-screen: em(860);
|
40
|
-
|
41
|
-
$refills-serif: "Lusitana", $georgia;
|
42
|
-
$refills-second-serif: $georgia;
|
43
|
-
|
44
8
|
@mixin refills-inset {
|
45
9
|
background: darken($refills-hero-background, 2%);
|
46
|
-
|
10
|
+
border: 1px solid darken($refills-hero-background, 7);
|
11
|
+
box-shadow: $refills-white-shadow;
|
47
12
|
text-shadow: $refills-white-shadow;
|
48
13
|
}
|
49
14
|
|
50
|
-
body {
|
51
|
-
-webkit-backface-visibility: hidden;
|
52
|
-
background: $refills-body-background-color;
|
53
|
-
min-width: 320px;
|
54
|
-
}
|
55
|
-
|
56
|
-
.refills-header {
|
57
|
-
@extend .refills-header;
|
58
|
-
@include clearfix;
|
59
|
-
background-color: $refills-hero-background;
|
60
|
-
clear: both;
|
61
|
-
margin-bottom: 1em;
|
62
|
-
padding: 5em 0;
|
63
|
-
text-align: center;
|
64
|
-
width: 100%;
|
65
|
-
|
66
|
-
@include media($refills-medium-screen) {
|
67
|
-
margin-bottom: 4em;
|
68
|
-
padding: 6em 0;
|
69
|
-
}
|
70
|
-
|
71
|
-
@include media($refills-large-screen) {
|
72
|
-
margin-bottom: 4em;
|
73
|
-
padding: 6em 0 11em 0;
|
74
|
-
}
|
75
|
-
|
76
|
-
.refills-logo {
|
77
|
-
display: inline-block;
|
78
|
-
margin: 0 auto 1.4em auto;
|
79
|
-
|
80
|
-
@include media($refills-medium-screen) {
|
81
|
-
max-width: 8em;
|
82
|
-
max-height: 8em;
|
83
|
-
}
|
84
|
-
|
85
|
-
img {
|
86
|
-
background: #fff;
|
87
|
-
border-radius: 50%;
|
88
|
-
padding: 0.3em;
|
89
|
-
margin-bottom: 1em;
|
90
|
-
max-width: 5em;
|
91
|
-
max-height: 5em;
|
92
|
-
|
93
|
-
@include media($refills-medium-screen) {
|
94
|
-
margin-bottom: 2em;
|
95
|
-
max-width: 8em;
|
96
|
-
max-height: 8em;
|
97
|
-
padding: 0.5em;
|
98
|
-
}
|
99
|
-
}
|
100
|
-
}
|
101
|
-
|
102
|
-
h2 {
|
103
|
-
font-family: $refills-second-serif;
|
104
|
-
font-size: 1.4em;
|
105
|
-
font-weight: 100;
|
106
|
-
margin: 0 auto 2em auto;
|
107
|
-
max-width: 90%;
|
108
|
-
text-align: center;
|
109
|
-
line-height: 1.4em;
|
110
|
-
|
111
|
-
@include media($refills-medium-screen) {
|
112
|
-
font-size: 2em;
|
113
|
-
margin-bottom: 1em;
|
114
|
-
max-width: 90%;
|
115
|
-
}
|
116
|
-
|
117
|
-
@include media($refills-large-screen) {
|
118
|
-
font-size: 3em;
|
119
|
-
margin-bottom: 0.8em;
|
120
|
-
line-height: 1.3em;
|
121
|
-
max-width: 55%;
|
122
|
-
}
|
123
|
-
}
|
124
|
-
|
125
|
-
h3 {
|
126
|
-
font-size: 1.3em;
|
127
|
-
font-weight: 200;
|
128
|
-
margin-bottom: 1em;
|
129
|
-
text-align: center;
|
130
|
-
}
|
131
|
-
|
132
|
-
a {
|
133
|
-
color: $refills-anchor-color;
|
134
|
-
text-decoration: none;
|
135
|
-
|
136
|
-
&:focus,
|
137
|
-
&:hover {
|
138
|
-
color: lighten($refills-anchor-color, 10%);
|
139
|
-
}
|
140
|
-
}
|
141
|
-
|
142
|
-
p {
|
143
|
-
@include refills-inset;
|
144
|
-
border-radius: 30px;
|
145
|
-
color: darken(desaturate($refills-logo-color, 50%), 15%);
|
146
|
-
display: inline;
|
147
|
-
font-family: $refills-narrow-sans;
|
148
|
-
font-size: 0.8em;
|
149
|
-
font-weight: 400;
|
150
|
-
padding: 0.5em 1.4em;
|
151
|
-
|
152
|
-
@include media($refills-large-screen) {
|
153
|
-
font-size: 0.8em;
|
154
|
-
}
|
155
|
-
}
|
156
|
-
}
|
157
|
-
|
158
15
|
.menu-wrapper {
|
159
16
|
@include clearfix;
|
160
17
|
}
|
161
18
|
|
162
|
-
// Refill menu
|
163
|
-
|
164
|
-
ul.refills-menu {
|
165
|
-
font-weight: normal;
|
166
|
-
margin-bottom: 5em;
|
167
|
-
margin: -3.3em auto 0 auto;
|
168
|
-
text-align: center;
|
169
|
-
|
170
|
-
@include media($refills-medium-screen) {
|
171
|
-
margin: -6em auto 0 auto;
|
172
|
-
}
|
173
|
-
|
174
|
-
@include media($refills-large-screen) {
|
175
|
-
margin: -6.7em auto 0 auto;
|
176
|
-
}
|
177
|
-
|
178
|
-
.menu-item {
|
179
|
-
display: inline;
|
180
|
-
|
181
|
-
a {
|
182
|
-
text-decoration: none;
|
183
|
-
border-radius: 3px;
|
184
|
-
color: darken($refills-hero-background, 20%);
|
185
|
-
font-family: "Lusitana", serif;
|
186
|
-
font-size: 0.9em;
|
187
|
-
padding: 0.5em 0.5em 2em;
|
188
|
-
|
189
|
-
@include media($refills-medium-screen) {
|
190
|
-
font-size: 1.1em;
|
191
|
-
padding: 0.5em 0.8em 2em;
|
192
|
-
}
|
193
|
-
|
194
|
-
@include media($refills-large-screen) {
|
195
|
-
font-size: 1.3em;
|
196
|
-
padding: 0.5em 1.3em 2em;
|
197
|
-
}
|
198
|
-
|
199
|
-
&:hover {
|
200
|
-
color: darken($refills-hero-background, 30%);
|
201
|
-
}
|
202
|
-
}
|
203
|
-
}
|
204
|
-
}
|
205
|
-
|
206
|
-
.refills-patterns li.patterns a {
|
207
|
-
background: $refills-body-background-color;
|
208
|
-
|
209
|
-
&:hover {
|
210
|
-
color: darken($refills-hero-background, 20%);
|
211
|
-
}
|
212
|
-
}
|
213
|
-
|
214
|
-
.refills-components li.components a {
|
215
|
-
background: $refills-body-background-color;
|
216
|
-
|
217
|
-
&:hover {
|
218
|
-
color: darken($refills-hero-background, 20%);
|
219
|
-
}
|
220
|
-
}
|
221
|
-
|
222
|
-
.refills-type-systems li.type-systems a {
|
223
|
-
background: $refills-body-background-color;
|
224
|
-
|
225
|
-
&:hover {
|
226
|
-
color: darken($refills-hero-background, 20%);
|
227
|
-
}
|
228
|
-
}
|
229
|
-
|
230
19
|
#example {
|
231
|
-
|
232
|
-
}
|
233
|
-
|
234
|
-
// Refill section
|
235
|
-
|
236
|
-
section.refill {
|
237
|
-
@include clearfix;
|
238
|
-
margin-bottom: 2em;
|
239
|
-
padding-bottom: 1em;
|
240
|
-
position: relative;
|
241
|
-
|
242
|
-
> h3 {
|
243
|
-
margin-bottom: 1.3em;
|
244
|
-
margin-top: 1em;
|
245
|
-
padding-top: 0.5em;
|
246
|
-
}
|
247
|
-
}
|
248
|
-
|
249
|
-
.refills-wrapper {
|
250
|
-
@include outer-container;
|
251
|
-
padding: 1em;
|
252
|
-
|
253
|
-
h1.main-header {
|
254
|
-
background-color: $refills-color;
|
255
|
-
display: inline-block;
|
256
|
-
padding: 0.5em;
|
257
|
-
}
|
258
|
-
}
|
259
|
-
|
260
|
-
// this centers the refill and sets back to text-align left below first object
|
261
|
-
.refill-centering {
|
262
|
-
text-align: center;
|
263
|
-
|
264
|
-
& > * {
|
265
|
-
display: inline-block;
|
266
|
-
|
267
|
-
& > * {
|
268
|
-
text-align: left;
|
269
|
-
}
|
270
|
-
}
|
271
|
-
|
272
|
-
script {
|
273
|
-
display: none;
|
274
|
-
}
|
275
|
-
}
|
276
|
-
|
277
|
-
.line-behind-text {
|
278
|
-
border-bottom: 1px solid #cacaca;
|
279
|
-
text-align: center;
|
280
|
-
margin-bottom: 4.5em;
|
281
|
-
}
|
282
|
-
|
283
|
-
.line-behind-text h6 {
|
284
|
-
background: #fff;
|
285
|
-
color: gray;
|
20
|
+
background: $refills-body-background-color;
|
286
21
|
display: inline-block;
|
287
|
-
|
288
|
-
font-size: 1em;
|
289
|
-
font-weight: 500;
|
290
|
-
padding: 0 10px;
|
22
|
+
padding-top: 1em;
|
291
23
|
position: relative;
|
292
|
-
text-transform: uppercase;
|
293
|
-
top: 34px;
|
294
|
-
}
|
295
|
-
|
296
|
-
.refill h6 {
|
297
|
-
margin-bottom: 1.5em;
|
298
|
-
|
299
|
-
}
|
300
|
-
|
301
|
-
// Hiding and showing code
|
302
|
-
|
303
|
-
.js-hide-code,
|
304
|
-
.js-show-code {
|
305
|
-
border-top: 1px dashed #bebcbc;
|
306
|
-
color: #7e7a7a;
|
307
|
-
font-size: 0.8em;
|
308
|
-
text-transform: uppercase;
|
309
|
-
width: 9em;
|
310
|
-
|
311
|
-
&:hover {
|
312
|
-
color: $refills-accent-color;
|
313
|
-
}
|
314
|
-
}
|
315
|
-
|
316
|
-
.js-show-code {
|
317
|
-
display: inline-block;
|
318
|
-
padding: 0.5em 1em;
|
319
|
-
}
|
320
|
-
|
321
|
-
.js-hide-code {
|
322
|
-
display: none;
|
323
|
-
padding: 0.5em 1em;
|
324
|
-
}
|
325
|
-
|
326
|
-
|
327
|
-
.refill-control {
|
328
|
-
display: block;
|
329
|
-
margin-bottom: 2em;
|
330
|
-
text-align: center;
|
331
24
|
width: 100%;
|
332
25
|
|
333
|
-
a {
|
334
|
-
line-height: 1.5em;
|
335
|
-
text-decoration: none;
|
336
|
-
}
|
337
|
-
|
338
|
-
}
|
339
|
-
|
340
|
-
// Snippet
|
341
|
-
|
342
|
-
.refill-snippet {
|
343
|
-
margin-top: 4.5em;
|
344
|
-
padding: 0 1em;
|
345
|
-
|
346
|
-
table {
|
347
|
-
border-collapse: collapse;
|
348
|
-
margin: (1.5em / 2) 0;
|
349
|
-
table-layout: fixed;
|
350
|
-
width: 100%;
|
351
|
-
}
|
352
|
-
|
353
|
-
th {
|
354
|
-
font-weight: bold;
|
355
|
-
padding: (1.5em / 2) 0;
|
356
|
-
text-align: left;
|
357
|
-
}
|
358
|
-
|
359
|
-
td {
|
360
|
-
padding: (1.5em / 2) 0;
|
361
|
-
}
|
362
|
-
|
363
|
-
tr,
|
364
|
-
td,
|
365
|
-
th {
|
366
|
-
vertical-align: middle;
|
367
|
-
}
|
368
|
-
}
|
369
|
-
|
370
|
-
pre[class*="language-"] {
|
371
|
-
background-color: #f8f8f8;
|
372
|
-
border-top: 2px solid silver;
|
373
|
-
height: 300px;
|
374
|
-
line-height: 1em;
|
375
|
-
}
|
376
|
-
|
377
|
-
.snippets-table {
|
378
|
-
display: none;
|
379
|
-
|
380
|
-
td {
|
381
|
-
border-bottom: 0;
|
382
|
-
}
|
383
|
-
|
384
|
-
.snippet:nth-child(4n) {
|
385
|
-
display: none;
|
386
|
-
}
|
387
|
-
}
|
388
|
-
|
389
|
-
|
390
|
-
.snippet {
|
391
|
-
|
392
|
-
@include media($refills-medium-screen) {
|
393
|
-
margin-bottom: 2em;
|
394
|
-
}
|
395
|
-
|
396
|
-
.copy-source-container {
|
397
|
-
min-height: 3.4em;
|
398
|
-
|
399
|
-
@include media($refills-medium-screen) {
|
400
|
-
min-height: 2.5em;
|
401
|
-
}
|
402
|
-
|
403
|
-
@include media($refills-large-screen) {
|
404
|
-
min-height: 1em;
|
405
|
-
}
|
406
|
-
}
|
407
|
-
|
408
|
-
&:nth-of-type(1) .copy-source {
|
409
|
-
background: #e98065;
|
410
|
-
}
|
411
|
-
|
412
|
-
&:nth-of-type(2) .copy-source {
|
413
|
-
background: #55a1d4;
|
414
|
-
}
|
415
|
-
|
416
|
-
&:nth-of-type(3) .copy-source:nth-of-type(1) {
|
417
|
-
background: #e9c05b;
|
418
|
-
}
|
419
|
-
|
420
|
-
&:nth-of-type(3) .copy-source:nth-of-type(2) {
|
421
|
-
background: #89b981;
|
422
|
-
}
|
423
|
-
|
424
|
-
.copy-source {
|
425
|
-
border-bottom-left-radius: 10px;
|
426
|
-
border-bottom-right-radius: 0;
|
427
|
-
border-top-left-radius: 10px;
|
428
|
-
border-top-right-radius: 10px;
|
429
|
-
color: #fff;
|
430
|
-
display: inline-block;
|
431
|
-
font-size: 0.5em;
|
432
|
-
font-weight: 800;
|
433
|
-
padding: 0.4em 1em;
|
434
|
-
text-transform: uppercase;
|
435
|
-
|
436
|
-
&:hover,
|
437
|
-
&:active {
|
438
|
-
background-color: lighten(#333, 20%);
|
439
|
-
color: #fff;
|
440
|
-
}
|
441
|
-
}
|
442
|
-
|
443
|
-
a {
|
444
|
-
text-decoration: none;
|
445
|
-
}
|
446
|
-
|
447
|
-
code {
|
448
|
-
font-size: 0.6em;
|
449
|
-
line-height: 1.4em;
|
450
|
-
max-height: em(400);
|
451
|
-
overflow: scroll;
|
452
|
-
}
|
453
|
-
}
|
454
|
-
|
455
|
-
.token.variable {
|
456
|
-
background-color: transparent;
|
457
|
-
}
|
458
|
-
|
459
|
-
// Footer
|
460
|
-
|
461
|
-
footer.refills-footer {
|
462
|
-
color: silver;
|
463
|
-
padding-bottom: 2em;
|
464
|
-
padding-top: 1em;
|
465
|
-
text-align: center;
|
466
|
-
|
467
|
-
a {
|
468
|
-
color: $refills-anchor-color;
|
469
|
-
text-decoration: none;
|
470
|
-
}
|
471
|
-
|
472
|
-
p {
|
473
|
-
font-size: 0.8em;
|
474
|
-
line-height: 1.5em;
|
475
|
-
margin: 0 1em;
|
476
|
-
|
477
|
-
@include media($refills-large-screen) {
|
478
|
-
font-size: 1em;
|
479
|
-
}
|
480
|
-
}
|
481
|
-
|
482
|
-
.refills-footer-logo {
|
483
|
-
margin-bottom: 2em;
|
484
|
-
}
|
485
|
-
|
486
|
-
img {
|
487
|
-
@include clearfix;
|
488
|
-
display: block;
|
489
|
-
height: 60px;
|
490
|
-
margin: auto;
|
491
|
-
}
|
492
|
-
|
493
|
-
.footer-links {
|
494
|
-
background: #f3f3f3;
|
495
|
-
border-radius: 3em;
|
496
|
-
box-shadow: inset 0 1px 2px darken(#f3f3f3, 6%);
|
497
|
-
display: inline-block;
|
498
|
-
font-size: 0.8em;
|
499
|
-
margin-bottom: 2em;
|
500
|
-
padding: 0.6em;
|
501
|
-
|
502
|
-
@include media($refills-large-screen) {
|
503
|
-
font-size: 1em;
|
504
|
-
padding: 1em;
|
505
|
-
}
|
506
|
-
|
507
|
-
li {
|
508
|
-
display: inline;
|
509
|
-
padding: 0.4em;
|
510
|
-
|
511
|
-
a {
|
512
|
-
color: #a7a7a7;
|
513
|
-
text-decoration: none;
|
514
|
-
|
515
|
-
&:hover {
|
516
|
-
color: $refills-anchor-color;
|
517
|
-
}
|
518
|
-
}
|
519
|
-
}
|
520
|
-
}
|
521
|
-
}
|
522
|
-
|
523
|
-
// Adjustments
|
524
|
-
|
525
|
-
.refill-smaller {
|
526
|
-
|
527
26
|
@include media($refills-large-screen) {
|
528
|
-
|
529
|
-
width: 70%;
|
530
|
-
}
|
531
|
-
}
|
532
|
-
|
533
|
-
// Type Systems
|
534
|
-
|
535
|
-
@include keyframes(fadeInAccordionTabsArticles) {
|
536
|
-
0% { opacity: 0; }
|
537
|
-
100% { opacity: 1; }
|
538
|
-
}
|
539
|
-
|
540
|
-
.accordion-tabs-type-systems {
|
541
|
-
$refills-border-color: gainsboro;
|
542
|
-
$refills-border-radius: 3px;
|
543
|
-
$refills-spacing: 1.5em;
|
544
|
-
$refills-accent-color: #477dca;
|
545
|
-
$refills-link-color: $refills-accent-color;
|
546
|
-
$dark-gray: #333;
|
547
|
-
$light-gray: #ddd;
|
548
|
-
$refills-line-height: 1.5em;
|
549
|
-
|
550
|
-
$tab-border-color: $refills-border-color;
|
551
|
-
$tab-border: 1px solid $tab-border-color;
|
552
|
-
$tab-content-background: lighten($light-gray, 15%);
|
553
|
-
$tab-active-background: $tab-content-background;
|
554
|
-
$refills-body-inactive-color: $refills-body-background-color;
|
555
|
-
$tab-inactive-hover-color: darken($light-gray, 5%);
|
556
|
-
$tab-mode: $refills-medium-screen;
|
557
|
-
|
558
|
-
@include clearfix;
|
559
|
-
border: $tab-border;
|
560
|
-
border-radius: $refills-border-radius;
|
561
|
-
margin-bottom: $refills-spacing;
|
562
|
-
|
563
|
-
@include media($tab-mode) {
|
564
|
-
border: none;
|
565
|
-
}
|
566
|
-
|
567
|
-
.tab {
|
568
|
-
@include media($tab-mode) {
|
569
|
-
display: inline;
|
570
|
-
}
|
571
|
-
|
572
|
-
&:first-child .tab-link {
|
573
|
-
border-top-left-radius: $refills-border-radius;
|
574
|
-
border-top-right-radius: $refills-border-radius;
|
575
|
-
}
|
576
|
-
|
577
|
-
&:last-child .tab-link {
|
578
|
-
border-bottom-left-radius: $refills-border-radius;
|
579
|
-
border-bottom-right-radius: $refills-border-radius;
|
580
|
-
|
581
|
-
@include media($tab-mode) {
|
582
|
-
border-bottom-left-radius: 0;
|
583
|
-
border-bottom-right-radius: 0;
|
584
|
-
}
|
585
|
-
}
|
586
|
-
|
587
|
-
.tab-link-type-system {
|
588
|
-
background-color: transparent;
|
589
|
-
border-bottom: 1px solid $tab-border-color;
|
590
|
-
color: $dark-gray;
|
591
|
-
display: block;
|
592
|
-
font-size: 0.9em;
|
593
|
-
font-weight: 200;
|
594
|
-
letter-spacing: 0.6px;
|
595
|
-
padding: ($refills-spacing / 2) ($gutter / 2);
|
596
|
-
text-align: center;
|
597
|
-
|
598
|
-
@include media($tab-mode) {
|
599
|
-
display: inline-block;
|
600
|
-
border-bottom: 0;
|
601
|
-
border-top-left-radius: $refills-border-radius;
|
602
|
-
border-top-right-radius: $refills-border-radius;
|
603
|
-
}
|
604
|
-
|
605
|
-
&:hover {
|
606
|
-
color: $refills-link-color;
|
607
|
-
}
|
608
|
-
|
609
|
-
&:focus {
|
610
|
-
outline: none;
|
611
|
-
}
|
612
|
-
}
|
613
|
-
|
614
|
-
section {
|
615
|
-
padding: $refills-spacing $gutter;
|
616
|
-
background: $tab-content-background;
|
617
|
-
display: none;
|
618
|
-
overflow: hidden;
|
619
|
-
padding: $refills-line-height $gutter;
|
620
|
-
width: 100%;
|
621
|
-
|
622
|
-
@include media($tab-mode) {
|
623
|
-
@include border-bottom-radius($refills-border-radius);
|
624
|
-
border-top: $tab-border;
|
625
|
-
float: left;
|
626
|
-
left: 0;
|
627
|
-
padding: ($refills-spacing / 2) $gutter;
|
628
|
-
}
|
629
|
-
|
630
|
-
.tab-content {
|
631
|
-
opacity: 0;
|
632
|
-
}
|
633
|
-
}
|
634
|
-
|
635
|
-
&.js-is-active {
|
636
|
-
border-bottom: $tab-border;
|
637
|
-
|
638
|
-
@include media($tab-mode) {
|
639
|
-
border-bottom: 0;
|
640
|
-
}
|
641
|
-
|
642
|
-
.tab-link-type-system {
|
643
|
-
background-color: $tab-active-background;
|
644
|
-
border-bottom: 0;
|
645
|
-
|
646
|
-
@include media($tab-mode) {
|
647
|
-
background-color: $tab-active-background;
|
648
|
-
border-bottom: 1px solid $tab-active-background;
|
649
|
-
border: $tab-border;
|
650
|
-
margin-bottom: -1px;
|
651
|
-
}
|
652
|
-
}
|
653
|
-
|
654
|
-
section {
|
655
|
-
display: block;
|
656
|
-
|
657
|
-
.tab-content {
|
658
|
-
@include animation-name(fadeInAccordionTabsArticles);
|
659
|
-
@include animation-duration(1s);
|
660
|
-
opacity: 1;
|
661
|
-
}
|
662
|
-
}
|
663
|
-
}
|
27
|
+
padding-top: 3em;
|
664
28
|
}
|
665
29
|
}
|