ovh-jekyll-doc-theme 0.1.9 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b38ab3db6491e2df3da00b6400609955040cccae
4
- data.tar.gz: 3a06573224d02b920b22c656c59dda2015d31dac
3
+ metadata.gz: ab4aa429552c371baaea52fdac6cb0510055dc79
4
+ data.tar.gz: cdee4fe8de1e27a31c57aecdcd6a575ec7a2b7e9
5
5
  SHA512:
6
- metadata.gz: 1c0a577688b3d08be0b3b75758169ec12b559349a1970bedcda291831fa340b915f03023fdac95296ea54e5f92d777874586feececd069262675173503ea37f7
7
- data.tar.gz: 8701dfb1c2a7d3d5c1e09636cefd113382f1ff5e47a0d7a070cb2a4501d0eaeafa159624cde702595ca2dbcb04c5ed5df0fb2fa308535c039830c67ea866a85c
6
+ metadata.gz: 4512f19b4e5fc0ca9d6dee21f52c580c17a8e4595612a8eabac2f4dfc51d38fbdd9f2b8c0b1403241478b9d0ac133e6234208b9debbed43f44a617df7c0257fe
7
+ data.tar.gz: 7aae7d9cc9c0187eec9498c5f80dd6d5ac0b57590968d88e6fde719d5bf60647b55de5113ec5e9b2baf4dcda1e423dc2136c97b487fddca0c54745ec8479bdcf
@@ -20,10 +20,10 @@
20
20
  href="{{site.baseurl}}{{navEntry.url}}">
21
21
  {% if navEntry.subnav[0] %}
22
22
  {% if navEntry.url == page.url %}
23
- <i class="navbar__link-chevron oui-icon oui-icon-chevron-down"
23
+ <i class="navbar__link-chevron oui-icon oui-icon-chevron-right"
24
24
  aria-hidden="true"></i>
25
25
  {% else %}
26
- <i class="navbar__link-chevron navbar__link-chevron--active oui-icon oui-icon-chevron-down"
26
+ <i class="navbar__link-chevron navbar__link-chevron--active oui-icon oui-icon-chevron-right"
27
27
  aria-hidden="true"></i>
28
28
  {% endif %}
29
29
  {% endif %}
@@ -4,9 +4,11 @@ $sidebar-color-secondary: $oui-color-rhino;
4
4
  @keyframes openNavEntry {
5
5
  from {
6
6
  left: -25%;
7
+ opacity: 0;
7
8
  }
8
9
  to {
9
- left: 0
10
+ left: 0;
11
+ opacity: 1;
10
12
  }
11
13
  }
12
14
 
@@ -15,7 +17,7 @@ $sidebar-color-secondary: $oui-color-rhino;
15
17
  transform: rotate(0);
16
18
  }
17
19
  to {
18
- transform: rotate(90);
20
+ transform: rotate(90deg);
19
21
  }
20
22
  }
21
23
 
@@ -77,8 +79,10 @@ $sidebar-color-secondary: $oui-color-rhino;
77
79
 
78
80
  &__entries,
79
81
  &__subentries {
82
+ width: 100%;
80
83
  padding: 0;
81
84
  margin: 0;
85
+ overflow-x: hidden;
82
86
  }
83
87
 
84
88
  &__entries {
@@ -101,6 +105,7 @@ $sidebar-color-secondary: $oui-color-rhino;
101
105
  height: 0;
102
106
  position: relative;
103
107
  overflow-y: auto;
108
+ background-color: $sidebar-color-secondary;
104
109
 
105
110
  &--active {
106
111
  height: auto;
@@ -113,9 +118,11 @@ $sidebar-color-secondary: $oui-color-rhino;
113
118
  }
114
119
 
115
120
  &__entry {
121
+ width: 100%;
116
122
  list-style-type: none;
117
123
  padding: 0;
118
124
  margin: 0;
125
+ overflow-x: hidden;
119
126
  }
120
127
 
121
128
  &__link {
@@ -129,7 +136,7 @@ $sidebar-color-secondary: $oui-color-rhino;
129
136
  padding-left: $space-l2;
130
137
  position: relative;
131
138
  left: -25%;
132
- background-color: $sidebar-color-secondary;
139
+ opacity: 0;
133
140
  }
134
141
  }
135
142
 
@@ -146,6 +153,7 @@ $sidebar-color-secondary: $oui-color-rhino;
146
153
  font-size: .8rem;
147
154
  color: white;
148
155
  opacity: .6;
156
+ transform: rotate(0);
149
157
 
150
158
  &--active {
151
159
  animation: selectedNavEntry .1s ease-in .1s;
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.9
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ovh