Skip to content

Commit

Permalink
MAAS documentation example background override
Browse files Browse the repository at this point in the history
  • Loading branch information
jmuzina committed Aug 14, 2024
1 parent d271160 commit e672a21
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions templates/docs/examples/templates/maas-docs-grid.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
{% block style %}
<style>
body { margin: 0; }

/* Make the search box stand out from its highlighted strip background */
#search-docs.is-maas-docs .p-search-box__input {
background-color: #e2e2e2 !important;
}
</style>
{% endblock %}

Expand Down Expand Up @@ -42,13 +47,12 @@
</div>
</header>

<section id="search-docs" class="p-strip--highlighted is-shallow">
<section id="search-docs" class="p-strip--highlighted is-shallow is-maas-docs">
<div class="row">
<form class="p-search-box u-no-margin--bottom">
<input aria-label="search" type="search" class="p-search-box__input" name="q" placeholder="Search documentation" required="" autocomplete="on">
<button type="reset" class="p-search-box__reset" name="close"><i class="p-icon--close">Close</i></button>
<button type="submit" name="submitSearch" class="p-search-box__button"><i class="p-icon--search">Search</i></button>

</form>
</div>
</section>
Expand Down

0 comments on commit e672a21

Please sign in to comment.