Skip to content

Commit

Permalink
remove unused styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeesun Kim authored and Jeesun Kim committed Mar 6, 2024
1 parent 080eaf4 commit 4ff22cc
Showing 1 changed file with 6 additions and 30 deletions.
36 changes: 6 additions & 30 deletions src/styles/globals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,7 @@
color: var(--Nav-navLink-color);
text-decoration: none;
padding: pxToRem(12px) 0;
transition:
color var(--sds-anim-transition-default),
transition: color var(--sds-anim-transition-default),
border-color var(--sds-anim-transition-default);
border-bottom: 2px solid var(--Nav-navLink-border-color);
white-space: nowrap;
Expand All @@ -206,8 +205,7 @@
line-height: pxToRem(20px);
font-weight: var(--sds-fw-medium);
color: var(--SidebarLink-color);
transition:
color var(--sds-anim-transition-default),
transition: color var(--sds-anim-transition-default),
font-weight var(--sds-anim-transition-default);
text-decoration: none;
display: flex;
Expand Down Expand Up @@ -244,11 +242,9 @@
}

// Highlight if nested link is selected
&:has(
~ .SidebarLink__nestedItemsWrapper
> .SidebarLink__nestedItems
> [data-is-active="true"]
) {
&:has(~ .SidebarLink__nestedItemsWrapper
> .SidebarLink__nestedItems
> [data-is-active="true"]) {
--SidebarLink-color: var(--sds-clr-gray-12);
font-weight: var(--sds-fw-semi-bold);
}
Expand All @@ -269,9 +265,7 @@
&__nestedItemsWrapper {
display: grid;
grid-template-rows: 0fr;
transition:
grid-template-rows 0.5s ease-out,
margin-top 0.5s ease-out;
transition: grid-template-rows 0.5s ease-out, margin-top 0.5s ease-out;
margin-left: pxToRem(24px);
margin-top: pxToRem(-8px);

Expand Down Expand Up @@ -309,21 +303,3 @@
font-size: pxToRem(14px);
line-height: pxToRem(20px);
}

.IntroCards {
display: grid;
gap: pxToRem(12px);
grid-template-columns: 1fr 1fr;

.Card {
display: flex;
flex-direction: column;
gap: pxToRem(8px);
justify-content: space-between;

:nth-child(2) {
flex: 1;
}
}
}

0 comments on commit 4ff22cc

Please sign in to comment.