Tweaks and fixes, improve example

This commit is contained in:
2025-09-21 12:16:40 +02:00
parent 0f8747dce7
commit 4331ee0ebe
4 changed files with 110 additions and 93 deletions

View File

@@ -70,10 +70,11 @@
cursor: pointer;
pointer-events: all;
.-check-thumb {
background: #254b6e !important;
background: #5a6977 !important;
}
}
.-check-box {
box-sizing: border-box;
padding: 0.25rem;
padding-left: 0em;
padding-right: 1rem;
@@ -81,14 +82,17 @@
border: solid 1px #444;
background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0)), #929292;
color: #dddddd;
transition-property: padding;
transition-duration: 0.2s;
.-check-thumb {
border-radius: 0.25rem;
background-color: #444;
padding: 0.25rem 0.5rem;
box-shadow: 0px 0px 5px rgba(0,0,0,0.25);
box-shadow: 0px 0px 5px rgba(0,0,0,0.5), inset 0px 0px 2px rgba(255,255,255,0.2);
text-shadow: -1px 0px 0px rgba(0,0,0,0.5);
}
&.-check-on {
padding-left: 1em;
padding-left: 1rem;
padding-right: 0rem;
.-check-thumb {
background-color: #2c7416 !important;