Create comonent for collapsing menu entries

This commit is contained in:
2026-02-12 19:42:23 +01:00
parent 6a19b5bc18
commit ec1c8b0f5b
7 changed files with 192 additions and 125 deletions

View File

@@ -459,8 +459,8 @@ input[type="color"] {
border-radius: 6px;
margin: 2px;
background: var(--input_background);
gap: 3px;
padding: 3px;
gap: 2px;
padding: 2px;
overflow: hidden;
color: var(--input_text);
cursor: pointer;
@@ -510,8 +510,8 @@ input[type="submit"]:active,
input[type="button"]:active,
input[type="color"]:active {
box-shadow: inset 4px 4px 6px var(--shadow_color);
/* Exactly 3px offset compared to the inactive padding to give a depth effect */
padding: 6px 0px 0px 6px;
/* Exactly 2px offset compared to the inactive padding to give a depth effect */
padding: 4px 0px 0px 4px;
}
.button_highlight {