Website: Add link to contribute to the top of the query library (#14139)

Closes: #13896

Changes:
- Added a link to edit
`/docs/01-Using-Fleet/standard-query-library/standard-query-library.yml`
to the top of fleetdm.com/queries
- Updated search bar styles on /queries

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
This commit is contained in:
Eric 2023-09-27 17:54:34 -05:00 committed by GitHub
parent 4a514311dd
commit 32b3219ab4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 5 deletions

View file

@ -16,7 +16,7 @@
}
a {
font-size: 18px;
font-size: 16px;
color: @core-vibrant-blue;
}
@ -72,17 +72,20 @@
&.search {
width: 250px;
background: #FFF;
height: 40px;
}
}
.input-group-text {
color: #8b8fa2;
height: 40px;
border-color: #c5c7d1;
border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
}
.form-control {
height: 40px;
font-size: 16px;
border-color: #c5c7d1;
border-top-right-radius: 8px;
@ -179,6 +182,10 @@
font-size: 16px;
line-height: 25px;
}
a {
outline-bottom: 1px solid #c5c7d1;
text-decoration: underline;
}
}
.select-mobile-border {
@ -197,6 +204,7 @@
}
.search-mobile {
height: 52px;
padding-left: 30px;
padding-right: 30px;
padding-bottom: 12px;
@ -206,7 +214,7 @@
padding-left: 45px;
padding-right: 45px;
margin-bottom: 0;
min-height: 54px;
min-height: 40px;
}
.contributors, .platforms {

View file

@ -3,8 +3,7 @@
<div class="d-flex justify-content-center">
<div class="container justify-content-center library">
<h2 class="mb-3">Standard query library</h2>
<p class="pb-3 description">Fleet's standard query library includes a growing collection of useful queries
for organizations deploying Fleet and osquery.</p>
<p class="pb-3 description">Fleet's standard query library includes a growing collection of useful queries for organizations deploying Fleet and osquery. Want to add your own query? Please contribute <a target="_blank" href="https://github.com/fleetdm/fleet/edit/main/docs/01-Using-Fleet/standard-query-library/standard-query-library.yml">over on GitHub</a>.</p>
<div class="p-0 m-0">
<div class="d-md-none">
<div class="d-flex">
@ -149,7 +148,7 @@
<div class="card-body px-0">
<h3 class="mb-3">Contributors</h3>
<p><strong>Want to add your own query?</strong> Please submit a pull request
<a href="https://github.com/fleetdm/fleet/edit/main/docs/01-Using-Fleet/standard-query-library/standard-query-library.yml">
<a target="_blank" href="https://github.com/fleetdm/fleet/edit/main/docs/01-Using-Fleet/standard-query-library/standard-query-library.yml">
over on GitHub
</a>.
</p>