@leed-ai/cli 0.0.0-stage → 6.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +57 -0
- package/README.md +125 -2
- package/dist/LICENSE.md +57 -0
- package/dist/acorn-DAgDT1om.js +5087 -0
- package/dist/angular-l0_4PK8N.js +3598 -0
- package/dist/authShared-Dray38Ls.js +1161 -0
- package/dist/babel-CJeRQd5u.js +10038 -0
- package/dist/buildResults-tiq1nugP.js +21180 -0
- package/dist/chunk-1VJ9lAw7.js +42 -0
- package/dist/cliAuth-38JjD6hw.js +15 -0
- package/dist/env-B0bHiXJJ.js +29 -0
- package/dist/errors-CqKamGCu.js +481 -0
- package/dist/estree-E8WG8UHj.js +6930 -0
- package/dist/flow-6xaRIbPQ.js +52255 -0
- package/dist/glimmer-aJPjsfbT.js +7272 -0
- package/dist/graphql-mcgtPEiZ.js +1901 -0
- package/dist/html--eeea3Kl.js +6553 -0
- package/dist/leed.eleventy.mjs +6525 -0
- package/dist/leed.mjs +88952 -0
- package/dist/leed.sources.json +798 -0
- package/dist/leedLogger-Zkada5aO.js +78 -0
- package/dist/markdown-D73jNKwx.js +6836 -0
- package/dist/meriyah-CMp1nDDW.js +8932 -0
- package/dist/package.json +101 -0
- package/dist/postcss-h4fBr2Fn.js +6760 -0
- package/dist/prettier-CwFSKxfN.js +16821 -0
- package/dist/static/customer-site-worker/package.json +9 -0
- package/dist/static/customer-site-worker/src/assetsHydration.ts +55 -0
- package/dist/static/customer-site-worker/src/constants.ts +20 -0
- package/dist/static/customer-site-worker/src/cors.ts +120 -0
- package/dist/static/customer-site-worker/src/index.ts +242 -0
- package/dist/static/customer-site-worker/src/mcp-proxy.ts +98 -0
- package/dist/static/customer-site-worker/src/proxy.ts +92 -0
- package/dist/static/customer-site-worker/src/proxyHeaders.ts +47 -0
- package/dist/static/customer-site-worker/src/tier.ts +40 -0
- package/dist/static/customer-site-worker/src/types.ts +82 -0
- package/dist/static/customer-site-worker/test/functions-mock.worker.js +50 -0
- package/dist/static/customer-site-worker/tsconfig.json +19 -0
- package/dist/static/customer-site-worker/vitest.workers.config.ts +61 -0
- package/dist/static/install/husky/colors.mjs +5 -0
- package/dist/static/install/husky/hooks/commit-msg +1 -0
- package/dist/static/install/husky/hooks/pre-commit +1 -0
- package/dist/static/install/husky/hooks/pre-push +1 -0
- package/dist/static/install/husky/valid-command.mjs +29 -0
- package/dist/static/install/husky/valid-commit-msg.mjs +20 -0
- package/dist/static/install/package.json +10 -0
- package/dist/static/install/packages.txt +4 -0
- package/dist/static/install/tasks.json +111 -0
- package/dist/static/javascript/detectIncognito.js +195 -0
- package/dist/static/javascript/documentation.js +2781 -0
- package/dist/static/javascript/fp/fp.esm.js +2896 -0
- package/dist/static/javascript/fp/fp.js +3067 -0
- package/dist/static/javascript/live-search.js +986 -0
- package/dist/static/javascript/lunr-search.js +843 -0
- package/dist/static/javascript/timeme.js +451 -0
- package/dist/static/javascript/tracker/webmcp.js +67 -0
- package/dist/static/javascript/tracker/whisper.js +1 -0
- package/dist/static/javascript/utilities.js +819 -0
- package/dist/static/javascript/versions.json +74 -0
- package/dist/static/javascript/zoomable.js +488 -0
- package/dist/static/site/_data/eleventyComputed.js +228 -0
- package/dist/static/site/_data/leed-form-data.json +253 -0
- package/dist/static/site/_includes/leed/api/bits/array-type.hbs +24 -0
- package/dist/static/site/_includes/leed/api/bits/badges.hbs +9 -0
- package/dist/static/site/_includes/leed/api/bits/description.hbs +9 -0
- package/dist/static/site/_includes/leed/api/bits/examples.hbs +42 -0
- package/dist/static/site/_includes/leed/api/bits/scopes.hbs +28 -0
- package/dist/static/site/_includes/leed/api/object.hbs +110 -0
- package/dist/static/site/_includes/leed/api/parameters.hbs +11 -0
- package/dist/static/site/_includes/leed/api/property.hbs +153 -0
- package/dist/static/site/_includes/leed/api/request-body.hbs +51 -0
- package/dist/static/site/_includes/leed/api/responses.hbs +89 -0
- package/dist/static/site/_includes/leed/api/security-constraints.hbs +59 -0
- package/dist/static/site/_includes/leed/api/security.hbs +75 -0
- package/dist/static/site/_includes/leed/components/pagination.hbs +45 -0
- package/dist/static/site/_includes/leed/components/scroll-status-indicator-horizontal.hbs +22 -0
- package/dist/static/site/_includes/leed/docs/alpha/api.hbs +6 -0
- package/dist/static/site/_includes/leed/docs/alpha/base.hbs +26 -0
- package/dist/static/site/_includes/leed/docs/alpha/documentation.hbs +7 -0
- package/dist/static/site/_includes/leed/docs/api-article.hbs +75 -0
- package/dist/static/site/_includes/leed/docs/bravo/api.hbs +5 -0
- package/dist/static/site/_includes/leed/docs/bravo/base.hbs +31 -0
- package/dist/static/site/_includes/leed/docs/bravo/documentation.hbs +7 -0
- package/dist/static/site/_includes/leed/docs/charlie/api.hbs +6 -0
- package/dist/static/site/_includes/leed/docs/charlie/base.hbs +27 -0
- package/dist/static/site/_includes/leed/docs/charlie/documentation.hbs +10 -0
- package/dist/static/site/_includes/leed/docs/doc-article.hbs +40 -0
- package/dist/static/site/_includes/leed/docs/docs-footer.hbs +35 -0
- package/dist/static/site/_includes/leed/docs/docs-header.hbs +59 -0
- package/dist/static/site/_includes/leed/docs/document-search-modal.hbs +36 -0
- package/dist/static/site/_includes/leed/docs/document-search.hbs +23 -0
- package/dist/static/site/_includes/leed/docs/footer.hbs +12 -0
- package/dist/static/site/_includes/leed/docs/header/brand.hbs +19 -0
- package/dist/static/site/_includes/leed/docs/header/chrome.hbs +33 -0
- package/dist/static/site/_includes/leed/docs/header/compact.hbs +19 -0
- package/dist/static/site/_includes/leed/docs/header/cta.hbs +15 -0
- package/dist/static/site/_includes/leed/docs/header/nav.hbs +18 -0
- package/dist/static/site/_includes/leed/docs/header/top-search.hbs +15 -0
- package/dist/static/site/_includes/leed/docs/mini-bar.hbs +53 -0
- package/dist/static/site/_includes/leed/docs/pagination.hbs +19 -0
- package/dist/static/site/_includes/leed/docs/shell.hbs +56 -0
- package/dist/static/site/_includes/leed/docs/sidebar.hbs +52 -0
- package/dist/static/site/_includes/leed/docs/social-icons.hbs +81 -0
- package/dist/static/site/_includes/leed/docs/style.hbs +17 -0
- package/dist/static/site/_includes/leed/docs/toc.hbs +7 -0
- package/dist/static/site/_includes/leed/form.hbs +266 -0
- package/dist/static/site/_includes/leed/head.hbs +67 -0
- package/dist/static/site/_includes/leed/menu/builder.hbs +35 -0
- package/dist/static/site/_includes/leed/menu/item.hbs +67 -0
- package/dist/static/site/_includes/leed/menu/link.hbs +59 -0
- package/dist/static/site/_includes/leed/metadata/ogCard.hbs +40 -0
- package/dist/static/site/_includes/leed/metadata/siteMetadata.hbs +24 -0
- package/dist/static/site/_includes/leed/metadata/twitterCard.hbs +34 -0
- package/dist/static/site/_includes/leed/popup-video.hbs +21 -0
- package/dist/static/site/_includes/leed/stub-template.hbs +17 -0
- package/dist/static/site/_includes/leed/unsubscribe-form.hbs +30 -0
- package/dist/static/site/_layouts/leed-documentation.hbs +12 -0
- package/dist/static/site/leed-feed-atom.hbs +42 -0
- package/dist/static/site/leed-feed-json.hbs +56 -0
- package/dist/static/site/leed-feed-rss.hbs +39 -0
- package/dist/static/site/leed-headers.hbs +38 -0
- package/dist/static/site/leed-redirects.hbs +10 -0
- package/dist/static/site/leed-sitemap-pageType.hbs +28 -0
- package/dist/static/site/leed-sitemap.hbs +19 -0
- package/dist/static/site/leed-unsubscribe.hbs +44 -0
- package/dist/static/site/leed-unsubscribed.hbs +40 -0
- package/dist/static/tailwind/components/alerts.css +132 -0
- package/dist/static/tailwind/components/api-methods.css +39 -0
- package/dist/static/tailwind/components/breadcrumbs.css +31 -0
- package/dist/static/tailwind/components/code.css +88 -0
- package/dist/static/tailwind/components/collapsible.css +38 -0
- package/dist/static/tailwind/components/document-search.css +222 -0
- package/dist/static/tailwind/components/form.css +185 -0
- package/dist/static/tailwind/components/kbd.css +7 -0
- package/dist/static/tailwind/components/pagination.css +81 -0
- package/dist/static/tailwind/components/scroll-status-indicator.css +5 -0
- package/dist/static/tailwind/components/tab-groups.css +117 -0
- package/dist/static/tailwind/components/tables.css +0 -0
- package/dist/static/tailwind/components/toc.css +60 -0
- package/dist/static/tailwind/components.css +248 -0
- package/dist/static/tailwind/defaults.css +260 -0
- package/dist/static/tailwind/docs/api.css +701 -0
- package/dist/static/tailwind/docs/components/blockquote.css +5 -0
- package/dist/static/tailwind/docs/components/button.css +11 -0
- package/dist/static/tailwind/docs/components/docs-pagination.css +71 -0
- package/dist/static/tailwind/docs/components/mobile-bar.css +83 -0
- package/dist/static/tailwind/docs/components/navigation.css +279 -0
- package/dist/static/tailwind/docs/components/table.css +54 -0
- package/dist/static/tailwind/docs/components.css +6 -0
- package/dist/static/tailwind/docs/docs.css +427 -0
- package/dist/static/tailwind/docs/layouts/alpha.css +108 -0
- package/dist/static/tailwind/docs/layouts/bravo.css +218 -0
- package/dist/static/tailwind/docs/layouts/charlie.css +105 -0
- package/dist/static/tailwind/docs/layouts.css +3 -0
- package/dist/static/tailwind/docs/themes/amber.css +113 -0
- package/dist/static/tailwind/docs/themes/blue.css +94 -0
- package/dist/static/tailwind/docs/themes/cyan.css +111 -0
- package/dist/static/tailwind/docs/themes/emerald.css +111 -0
- package/dist/static/tailwind/docs/themes/fuchsia.css +111 -0
- package/dist/static/tailwind/docs/themes/green.css +95 -0
- package/dist/static/tailwind/docs/themes/indigo.css +111 -0
- package/dist/static/tailwind/docs/themes/lime.css +111 -0
- package/dist/static/tailwind/docs/themes/orange.css +111 -0
- package/dist/static/tailwind/docs/themes/pink.css +111 -0
- package/dist/static/tailwind/docs/themes/purple.css +111 -0
- package/dist/static/tailwind/docs/themes/red.css +111 -0
- package/dist/static/tailwind/docs/themes/rose.css +111 -0
- package/dist/static/tailwind/docs/themes/sky.css +111 -0
- package/dist/static/tailwind/docs/themes/teal.css +111 -0
- package/dist/static/tailwind/docs/themes/violet.css +111 -0
- package/dist/static/tailwind/docs/themes/yellow.css +111 -0
- package/dist/static/tailwind/docs/themes.css +84 -0
- package/dist/static/tailwind/font-awesome/free-7.3.1/brands.css +2455 -0
- package/dist/static/tailwind/font-awesome/free-7.3.1/fontawesome.css +8997 -0
- package/dist/static/tailwind/font-awesome/free-7.3.1/fonts.css +45 -0
- package/dist/static/tailwind/font-awesome/free-7.3.1/icons.json +2608 -0
- package/dist/static/tailwind/font-awesome/free-7.3.1.css +3 -0
- package/dist/static/tailwind/font-awesome/pro-7.0.0/brands.css +2215 -0
- package/dist/static/tailwind/font-awesome/pro-7.0.0/fontawesome.css +19281 -0
- package/dist/static/tailwind/font-awesome/pro-7.0.0/fonts.css +445 -0
- package/dist/static/tailwind/font-awesome/pro-7.0.0.css +3 -0
- package/dist/static/tailwind/font-awesome/pro-7.3.1/brands.css +2455 -0
- package/dist/static/tailwind/font-awesome/pro-7.3.1/fontawesome.css +20365 -0
- package/dist/static/tailwind/font-awesome/pro-7.3.1/fonts.css +589 -0
- package/dist/static/tailwind/font-awesome/pro-7.3.1.css +3 -0
- package/dist/static/tailwind/fonts/all.css +6 -0
- package/dist/static/tailwind/fonts/config.jsonc +31 -0
- package/dist/static/tailwind/fonts/geist-mono.css +142 -0
- package/dist/static/tailwind/fonts/geist.css +142 -0
- package/dist/static/tailwind/fonts/inter.css +215 -0
- package/dist/static/tailwind/fonts/jetbrains-mono.css +126 -0
- package/dist/static/tailwind/fonts/noto-sans.css +134 -0
- package/dist/static/tailwind/fonts/open-sans.css +89 -0
- package/dist/static/tailwind/highlighters.css +14 -0
- package/dist/static/tailwind/hljs/README.md +53 -0
- package/dist/static/tailwind/hljs/a11y.css +96 -0
- package/dist/static/tailwind/hljs/atom-fruit.css +90 -0
- package/dist/static/tailwind/hljs/atom-one.css +164 -0
- package/dist/static/tailwind/hljs/default.css +164 -0
- package/dist/static/tailwind/hljs/github.css +101 -0
- package/dist/static/tailwind/hljs/google-code.css +112 -0
- package/dist/static/tailwind/hljs/grayscale.css +115 -0
- package/dist/static/tailwind/hljs/gruvbox-hard.css +115 -0
- package/dist/static/tailwind/hljs/gruvbox-medium.css +115 -0
- package/dist/static/tailwind/hljs/gruvbox-soft.css +115 -0
- package/dist/static/tailwind/hljs/papercolor.css +120 -0
- package/dist/static/tailwind/hljs/qt-creator.css +91 -0
- package/dist/static/tailwind/hljs/summerfruit.css +115 -0
- package/dist/static/tailwind/hljs/tomorrow.css +115 -0
- package/dist/static/tailwind/leed.css +170 -0
- package/dist/static/tailwind/site-tokens.reference.css +105 -0
- package/dist/static/tailwind/utils/icons.css +102 -0
- package/dist/static/tailwind/utils/utilities.css +105 -0
- package/dist/static/templates/pages/PAGE.hbs +27 -0
- package/dist/static/templates/pages/PAGE_LAYOUT.hbs +19 -0
- package/dist/static/templates/pages/PAGE_TYPE_INDEX.hbs +89 -0
- package/dist/static/templates/pages/PAGINATED_PAGE_TYPE_ITEM.hbs +52 -0
- package/dist/static/templates/pages/PAGINATED_PAGE_TYPE_LIST.hbs +39 -0
- package/dist/static/templates/pages/PAGINATED_PAGE_TYPE_PAGINATION.hbs +11 -0
- package/dist/static/templates/raw-content/.ci/build.sh +58 -0
- package/dist/static/templates/raw-content/README.md +179 -0
- package/dist/static/templates/raw-content/_gitignore +50 -0
- package/dist/static/templates/raw-content/src/404.hbs +21 -0
- package/dist/static/templates/raw-content/src/_data/autolink.json +1 -0
- package/dist/static/templates/raw-content/src/_data/ctaList.json +1 -0
- package/dist/static/templates/raw-content/src/_data/leedForms.json +1 -0
- package/dist/static/templates/raw-content/src/_data/menu.json +1 -0
- package/dist/static/templates/raw-content/src/_includes/footer.hbs +18 -0
- package/dist/static/templates/raw-content/src/_includes/header-includes.hbs +25 -0
- package/dist/static/templates/raw-content/src/_includes/header.hbs +5 -0
- package/dist/static/templates/raw-content/src/_includes/site-template.hbs +23 -0
- package/dist/static/templates/raw-content/src/_includes/unsubscribe-DISABLED.hbs +17 -0
- package/dist/static/templates/raw-content/src/_includes/unsubscribed-DISABLED.hbs +13 -0
- package/dist/static/templates/raw-content/src/_layouts/empty.hbs +2 -0
- package/dist/static/templates/raw-content/src/index.hbs +21 -0
- package/dist/static/templates/raw-content/src/robots.hbs +9 -0
- package/dist/static/templates/raw-content/tailwind/site/base.css +44 -0
- package/dist/static/templates/raw-content/tailwind/site.config.css +3 -0
- package/dist/static/templates/sandbox/_gitignore +50 -0
- package/dist/static/templates/sandbox/identity.json +1 -0
- package/dist/static/templates/sandbox/src/404.hbs +21 -0
- package/dist/static/templates/sandbox/src/_data/autolink.json +1 -0
- package/dist/static/templates/sandbox/src/_data/ctaList.json +1 -0
- package/dist/static/templates/sandbox/src/_data/labelList.json +9 -0
- package/dist/static/templates/sandbox/src/_data/leedForms.json +20 -0
- package/dist/static/templates/sandbox/src/_data/menu.json +19 -0
- package/dist/static/templates/sandbox/src/_data/pageTypeList.json +14 -0
- package/dist/static/templates/sandbox/src/_data/searchIndexList.json +1 -0
- package/dist/static/templates/sandbox/src/_data/userList.json +11 -0
- package/dist/static/templates/sandbox/src/_includes/footer.hbs +18 -0
- package/dist/static/templates/sandbox/src/_includes/header-includes.hbs +25 -0
- package/dist/static/templates/sandbox/src/_includes/header.hbs +5 -0
- package/dist/static/templates/sandbox/src/_includes/site-template.hbs +23 -0
- package/dist/static/templates/sandbox/src/_layouts/empty.hbs +2 -0
- package/dist/static/templates/sandbox/src/index.hbs +20 -0
- package/dist/static/templates/sandbox/src/robots.hbs +9 -0
- package/dist/static/templates/sandbox/src/src.11tydata.json +39 -0
- package/dist/static/templates/sandbox/tailwind/site/base.css +44 -0
- package/dist/static/templates/sandbox/tailwind/site.config.css +3 -0
- package/dist/thrown-sukVkp_1.js +113 -0
- package/dist/typescript-D4T0V_Hn.js +23004 -0
- package/dist/yaml-9wR8GxF_.js +5236 -0
- package/package.json +157 -4
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
/* HTTP Method Color Variables */
|
|
3
|
+
--method-text-inverted: var(--color-white);
|
|
4
|
+
--method-get-bg: var(--color-green-100);
|
|
5
|
+
--method-get-text: var(--color-green-700);
|
|
6
|
+
--method-post-bg: var(--color-blue-100);
|
|
7
|
+
--method-post-text: var(--color-blue-700);
|
|
8
|
+
--method-put-bg: var(--color-purple-100);
|
|
9
|
+
--method-put-text: var(--color-purple-700);
|
|
10
|
+
--method-patch-bg: var(--color-orange-100);
|
|
11
|
+
--method-patch-text: var(--color-orange-700);
|
|
12
|
+
--method-delete-bg: var(--color-red-100);
|
|
13
|
+
--method-delete-text: var(--color-red-700);
|
|
14
|
+
--method-options-bg: var(--color-gray-100);
|
|
15
|
+
--method-options-text: var(--color-gray-700);
|
|
16
|
+
--method-head-bg: var(--color-indigo-100);
|
|
17
|
+
--method-head-text: var(--color-indigo-700);
|
|
18
|
+
--method-trace-bg: var(--color-pink-100);
|
|
19
|
+
--method-trace-text: var(--color-pink-700);
|
|
20
|
+
|
|
21
|
+
@media (prefers-color-scheme: dark) {
|
|
22
|
+
--method-get-bg: var(--color-green-700);
|
|
23
|
+
--method-get-text: var(--color-green-400);
|
|
24
|
+
--method-post-bg: var(--color-blue-700);
|
|
25
|
+
--method-post-text: var(--color-blue-400);
|
|
26
|
+
--method-put-bg: var(--color-purple-700);
|
|
27
|
+
--method-put-text: var(--color-purple-400);
|
|
28
|
+
--method-patch-bg: var(--color-orange-700);
|
|
29
|
+
--method-patch-text: var(--color-orange-400);
|
|
30
|
+
--method-delete-bg: var(--color-red-700);
|
|
31
|
+
--method-delete-text: var(--color-red-400);
|
|
32
|
+
--method-options-bg: var(--color-gray-700);
|
|
33
|
+
--method-options-text: var(--color-gray-400);
|
|
34
|
+
--method-head-bg: var(--color-indigo-700);
|
|
35
|
+
--method-head-text: var(--color-indigo-400);
|
|
36
|
+
--method-trace-bg: var(--color-pink-700);
|
|
37
|
+
--method-trace-text: var(--color-pink-400);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
.leed-breadcrumbs {
|
|
2
|
+
@apply mt-0 lg:mt-4;
|
|
3
|
+
/* Base container styling */
|
|
4
|
+
.leed-breadcrumbs__crumbs {
|
|
5
|
+
@apply flex items-center rounded-md p-0 m-0;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
i {
|
|
9
|
+
&.home {
|
|
10
|
+
@apply fa-solid leed-icon-home text-(--component-text-color) hover:text-(--component-anchor-text-color);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&.leed-breadcrumbs__separator {
|
|
14
|
+
@apply fa-solid leed-icon-chevron-right text-(--component-text-color)/60 inline-block text-[10px] mx-2;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/* Individual breadcrumb item */
|
|
19
|
+
.leed-breadcrumbs__crumb {
|
|
20
|
+
@apply inline-flex items-center text-sm sm:text-sm;
|
|
21
|
+
|
|
22
|
+
a {
|
|
23
|
+
@apply text-(--component-text-color) hover:text-(--component-body-link-color) font-normal transition-colors duration-300;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/* Current page styling */
|
|
27
|
+
a[aria-current="location"] {
|
|
28
|
+
@apply text-(--component-text-color) font-medium pointer-events-none;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Base for all diagrammatic content and code
|
|
3
|
+
*
|
|
4
|
+
* Code customization - most is in the hljs file!
|
|
5
|
+
*/
|
|
6
|
+
pre {
|
|
7
|
+
@apply bg-(--component-code-bg-color) dark:bg-(--component-code-bg-color);
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* The top padding is clearance for the copy button, which sits over the
|
|
11
|
+
* block's top-right corner. It is a variable so a site that puts the button
|
|
12
|
+
* somewhere else — a caption row, a toolbar — can zero it instead of
|
|
13
|
+
* fighting `p-0!` against a hole it did not ask for:
|
|
14
|
+
*
|
|
15
|
+
* .my-code-card pre { --code-copy-clearance: 0; }
|
|
16
|
+
*/
|
|
17
|
+
&:has(code.hljs) {
|
|
18
|
+
@apply block overflow-x-auto min-w-0 max-w-full p-0.5 rounded-2xl border border-(--component-code-border-color)/10 selection:bg-(--component-code-bg-color-selection);
|
|
19
|
+
padding-top: var(--code-copy-clearance, --spacing(8));
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&:has(code.math) {
|
|
23
|
+
@apply flex text-center justify-center text-(--component-code-math-text-color) p-4 overflow-x-auto whitespace-pre-wrap rounded;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
> code {
|
|
27
|
+
@apply bg-(--component-code-inner-bg-color) p-4 rounded-2xl;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
> code.math {
|
|
31
|
+
@apply block w-full;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.mermaid {
|
|
35
|
+
@apply bg-transparent! flex justify-center;
|
|
36
|
+
|
|
37
|
+
> svg {
|
|
38
|
+
@apply block;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Used to provide copying of code blocks
|
|
45
|
+
*/
|
|
46
|
+
.code-block-wrapper {
|
|
47
|
+
/* The button is positioned against this wrapper, which the runtime injects
|
|
48
|
+
around `pre > code`. A site that wants the button in its own chrome — a
|
|
49
|
+
<figcaption> above the block, say — sets --code-copy-anchor: static here
|
|
50
|
+
and `position: relative` on whichever element should hold it instead. */
|
|
51
|
+
position: var(--code-copy-anchor, relative);
|
|
52
|
+
|
|
53
|
+
&:hover .copy-code-button,
|
|
54
|
+
&.just-copied .copy-code-button {
|
|
55
|
+
@apply opacity-100;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/* Copy button styling - hidden by default */
|
|
59
|
+
.copy-code-button {
|
|
60
|
+
@apply absolute top-1 right-2 px-1! py-0! rounded cursor-pointer text-(--component-text-color)/20 dark:text-(--component-text-color)/40 border-0! border-(--component-border-color) transition-all duration-200 hover:text-(--component-text-color)/50 dark:hover:text-(--component-text-color) hover:scale-105 ring-0! shadow-none!;
|
|
61
|
+
|
|
62
|
+
i.copy {
|
|
63
|
+
@apply fa-fw fa-regular leed-icon-copy;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/* Success state styling */
|
|
67
|
+
&.copied {
|
|
68
|
+
@apply text-(--component-body-link-color);
|
|
69
|
+
|
|
70
|
+
i.copy {
|
|
71
|
+
@apply fa-fw fa-solid leed-icon-check;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Success message notification.
|
|
78
|
+
*
|
|
79
|
+
* Centered on the button rather than aligned to its top. Identical for a
|
|
80
|
+
* button the height of its own icon, and correct for one a site has
|
|
81
|
+
* stretched — to fill a caption row, for instance — where top:0 pinned the
|
|
82
|
+
* badge to the top of that row instead of its middle.
|
|
83
|
+
*/
|
|
84
|
+
.code-copied-notification {
|
|
85
|
+
@apply copied-notification absolute top-1/2 right-full mr-2;
|
|
86
|
+
transform: translateY(-50%);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Details - Summary Collapsible style
|
|
3
|
+
*/
|
|
4
|
+
details {
|
|
5
|
+
@apply border-(--component-border-color)/20 dark:border-(--component-border-color)/10 border rounded-2xl overflow-hidden mt-4;
|
|
6
|
+
> p,
|
|
7
|
+
details {
|
|
8
|
+
@apply mx-6 mt-2 mb-6;
|
|
9
|
+
}
|
|
10
|
+
&[open] {
|
|
11
|
+
@apply pb-4;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
summary {
|
|
16
|
+
@apply pl-10 pr-5 py-4 cursor-pointer relative;
|
|
17
|
+
&:hover {
|
|
18
|
+
@apply bg-(--component-code-bg-color) dark:bg-(--component-code-bg-color)/50;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
summary::-webkit-details-marker {
|
|
23
|
+
display: none;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
summary::marker {
|
|
27
|
+
content: "";
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
summary::after {
|
|
31
|
+
@apply fa leed-icon-caret-right absolute left-5 top-[22px] text-xs transition-transform;
|
|
32
|
+
content: var(--fa);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/* Rotate when open */
|
|
36
|
+
details[open] > summary::after {
|
|
37
|
+
transform: rotate(90deg);
|
|
38
|
+
}
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
/* Search Trigger Styles */
|
|
2
|
+
#document-search-container {
|
|
3
|
+
@apply relative z-99 flex-1 text-right lg:text-left;
|
|
4
|
+
|
|
5
|
+
.search-icon {
|
|
6
|
+
@apply fa-solid leed-icon-search;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.search-result-icon {
|
|
10
|
+
@apply fa-solid leed-icon-hashtag text-(--component-text-color) text-base;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.search-result-goto-icon {
|
|
14
|
+
@apply fa-solid leed-icon-chevron-right text-(--component-text-color) text-lg opacity-0 transition-opacity duration-200;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.search-history-icon {
|
|
18
|
+
@apply fa-regular leed-icon-clock text-(--component-text-color) text-lg;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
#document-search {
|
|
22
|
+
.search-trigger-button {
|
|
23
|
+
@apply bg-transparent lg:bg-(--component-search-button-bg-color) h-10 border-0 lg:border border-(--component-header-border-color)/20 dark:border-(--component-header-border-color)/10 hover:border-(--component-header-border-color)/50 dark:hover:border-(--component-header-border-color)/20 text-(--component-text-color) text-left text-sm rounded-lg lg:w-full px-5 lg:px-10 py-2 cursor-pointer relative;
|
|
24
|
+
|
|
25
|
+
.search-icon {
|
|
26
|
+
@apply lg:absolute left-3 top-3 scale-[1.4] lg:scale-100;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.search-trigger-shortcut {
|
|
30
|
+
@apply absolute right-3 top-3 text-xs;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* Compact trigger — `{{> leed/docs/document-search compact=true }}`.
|
|
37
|
+
Icon only, sized to its content rather than filling the row, for a custom
|
|
38
|
+
`docs-header.hbs` with no room for the full control. Selectors carry one more
|
|
39
|
+
class than the defaults above so they win inside the same layer, and each
|
|
40
|
+
`lg:` default is restated so the override holds at the breakpoint too. */
|
|
41
|
+
#document-search-container.search-compact {
|
|
42
|
+
@apply flex-none text-center;
|
|
43
|
+
|
|
44
|
+
#document-search .search-trigger-button {
|
|
45
|
+
@apply inline-flex items-center justify-center w-10 lg:w-10 h-10 px-0 lg:px-0;
|
|
46
|
+
|
|
47
|
+
.search-icon {
|
|
48
|
+
@apply static lg:static scale-100 lg:scale-100;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/* Search Modal Styles */
|
|
54
|
+
#document-search-modal {
|
|
55
|
+
@apply fixed z-9999999 flex inset-0 items-center justify-center transition-opacity duration-200 ease-in-out;
|
|
56
|
+
|
|
57
|
+
/* Icon Styles */
|
|
58
|
+
|
|
59
|
+
.search-modal-backdrop {
|
|
60
|
+
@apply fixed inset-0 bg-black/20 backdrop-blur-sm;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.search-modal-content {
|
|
64
|
+
@apply relative z-50 flex flex-col bg-(--component-search-modal-bg-color) border border-(--component-header-border-color)/5 rounded-2xl p-2 w-full max-w-2xl mx-auto min-h-75 max-h-[66vh] transition-all duration-200 ease-in-out scale-100 opacity-100;
|
|
65
|
+
|
|
66
|
+
.search-input-container {
|
|
67
|
+
@apply flex items-center justify-center relative;
|
|
68
|
+
|
|
69
|
+
.search-input-field {
|
|
70
|
+
@apply px-12 py-2 w-full rounded-2xl bg-transparent border border-(--component-header-border-color)/50 dark:border-(--component-header-border-color)/50 focus:ring-0 focus:border-(--component-header-border-color)/50 dark:focus:border-(--component-header-border-color)/50;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.search-icon {
|
|
74
|
+
@apply absolute left-4 top-3.5 fa-solid leed-icon-search;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.search-escape-hint {
|
|
78
|
+
@apply absolute right-3 top-2.25 bg-gray-300 dark:bg-(--component-text-color)/50 rounded-md text-xs font-semibold py-1 px-3;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
.search-result-icon {
|
|
82
|
+
@apply fa-solid leed-icon-hashtag text-(--component-text-color)/50 text-base;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.search-result-goto-icon {
|
|
86
|
+
@apply fa-solid leed-icon-chevron-right text-(--component-text-color)/50 text-lg opacity-0 transition-opacity duration-200;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.search-history-icon {
|
|
90
|
+
@apply fa-regular leed-icon-clock text-(--component-text-color)/50 text-lg;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/* Live docs search (#329): page-type filter chips above the results. Empty and
|
|
95
|
+
therefore invisible on the Lunr path, which renders no chips. */
|
|
96
|
+
.search-filter-chips {
|
|
97
|
+
@apply flex flex-wrap gap-2 empty:hidden px-2 pt-3;
|
|
98
|
+
|
|
99
|
+
.search-filter-chip {
|
|
100
|
+
@apply bg-transparent border border-(--component-header-border-color)/30 text-(--component-text-color) text-xs rounded-full px-3 py-1 cursor-pointer transition-colors duration-200 hover:border-(--component-header-border-color)/60;
|
|
101
|
+
|
|
102
|
+
/* The chip for the doc set the reader is currently in — offered first and
|
|
103
|
+
marked, so scoping to it is one obvious click. */
|
|
104
|
+
&.is-current {
|
|
105
|
+
@apply border-(--component-body-link-color)/60 text-(--component-body-link-color);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&.is-active {
|
|
109
|
+
@apply bg-(--component-header-bg-color) border-(--component-header-border-color)/60 font-medium;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.search-results-container {
|
|
115
|
+
@apply flex-1 overflow-y-auto;
|
|
116
|
+
|
|
117
|
+
/* Whether a hit came from the keyword index, the semantic index, or both. */
|
|
118
|
+
.search-match-badge {
|
|
119
|
+
@apply ml-2 bg-gray-100 dark:bg-gray-700 text-gray-700 dark:text-gray-300 px-1.5 py-0.5 rounded text-[10px] uppercase tracking-wide;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/* Search Result Styles.
|
|
123
|
+
|
|
124
|
+
`bg-(--component-search-result-bg-color)` is the row's RESTING ground and
|
|
125
|
+
resolves to `transparent` unless a theme or site sets it, which is what
|
|
126
|
+
the list shipped with — so adding it changed nothing. It has to stay the
|
|
127
|
+
weakest of the three grounds: `:hover` below and `.search-result-selected`
|
|
128
|
+
further down both need to paint over it, and both already out-specify or
|
|
129
|
+
out-order this rule. */
|
|
130
|
+
.searched-item {
|
|
131
|
+
@apply text-sm flex items-center w-full gap-x-3 cursor-pointer p-3 rounded-lg transition-all duration-200 overflow-hidden bg-(--component-search-result-bg-color) hover:bg-(--color-gray-100) dark:hover:bg-(--component-header-bg-color);
|
|
132
|
+
|
|
133
|
+
&:hover .search-result-goto-icon,
|
|
134
|
+
&.search-result-selected .search-result-goto-icon {
|
|
135
|
+
@apply opacity-100;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/* Search History Styles */
|
|
140
|
+
.search-history-item {
|
|
141
|
+
@apply cursor-pointer;
|
|
142
|
+
|
|
143
|
+
&:hover {
|
|
144
|
+
@apply bg-(--color-gray-100) dark:bg-(--component-header-bg-color);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/* Selection Styles */
|
|
149
|
+
.search-result-selected {
|
|
150
|
+
@apply bg-(--color-gray-100) dark:bg-(--component-header-bg-color);
|
|
151
|
+
|
|
152
|
+
&:hover {
|
|
153
|
+
@apply bg-(--component-header-bg-color) dark:bg-(--component-header-bg-color);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/* Keyword Highlighting */
|
|
158
|
+
.search-highlight {
|
|
159
|
+
@apply text-(--component-body-link-color) font-medium;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/* `.search-unavailable` is the explicit "search is temporarily unavailable"
|
|
163
|
+
state — a distinct message, but the same box as an empty result set. */
|
|
164
|
+
.search-no-results,
|
|
165
|
+
.search-unavailable {
|
|
166
|
+
@apply p-4 text-center;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/* Explains a hybrid → free text downgrade above the results. */
|
|
170
|
+
.search-degraded-note {
|
|
171
|
+
@apply px-3 pb-2 text-xs text-gray-500 dark:text-gray-400;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.search-no-results-title {
|
|
175
|
+
@apply text-sm mb-2;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.search-no-results-subtitle {
|
|
179
|
+
@apply text-xs text-gray-500;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.search-results-header,
|
|
183
|
+
.search-recent-header {
|
|
184
|
+
@apply text-sm ml-2 py-3 text-left;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.search-result-content {
|
|
188
|
+
@apply flex flex-1 flex-col gap-1 m-0 overflow-hidden text-left;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.search-result-title {
|
|
192
|
+
@apply m-0 p-0 font-medium text-sm text-gray-900 dark:text-gray-100 leading-tight;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.search-result-summary {
|
|
196
|
+
@apply m-0 p-0 text-xs text-gray-600 dark:text-gray-400 leading-relaxed truncate max-w-full;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.search-result-breadcrumb {
|
|
200
|
+
@apply flex flex-row gap-1 text-xs text-gray-500 dark:text-gray-400 items-center;
|
|
201
|
+
|
|
202
|
+
/* Between crumbs only. The row also ends with `.search-match-badge`, so a
|
|
203
|
+
`:not(:last-child)` rule would put a stray separator before the badge. */
|
|
204
|
+
.search-crumb + .search-crumb::before {
|
|
205
|
+
@apply content-["/"] mx-1;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/* Label Styles */
|
|
210
|
+
.search-result-labels {
|
|
211
|
+
@apply flex flex-wrap gap-1 ml-2;
|
|
212
|
+
|
|
213
|
+
&::before {
|
|
214
|
+
@apply content-["•"] text-gray-400 mr-1;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.search-label {
|
|
219
|
+
@apply bg-gray-100 dark:bg-gray-700 text-gray-700 dark:text-gray-300 px-1.5 py-0.5 rounded text-xs;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* General form defaults for all forms everywhere
|
|
3
|
+
*/
|
|
4
|
+
.leed-form-container {
|
|
5
|
+
label {
|
|
6
|
+
@apply block text-sm font-medium text-(--component-text-color) mb-2;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.leed-form-heading {
|
|
10
|
+
@apply font-semibold text-(--component-header-3-color);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.leed-form-details,
|
|
14
|
+
.leed-form-welcome-back {
|
|
15
|
+
@apply text-sm mt-2;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.leed-form-details {
|
|
19
|
+
@apply pl-1 w-full text-left;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.leed-form-welcome-back {
|
|
23
|
+
@apply text-sm font-medium text-center;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
input[type="checkbox"] + label,
|
|
27
|
+
input[type="radio"] + label {
|
|
28
|
+
@apply m-0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
fieldset {
|
|
32
|
+
@apply border-1 border-(--component-form-border-color) p-4 dark:border-(--component-form-border-color)/30;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
div.checkbox,
|
|
36
|
+
div.radio {
|
|
37
|
+
@apply flex items-start gap-2;
|
|
38
|
+
|
|
39
|
+
input[type="checkbox"],
|
|
40
|
+
input[type="radio"] {
|
|
41
|
+
@apply mt-1;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.leed-form {
|
|
46
|
+
@apply mt-4;
|
|
47
|
+
|
|
48
|
+
input[type="email"],
|
|
49
|
+
input[type="tel"],
|
|
50
|
+
input[type="text"],
|
|
51
|
+
button,
|
|
52
|
+
fieldset,
|
|
53
|
+
select,
|
|
54
|
+
textarea {
|
|
55
|
+
@apply rounded-lg;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
input:not([type="radio"]):not([type="checkbox"]):not([type="range"]),
|
|
59
|
+
select {
|
|
60
|
+
@apply pr-8;
|
|
61
|
+
|
|
62
|
+
option {
|
|
63
|
+
@apply text-(--component-text-color) bg-(--component-bg-color);
|
|
64
|
+
|
|
65
|
+
&:hover {
|
|
66
|
+
@apply bg-(--component-primary-color)/10;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
button,
|
|
72
|
+
select,
|
|
73
|
+
textarea,
|
|
74
|
+
input {
|
|
75
|
+
@apply border-1 transition-all duration-300 bg-transparent border-(--component-form-border-color) hover:border-(--component-form-border-color-hover) focus:border-(--component-primary-color);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
select,
|
|
79
|
+
textarea {
|
|
80
|
+
@apply px-3 py-2 w-full focus:outline-none;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
input[type="checkbox"],
|
|
84
|
+
input[type="radio"] {
|
|
85
|
+
@apply text-(--component-primary-color);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
textarea {
|
|
89
|
+
@apply resize-none;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
select,
|
|
93
|
+
textarea,
|
|
94
|
+
input[type="email"],
|
|
95
|
+
input[type="tel"],
|
|
96
|
+
input[type="text"] {
|
|
97
|
+
@apply bg-(--component-bg-color) text-(--component-text-color)/70 placeholder:text-(--component-text-color)/30 text-sm pl-4 py-2.5 px-0 w-full;
|
|
98
|
+
}
|
|
99
|
+
select {
|
|
100
|
+
@apply placeholder:text-(--component-text-color);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
input[type="radio"],
|
|
104
|
+
input[type="checkbox"] {
|
|
105
|
+
@apply checked:bg-(--component-primary-color) active:bg-(--component-primary-color)/20;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
input[type="radio"] {
|
|
109
|
+
@apply bg-none;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
input[type="checkbox"] {
|
|
113
|
+
@apply w-5 h-5 rounded-xs shadow-none;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
input[type="radio"] {
|
|
117
|
+
@apply w-5 h-5 rounded-full;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
label {
|
|
121
|
+
@apply ml-1 align-middle;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
button {
|
|
125
|
+
@apply bg-(--component-text-color)/10 hover:bg-(--component-text-color)/20 focus:bg-(--component-bg-color)/80 border-(--form-border-color) font-medium focus:outline-none inline-grid! text-sm w-full sm:w-auto px-5 py-2.5;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Unsubscribe form
|
|
130
|
+
*/
|
|
131
|
+
#unsubscribeForm {
|
|
132
|
+
.leed-form-block {
|
|
133
|
+
@apply my-4 sm:my-6 px-6 sm:px-8;
|
|
134
|
+
}
|
|
135
|
+
.explanation {
|
|
136
|
+
@apply font-medium mt-10 sm:mt-14 text-2xl sm:text-3xl text-(--component-text-color) pb-8 mb-8 sm:mb-16 border-b-2 text-center;
|
|
137
|
+
}
|
|
138
|
+
.leed-form-block label {
|
|
139
|
+
@apply text-base sm:text-xl font-medium;
|
|
140
|
+
}
|
|
141
|
+
#unsubscribe-button {
|
|
142
|
+
@apply mt-8 sm:mt-12 w-full bg-red-600 ring-red-600 hover:bg-red-700 focus:bg-red-700 focus:ring-red-500 active:bg-red-800 active:ring-red-400 text-white! active:text-zinc-100 font-bold text-lg sm:text-xl py-3 sm:py-4;
|
|
143
|
+
}
|
|
144
|
+
#donotcontact-group {
|
|
145
|
+
@apply border-t-2 pt-4 sm:pt-6;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.leed-documentation {
|
|
152
|
+
[role="tabpanel"] {
|
|
153
|
+
.leed-form-container .leed-form-heading {
|
|
154
|
+
@apply mt-0 text-center;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.leed-form-container {
|
|
159
|
+
.leed-form-heading {
|
|
160
|
+
@apply mt-8 text-2xl text-left!;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.leed-form-welcome-back {
|
|
164
|
+
@apply text-left! mt-4;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.leed-form-details {
|
|
168
|
+
@apply text-left! mt-4;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
form {
|
|
172
|
+
@apply w-full grid gap-4 mt-4 grid-cols-1 md:grid-cols-2 lg:grid-cols-1 xl:grid-cols-2;
|
|
173
|
+
|
|
174
|
+
label {
|
|
175
|
+
@apply mt-0!;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
div.checkbox,
|
|
179
|
+
div.textarea,
|
|
180
|
+
div.countries {
|
|
181
|
+
@apply p-0! col-start-1 col-span-full col-span-1 md:col-span-2 lg:col-span-1 xl:col-span-2;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Site-level pagination — what `leed/components/pagination.hbs` emits.
|
|
3
|
+
*
|
|
4
|
+
* NOT the documentation pager. `docs/components/docs-pagination.css` styles
|
|
5
|
+
* that one, and its classes carry a docs- prefix so the two cannot be confused:
|
|
6
|
+
* unprefixed `pagination-*` is always this component.
|
|
7
|
+
*
|
|
8
|
+
* This file exists because the partial shipped markup that nothing styled:
|
|
9
|
+
* .pagination-list, .pagination-active, .pagination-inactive,
|
|
10
|
+
* .pagination-ellipsis, .pagination-page-range and the two arrow glyphs
|
|
11
|
+
* appeared in zero stylesheets, so any site with a paginated list page — the
|
|
12
|
+
* blog index in every starter — rendered unstyled anchors and two empty <i>
|
|
13
|
+
* elements where the arrows should be.
|
|
14
|
+
*
|
|
15
|
+
* Colors come from the --component-pagination-* chain already declared in
|
|
16
|
+
* components.css, which resolves --docs-* then --site-* then a default. A site
|
|
17
|
+
* restyles this by setting --site-pagination-* rather than by overriding rules.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
.pagination-page-range {
|
|
21
|
+
@apply text-(--component-text-color)/70;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.pagination-list {
|
|
25
|
+
@apply isolate inline-flex items-center gap-1;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* One page number. Both states share the box so the row does not reflow when
|
|
29
|
+
the current page moves. */
|
|
30
|
+
.pagination-list .pagination-active,
|
|
31
|
+
.pagination-list .pagination-inactive,
|
|
32
|
+
.pagination-list .pagination-ellipsis {
|
|
33
|
+
@apply inline-flex min-w-9 items-center justify-center rounded-md px-2 py-1.5 text-sm no-underline transition-colors duration-150;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.pagination-list .pagination-inactive {
|
|
37
|
+
@apply cursor-pointer text-(--component-text-color)/60 hover:bg-(--component-text-color)/5 hover:text-(--component-text-color);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.pagination-list .pagination-active {
|
|
41
|
+
@apply font-semibold text-(--component-text-color);
|
|
42
|
+
background-color: color-mix(in srgb, var(--component-primary-color) 12%, transparent);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.pagination-list .pagination-ellipsis {
|
|
46
|
+
@apply pointer-events-none text-(--component-text-color)/40;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* The arrows.
|
|
51
|
+
*
|
|
52
|
+
* The partial emits empty <i class="back-arrow"> / <i class="next-arrow">, so
|
|
53
|
+
* the glyph has to come from here or nothing renders at all. Font Awesome is
|
|
54
|
+
* already a dependency of every site.
|
|
55
|
+
*/
|
|
56
|
+
.pagination-list .arrow {
|
|
57
|
+
@apply inline-flex items-center;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.pagination-list .back-arrow,
|
|
61
|
+
.pagination-list .next-arrow,
|
|
62
|
+
.pagination-list .ellipsis {
|
|
63
|
+
@apply text-(--component-pagination-icon-color);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.pagination-list .pagination-inactive:hover .back-arrow,
|
|
67
|
+
.pagination-list .pagination-inactive:hover .next-arrow {
|
|
68
|
+
@apply text-(--component-pagination-icon-color-hover);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.pagination-list .back-arrow {
|
|
72
|
+
@apply fa-fw fa-solid leed-icon-arrow-left;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.pagination-list .next-arrow {
|
|
76
|
+
@apply fa-fw fa-solid leed-icon-arrow-right;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.pagination-list .ellipsis {
|
|
80
|
+
@apply fa-fw fa-solid leed-icon-ellipsis;
|
|
81
|
+
}
|