From 13abc7fc42ba26fc2a0629e31c9e0e1632c7b6f4 Mon Sep 17 00:00:00 2001 From: jtbx Date: Sat, 27 Jan 2024 22:10:30 +0100 Subject: [PATCH 1/3] Theme: Add picocss v1.5.11 --- themes/ccchh/assets/pico-1.5.11/LICENSE.md | 21 ++ .../assets/pico-1.5.11/scss/_functions.scss | 4 + .../assets/pico-1.5.11/scss/_variables.scss | 69 ++++ .../scss/components/_accordion.scss | 116 ++++++ .../pico-1.5.11/scss/components/_card.scss | 36 ++ .../scss/components/_dropdown.scss | 214 +++++++++++ .../pico-1.5.11/scss/components/_modal.scss | 168 +++++++++ .../pico-1.5.11/scss/components/_nav.scss | 141 +++++++ .../scss/components/_progress.scss | 89 +++++ .../pico-1.5.11/scss/content/_button.scss | 183 +++++++++ .../pico-1.5.11/scss/content/_code.scss | 91 +++++ .../pico-1.5.11/scss/content/_embedded.scss | 48 +++ .../scss/content/_form-alt-input-types.scss | 286 ++++++++++++++ .../scss/content/_form-checkbox-radio.scss | 138 +++++++ .../pico-1.5.11/scss/content/_form.scss | 352 ++++++++++++++++++ .../pico-1.5.11/scss/content/_miscs.scss | 33 ++ .../pico-1.5.11/scss/content/_table.scss | 50 +++ .../pico-1.5.11/scss/content/_typography.scss | 264 +++++++++++++ .../pico-1.5.11/scss/layout/_container.scss | 42 +++ .../pico-1.5.11/scss/layout/_document.scss | 48 +++ .../assets/pico-1.5.11/scss/layout/_grid.scss | 24 ++ .../pico-1.5.11/scss/layout/_scroller.scss | 16 + .../pico-1.5.11/scss/layout/_section.scss | 8 + .../pico-1.5.11/scss/layout/_sectioning.scss | 70 ++++ .../pico-1.5.11/scss/pico.classless.scss | 13 + .../scss/pico.fluid.classless.scss | 16 + .../ccchh/assets/pico-1.5.11/scss/pico.scss | 43 +++ .../assets/pico-1.5.11/scss/pico.slim.scss | 47 +++ .../pico-1.5.11/scss/themes/default.scss | 37 ++ .../scss/themes/default/_colors.scss | 65 ++++ .../scss/themes/default/_dark.scss | 159 ++++++++ .../scss/themes/default/_light.scss | 159 ++++++++ .../scss/themes/default/_styles.scss | 247 ++++++++++++ .../scss/utilities/_accessibility.scss | 52 +++ .../pico-1.5.11/scss/utilities/_loading.scss | 58 +++ .../scss/utilities/_reduce-motion.scss | 27 ++ .../pico-1.5.11/scss/utilities/_tooltip.scss | 278 ++++++++++++++ 37 files changed, 3712 insertions(+) create mode 100644 themes/ccchh/assets/pico-1.5.11/LICENSE.md create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/_functions.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/_variables.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/components/_accordion.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/components/_card.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/components/_dropdown.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/components/_modal.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/components/_nav.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/components/_progress.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/content/_button.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/content/_code.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/content/_embedded.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/content/_form-alt-input-types.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/content/_form-checkbox-radio.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/content/_form.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/content/_miscs.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/content/_table.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/content/_typography.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/layout/_container.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/layout/_document.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/layout/_grid.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/layout/_scroller.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/layout/_section.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/layout/_sectioning.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/pico.classless.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/pico.fluid.classless.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/pico.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/pico.slim.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/themes/default.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/themes/default/_colors.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/themes/default/_dark.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/themes/default/_light.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/themes/default/_styles.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/utilities/_accessibility.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/utilities/_loading.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/utilities/_reduce-motion.scss create mode 100644 themes/ccchh/assets/pico-1.5.11/scss/utilities/_tooltip.scss diff --git a/themes/ccchh/assets/pico-1.5.11/LICENSE.md b/themes/ccchh/assets/pico-1.5.11/LICENSE.md new file mode 100644 index 0000000..275ca7e --- /dev/null +++ b/themes/ccchh/assets/pico-1.5.11/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019-2023 Pico + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/themes/ccchh/assets/pico-1.5.11/scss/_functions.scss b/themes/ccchh/assets/pico-1.5.11/scss/_functions.scss new file mode 100644 index 0000000..160870c --- /dev/null +++ b/themes/ccchh/assets/pico-1.5.11/scss/_functions.scss @@ -0,0 +1,4 @@ +// Output color in RGB format +@function to-rgb($color) { + @return unquote("rgb(#{red($color)}, #{green($color)}, #{blue($color)})"); +} \ No newline at end of file diff --git a/themes/ccchh/assets/pico-1.5.11/scss/_variables.scss b/themes/ccchh/assets/pico-1.5.11/scss/_variables.scss new file mode 100644 index 0000000..e2f653e --- /dev/null +++ b/themes/ccchh/assets/pico-1.5.11/scss/_variables.scss @@ -0,0 +1,69 @@ +// Config +// –––––––––––––––––––– + +// Set the root element for $enable-semantic-container and $enable-responsive-spacings +$semantic-root-element: "body" !default; + +// Enable
,
,