From 32b3219ab4332c5a7b53b439f4b9bbf441c376b5 Mon Sep 17 00:00:00 2001 From: Eric Date: Wed, 27 Sep 2023 17:54:34 -0500 Subject: [PATCH] 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> --- website/assets/styles/pages/query-library.less | 12 ++++++++++-- website/views/pages/query-library.ejs | 5 ++--- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/website/assets/styles/pages/query-library.less b/website/assets/styles/pages/query-library.less index c660ac04b4..a3c9cdb178 100644 --- a/website/assets/styles/pages/query-library.less +++ b/website/assets/styles/pages/query-library.less @@ -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 { diff --git a/website/views/pages/query-library.ejs b/website/views/pages/query-library.ejs index 1995ce9aa5..de224facc1 100644 --- a/website/views/pages/query-library.ejs +++ b/website/views/pages/query-library.ejs @@ -3,8 +3,7 @@

Standard query library

-

Fleet's standard query library includes a growing collection of useful queries - for organizations deploying Fleet and osquery.

+

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 over on GitHub.

@@ -149,7 +148,7 @@

Contributors

Want to add your own query? Please submit a pull request - + over on GitHub .