Skip to content

Commit

Permalink
add .va-nav-breadcrumbs--playbook to styles (#2367)
Browse files Browse the repository at this point in the history
* add .va-nav-breadcrumbs--playbook to styles

* add comment to document usage

* update comment to document usage
  • Loading branch information
powellkerry authored Nov 27, 2024
1 parent 7d62eb6 commit 4d5a452
Showing 1 changed file with 71 additions and 0 deletions.
71 changes: 71 additions & 0 deletions src/site/assets/sass/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,77 @@
}
}

//===== Playbook

// ToDo: It appears that the page-playbook.html template that uses this class is no longer used, can we remove the template and the following classes?
.va-nav-breadcrumbs--playbook {
background: none;
margin: 0 0 1em 0;
padding: 0;

h2 {
font-size: 1em;
}

li {
text-transform: none;
margin: 0.25em 0;
padding: 0.1em;
display: inline-block;
line-height: 1.15em;
vertical-align: middle;
font-size: 1.35em;

&:hover {
border-bottom: none;
text-decoration: none;
}
}

a {
border-bottom: 3px solid var(--vads-color-white);
text-decoration: none !important;
color: var(--vads-color-white);
&:hover {
text-decoration: none;
background: var(--color-link-default-hover);
border-bottom: 3px solid var(--vads-color-warning);
}
}
}

.va-nav-breadcrumbs--playbook {
.parent {
padding-top: 0.5em;
margin: 0 0 0.75em 0;

&:after {
content: "";
display: inline-block;
color: var(--vads-color-white);
padding: 0 0.5em;
}
}

.active {
background: var(--vads-color-warning);
color: var(--vads-color-black);
font: 400 1.35em / 1.15em var(--font-family-serif);
margin: 0.5em 0;
padding: 0.2em;

@media (min-width: 768px) {
font-size: 1.8em;
}

&:before {
content: "";
padding: 0;
margin: 0;
}
}
}

// START: Styles for mobile app promo banner
.smartbanner {
position: absolute;
Expand Down

0 comments on commit 4d5a452

Please sign in to comment.