fix(pinterest): sidebar navigation icons (#1683)

fix(pinterest): Nav icons selectors changes
This commit is contained in:
nuexq authored and GitHub committed 2025-03-29 21:30:16 +00:00
1 parent c1ad05d596
commit fbbbaea6f0
1 file changed
+5 -7
+5 -7
View File
@@ -378,9 +378,8 @@
}
/* Nav */
nav#VerticalNavContent {
a[data-test-id="home-tab"] div[aria-label="Home"] {
a[data-test-id="home-tab"] div {
&[style*="M11.3217 0.307444C11.7345 0.0407477"] {
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.322.307a1.25 1.25 0 0 1 1.356 0l9.684 6.256c.356.23.571.625.571 1.05V23.25H1.067V7.613c0-.425.215-.82.571-1.05zM3.567 8.293V20.75h16.866V8.293L12 2.846z" fill="@{subtext1}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M14.25 16.047V20.5h-.016V23h2.516v-6.953a4.75 4.75 0 1 0-9.5 0V23h2.5v-6.953a2.25 2.25 0 1 1 4.5 0" fill="@{subtext1}"/></svg>');
background-image: url(~'data:image/svg+xml,@{svg}') !important;
@@ -391,7 +390,7 @@
}
}
a[data-test-id="create-tab"] div[aria-label="Create"] {
a[data-test-id="create-tab"] div {
&[style*="M19 3.5H5C4.17157 3.5"] {
@svg: escape('<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M19 3.5H5A1.5 1.5 0 0 0 3.5 5v14A1.5 1.5 0 0 0 5 20.5h14a1.5 1.5 0 0 0 1.5-1.5V5A1.5 1.5 0 0 0 19 3.5M5 1a4 4 0 0 0-4 4v14a4 4 0 0 0 4 4h14a4 4 0 0 0 4-4V5a4 4 0 0 0-4-4z" fill="@{subtext1}"/><path d="M13.25 7a1.25 1.25 0 1 0-2.5 0v3.75H7a1.25 1.25 0 1 0 0 2.5h3.75V17a1.25 1.25 0 1 0 2.5 0v-3.75H17a1.25 1.25 0 1 0 0-2.5h-3.75z" fill="@{subtext1}"/></svg>');
background-image: url("data:image/svg+xml,@{svg}") !important;
@@ -402,8 +401,7 @@
}
}
div[aria-label*="Notifications"] div[style*="background-image"],
div[aria-label="Updates"] div[aria-label*="Updates"] {
div[aria-label*="Updates"] div {
&[style*="M16.5 14.227"] {
@svg: escape('<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.5 14.227V7a4.5 4.5 0 1 0-9 0v7.227l-.764.737c-.475.458-.89.974-1.233 1.536h12.994a7.7 7.7 0 0 0-1.233-1.536zm4.801 2.273A10 10 0 0 1 22 19H2a10 10 0 0 1 .699-2.5A10.2 10.2 0 0 1 5 13.165V7a7 7 0 1 1 14 0v6.165a10.2 10.2 0 0 1 2.301 3.335M15 21H9q0 .255.041.5A3 3 0 0 0 15 21" fill="@{subtext1}"/></svg>');
background-image: url("data:image/svg+xml,@{svg}") !important;
@@ -425,7 +423,7 @@
}
}
div[data-test-id="vertical-nav-more-options-button"] div[aria-label="More options"] {
div[data-test-id="vertical-nav-more-options-button"] div {
&[style*="clip0_449_32461"] {
@svg: escape('<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M4 7.45v9.1l8 4.57 8-4.57v-9.1l-8-4.57zM12 0 1.5 6v12L12 24l10.5-6V6z" fill="@{subtext1}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12 9a3 3 0 1 0 0 6 3 3 0 0 0 0-6m-5.5 3a5.5 5.5 0 1 1 11 0 5.5 5.5 0 0 1-11 0" fill="@{subtext1}"/></g><defs><clipPath id="a"><rect width="24" height="24" fill="@{base}"/></clipPath></defs></svg>');
background-image: url("data:image/svg+xml,@{svg}") !important;
@@ -436,7 +434,7 @@
}
}
a[data-test-id="today-tab"] div[aria-label="Explore"] {
a[data-test-id="today-tab"] div {
&[style*="clip0_449_32453"] {
@svg: escape('<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 21.5a9.5 9.5 0 1 0 0-19 9.5 9.5 0 0 0 0 19m0 2.5c6.627 0 12-5.373 12-12S18.627 0 12 0 0 5.373 0 12s5.373 12 12 12" fill="@{subtext1}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M18.384 5.616c.354.354.462.884.277 1.348l-2.917 7.292-.008.019a2.95 2.95 0 0 1-1.677 1.656l-7.11 2.736a1.25 1.25 0 0 1-1.616-1.616l2.735-7.108a2.95 2.95 0 0 1 1.657-1.679l7.31-2.925a1.25 1.25 0 0 1 1.349.277m-4.972 7.74.003-.008 1.841-4.604-4.605 1.842a.45.45 0 0 0-.25.254l-1.724 4.483 4.483-1.725a.45.45 0 0 0 .252-.242" fill="@{subtext1}"/></g><defs><clipPath id="a"><rect width="24" height="24" fill="@{base}"/></clipPath></defs></svg>');
background-image: url("data:image/svg+xml,@{svg}") !important;