Skip to content

Commit

Permalink
Merge pull request #30 from rh-uxd/ToC-updates
Browse files Browse the repository at this point in the history
fix (ToC): new styling
  • Loading branch information
andrew-ronaldson authored Jul 8, 2024
2 parents 0d7be2f + fbe5235 commit 6ee1be8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
6 changes: 5 additions & 1 deletion assets/styles/site-styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -1450,8 +1450,9 @@
color: var(--pf-global--BorderColor--light-100);
font-weight: bold;
display: inline-block;
width: 1em;
width: .5em;
margin-left: -1em;
margin-right: 1em;
}

.ux-c-toc__listItem:first-child {
Expand All @@ -1469,6 +1470,9 @@
}
.ux-c-toc__link:hover,.ux-c-toc__link:active, .ux-c-toc__link.pf-m-current {
color: var(--pf-global--palette--black-900);
background: var(--pf-global--BackgroundColor--200);
padding: .25rem .75rem;
border-radius:6px;
text-decoration: none;
}

Expand Down
17 changes: 10 additions & 7 deletions assets/styles/staging-site-styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -1344,12 +1344,13 @@
}

.ux-c-toc__listItem::before {
content: "\2022";
color: var(--pf-global--BorderColor--light-100);
font-weight: bold;
display: inline-block;
width: 1em;
margin-left: -1em;
content: "\2022";
color: var(--pf-global--BorderColor--light-100);
font-weight: bold;
display: inline-block;
width: .5em;
margin-left: -1em;
margin-right: 1em;
}

.ux-c-toc__listItem:first-child {
Expand All @@ -1367,7 +1368,9 @@
}
.ux-c-toc__link:hover,.ux-c-toc__link:active, .ux-c-toc__link.pf-m-current {
color: var(--pf-global--palette--black-900);
text-decoration: none;
background: var(--pf-global--BackgroundColor--200);
padding: .25rem .75rem;
border-radius:6px;
}

.ux-c-label--tags {
Expand Down

0 comments on commit 6ee1be8

Please sign in to comment.