ovh-jekyll-doc-theme 0.1.8 → 0.1.9
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 +4 -4
- data/_includes/navbar.html +1 -1
- data/_sass/components/_sidebar.scss +29 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b38ab3db6491e2df3da00b6400609955040cccae
|
4
|
+
data.tar.gz: 3a06573224d02b920b22c656c59dda2015d31dac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c0a577688b3d08be0b3b75758169ec12b559349a1970bedcda291831fa340b915f03023fdac95296ea54e5f92d777874586feececd069262675173503ea37f7
|
7
|
+
data.tar.gz: 8701dfb1c2a7d3d5c1e09636cefd113382f1ff5e47a0d7a070cb2a4501d0eaeafa159624cde702595ca2dbcb04c5ed5df0fb2fa308535c039830c67ea866a85c
|
data/_includes/navbar.html
CHANGED
@@ -23,7 +23,7 @@
|
|
23
23
|
<i class="navbar__link-chevron oui-icon oui-icon-chevron-down"
|
24
24
|
aria-hidden="true"></i>
|
25
25
|
{% else %}
|
26
|
-
<i class="navbar__link-chevron oui-icon oui-icon-chevron-
|
26
|
+
<i class="navbar__link-chevron navbar__link-chevron--active oui-icon oui-icon-chevron-down"
|
27
27
|
aria-hidden="true"></i>
|
28
28
|
{% endif %}
|
29
29
|
{% endif %}
|
@@ -1,6 +1,24 @@
|
|
1
1
|
$sidebar-color-main: $oui-color-zodiac;
|
2
2
|
$sidebar-color-secondary: $oui-color-rhino;
|
3
3
|
|
4
|
+
@keyframes openNavEntry {
|
5
|
+
from {
|
6
|
+
left: -25%;
|
7
|
+
}
|
8
|
+
to {
|
9
|
+
left: 0
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
13
|
+
@keyframes selectedNavEntry {
|
14
|
+
from {
|
15
|
+
transform: rotate(0);
|
16
|
+
}
|
17
|
+
to {
|
18
|
+
transform: rotate(90);
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
4
22
|
.navbar {
|
5
23
|
min-height: 0;
|
6
24
|
padding: 0;
|
@@ -86,6 +104,11 @@ $sidebar-color-secondary: $oui-color-rhino;
|
|
86
104
|
|
87
105
|
&--active {
|
88
106
|
height: auto;
|
107
|
+
|
108
|
+
.navbar__link--lvl-2 {
|
109
|
+
animation: openNavEntry .2s ease-in .1s;
|
110
|
+
left: 0;
|
111
|
+
}
|
89
112
|
}
|
90
113
|
}
|
91
114
|
|
@@ -104,6 +127,8 @@ $sidebar-color-secondary: $oui-color-rhino;
|
|
104
127
|
&--lvl {
|
105
128
|
&-2 {
|
106
129
|
padding-left: $space-l2;
|
130
|
+
position: relative;
|
131
|
+
left: -25%;
|
107
132
|
background-color: $sidebar-color-secondary;
|
108
133
|
}
|
109
134
|
}
|
@@ -121,6 +146,10 @@ $sidebar-color-secondary: $oui-color-rhino;
|
|
121
146
|
font-size: .8rem;
|
122
147
|
color: white;
|
123
148
|
opacity: .6;
|
149
|
+
|
150
|
+
&--active {
|
151
|
+
animation: selectedNavEntry .1s ease-in .1s;
|
152
|
+
}
|
124
153
|
}
|
125
154
|
|
126
155
|
&-active {
|