Commit graph

56 commits

Author SHA1 Message Date
Yohn
869da59717 updated accordian and dropdown to not overlap the arrow, provide enough space for the arrow, and keep the arrow at the top when theres multi-lines for the sumary text.
Reverted back the container padding.
2025-02-05 21:22:40 -05:00
Yohn
19e03a348b Closes Hamburger Menu show part of menu below Yohn/PicoCSS#49
Fixes Accordion chevron padding picocss/pico#653

Demo has been updated with new hamburger nav  example.
2025-01-24 15:29:42 -05:00
Yohn
d20ea655bf Closes #30 dicussion as modal sizes have now been added with this commit.
Cleaned up the submenu within the dropdown some more.
2025-01-11 03:56:21 -05:00
github-actions[bot]
951aae3801 Build CSS 2024-12-31 05:18:39 +00:00
Yohn
e0abc58a64 Version 2.2.1 2024-12-21 05:48:33 -05:00
Yohn
3cfdc975d2 Corrected Dropdown > Submenu formatting and alignment 2024-12-14 21:41:12 -05:00
Yohn
a6325b8991 corrected dropdown arrow colors for secondary, contrast, and primary. Also enabled the turning of the arrow when the dropdowns are open or closed 2024-12-14 21:13:13 -05:00
JWB
e1348d054f
Merge pull request #4 from mwargan/patch-1
Fix details inside drop-down being rendered as dropdown
2024-11-10 07:39:54 -05:00
Michał
6f3abc2cb6
Fix details inside drop-down being rendered as dropdown
Given a dropdown that contains an accordion within it, the accordion renders as a dropdown because the summary selector also selects the children of a dropdown element. This fixes that so it renders as expected.

```
<details class="dropdown">
   <summary> Select a phase of matter... </summary>
   <ul>
      <li>
         <details>
            <summary> This is a dropdown option </summary>
            <ul>
               <li><label><input type="radio" name="phase" value="gas"> Gas </label></li>
               <li><label><input type="radio" name="phase" value="plasma"> Plasma </label></li>
            </ul>
         </details>
      </li>
   </ul>
</details>
```
2024-09-28 11:52:54 +02:00
Igor Putina
dc7f6d0a07 Fix several typos throughout the project 2024-09-27 23:45:54 +03:00
Lucas Larroche
4eee189dab style: switch, dropdown, loading 2024-01-25 21:27:02 +07:00
Lucas Larroche
ef2100499b feat: optional parent selector 2024-01-25 01:42:54 +07:00
Lucas Larroche
c7a077f1a3 refactor: update $css-var-prefix name 2023-12-28 15:36:56 +07:00
Lucas Larroche
3c96e6043b refactor: update $css-var-prefix name 2023-12-28 13:21:52 +07:00
Lucas Larroche
f55523135c Merge branch 'v2' into pr/416 2023-12-28 12:48:15 +07:00
Lucas Larroche
a3eb54eb87 chore: update dependencies 2023-12-24 10:41:54 +07:00
Brian Espinosa
55d5e9d879 fix: Make aria-current selector more specific on links 2023-10-20 12:10:00 -07:00
Lucas Larroche
4f2f597f9f feat: support for dropdown with label 2023-04-09 12:01:33 +07:00
Lucas Larroche
f0a2480fc6 refactor: dropdown 2023-04-02 22:37:00 +07:00
Lucas Larroche
395ceca401 fix: revert aria-current='false' 2023-04-02 10:06:26 +07:00
Lucas Larroche
3644e4ccb5 fix: dropdown inside a nav 2023-04-01 10:09:45 +07:00
Lucas Larroche
0b081e3657 refactor: icons 2023-03-28 20:34:28 +07:00
Lucas Larroche
aea9dd48a9 feat: remove support for submenu as nested list 2023-03-19 10:19:09 +07:00
Lucas Larroche
dbb9c25d78 style: dropdown label 2023-03-19 01:51:49 +07:00
Lucas Larroche
5fb36d98e7 refactor: clean comment 2023-03-15 22:16:28 +07:00
Lucas Larroche
682296368b chore: build 2023-03-05 09:20:24 +07:00
Lucas Larroche
cf5b115dc2 refactor: add return line 2023-03-05 09:19:32 +07:00
Lucas Larroche
d8909184a1 chore: indent scss files 2023-02-15 00:14:05 +07:00
Lucas Larroche
6c3e126943 style: selection and focus color 2023-01-28 12:22:55 +07:00
Lucas Larroche
51dd2293ca refactor: accordion and dropdown 2023-01-01 14:00:33 +07:00
Lucas Larroche
89dbc0254b Revert "style: Default dropdown text color"
This reverts commit 3b3cf51a32.
2022-12-29 18:23:50 +07:00
Lucas Larroche
3b3cf51a32 style: Default dropdown text color 2022-12-29 18:00:46 +07:00
Lucas Larroche
6ab7c28189 fix: Dropdown item hover with labels 2022-12-29 18:00:21 +07:00
Lucas Larroche
4102702b05 fix: Dropdown focus styles 2022-12-29 17:59:44 +07:00
Lucas Larroche
6ade871f3f style: update colors 2022-12-26 11:35:56 +07:00
Lucas Larroche
ce2ed6826d refactor: modules and css vars 2022-10-23 10:47:50 +07:00
Lucas Larroche
c5a1ffc733 refactor: prefix css vars 2022-10-22 13:11:51 +07:00
Lucas Larroche
51a68ce0fc chore: replace @import with @use 2022-10-22 11:44:10 +07:00
Lucas Larroche
670826069b chore: lint with prettier on build 2022-10-15 23:22:12 +07:00
Lucas Larroche
759296f211 chore: remove docs and move to yarn 2022-10-15 17:23:02 +07:00
Lucas Larroche
6cbc258a0d fix(accordion): marker height 2022-03-06 16:24:19 +07:00
Lucas Larroche
ad534987fc Merge branch 'dev' into pr/141 2022-03-06 15:10:20 +07:00
Lucas Larroche
aaf718a1d4 chore(dropdown): Optimize selectors 2022-03-06 13:28:27 +07:00
Lucas Larroche
4c914d1807 chore: Update sanitize.css resets 2022-03-06 10:53:20 +07:00
Lucas Larroche
9a0db7ab7f style(dropdowns) 2022-03-06 09:37:03 +07:00
Lucas Larroche
8b6ae9bf93 fix(dropdowns): Marker break line 2022-02-28 11:20:58 +07:00
Lucas Larroche
083d7e7e6a feat(dropdowns): Add nested list support 2022-02-28 01:57:59 +07:00
Lucas Larroche
e54d1ee4f7 feat(dropdowns): Dropdowns inside nav 2022-02-27 22:43:15 +07:00
Lucas Larroche
2906e37f7a style(dropdowns): Better support for :focus 2022-02-27 17:21:13 +07:00
Lucas Larroche
75cfc082d8 style(dropdowns) 2022-02-27 16:55:59 +07:00