fleet/website/assets/styles/importer.less
Mike McNeil ac220ba6e5
Obviate doc-templater dependency + dynamic sitemap.xml (#827)
* trivial

* Simplify build-static-content script and rip out the old markdown compilation for query library

* improve error msg

* trivial

* move helper

* bring in the skeleton

* Compile handbook as well, and bring more stuff inline

* instead of generating sitemap.xml file, could just serve it as a route

* Serve sitemap.xml on the fly

* add failsafe to prevent search engine accidents

* add remaining hand-coded pages to sitemap

* rearrange routes and get rid of commented-out ones

* Update build-static-content.js

* stub out the remaining pieces

* Add assertion (Which actually helped catch a real duplicate query: get-mac-os-disk-free-space-percentage)

* clean out inadvertently committed stuff in sailsrc

* route and serve data for correct query by slug + fix error message re duplicate query slugs + added assertion for duplicate doc page slugs

* yaml == dev dependency

* remove doc-templater dependency, as promised

* stub out handbook page

* clarify comments & remove unnecessary skipAssets

* Update build-static-content.js

* res.badConfig()

* add missing exit that I left out back in ec95df6a4b

* remove unused file

* update comments before commenting out and moving over to basic-documentation.less

* move example styling of generated HTML over to docs/handbook

* include both links

* Fix sitemap.xml URLs in local dev by fixing baseUrl config for local development (since Fleet itself is on 1337).

* followup to d55c777590

* Include query pages in sitemap.xml (+make urls generated for docs/handbook in build script slightly more real) -- but also don't serve sitemap

* sails.config.builtStaticContent.allPages » sails.config.buildStaticContent.markdownPages  (also remove unnecessary trailing slash trimming)

* trivial

* check config when serving sitemap + smarter error message for contributors

* hook up GitHub link to edit the query

* remove html ids

* Update query-detail.ejs

* somre more setup re https://github.com/fleetdm/fleet/issues/368#issuecomment-848566533
2021-05-26 03:24:38 -05:00

50 lines
1.6 KiB
Plaintext
Vendored

/**
* importer.less
*
* By default, new Sails projects are configured to compile this file
* from LESS to CSS. Unlike CSS files, LESS files are not compiled and
* included automatically unless they are imported below.
*
* For more information see:
* https://sailsjs.com/anatomy/assets/styles/importer-less
*/
// Mixins and variables (LESS mixins/variables only, no global selectors)
@import 'mixins-and-variables/index.less';
// Overall layout (contains global selectors)
@import 'bootstrap-overrides.less';
@import 'layout.less';
// Per-component styles
@import 'components/stripe-card-element.component.less';
@import 'components/ajax-button.component.less';
@import 'components/modal.component.less';
@import 'components/cloud-error.component.less';
// Per-page styles
@import 'pages/homepage.less';
@import 'pages/get-started.less';
@import 'pages/pricing.less';
@import 'pages/dashboard/welcome.less';
@import 'pages/entrance/signup.less';
@import 'pages/entrance/confirmed-email.less';
@import 'pages/entrance/login.less';
@import 'pages/entrance/forgot-password.less';
@import 'pages/entrance/new-password.less';
@import 'pages/account/account-overview.less';
@import 'pages/account/edit-password.less';
@import 'pages/account/edit-profile.less';
@import 'pages/legal/terms.less';
@import 'pages/legal/privacy.less';
@import 'pages/faq.less';
@import 'pages/contact.less';
@import 'pages/404.less';
@import 'pages/500.less';
@import 'pages/498.less';
@import 'pages/query-detail.less';
@import 'pages/query-library.less';
@import 'pages/docs/basic-documentation.less';
@import 'pages/handbook/basic-handbook.less';