diff --git a/public/base.css b/public/base.css index ebe6948..98aca30 100644 --- a/public/base.css +++ b/public/base.css @@ -96,6 +96,35 @@ select { font-size: inherit; } +details > summary { + display: block; + position: relative; + padding-left: 2rem; + cursor: pointer; + user-select: none; +} + +details > summary:before { + content: ""; + border-width: 0.6rem; + border-style: solid; + border-color: transparent transparent transparent rgba(from var(--border-subtle) r g b / 0.9); + position: absolute; + top: 0.15rem; + left: 0; + transform: rotate(0); + transform-origin: 0.3rem 50%; + transition: 0.25s transform ease; +} + +details[open] > summary:before { + transform: rotate(90deg); +} + +details > summary::-webkit-details-marker { + display: none; +} + form input, form textarea { width: 100%; diff --git a/public/sidebar/sidebar.html b/public/sidebar/sidebar.html index b6f552b..79831f3 100644 --- a/public/sidebar/sidebar.html +++ b/public/sidebar/sidebar.html @@ -210,9 +210,9 @@