oneflow-jekyll 1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.MD +7 -0
- data/README.md +29 -0
- data/_data/navigation.yml +18 -0
- data/_includes/editables/editables.html +15 -0
- data/_includes/figure +9 -0
- data/_includes/footer/custom.html +3 -0
- data/_includes/footer.html +27 -0
- data/_includes/gallery +35 -0
- data/_includes/head/custom.html +12 -0
- data/_includes/head.html +23 -0
- data/_includes/image-text-row +61 -0
- data/_includes/masthead.html +35 -0
- data/_includes/page__hero.html +46 -0
- data/_includes/popup.html +43 -0
- data/_includes/round-images +30 -0
- data/_includes/scripts.html +13 -0
- data/_includes/seo.html +158 -0
- data/_includes/video +24 -0
- data/_layouts/default.html +78 -0
- data/_layouts/page.html +13 -0
- data/_sass/oneflow/_animations.scss +21 -0
- data/_sass/oneflow/_base.scss +356 -0
- data/_sass/oneflow/_boxes.scss +46 -0
- data/_sass/oneflow/_buttons.scss +95 -0
- data/_sass/oneflow/_fonts.scss +18 -0
- data/_sass/oneflow/_footer.scss +121 -0
- data/_sass/oneflow/_masthead.scss +97 -0
- data/_sass/oneflow/_mixins.scss +92 -0
- data/_sass/oneflow/_navigation.scss +412 -0
- data/_sass/oneflow/_notices.scss +109 -0
- data/_sass/oneflow/_page.scss +287 -0
- data/_sass/oneflow/_print.scss +252 -0
- data/_sass/oneflow/_reset.scss +187 -0
- data/_sass/oneflow/_sections.scss +29 -0
- data/_sass/oneflow/_utilities.scss +307 -0
- data/_sass/oneflow/_variables.scss +140 -0
- data/_sass/oneflow/skins/_air.scss +23 -0
- data/_sass/oneflow/skins/_aqua.scss +34 -0
- data/_sass/oneflow/skins/_contrast.scss +52 -0
- data/_sass/oneflow/skins/_dark.scss +30 -0
- data/_sass/oneflow/skins/_default.scss +5 -0
- data/_sass/oneflow/skins/_dirt.scss +33 -0
- data/_sass/oneflow/skins/_mint.scss +24 -0
- data/_sass/oneflow/skins/_neon.scss +63 -0
- data/_sass/oneflow/skins/_plum.scss +70 -0
- data/_sass/oneflow/skins/_sunrise.scss +49 -0
- data/_sass/oneflow/vendor/breakpoint/_breakpoint.scss +114 -0
- data/_sass/oneflow/vendor/breakpoint/_context.scss +95 -0
- data/_sass/oneflow/vendor/breakpoint/_helpers.scss +151 -0
- data/_sass/oneflow/vendor/breakpoint/_legacy-settings.scss +50 -0
- data/_sass/oneflow/vendor/breakpoint/_no-query.scss +15 -0
- data/_sass/oneflow/vendor/breakpoint/_parsers.scss +215 -0
- data/_sass/oneflow/vendor/breakpoint/_respond-to.scss +82 -0
- data/_sass/oneflow/vendor/breakpoint/_settings.scss +71 -0
- data/_sass/oneflow/vendor/breakpoint/parsers/_double.scss +33 -0
- data/_sass/oneflow/vendor/breakpoint/parsers/_query.scss +82 -0
- data/_sass/oneflow/vendor/breakpoint/parsers/_resolution.scss +31 -0
- data/_sass/oneflow/vendor/breakpoint/parsers/_single.scss +26 -0
- data/_sass/oneflow/vendor/breakpoint/parsers/_triple.scss +36 -0
- data/_sass/oneflow/vendor/breakpoint/parsers/double/_default-pair.scss +21 -0
- data/_sass/oneflow/vendor/breakpoint/parsers/double/_default.scss +22 -0
- data/_sass/oneflow/vendor/breakpoint/parsers/double/_double-string.scss +22 -0
- data/_sass/oneflow/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -0
- data/_sass/oneflow/vendor/breakpoint/parsers/single/_default.scss +13 -0
- data/_sass/oneflow/vendor/breakpoint/parsers/triple/_default.scss +18 -0
- data/_sass/oneflow/vendor/magnific-popup/_magnific-popup.scss +649 -0
- data/_sass/oneflow/vendor/magnific-popup/_settings.scss +46 -0
- data/_sass/oneflow/vendor/susy/_su.scss +4 -0
- data/_sass/oneflow/vendor/susy/_susy-prefix.scss +13 -0
- data/_sass/oneflow/vendor/susy/_susy.scss +5 -0
- data/_sass/oneflow/vendor/susy/plugins/_svg-grid.scss +5 -0
- data/_sass/oneflow/vendor/susy/plugins/svg-grid/_prefix.scss +7 -0
- data/_sass/oneflow/vendor/susy/plugins/svg-grid/_svg-api.scss +114 -0
- data/_sass/oneflow/vendor/susy/plugins/svg-grid/_svg-grid-math.scss +67 -0
- data/_sass/oneflow/vendor/susy/plugins/svg-grid/_svg-settings.scss +14 -0
- data/_sass/oneflow/vendor/susy/plugins/svg-grid/_svg-unprefix.scss +18 -0
- data/_sass/oneflow/vendor/susy/plugins/svg-grid/_svg-utilities.scss +133 -0
- data/_sass/oneflow/vendor/susy/susy/_api.scss +318 -0
- data/_sass/oneflow/vendor/susy/susy/_normalize.scss +261 -0
- data/_sass/oneflow/vendor/susy/susy/_parse.scss +163 -0
- data/_sass/oneflow/vendor/susy/susy/_settings.scss +329 -0
- data/_sass/oneflow/vendor/susy/susy/_su-math.scss +441 -0
- data/_sass/oneflow/vendor/susy/susy/_su-validate.scss +213 -0
- data/_sass/oneflow/vendor/susy/susy/_syntax-helpers.scss +191 -0
- data/_sass/oneflow/vendor/susy/susy/_unprefix.scss +56 -0
- data/_sass/oneflow/vendor/susy/susy/_utilities.scss +167 -0
- data/_sass/oneflow.scss +33 -0
- data/assets/css/all.min.css +9 -0
- data/assets/css/custom-styles.css +1 -0
- data/assets/css/main.scss +13 -0
- data/assets/fonts/great-vibes-v18-latin-regular.woff2 +0 -0
- data/assets/images/header.webp +0 -0
- data/assets/images/logo.webp +0 -0
- data/assets/images/sydney-2.webp +0 -0
- data/assets/images/sydney-3.webp +0 -0
- data/assets/images/sydney-4.webp +0 -0
- data/assets/images/sydney-5.webp +0 -0
- data/assets/images/sydney-6.webp +0 -0
- data/assets/js/_main.js +136 -0
- data/assets/js/lunr/lunr-en.js +73 -0
- data/assets/js/lunr/lunr-gr.js +526 -0
- data/assets/js/lunr/lunr-store.js +84 -0
- data/assets/js/lunr/lunr.js +3475 -0
- data/assets/js/lunr/lunr.min.js +6 -0
- data/assets/js/main.min.js +6 -0
- data/assets/js/plugins/gumshoe.js +484 -0
- data/assets/js/plugins/jquery.ba-throttle-debounce.js +252 -0
- data/assets/js/plugins/jquery.fitvids.js +82 -0
- data/assets/js/plugins/jquery.greedy-navigation.js +127 -0
- data/assets/js/plugins/jquery.magnific-popup.js +1860 -0
- data/assets/js/plugins/smooth-scroll.js +650 -0
- data/assets/js/vendor/jquery/jquery-3.6.0.js +10881 -0
- data/assets/webfonts/fa-brands-400.ttf +0 -0
- data/assets/webfonts/fa-brands-400.woff2 +0 -0
- data/assets/webfonts/fa-regular-400.ttf +0 -0
- data/assets/webfonts/fa-regular-400.woff2 +0 -0
- data/assets/webfonts/fa-solid-900.ttf +0 -0
- data/assets/webfonts/fa-solid-900.woff2 +0 -0
- data/assets/webfonts/fa-v4compatibility.ttf +0 -0
- data/assets/webfonts/fa-v4compatibility.woff2 +0 -0
- metadata +253 -0
@@ -0,0 +1,121 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
FOOTER
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
.page__footer {
|
6
|
+
|
7
|
+
text-align: center;
|
8
|
+
|
9
|
+
@include clearfix;
|
10
|
+
float: left;
|
11
|
+
margin-left: 0;
|
12
|
+
margin-right: 0;
|
13
|
+
width: 100%;
|
14
|
+
margin-top: 3em;
|
15
|
+
color: $muted-text-color;
|
16
|
+
-webkit-animation: $intro-transition;
|
17
|
+
animation: $intro-transition;
|
18
|
+
-webkit-animation-delay: 0.45s;
|
19
|
+
animation-delay: 0.45s;
|
20
|
+
background-color: $footer-background-color;
|
21
|
+
|
22
|
+
footer {
|
23
|
+
@include clearfix;
|
24
|
+
margin-left: auto;
|
25
|
+
margin-right: auto;
|
26
|
+
margin-top: 2em;
|
27
|
+
max-width: 100%;
|
28
|
+
padding: 0 1em 2em;
|
29
|
+
|
30
|
+
@include breakpoint($x-large) {
|
31
|
+
max-width: $x-large;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
a {
|
36
|
+
color: inherit;
|
37
|
+
text-decoration: none;
|
38
|
+
|
39
|
+
&:hover {
|
40
|
+
text-decoration: underline;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
.fas,
|
45
|
+
.fab,
|
46
|
+
.far,
|
47
|
+
.fal {
|
48
|
+
color: $muted-text-color;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
.page__footer-copyright {
|
53
|
+
margin-top: 10px;
|
54
|
+
font-family: $global-font-family;
|
55
|
+
font-size: $type-size-7;
|
56
|
+
}
|
57
|
+
|
58
|
+
.page__footer-follow {
|
59
|
+
ul {
|
60
|
+
margin: 0;
|
61
|
+
padding: 0;
|
62
|
+
list-style-type: none;
|
63
|
+
}
|
64
|
+
|
65
|
+
li {
|
66
|
+
display: inline-block;
|
67
|
+
padding-top: 0;
|
68
|
+
padding-bottom: 5px;
|
69
|
+
}
|
70
|
+
|
71
|
+
li + li:before {
|
72
|
+
content: "";
|
73
|
+
padding-right: 5px;
|
74
|
+
}
|
75
|
+
|
76
|
+
a {
|
77
|
+
padding-right: 10px;
|
78
|
+
font-weight: bold;
|
79
|
+
}
|
80
|
+
}
|
81
|
+
|
82
|
+
|
83
|
+
.socials {
|
84
|
+
list-style: none;
|
85
|
+
margin: 0;
|
86
|
+
padding: 0;
|
87
|
+
}
|
88
|
+
|
89
|
+
.socials__item {
|
90
|
+
display: inline-block;
|
91
|
+
margin-left: 7px;
|
92
|
+
}
|
93
|
+
|
94
|
+
.no-margin {
|
95
|
+
margin-left: 0px;
|
96
|
+
}
|
97
|
+
|
98
|
+
.socials__item__link {
|
99
|
+
position: relative;
|
100
|
+
display: block;
|
101
|
+
width: 50px;
|
102
|
+
height: 50px;
|
103
|
+
border-radius: 50%;
|
104
|
+
background: $primary-color;
|
105
|
+
font-size: 24px;
|
106
|
+
line-height: 50px;
|
107
|
+
text-align: center;
|
108
|
+
transition: background-color 0.3s ease;
|
109
|
+
|
110
|
+
&:hover {
|
111
|
+
background: $link-color;
|
112
|
+
}
|
113
|
+
}
|
114
|
+
|
115
|
+
.footer-icon {
|
116
|
+
color: $footer-background-color !important;
|
117
|
+
position: absolute;
|
118
|
+
top: 50%;
|
119
|
+
left: 50%;
|
120
|
+
transform: translate(-50%, -50%);
|
121
|
+
}
|
@@ -0,0 +1,97 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
MASTHEAD
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
.masthead {
|
6
|
+
position: absolute;
|
7
|
+
top: 0;
|
8
|
+
left: 0;
|
9
|
+
width: 100%;
|
10
|
+
background-color: $background-color;
|
11
|
+
|
12
|
+
border-bottom: 1px solid $border-color;
|
13
|
+
-webkit-animation: $intro-transition;
|
14
|
+
animation: $intro-transition;
|
15
|
+
-webkit-animation-delay: 0.15s;
|
16
|
+
animation-delay: 0.15s;
|
17
|
+
z-index: 20;
|
18
|
+
|
19
|
+
&__inner-wrap {
|
20
|
+
@include clearfix;
|
21
|
+
margin-left: auto;
|
22
|
+
margin-right: auto;
|
23
|
+
padding: 1em;
|
24
|
+
max-width: 100%;
|
25
|
+
display: -webkit-box;
|
26
|
+
display: -ms-flexbox;
|
27
|
+
display: flex;
|
28
|
+
-webkit-box-pack: justify;
|
29
|
+
-ms-flex-pack: justify;
|
30
|
+
justify-content: space-between;
|
31
|
+
font-family: $sans-serif-narrow;
|
32
|
+
|
33
|
+
@include breakpoint($x-large) {
|
34
|
+
max-width: $max-width;
|
35
|
+
}
|
36
|
+
|
37
|
+
nav {
|
38
|
+
z-index: 10;
|
39
|
+
}
|
40
|
+
|
41
|
+
a {
|
42
|
+
text-decoration: none;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
.site-logo img {
|
48
|
+
max-height: 4rem;
|
49
|
+
}
|
50
|
+
|
51
|
+
.site-title {
|
52
|
+
display: -webkit-box;
|
53
|
+
display: -ms-flexbox;
|
54
|
+
display: flex;
|
55
|
+
-ms-flex-item-align: center;
|
56
|
+
align-self: center;
|
57
|
+
font-weight: bold;
|
58
|
+
}
|
59
|
+
|
60
|
+
.site-subtitle {
|
61
|
+
display: block;
|
62
|
+
font-size: $type-size-8;
|
63
|
+
}
|
64
|
+
|
65
|
+
.masthead__menu {
|
66
|
+
float: left;
|
67
|
+
margin-left: 0;
|
68
|
+
margin-right: 0;
|
69
|
+
width: 100%;
|
70
|
+
clear: both;
|
71
|
+
|
72
|
+
.site-nav {
|
73
|
+
margin-left: 0;
|
74
|
+
|
75
|
+
@include breakpoint($small) {
|
76
|
+
float: right;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
ul {
|
81
|
+
margin: 0;
|
82
|
+
padding: 0;
|
83
|
+
clear: both;
|
84
|
+
list-style-type: none;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
.masthead__menu-item {
|
89
|
+
display: block;
|
90
|
+
list-style-type: none;
|
91
|
+
white-space: nowrap;
|
92
|
+
|
93
|
+
&--lg {
|
94
|
+
padding-right: 2em;
|
95
|
+
font-weight: 700;
|
96
|
+
}
|
97
|
+
}
|
@@ -0,0 +1,92 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
MIXINS
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
%tab-focus {
|
6
|
+
/* Default*/
|
7
|
+
outline: thin dotted $focus-color;
|
8
|
+
/* Webkit*/
|
9
|
+
outline: 5px auto $focus-color;
|
10
|
+
outline-offset: -2px;
|
11
|
+
}
|
12
|
+
|
13
|
+
/*
|
14
|
+
em function
|
15
|
+
========================================================================== */
|
16
|
+
|
17
|
+
@function em($target, $context: $doc-font-size) {
|
18
|
+
@return ($target / $context) * 1em;
|
19
|
+
}
|
20
|
+
|
21
|
+
|
22
|
+
/*
|
23
|
+
Bourbon clearfix
|
24
|
+
========================================================================== */
|
25
|
+
|
26
|
+
/*
|
27
|
+
* Provides an easy way to include a clearfix for containing floats.
|
28
|
+
* link http://cssmojo.com/latest_new_clearfix_so_far/
|
29
|
+
*
|
30
|
+
* example scss - Usage
|
31
|
+
*
|
32
|
+
* .element {
|
33
|
+
* @include clearfix;
|
34
|
+
* }
|
35
|
+
*
|
36
|
+
* example css - CSS Output
|
37
|
+
*
|
38
|
+
* .element::after {
|
39
|
+
* clear: both;
|
40
|
+
* content: "";
|
41
|
+
* display: table;
|
42
|
+
* }
|
43
|
+
*/
|
44
|
+
|
45
|
+
@mixin clearfix {
|
46
|
+
clear: both;
|
47
|
+
|
48
|
+
&::after {
|
49
|
+
clear: both;
|
50
|
+
content: "";
|
51
|
+
display: table;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
/*
|
56
|
+
Compass YIQ Color Contrast
|
57
|
+
https://github.com/easy-designs/yiq-color-contrast
|
58
|
+
========================================================================== */
|
59
|
+
|
60
|
+
@function yiq-is-light(
|
61
|
+
$color,
|
62
|
+
$threshold: $yiq-contrasted-threshold
|
63
|
+
) {
|
64
|
+
$red: red($color);
|
65
|
+
$green: green($color);
|
66
|
+
$blue: blue($color);
|
67
|
+
|
68
|
+
$yiq: (($red*299)+($green*587)+($blue*114))/1000;
|
69
|
+
|
70
|
+
@if $yiq-debug { @debug $yiq, $threshold; }
|
71
|
+
|
72
|
+
@return if($yiq >= $threshold, true, false);
|
73
|
+
}
|
74
|
+
|
75
|
+
@function yiq-contrast-color(
|
76
|
+
$color,
|
77
|
+
$dark: $yiq-contrasted-dark-default,
|
78
|
+
$light: $yiq-contrasted-light-default,
|
79
|
+
$threshold: $yiq-contrasted-threshold
|
80
|
+
) {
|
81
|
+
@return if(yiq-is-light($color, $threshold), $yiq-contrasted-dark-default, $yiq-contrasted-light-default);
|
82
|
+
}
|
83
|
+
|
84
|
+
@mixin yiq-contrasted(
|
85
|
+
$background-color,
|
86
|
+
$dark: $yiq-contrasted-dark-default,
|
87
|
+
$light: $yiq-contrasted-light-default,
|
88
|
+
$threshold: $yiq-contrasted-threshold
|
89
|
+
) {
|
90
|
+
background-color: $background-color;
|
91
|
+
color: yiq-contrast-color($background-color, $dark, $light, $threshold);
|
92
|
+
}
|
@@ -0,0 +1,412 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
NAVIGATION
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
|
6
|
+
/*
|
7
|
+
Priority plus navigation
|
8
|
+
========================================================================== */
|
9
|
+
|
10
|
+
.greedy-nav {
|
11
|
+
position: relative;
|
12
|
+
display: -webkit-box;
|
13
|
+
display: -ms-flexbox;
|
14
|
+
display: flex;
|
15
|
+
-webkit-box-align: center;
|
16
|
+
-ms-flex-align: center;
|
17
|
+
align-items: center;
|
18
|
+
min-height: $nav-height;
|
19
|
+
background: $background-color;
|
20
|
+
|
21
|
+
a {
|
22
|
+
display: block;
|
23
|
+
margin: 0 1rem;
|
24
|
+
color: $masthead-link-color;
|
25
|
+
text-decoration: none;
|
26
|
+
-webkit-transition: none;
|
27
|
+
transition: none;
|
28
|
+
|
29
|
+
&:hover {
|
30
|
+
color: $masthead-link-color-hover;
|
31
|
+
}
|
32
|
+
|
33
|
+
&.site-logo {
|
34
|
+
margin-left: 0;
|
35
|
+
margin-right: 0.5rem;
|
36
|
+
}
|
37
|
+
|
38
|
+
&.site-title {
|
39
|
+
margin-left: 0;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
img {
|
44
|
+
-webkit-transition: none;
|
45
|
+
transition: none;
|
46
|
+
}
|
47
|
+
|
48
|
+
&__toggle {
|
49
|
+
-ms-flex-item-align: center;
|
50
|
+
align-self: center;
|
51
|
+
height: $nav-toggle-height;
|
52
|
+
border: 0;
|
53
|
+
outline: none;
|
54
|
+
background-color: transparent;
|
55
|
+
cursor: pointer;
|
56
|
+
}
|
57
|
+
|
58
|
+
.visible-links {
|
59
|
+
display: -webkit-box;
|
60
|
+
display: -ms-flexbox;
|
61
|
+
display: flex;
|
62
|
+
-webkit-box-pack: end;
|
63
|
+
-ms-flex-pack: end;
|
64
|
+
justify-content: flex-end;
|
65
|
+
-webkit-box-flex: 1;
|
66
|
+
-ms-flex: 1;
|
67
|
+
flex: 1;
|
68
|
+
overflow: hidden;
|
69
|
+
|
70
|
+
li {
|
71
|
+
-webkit-box-flex: 0;
|
72
|
+
-ms-flex: none;
|
73
|
+
flex: none;
|
74
|
+
}
|
75
|
+
|
76
|
+
a {
|
77
|
+
position: relative;
|
78
|
+
|
79
|
+
&:before {
|
80
|
+
content: "";
|
81
|
+
position: absolute;
|
82
|
+
left: 0;
|
83
|
+
bottom: 0;
|
84
|
+
height: 4px;
|
85
|
+
background: $primary-color;
|
86
|
+
width: 100%;
|
87
|
+
-webkit-transition: $global-transition;
|
88
|
+
transition: $global-transition;
|
89
|
+
-webkit-transform: scaleX(0) translate3d(0, 0, 0);
|
90
|
+
transform: scaleX(0) translate3d(0, 0, 0); // hide
|
91
|
+
}
|
92
|
+
|
93
|
+
&:hover:before {
|
94
|
+
-webkit-transform: scaleX(1);
|
95
|
+
-ms-transform: scaleX(1);
|
96
|
+
transform: scaleX(1); // reveal
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
.hidden-links {
|
102
|
+
position: absolute;
|
103
|
+
top: 100%;
|
104
|
+
right: 0;
|
105
|
+
margin-top: 15px;
|
106
|
+
padding: 5px;
|
107
|
+
border: 1px solid $border-color;
|
108
|
+
border-radius: $border-radius;
|
109
|
+
background: $background-color;
|
110
|
+
-webkit-box-shadow: 0 2px 4px 0 rgba(#000, 0.16),
|
111
|
+
0 2px 10px 0 rgba(#000, 0.12);
|
112
|
+
box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
|
113
|
+
|
114
|
+
&.hidden {
|
115
|
+
display: none;
|
116
|
+
}
|
117
|
+
|
118
|
+
a {
|
119
|
+
margin: 0;
|
120
|
+
padding: 10px 20px;
|
121
|
+
font-size: $type-size-5;
|
122
|
+
|
123
|
+
&:hover {
|
124
|
+
color: $masthead-link-color-hover;
|
125
|
+
background: $navicon-link-color-hover;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
|
129
|
+
&:before {
|
130
|
+
content: "";
|
131
|
+
position: absolute;
|
132
|
+
top: -11px;
|
133
|
+
right: 10px;
|
134
|
+
width: 0;
|
135
|
+
border-style: solid;
|
136
|
+
border-width: 0 10px 10px;
|
137
|
+
border-color: $border-color transparent;
|
138
|
+
display: block;
|
139
|
+
z-index: 0;
|
140
|
+
}
|
141
|
+
|
142
|
+
&:after {
|
143
|
+
content: "";
|
144
|
+
position: absolute;
|
145
|
+
top: -10px;
|
146
|
+
right: 10px;
|
147
|
+
width: 0;
|
148
|
+
border-style: solid;
|
149
|
+
border-width: 0 10px 10px;
|
150
|
+
border-color: $background-color transparent;
|
151
|
+
display: block;
|
152
|
+
z-index: 1;
|
153
|
+
}
|
154
|
+
|
155
|
+
li {
|
156
|
+
display: block;
|
157
|
+
border-bottom: 1px solid $border-color;
|
158
|
+
|
159
|
+
&:last-child {
|
160
|
+
border-bottom: none;
|
161
|
+
}
|
162
|
+
}
|
163
|
+
}
|
164
|
+
}
|
165
|
+
|
166
|
+
.no-js {
|
167
|
+
.greedy-nav {
|
168
|
+
.visible-links {
|
169
|
+
-ms-flex-wrap: wrap;
|
170
|
+
flex-wrap: wrap;
|
171
|
+
overflow: visible;
|
172
|
+
}
|
173
|
+
}
|
174
|
+
}
|
175
|
+
|
176
|
+
/*
|
177
|
+
Navigation list
|
178
|
+
========================================================================== */
|
179
|
+
|
180
|
+
.nav__list {
|
181
|
+
margin-bottom: 1.5em;
|
182
|
+
|
183
|
+
input[type="checkbox"],
|
184
|
+
label {
|
185
|
+
display: none;
|
186
|
+
}
|
187
|
+
|
188
|
+
@include breakpoint(max-width $large - 1px) {
|
189
|
+
label {
|
190
|
+
position: relative;
|
191
|
+
display: inline-block;
|
192
|
+
padding: 0.5em 2.5em 0.5em 1em;
|
193
|
+
color: $gray;
|
194
|
+
font-size: $type-size-6;
|
195
|
+
font-weight: bold;
|
196
|
+
border: 1px solid $light-gray;
|
197
|
+
border-radius: $border-radius;
|
198
|
+
z-index: 20;
|
199
|
+
-webkit-transition: 0.2s ease-out;
|
200
|
+
transition: 0.2s ease-out;
|
201
|
+
cursor: pointer;
|
202
|
+
|
203
|
+
&:before,
|
204
|
+
&:after {
|
205
|
+
content: "";
|
206
|
+
position: absolute;
|
207
|
+
right: 1em;
|
208
|
+
top: 1.25em;
|
209
|
+
width: 0.75em;
|
210
|
+
height: 0.125em;
|
211
|
+
line-height: 1;
|
212
|
+
background-color: $gray;
|
213
|
+
-webkit-transition: 0.2s ease-out;
|
214
|
+
transition: 0.2s ease-out;
|
215
|
+
}
|
216
|
+
|
217
|
+
&:after {
|
218
|
+
-webkit-transform: rotate(90deg);
|
219
|
+
-ms-transform: rotate(90deg);
|
220
|
+
transform: rotate(90deg);
|
221
|
+
}
|
222
|
+
|
223
|
+
&:hover {
|
224
|
+
color: #fff;
|
225
|
+
border-color: $gray;
|
226
|
+
background-color: mix(white, #000, 20%);
|
227
|
+
|
228
|
+
&:before,
|
229
|
+
&:after {
|
230
|
+
background-color: #fff;
|
231
|
+
}
|
232
|
+
}
|
233
|
+
}
|
234
|
+
|
235
|
+
/* selected*/
|
236
|
+
input:checked + label {
|
237
|
+
color: white;
|
238
|
+
background-color: mix(white, #000, 20%);
|
239
|
+
|
240
|
+
&:before,
|
241
|
+
&:after {
|
242
|
+
background-color: #fff;
|
243
|
+
}
|
244
|
+
}
|
245
|
+
|
246
|
+
/* on hover show expand*/
|
247
|
+
label:hover:after {
|
248
|
+
-webkit-transform: rotate(90deg);
|
249
|
+
-ms-transform: rotate(90deg);
|
250
|
+
transform: rotate(90deg);
|
251
|
+
}
|
252
|
+
|
253
|
+
input:checked + label:hover:after {
|
254
|
+
-webkit-transform: rotate(0);
|
255
|
+
-ms-transform: rotate(0);
|
256
|
+
transform: rotate(0);
|
257
|
+
}
|
258
|
+
|
259
|
+
ul {
|
260
|
+
margin-bottom: 1em;
|
261
|
+
}
|
262
|
+
|
263
|
+
a {
|
264
|
+
display: block;
|
265
|
+
padding: 0.25em 0;
|
266
|
+
|
267
|
+
@include breakpoint($large) {
|
268
|
+
padding-top: 0.125em;
|
269
|
+
padding-bottom: 0.125em;
|
270
|
+
}
|
271
|
+
|
272
|
+
&:hover {
|
273
|
+
text-decoration: underline;
|
274
|
+
}
|
275
|
+
}
|
276
|
+
}
|
277
|
+
}
|
278
|
+
|
279
|
+
.nav__list .nav__items {
|
280
|
+
margin: 0;
|
281
|
+
font-size: 1.25rem;
|
282
|
+
|
283
|
+
a {
|
284
|
+
color: inherit;
|
285
|
+
}
|
286
|
+
|
287
|
+
.active {
|
288
|
+
margin-left: -0.5em;
|
289
|
+
padding-left: 0.5em;
|
290
|
+
padding-right: 0.5em;
|
291
|
+
font-weight: bold;
|
292
|
+
}
|
293
|
+
|
294
|
+
@include breakpoint(max-width $large - 1px) {
|
295
|
+
position: relative;
|
296
|
+
max-height: 0;
|
297
|
+
opacity: 0%;
|
298
|
+
overflow: hidden;
|
299
|
+
z-index: 10;
|
300
|
+
-webkit-transition: 0.3s ease-in-out;
|
301
|
+
transition: 0.3s ease-in-out;
|
302
|
+
-webkit-transform: translate(0, 10%);
|
303
|
+
-ms-transform: translate(0, 10%);
|
304
|
+
transform: translate(0, 10%);
|
305
|
+
}
|
306
|
+
}
|
307
|
+
|
308
|
+
@include breakpoint(max-width $large - 1px) {
|
309
|
+
.nav__list input:checked ~ .nav__items {
|
310
|
+
-webkit-transition: 0.5s ease-in-out;
|
311
|
+
transition: 0.5s ease-in-out;
|
312
|
+
max-height: 9999px; /* exaggerate max-height to accommodate tall lists*/
|
313
|
+
overflow: visible;
|
314
|
+
opacity: 1;
|
315
|
+
margin-top: 1em;
|
316
|
+
-webkit-transform: translate(0, 0);
|
317
|
+
-ms-transform: translate(0, 0);
|
318
|
+
transform: translate(0, 0);
|
319
|
+
}
|
320
|
+
}
|
321
|
+
|
322
|
+
.nav__title {
|
323
|
+
margin: 0;
|
324
|
+
padding: 0.5rem 0.75rem;
|
325
|
+
font-family: $sans-serif-narrow;
|
326
|
+
font-size: $type-size-5;
|
327
|
+
font-weight: bold;
|
328
|
+
}
|
329
|
+
|
330
|
+
.nav__sub-title {
|
331
|
+
display: block;
|
332
|
+
margin: 0.5rem 0;
|
333
|
+
padding: 0.25rem 0;
|
334
|
+
font-family: $sans-serif-narrow;
|
335
|
+
font-size: $type-size-6;
|
336
|
+
font-weight: bold;
|
337
|
+
text-transform: uppercase;
|
338
|
+
border-bottom: 1px solid $border-color;
|
339
|
+
}
|
340
|
+
|
341
|
+
/*
|
342
|
+
Table of contents navigation
|
343
|
+
========================================================================== */
|
344
|
+
|
345
|
+
.toc {
|
346
|
+
font-family: $sans-serif-narrow;
|
347
|
+
color: $gray;
|
348
|
+
background-color: $background-color;
|
349
|
+
border: 1px solid $border-color;
|
350
|
+
border-radius: $border-radius;
|
351
|
+
-webkit-box-shadow: $box-shadow;
|
352
|
+
box-shadow: $box-shadow;
|
353
|
+
|
354
|
+
.nav__title {
|
355
|
+
color: #fff;
|
356
|
+
font-size: $type-size-6;
|
357
|
+
background: $primary-color;
|
358
|
+
border-top-left-radius: $border-radius;
|
359
|
+
border-top-right-radius: $border-radius;
|
360
|
+
}
|
361
|
+
|
362
|
+
// Scrollspy marks toc items as .active when they are in focus
|
363
|
+
.active a {
|
364
|
+
@include yiq-contrasted($active-color);
|
365
|
+
}
|
366
|
+
}
|
367
|
+
|
368
|
+
.toc__menu {
|
369
|
+
margin: 0;
|
370
|
+
padding: 0;
|
371
|
+
width: 100%;
|
372
|
+
list-style: none;
|
373
|
+
font-size: $type-size-6;
|
374
|
+
|
375
|
+
@include breakpoint($large) {
|
376
|
+
font-size: $type-size-7;
|
377
|
+
}
|
378
|
+
|
379
|
+
a {
|
380
|
+
display: block;
|
381
|
+
padding: 0.25rem 0.75rem;
|
382
|
+
color: $muted-text-color;
|
383
|
+
font-weight: bold;
|
384
|
+
line-height: 1.5;
|
385
|
+
border-bottom: 1px solid $border-color;
|
386
|
+
|
387
|
+
&:hover {
|
388
|
+
color: $text-color;
|
389
|
+
}
|
390
|
+
}
|
391
|
+
|
392
|
+
li ul > li a {
|
393
|
+
padding-left: 1.25rem;
|
394
|
+
font-weight: normal;
|
395
|
+
}
|
396
|
+
|
397
|
+
li ul li ul > li a {
|
398
|
+
padding-left: 1.75rem;
|
399
|
+
}
|
400
|
+
|
401
|
+
li ul li ul li ul > li a {
|
402
|
+
padding-left: 2.25rem;
|
403
|
+
}
|
404
|
+
|
405
|
+
li ul li ul li ul li ul > li a {
|
406
|
+
padding-left: 2.75rem;
|
407
|
+
}
|
408
|
+
|
409
|
+
li ul li ul li ul li ul li ul > li a {
|
410
|
+
padding-left: 3.25rem
|
411
|
+
}
|
412
|
+
}
|