From bd5a00c61b355c857b5c99323592ca432dea5d0a Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Fri, 5 Jan 2024 23:18:49 -0500 Subject: wip --- htmx/static/pico-1.5.11/docs/src/_footer.html | 4 + htmx/static/pico-1.5.11/docs/src/_head.html | 8 + htmx/static/pico-1.5.11/docs/src/_nav.html | 23 ++ htmx/static/pico-1.5.11/docs/src/_sidebar.html | 74 ++++ htmx/static/pico-1.5.11/docs/src/accordions.html | 98 ++++++ htmx/static/pico-1.5.11/docs/src/buttons.html | 77 +++++ htmx/static/pico-1.5.11/docs/src/cards.html | 48 +++ htmx/static/pico-1.5.11/docs/src/classless.html | 84 +++++ htmx/static/pico-1.5.11/docs/src/containers.html | 74 ++++ .../static/pico-1.5.11/docs/src/customization.html | 131 +++++++ htmx/static/pico-1.5.11/docs/src/dropdowns.html | 379 +++++++++++++++++++++ htmx/static/pico-1.5.11/docs/src/forms.html | 272 +++++++++++++++ htmx/static/pico-1.5.11/docs/src/grid.html | 67 ++++ htmx/static/pico-1.5.11/docs/src/index.html | 59 ++++ htmx/static/pico-1.5.11/docs/src/loading.html | 51 +++ htmx/static/pico-1.5.11/docs/src/modal.html | 206 +++++++++++ htmx/static/pico-1.5.11/docs/src/navs.html | 157 +++++++++ htmx/static/pico-1.5.11/docs/src/progress.html | 48 +++ htmx/static/pico-1.5.11/docs/src/rtl.html | 39 +++ htmx/static/pico-1.5.11/docs/src/scroller.html | 95 ++++++ htmx/static/pico-1.5.11/docs/src/tables.html | 177 ++++++++++ htmx/static/pico-1.5.11/docs/src/themes.html | 66 ++++ htmx/static/pico-1.5.11/docs/src/tooltips.html | 65 ++++ htmx/static/pico-1.5.11/docs/src/typography.html | 208 +++++++++++ .../pico-1.5.11/docs/src/we-love-classes.html | 38 +++ 25 files changed, 2548 insertions(+) create mode 100644 htmx/static/pico-1.5.11/docs/src/_footer.html create mode 100644 htmx/static/pico-1.5.11/docs/src/_head.html create mode 100644 htmx/static/pico-1.5.11/docs/src/_nav.html create mode 100644 htmx/static/pico-1.5.11/docs/src/_sidebar.html create mode 100644 htmx/static/pico-1.5.11/docs/src/accordions.html create mode 100644 htmx/static/pico-1.5.11/docs/src/buttons.html create mode 100644 htmx/static/pico-1.5.11/docs/src/cards.html create mode 100644 htmx/static/pico-1.5.11/docs/src/classless.html create mode 100644 htmx/static/pico-1.5.11/docs/src/containers.html create mode 100644 htmx/static/pico-1.5.11/docs/src/customization.html create mode 100644 htmx/static/pico-1.5.11/docs/src/dropdowns.html create mode 100644 htmx/static/pico-1.5.11/docs/src/forms.html create mode 100644 htmx/static/pico-1.5.11/docs/src/grid.html create mode 100644 htmx/static/pico-1.5.11/docs/src/index.html create mode 100644 htmx/static/pico-1.5.11/docs/src/loading.html create mode 100644 htmx/static/pico-1.5.11/docs/src/modal.html create mode 100644 htmx/static/pico-1.5.11/docs/src/navs.html create mode 100644 htmx/static/pico-1.5.11/docs/src/progress.html create mode 100644 htmx/static/pico-1.5.11/docs/src/rtl.html create mode 100644 htmx/static/pico-1.5.11/docs/src/scroller.html create mode 100644 htmx/static/pico-1.5.11/docs/src/tables.html create mode 100644 htmx/static/pico-1.5.11/docs/src/themes.html create mode 100644 htmx/static/pico-1.5.11/docs/src/tooltips.html create mode 100644 htmx/static/pico-1.5.11/docs/src/typography.html create mode 100644 htmx/static/pico-1.5.11/docs/src/we-love-classes.html (limited to 'htmx/static/pico-1.5.11/docs/src') diff --git a/htmx/static/pico-1.5.11/docs/src/_footer.html b/htmx/static/pico-1.5.11/docs/src/_footer.html new file mode 100644 index 0000000..12d3be1 --- /dev/null +++ b/htmx/static/pico-1.5.11/docs/src/_footer.html @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/htmx/static/pico-1.5.11/docs/src/_head.html b/htmx/static/pico-1.5.11/docs/src/_head.html new file mode 100644 index 0000000..a600454 --- /dev/null +++ b/htmx/static/pico-1.5.11/docs/src/_head.html @@ -0,0 +1,8 @@ + + +${props.title} • Pico CSS + + + + + \ No newline at end of file diff --git a/htmx/static/pico-1.5.11/docs/src/_nav.html b/htmx/static/pico-1.5.11/docs/src/_nav.html new file mode 100644 index 0000000..04e4b49 --- /dev/null +++ b/htmx/static/pico-1.5.11/docs/src/_nav.html @@ -0,0 +1,23 @@ + \ No newline at end of file diff --git a/htmx/static/pico-1.5.11/docs/src/_sidebar.html b/htmx/static/pico-1.5.11/docs/src/_sidebar.html new file mode 100644 index 0000000..dfdf439 --- /dev/null +++ b/htmx/static/pico-1.5.11/docs/src/_sidebar.html @@ -0,0 +1,74 @@ + diff --git a/htmx/static/pico-1.5.11/docs/src/accordions.html b/htmx/static/pico-1.5.11/docs/src/accordions.html new file mode 100644 index 0000000..48dc49b --- /dev/null +++ b/htmx/static/pico-1.5.11/docs/src/accordions.html @@ -0,0 +1,98 @@ + + + + ${require('./_head.html') + title=`Accordions` + description=`Toggle sections of content in pure HTML, without JavaScript.` + canonical=`accordions.html` + } + + + + ${require('./_nav.html')} + +
+ ${require('./_sidebar.html') active=`accordions-link`} + +
+
+
+

Accordions

+

Toggle sections of content in pure HTML, without JavaScript.

+
+
+
+ Accordion 1 +

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque urna diam, tincidunt nec porta sed, auctor id velit. Etiam venenatis nisl ut orci consequat, vitae tempus quam commodo. Nulla non mauris ipsum. Aliquam eu posuere orci. Nulla convallis lectus rutrum quam hendrerit, in facilisis elit sollicitudin. Mauris pulvinar pulvinar mi, dictum tristique elit auctor quis. Maecenas ac ipsum ultrices, porta turpis sit amet, congue turpis.

+
+
+ Accordion 2 +
    +
  • Vestibulum id elit quis massa interdum sodales.
  • +
  • Nunc quis eros vel odio pretium tincidunt nec quis neque.
  • +
  • Quisque sed eros non eros ornare elementum.
  • +
  • Cras sed libero aliquet, porta dolor quis, dapibus ipsum.
  • +
+
+
+ +
<details>
+  <summary>Accordion 1</summary>
+  <p>…</p>
+</details>
+
+<details open>
+  <summary>Accordion 2</summary>
+  <ul>
+    <li>…</li>
+    <li>…</li>
+  </ul>
+</details>
+ +
+
+

role="button" can be used to turn <summary> into a button.

+
+
+ Accordion 1 +

Aenean vestibulum nunc at libero congue, eu pretium nulla viverra. Fusce sed ex at est egestas vehicula. Integer sit amet lectus mi. Duis ut viverra mauris, at laoreet enim.

+
+
+ Accordion 2 +

Quisque porta dictum ipsum nec vestibulum. Suspendisse non mi ac tellus scelerisque egestas. Sed vel nisi laoreet, rhoncus urna quis, luctus risus. Donec vitae molestie felis.

+
+
+ Accordion 3 +

Praesent quam ipsum, condimentum non augue at, porttitor interdum tellus. Curabitur ultrices consectetur leo, a placerat mauris malesuada et. In quis varius risus.

+
+
+ +
<!-- Primary -->
+<details>
+  <summary role="button">Accordion 1</summary>
+  <p>…</p>
+</details>
+
+<!-- Secondary -->
+<details>
+  <summary role="button" class="secondary">Accordion 2</summary>
+  <p>…</p>
+</details>
+
+<!-- Contrast -->
+<details>
+  <summary role="button" class="contrast">Accordion 3</summary>
+  <p>…</p>
+</details>
+
+            
+
+
+ + ${require('./_footer.html')} + +
+
+ + + diff --git a/htmx/static/pico-1.5.11/docs/src/buttons.html b/htmx/static/pico-1.5.11/docs/src/buttons.html new file mode 100644 index 0000000..7b37c18 --- /dev/null +++ b/htmx/static/pico-1.5.11/docs/src/buttons.html @@ -0,0 +1,77 @@ + + + + ${require('./_head.html') + title=`Buttons` + description=`The essential button in pure HTML, without .classes for the default style.` + canonical=`buttons.html` + } + + + + ${require('./_nav.html')} + +
+ ${require('./_sidebar.html') active=`buttons-link`} + +
+
+
+

Buttons

+

The essential button in pure HTML, without .classes for the default style.

+
+
+ + +
+ +
<button>Button</button>
+<input type="submit">
+ +
+
+

Buttons are width: 100%; by default. Use role="button" on an inline element if you need an inline button.

+
+ Link + Link +
+ +
<a href="#" role="button">Link</a>
+<a href="#" role="button">Link</a>
+ +
+
+

Buttons come with .secondary and .contrast styles.

+

ℹ️ These classes are not available in the class-less version.

+
+ Secondary + Contrast +
+ +
<a href="#" role="button" class="secondary">Secondary</a>
+<a href="#" role="button" class="contrast">Contrast</a>
+ +
+
+

And a classic .outline variant.

+
+ Primary + Secondary + Contrast +
+ +
<a href="#" role="button" class="outline">Primary</a>
+<a href="#" role="button" class="secondary outline">Secondary</a>
+<a href="#" role="button" class="contrast outline">Contrast</a>
+ +
+
+
+ + ${require('./_footer.html')} + +
+
+ + + diff --git a/htmx/static/pico-1.5.11/docs/src/cards.html b/htmx/static/pico-1.5.11/docs/src/cards.html new file mode 100644 index 0000000..d3861b7 --- /dev/null +++ b/htmx/static/pico-1.5.11/docs/src/cards.html @@ -0,0 +1,48 @@ + + + + ${require('./_head.html') + title=`Cards` + description=`A flexible container with graceful spacings across devices and viewports.` + canonical=`cards.html` + } + + + + ${require('./_nav.html')} + +
+ ${require('./_sidebar.html') active=`cards-link`} + +
+
+
+

Cards

+

A flexible container with graceful spacings across devices and viewports.

+
+
+ I'm a card! +
+
<article>I'm a card!</article>
+

You can use <header> and footer <footer> inside <article>

+
+
Header
+ Body +
Footer
+
+ +
<article>
+  <header>Header</header>
+  Body
+  <footer>Footer</footer>
+</article>
+ +
+ + ${require('./_footer.html')} + +
+
+ + + diff --git a/htmx/static/pico-1.5.11/docs/src/classless.html b/htmx/static/pico-1.5.11/docs/src/classless.html new file mode 100644 index 0000000..6321a1a --- /dev/null +++ b/htmx/static/pico-1.5.11/docs/src/classless.html @@ -0,0 +1,84 @@ + + + + ${require('./_head.html') + title=`Class-less version` + description=`For wild HTML purists, Pico provides a .classless version.` + canonical=`classless.html` + } + + + + ${require('./_nav.html')} + +
+ ${require('./_sidebar.html') active=`classless-link`} + +
+
+
+

Class-less version

+

For wild HTML purists!

+
+

Pico provides a .classless version (example).

+

In this version, <header>, <main>, and <footer> act as containers to define a centered or a fluid viewport.

+ +
// Containers
+body > header,
+body > main,
+body > footer {
+  
+}
+
+ +

Usage:

+

Use the default .classless version if you need centered viewports:

+
<link rel="stylesheet" href="css/pico.classless.min.css">
+

Or use the .fluid.classless version if you need a fluid container:

+
<link rel="stylesheet" href="css/pico.fluid.classless.min.css">
+

These .classless versions are also available on jsDelivr CDN:

+ +
// Centered viewport
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.classless.min.css">
+
+ +
// Fluid viewport
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.fluid.classless.min.css">
+
+ +

If you need to customize the default parent (<body>) for <header>, <main>, and <footer>, you can recompile Pico by defining another CSS selector.

+

Useful for React, Gatsby or Next.js.

+ +
/* Custom Class-less version for React */
+
+// Set the root element
+$semantic-root-element: "#root";
+
+// Enable <header>, <main>, <footer> inside $semantic-root-element as containers
+$enable-semantic-container: true;
+
+// Enable .classes
+$enable-classes: false;
+
+// Import Pico
+@import "@picocss/pico/scss/pico";
+ +

The code above will compile Pico with the containers defined like this:

+ +
// Containers
+#root > header,
+#root > main,
+#root > footer {
+  
+}
+
+ +
+ + ${require('./_footer.html')} + +
+
+ + + diff --git a/htmx/static/pico-1.5.11/docs/src/containers.html b/htmx/static/pico-1.5.11/docs/src/containers.html new file mode 100644 index 0000000..63dd3b7 --- /dev/null +++ b/htmx/static/pico-1.5.11/docs/src/containers.html @@ -0,0 +1,74 @@ + + + + ${require('./_head.html') + title=`Containers` + description=`.container enable a centered viewport, .container-fluid enable a 100% layout.` + canonical=`containers.html` + } + + + + ${require('./_nav.html')} + +
+ ${require('./_sidebar.html') active=`containers-link`} + +
+
+
+

Containers

+

+ .container enable a centered viewport.
+ .container-fluid enable a 100% layout. +

+
+ +
<body>
+  <main class="container"></main>
+</body>
+ +

Pico uses the same breakpoints and viewports sizes as Bootstrap.

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
DeviceExtra smallSmallMediumLargeExtra large
Breakpoint<576px≥576px≥768px≥992px≥1200px
Viewport100%540px720px960px1140px
+
+

<header>, <main> and <footer> as direct children of <body> provide a responsive vertical padding

+

<section> provides a responsive margin-bottom to separate your sections.

+
+ + ${require('./_footer.html')} + +
+
+ + + diff --git a/htmx/static/pico-1.5.11/docs/src/customization.html b/htmx/static/pico-1.5.11/docs/src/customization.html new file mode 100644 index 0000000..c56913d --- /dev/null +++ b/htmx/static/pico-1.5.11/docs/src/customization.html @@ -0,0 +1,131 @@ + + + + ${require('./_head.html') + title=`Customization` + description=`You can customize themes with SCSS, or you can edit the CSS variables. All Pico's styles and colors are set with CSS custom properties (variables).` + canonical=`customization.html` + } + + + + ${require('./_nav.html')} + +
+ ${require('./_sidebar.html') active=`customization-link`} + +
+
+
+

Customization

+

You can customize themes with SCSS or, you can edit the CSS variables.

+
+

Example: pick a color!

+ +
+

Custom theme

+
+
+ + + +
+
+ +
+
+
+ +
// Simplified example
+:root {
+  --primary: ;
+}
+
+ +
+
+

There are 2 ways to customize your version of Pico CSS:

+

Overriding CSS variables

+

All Pico's styles and colors are set with CSS custom properties (variables). Just override the CSS variables to customize your version of Pico.

+ +
/* Light scheme (Default) */
+/* Can be forced with data-theme="light" */
+[data-theme="light"],
+:root:not([data-theme="dark"]) {
+  --primary: ;
+  --primary-hover: ;
+  --primary-focus: ;
+  --primary-inverse: ;
+}
+
+/* Dark scheme (Auto) */
+/* Automatically enabled if user has Dark mode enabled */
+@media only screen and (prefers-color-scheme: dark) {
+  :root:not([data-theme]) {
+    --primary: ;
+    --primary-hover: ;
+    --primary-focus: ;
+    --primary-inverse: ;
+  }
+}
+
+/* Dark scheme (Forced) */
+/* Enabled if forced with data-theme="dark" */
+[data-theme="dark"] {
+  --primary: ;
+  --primary-hover: ;
+  --primary-focus: ;
+  --primary-inverse: ;
+}
+
+/* (Common styles) */
+:root {
+  --form-element-active-border-color: var(--primary);
+  --form-element-focus-color: var(--primary-focus);
+  --switch-color: var(--primary-inverse);
+  --switch-checked-background-color: var(--primary);
+}
+
+ +

You can find all the CSS variables used in the default theme here: css/themes/default.css

+

Importing Pico SASS library

+

We recommend customizing Pico by importing SASS source files into your project. This way, you can keep Pico up to date without conflicts since Pico code and your custom code are separated.

+

Compile the SASS file to CSS to get a custom version of Pico.

+ +
/* Custom  version */
+
+// Override default variables
+$primary-500: ;
+$primary-600: ;
+$primary-700: ;
+
+// Import Pico
+@import "@picocss/pico/scss/pico";
+ +

Alternatively, you can create a custom theme and import it into your project with the components you need.

+ +
/* Custom version */
+
+// Custom theme
+@import "path/themes/custom";
+
+// Import needed components
+@import "@picocss/pico/scss/pico/layout/document";
+@import "@picocss/pico/scss/pico/layout/sectioning";
+
+
+ +

Compiling a custom SASS version allows you to create a lighter version with only the components that are useful to you.

+
+ + ${require('./_footer.html')} + +
+
+ + + + diff --git a/htmx/static/pico-1.5.11/docs/src/dropdowns.html b/htmx/static/pico-1.5.11/docs/src/dropdowns.html new file mode 100644 index 0000000..9b9146c --- /dev/null +++ b/htmx/static/pico-1.5.11/docs/src/dropdowns.html @@ -0,0 +1,379 @@ + + + + ${require('./_head.html') + title=`Dropdowns` + description=`Dropdown menus and custom selects without JavaScript.` + canonical=`dropdowns.html` + } + + + + ${require('./_nav.html')} + +
+ ${require('./_sidebar.html') active=`dropdowns-link`} + +
+ + + ${require('./_footer.html')} + +
+
+ + + diff --git a/htmx/static/pico-1.5.11/docs/src/forms.html b/htmx/static/pico-1.5.11/docs/src/forms.html new file mode 100644 index 0000000..7f6f41b --- /dev/null +++ b/htmx/static/pico-1.5.11/docs/src/forms.html @@ -0,0 +1,272 @@ + + + + ${require('./_head.html') + title=`Forms` + description=`All form elements are fully responsive in pure semantic HTML, allowing forms to scale gracefully across devices and viewports.` + canonical=`forms.html` + } + + + + ${require('./_nav.html')} + +
+ ${require('./_sidebar.html') active=`forms-link`} + +
+
+
+

Forms

+

All form elements are fully responsive in pure semantic HTML, allowing forms to scale gracefully across devices and viewports.

+
+

Inputs are width: 100%; by default. You can use .grid inside a form.

+

All native form elements are fully customizable and themeable with CSS variables.

+
+
+
+ + +
+ + + We'll never share your email with anyone else. + +
+
+ +
<form>
+
+  <!-- Grid -->
+  <div class="grid">
+
+    <!-- Markup example 1: input is inside label -->
+    <label for="firstname">
+      First name
+      <input type="text" id="firstname" name="firstname" placeholder="First name" required>
+    </label>
+
+    <label for="lastname">
+      Last name
+      <input type="text" id="lastname" name="lastname" placeholder="Last name" required>
+    </label>
+
+  </div>
+
+  <!-- Markup example 2: input is after label -->
+  <label for="email">Email address</label>
+  <input type="email" id="email" name="email" placeholder="Email address" required>
+  <small>We'll never share your email with anyone else.</small>
+
+  <!-- Button -->
+  <button type="submit">Submit</button>
+
+</form>
+ +
+
+

Disabled and validation states:

+
+
+ + + + +
+
+ +
<input type="text" placeholder="Valid" aria-invalid="false">
+<input type="text" placeholder="Invalid" aria-invalid="true">
+<input type="text" placeholder="Disabled" disabled>
+<input type="text" value="Readonly" readonly>
+ +
+
+

<fieldset> is unstyled and acts as a container for radios and checkboxes, providing a consistent margin-bottom for the set.

+

role="switch" on a type="checkbox" enable a custom switch.

+
+ + +
+ Size + + + + +
+
+ + +
+
+ + +
+
+ +
<!-- Select -->
+<label for="fruit">Fruit</label>
+<select id="fruit" required>
+  <option value="" selected>Select a fruit…</option>
+  <option>…</option>
+</select>
+
+<!-- Radios -->
+<fieldset>
+  <legend>Size</legend>
+  <label for="small">
+    <input type="radio" id="small" name="size" value="small" checked>
+    Small
+  </label>
+  <label for="medium">
+    <input type="radio" id="medium" name="size" value="medium">
+    Medium
+  </label>
+  <label for="large">
+    <input type="radio" id="large" name="size" value="large">
+    Large
+  </label>
+  <label for="extralarge">
+    <input type="radio" id="extralarge" name="size" value="extralarge" disabled>
+    Extra Large
+  </label>
+</fieldset>
+
+<!-- Checkboxes -->
+<fieldset>
+  <label for="terms">
+    <input type="checkbox" id="terms" name="terms">
+    I agree to the Terms and Conditions
+  </label>
+  <label for="terms_sharing">
+    <input type="checkbox" id="terms_sharing" name="terms_sharing" disabled checked>
+    I agree to share my information with partners
+  </label>
+</fieldset>
+
+<!-- Switches -->
+<fieldset>
+  <label for="switch">
+    <input type="checkbox" id="switch" name="switch" role="switch">
+    Publish on my profile
+  </label>
+  <label for="switch_disabled">
+    <input type="checkbox" id="switch_disabled" name="switch_disabled" role="switch_disabled" disabled checked>
+    User must change password at next logon
+  </label>
+</fieldset>
+ +
+
+

You can change a checkbox to an indeterminate state by setting the indeterminate property to true

+
+ + +
+ +
<script>
+  document.getElementById('indeterminate-checkbox').indeterminate = true;
+</script>
+ +
+
+ +

Others input types:

+
+ + + + + + +
+ +
<!-- Search -->
+<input type="search" id="search" name="search" placeholder="Search">
+
+<!-- File browser -->
+<label for="file">File browser
+  <input type="file" id="file" name="file">
+</label>
+
+<!-- Range slider -->
+<label for="range">Range slider
+  <input type="range" min="0" max="100" value="50" id="range" name="range">
+</label>
+
+<!-- Date -->
+<label for="date">Date
+  <input type="date" id="date" name="date">
+</label>
+
+<!-- Time -->
+<label for="time">Time
+  <input type="time" id="time" name="time">
+</label>
+
+<!-- Color -->
+<label for="color">Color
+  <input type="color" id="color" name="color" value="#0eaaaa">
+</label>
+ +
+
+
+ + ${require('./_footer.html')} + +
+
+ + + diff --git a/htmx/static/pico-1.5.11/docs/src/grid.html b/htmx/static/pico-1.5.11/docs/src/grid.html new file mode 100644 index 0000000..6083516 --- /dev/null +++ b/htmx/static/pico-1.5.11/docs/src/grid.html @@ -0,0 +1,67 @@ + + + + ${require('./_head.html') + title=`Grid` + description=`.grid enable a minimal grid system with auto-layout columns.` + canonical=`grid.html` + } + + + + ${require('./_nav.html')} + +
+ ${require('./_sidebar.html') active=`grid-link`} + +
+
+
+

Grid

+

.grid enable a minimal grid system with auto-layout columns.

+
+
+
+
1
+
2
+
3
+
4
+
+
+ +
<div class="grid">
+  <div>1</div>
+  <div>2</div>
+  <div>3</div>
+  <div>4</div>
+</div>
+ +
+
+

Columns intentionally collapses below large devices (992px)

+

To go further, discover how to merge Pico with the Bootstrap grid system.

+
+ + +  More about grids + +

As Pico focuses on native HTML elements, we kept this grid system very minimalist.

+

A complete grid system in flexbox, with all the ordering, offsetting and, breakpoints utilities, can be heavier than the total size of the Pico library. Not really in the Pico spirit.

+

If you need a quick way to prototyping or build a complex layout, you can look at Flexbox grid layouts. For example, Bootstrap Grid System only or Flexbox Grid.

+

If you need a light and custom grid, you can look at CSS Grid Generators. For example, CSS Grid Generator, Layoutit! or Griddy.

+

Alternatively, you can learn about CSS Grid.

+
+
+ + ${require('./_footer.html')} + +
+
+ + + + diff --git a/htmx/static/pico-1.5.11/docs/src/index.html b/htmx/static/pico-1.5.11/docs/src/index.html new file mode 100644 index 0000000..5c52c54 --- /dev/null +++ b/htmx/static/pico-1.5.11/docs/src/index.html @@ -0,0 +1,59 @@ + + + + ${require('./_head.html') + title=`Documentation` + description=`Pico works without package manager or dependencies! There are 4 ways to get started with Pico CSS: manually, from a CDN, with NPM, or with Composer.` + canonical=`` + } + + + + ${require('./_nav.html')} + +
+ ${require('./_sidebar.html') active=`start-link`} + +
+
+
+

Usage

+

Works without package manager or dependencies 🙂!

+
+

There are 4 ways to get started with Pico CSS:

+

Install manually

+

Download Pico and link /css/pico.min.css in the <head> of your website.

+
<link rel="stylesheet" href="css/pico.min.css">
+

Install from CDN

+

Alternatively, you can use jsDelivr CDN to link pico.css

+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.min.css">
+

Install with NPM

+
npm install @picocss/pico
+

Install with Composer

+
composer require picocss/pico
+

Starter HTML template:

+ +
<!doctype html>
+<html lang="en">
+  <head>
+    <meta charset="utf-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1">
+    <link rel="stylesheet" href="css/pico.min.css">
+    <title>Hello, world!</title>
+  </head>
+  <body>
+    <main class="container">
+      <h1>Hello, world!</h1>
+    </main>
+  </body>
+</html>
+ +
+ + ${require('./_footer.html')} + +
+
+ + + diff --git a/htmx/static/pico-1.5.11/docs/src/loading.html b/htmx/static/pico-1.5.11/docs/src/loading.html new file mode 100644 index 0000000..b2fe190 --- /dev/null +++ b/htmx/static/pico-1.5.11/docs/src/loading.html @@ -0,0 +1,51 @@ + + + + ${require('./_head.html') + title=`Loading` + description=`aria-busy='true' enable a loading indicator.` + canonical=`loading.html` + } + + + + ${require('./_nav.html')} + +
+ ${require('./_sidebar.html') active=`loading-link`} + +
+
+
+

Loading

+

aria-busy="true" enable a loading indicator.

+
+
+ + +
+ +
<button aria-busy="true">Please wait…</button>
+<button aria-busy="true" class="secondary"></button>
+ +
+
+

It can be applied to any block:

+
+
<article aria-busy="true"></article>
+

Or any text element:

+ +
+ + ${require('./_footer.html')} + +
+
+ + + diff --git a/htmx/static/pico-1.5.11/docs/src/modal.html b/htmx/static/pico-1.5.11/docs/src/modal.html new file mode 100644 index 0000000..5feb1ce --- /dev/null +++ b/htmx/static/pico-1.5.11/docs/src/modal.html @@ -0,0 +1,206 @@ + + + + ${require('./_head.html') + title=`Modal` + description=`A flexible container with graceful spacings across devices and viewports.` + canonical=`modal.html` + } + + + + ${require('./_nav.html')} + +
+ ${require('./_sidebar.html') active=`modal-link`} + +
+ + + ${require('./_footer.html')} + +
+
+ + +
+ +

Confirm your action!

+

Cras sit amet maximus risus. Pellentesque sodales odio sit amet augue finibus pellentesque. Nullam finibus risus non semper euismod.

+ +
+
+ + + + + + + \ No newline at end of file diff --git a/htmx/static/pico-1.5.11/docs/src/navs.html b/htmx/static/pico-1.5.11/docs/src/navs.html new file mode 100644 index 0000000..f109deb --- /dev/null +++ b/htmx/static/pico-1.5.11/docs/src/navs.html @@ -0,0 +1,157 @@ + + + + ${require('./_head.html') + title=`Navs` + description=`The essential navbar component in pure semantic HTML.` + canonical=`navs.html` + } + + + + ${require('./_nav.html')} + +
+ ${require('./_sidebar.html') active=`navs-link`} + +
+ + + ${require('./_footer.html')} + +
+
+ + + + \ No newline at end of file diff --git a/htmx/static/pico-1.5.11/docs/src/progress.html b/htmx/static/pico-1.5.11/docs/src/progress.html new file mode 100644 index 0000000..e5ce1e2 --- /dev/null +++ b/htmx/static/pico-1.5.11/docs/src/progress.html @@ -0,0 +1,48 @@ + + + + ${require('./_head.html') + title=`Progress` + description=`Progress bar element in pure HTML, without JavaScript.` + canonical=`progress.html` + } + + + + ${require('./_nav.html')} + +
+ ${require('./_sidebar.html') active=`progress-link`} + +
+
+
+

Progress

+

Progress bar element in pure HTML, without JavaScript.

+
+
+ +
+ +
<progress value="25" max="100"></progress>
+ +
+
+

A progress bar without a value attribute is indeterminate.

+
+ +
+ +
<progress></progress>
+ +
+
+
+ + ${require('./_footer.html')} + +
+
+ + + diff --git a/htmx/static/pico-1.5.11/docs/src/rtl.html b/htmx/static/pico-1.5.11/docs/src/rtl.html new file mode 100644 index 0000000..479a307 --- /dev/null +++ b/htmx/static/pico-1.5.11/docs/src/rtl.html @@ -0,0 +1,39 @@ + + + + ${require('./_head.html') + title=`RTL (Right-To-Left)` + description=`Support for right-to-left text in Pico with dir='rtl'` + canonical=`rtl.html` + } + + + + ${require('./_nav.html')} + +
+ ${require('./_sidebar.html') active=`rtl-link`} + +
+
+
+

RTL

+

Support for right-to-left text in Pico.

+
+

To enable RTL in Pico you need to set dir="rtl"on the <html> element (example).

+ +
<!doctype html>
+<html dir="rtl" lang="ar">
+  ...
+</html>
+ +

ℹ️ The RTL feature is still experimental and will probably evolve.

+
+ + ${require('./_footer.html')} + +
+
+ + + diff --git a/htmx/static/pico-1.5.11/docs/src/scroller.html b/htmx/static/pico-1.5.11/docs/src/scroller.html new file mode 100644 index 0000000..bea1ab4 --- /dev/null +++ b/htmx/static/pico-1.5.11/docs/src/scroller.html @@ -0,0 +1,95 @@ + + + + ${require('./_head.html') + title=`Horizontal scroller` + description=`<figure> acts as a container to make any content scrollable horizontally.` + canonical=`scroller.html` + } + + + + ${require('./_nav.html')} + +
+ ${require('./_sidebar.html') active=`scroller-link`} + +
+
+
+

Horizontal scroller

+

<figure> acts as a container to make any content scrollable horizontally.

+
+

Useful to have responsive <table>

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#HeadingHeadingHeadingHeadingHeadingHeadingHeadingHeadingHeading
1CellCellCellCellCellCellCellCellCell
2CellCellCellCellCellCellCellCellCell
3CellCellCellCellCellCellCellCellCell
+
+ +
<figure>
+  <table>
+    …
+  </table>
+</figure>
+ +
+ + ${require('./_footer.html')} + +
+
+ + + diff --git a/htmx/static/pico-1.5.11/docs/src/tables.html b/htmx/static/pico-1.5.11/docs/src/tables.html new file mode 100644 index 0000000..d097f00 --- /dev/null +++ b/htmx/static/pico-1.5.11/docs/src/tables.html @@ -0,0 +1,177 @@ + + + + ${require('./_head.html') + title=`Tables` + description=`Default styles for tables without .classes` + canonical=`tables.html` + } + + + + ${require('./_nav.html')} + +
+ ${require('./_sidebar.html') active=`tables-link`} + +
+
+
+

Tables

+

Default styles for tables without .classes

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#HeadingHeadingHeadingHeadingHeading
1CellCellCellCellCell
2CellCellCellCellCell
3CellCellCellCellCell
#TotalTotalTotalTotalTotal
+
+ +
<table>
+  <thead>
+    <tr>
+      <th scope="col">#</th>
+      <th scope="col">Heading</th>
+      <th scope="col">Heading</th>
+      <th scope="col">Heading</th>
+      <th scope="col">Heading</th>
+      <th scope="col">Heading</th>
+    </tr>
+  </thead>
+  <tbody>
+    <tr>
+      <th scope="row">1</th>
+      <td>Cell</td>
+      <td>Cell</td>
+      <td>Cell</td>
+      <td>Cell</td>
+      <td>Cell</td>
+    </tr>
+    <tr>
+      <th scope="row">1</th>
+      <td>Cell</td>
+      <td>Cell</td>
+      <td>Cell</td>
+      <td>Cell</td>
+      <td>Cell</td>
+    </tr>
+    <tr>
+      <th scope="row">1</th>
+      <td>Cell</td>
+      <td>Cell</td>
+      <td>Cell</td>
+      <td>Cell</td>
+      <td>Cell</td>
+    </tr>
+  </tbody>
+  <tfoot>
+    <tr>
+      <th scope="col">#</th>
+      <td scope="col">Total</td>
+      <td scope="col">Total</td>
+      <td scope="col">Total</td>
+      <td scope="col">Total</td>
+      <td scope="col">Total</td>
+    </tr>
+  </tfoot>
+</table>
+ +

role="grid" enable striped rows.

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#HeadingHeadingHeadingHeadingHeading
1CellCellCellCellCell
2CellCellCellCellCell
3CellCellCellCellCell
+
+ +
<table role="grid">
+  
+</table>
+ +
+ + ${require('./_footer.html')} + +
+
+ + + diff --git a/htmx/static/pico-1.5.11/docs/src/themes.html b/htmx/static/pico-1.5.11/docs/src/themes.html new file mode 100644 index 0000000..1f6cb99 --- /dev/null +++ b/htmx/static/pico-1.5.11/docs/src/themes.html @@ -0,0 +1,66 @@ + + + + ${require('./_head.html') + title=`Themes` + description=`Pico is shipped with 2 consistent themes: Light & Dark. The Light theme is used by default. The Dark theme is automatically enabled if the user has dark mode enabled ('prefers-color-scheme: dark').` + canonical=`themes.html` + } + + + + ${require('./_nav.html')} + +
+ ${require('./_sidebar.html') active=`themes-link`} + +
+
+
+

Themes

+

Pico is shipped with 2 consistent themes: Light & Dark.

+
+

The Light theme is used by default. The Dark theme is automatically enabled if the user has dark mode enabled prefers-color-scheme: dark

+
+ +
+

Themes can be forced on document level <html data-theme="light"> or on any HTML element <article data-theme="dark">

+
+

Light theme

+
+ + + +
+
+ +
<article data-theme="light">
+  …
+</article>
+ +
+
+
+

Dark theme

+
+ + + +
+
+ +
<article data-theme="dark">
+  …
+</article>
+ +
+
+
+ + ${require('./_footer.html')} + +
+
+ + + diff --git a/htmx/static/pico-1.5.11/docs/src/tooltips.html b/htmx/static/pico-1.5.11/docs/src/tooltips.html new file mode 100644 index 0000000..be225a3 --- /dev/null +++ b/htmx/static/pico-1.5.11/docs/src/tooltips.html @@ -0,0 +1,65 @@ + + + + ${require('./_head.html') + title=`Tooltips` + description=`Enable tooltips everywhere in pure HTML, without JavaScript.` + canonical=`tooltips.html` + } + + + + ${require('./_nav.html')} + +
+ ${require('./_sidebar.html') active=`tooltips-link`} + +
+
+
+

Tooltips

+

Enable tooltips everywhere in pure HTML, without JavaScript.

+
+
+

Tooltip on a link

+

Tooltip on inline element

+

+
+ +
<p>Tooltip on a <a href="#" data-tooltip="Tooltip">link</a></p>
+<p>Tooltip on <em data-tooltip="Tooltip">inline element</em></p>
+<p><button data-tooltip="Tooltip">Tooltip on a button</button></p>
+
+ +
+
+ +

data-placement with the values top, right, bottom or left is used to control the position of the tooltip.

+ +
+
+
+
+
+
+
+
+ +
<button data-tooltip="Top" data-placement="top">Top</button>
+<button data-tooltip="Right" data-placement="right">Right</button>
+<button data-tooltip="Bottom" data-placement="bottom">Bottom</button>
+<button data-tooltip="Left" data-placement="left">Left</button>
+
+ +
+
+ +
+ + ${require('./_footer.html')} + +
+
+ + + diff --git a/htmx/static/pico-1.5.11/docs/src/typography.html b/htmx/static/pico-1.5.11/docs/src/typography.html new file mode 100644 index 0000000..55cdc1f --- /dev/null +++ b/htmx/static/pico-1.5.11/docs/src/typography.html @@ -0,0 +1,208 @@ + + + + ${require('./_head.html') + title=`Typography` + description=`All typographic elements are responsive, allowing text to scale gracefully across devices and viewports.` + canonical=`typography.html` + } + + + + ${require('./_nav.html')} + +
+ ${require('./_sidebar.html') active=`typography-link`} + +
+
+
+

Typography

+

+ All typographic elements are responsive, allowing text to scale + gracefully across devices and viewports. +

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
DeviceExtra smallSmallMediumLargeExtra large
Base font16px17px18px19px20px
<h1>32px34px36px38px40px
<h2>28px29px31.5px33.25px35px
<h3>24px25.5px27px28.5px30px
<h4>20px21.25px22.5px23.75px25px
<h5>18px19.125px20.25px21.375px22.5px
<h6>16px17px18px19px20px
<small>14px14.875px15.75px16.625px17.5px
+
+

Headings:

+
+

Heading 1

+

Heading 2

+

Heading 3

+

Heading 4

+
Heading 5
+
Heading 6
+
+
<h1>Heading 1</h1>
+<h2>Heading 2</h2>
+<h3>Heading 3</h3>
+<h4>Heading 4</h4>
+<h5>Heading 5</h5>
+<h6>Heading 6</h6>
+
+
+

+ Inside a <hgroup> or a + <div class="headings"> all + margin-bottom are collapsed and the + :last-child is muted. +

+
+
+

Heading 2

+

Subtitle for heading 2

+
+
+
<hgroup>
+  <h2>Heading 2</h2>
+  <p>Subtitle for heading 2</p>
+</hgroup>
+
+
+ +

Inline text elements:

+
+
+
+

Abbr. abbr

+

Bold strong b

+

+ Italic i em + cite +

+

Deleted del

+

Inserted ins

+

Ctrl + S kbd

+
+
+

Highlighted mark

+

Strikethrough s

+

Small small

+

Text Sub sub

+

Text Sup sup

+

Underline u

+
+
+
+

Links come with .secondary and .contrast styles.

+

ℹ️ These classes are not available in the class-less version.

+
+ Primary
+ Secondary
+ Contrast
+
+
<a href="#">Primary</a>
+<a href="#" class="secondary">Secondary</a>
+<a href="#" class="contrast">Contrast</a>
+
+
+

Blockquote:

+
+
+ "Maecenas vehicula metus tellus, vitae congue turpis hendrerit + non. Nam at dui sit amet ipsum cursus ornare." +
+ - Phasellus eget lacinia +
+
+
+
<blockquote>
+  "Maecenas vehicula metus tellus, vitae congue turpis hendrerit non. 
+  Nam at dui sit amet ipsum cursus ornare."
+  <footer>
+    <cite>- Phasellus eget lacinia</cite>
+  </footer>
+</blockquote>
+
+
+
+ + ${require('./_footer.html')} +
+
+ + + diff --git a/htmx/static/pico-1.5.11/docs/src/we-love-classes.html b/htmx/static/pico-1.5.11/docs/src/we-love-classes.html new file mode 100644 index 0000000..e3718df --- /dev/null +++ b/htmx/static/pico-1.5.11/docs/src/we-love-classes.html @@ -0,0 +1,38 @@ + + + + ${require('./_head.html') + title=`We love .classes` + description=`As a starting point, Pico chose to be as neutral and semantic as possible using very few .classes. But of course, .classes are not a bad practice at all. Feel free to use modifiers.` + canonical=`we-love-classes.html` + } + + + + ${require('./_nav.html')} + +
+ ${require('./_sidebar.html') active=`we-love-classes-link`} + +
+
+

We love .classes

+

As a starting point, Pico chose to be as neutral and semantic as possible using very few .classes

+

But of course, .classes are not a bad practice at all.

+

Feel free to use modifiers.

+
+
<button class="warning">Action</button>
+
+

Just try to keep your HTML clean and semantic to keep the Pico spirit.

+
+
<button class="button-red margin-large padding-medium">Action</button>
+
+
+ + ${require('./_footer.html')} + +
+
+ + + -- cgit v1.2.3