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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cdcefc068fc966531fc6c50d762297bafeb9c528
4
- data.tar.gz: b121c373944f5e7d6902ac25b80307b5587bd31c
3
+ metadata.gz: b38ab3db6491e2df3da00b6400609955040cccae
4
+ data.tar.gz: 3a06573224d02b920b22c656c59dda2015d31dac
5
5
  SHA512:
6
- metadata.gz: 639f60e5f2481748c9a5956460731798d3ced5c7c00af35833f3334476b7288b40a2c2422df6735e393b9ed1dbd2d7fec5548e0f44e0ac27908ca8074b35948c
7
- data.tar.gz: e4b0a3744566d062383326d037f78fce9758177d2fa3beec025c3d24b0de672e77e181cf3579e2d8b585b0297d802e68ded50b1c64d59a25b9a1ac8099947f26
6
+ metadata.gz: 1c0a577688b3d08be0b3b75758169ec12b559349a1970bedcda291831fa340b915f03023fdac95296ea54e5f92d777874586feececd069262675173503ea37f7
7
+ data.tar.gz: 8701dfb1c2a7d3d5c1e09636cefd113382f1ff5e47a0d7a070cb2a4501d0eaeafa159624cde702595ca2dbcb04c5ed5df0fb2fa308535c039830c67ea866a85c
@@ -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-right"
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 {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ovh-jekyll-doc-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - ovh