@internetarchive/ia-topnav 1.3.1-alpha4 → 1.3.1-alpha5

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@internetarchive/ia-topnav",
3
- "version": "1.3.1-alpha4",
3
+ "version": "1.3.1-alpha5",
4
4
  "description": "Top nav for Internet Archive",
5
5
  "license": "AGPL-3.0-only",
6
6
  "main": "index.js",
@@ -4,14 +4,13 @@ export default html`
4
4
  <svg
5
5
  width="40"
6
6
  height="40"
7
+ viewBox="0 0 40 40"
7
8
  xmlns="http://www.w3.org/2000/svg"
8
9
  xmlns:svg="http://www.w3.org/2000/svg"
9
10
  aria-labelledby="donateTitleID donateDescID"
10
11
  >
11
12
  <title id="donateTitleID">Donate icon</title>
12
13
  <desc id="donateDescID">An illustration of a heart shape</desc>
13
- <g class="layer">
14
- <path class="fill-color" d="m32.6,8.12c-1.57,-1.51 -3.46,-2.21 -5.65,-2.11c-1,0.03 -2.14,0.51 -3.42,1.44c-1.28,0.92 -2.28,2.09 -3.03,3.51c-0.71,-1.41 -1.72,-2.59 -3,-3.51c-1.29,-0.93 -2.43,-1.41 -3.41,-1.44c-1.46,-0.07 -2.8,0.23 -4.02,0.88c-1.23,0.65 -2.21,1.6 -2.94,2.83c-0.74,1.24 -1.11,2.63 -1.12,4.17c-0.05,2.56 0.85,5.01 2.68,7.37c1.46,1.88 3.52,4.21 6.19,7.04c2.66,2.81 4.53,4.71 5.62,5.69c1,-0.88 2.85,-2.75 5.55,-5.6s4.81,-5.23 6.31,-7.13c1.81,-2.36 2.71,-4.81 2.66,-7.37c-0.04,-2.35 -0.83,-4.28 -2.4,-5.77z"/>
15
- </g>
14
+ <path class="fill-color" d="m32.6,8.12c-1.57,-1.51 -3.46,-2.21 -5.65,-2.11c-1,0.03 -2.14,0.51 -3.42,1.44c-1.28,0.92 -2.28,2.09 -3.03,3.51c-0.71,-1.41 -1.72,-2.59 -3,-3.51c-1.29,-0.93 -2.43,-1.41 -3.41,-1.44c-1.46,-0.07 -2.8,0.23 -4.02,0.88c-1.23,0.65 -2.21,1.6 -2.94,2.83c-0.74,1.24 -1.11,2.63 -1.12,4.17c-0.05,2.56 0.85,5.01 2.68,7.37c1.46,1.88 3.52,4.21 6.19,7.04c2.66,2.81 4.53,4.71 5.62,5.69c1,-0.88 2.85,-2.75 5.55,-5.6s4.81,-5.23 6.31,-7.13c1.81,-2.36 2.71,-4.81 2.66,-7.37c-0.04,-2.35 -0.83,-4.28 -2.4,-5.77z"/>
16
15
  </svg>
17
16
  `;
@@ -8,7 +8,7 @@ export default css`
8
8
  nav {
9
9
  position: absolute;
10
10
  right: 0;
11
- z-index: 3;
11
+ z-index: 4;
12
12
  overflow: hidden;
13
13
  font-size: 1.6rem;
14
14
  background-color: var(--dropdownMenuBg);
@@ -30,7 +30,6 @@ export default css`
30
30
  .right-side-section {
31
31
  display: flex;
32
32
  user-select: none;
33
- align-items: center;
34
33
  }
35
34
  button {
36
35
  background: none;
@@ -202,7 +201,7 @@ export default css`
202
201
 
203
202
  nav {
204
203
  display: block;
205
- z-index: 3;
204
+ z-index: 4;
206
205
  height: 5rem;
207
206
  padding-right: 1.5rem;
208
207
  }
@@ -15,7 +15,7 @@ export default css`
15
15
  position: absolute;
16
16
  right: 0;
17
17
  left: 0;
18
- z-index: 3;
18
+ z-index: 4;
19
19
  padding: 0 4.5rem;
20
20
  font-size: 1.6rem;
21
21
  background-color: var(--searchMenuBg);