forked from external-repos/squoosh
* Load demo img * two-up styles * Back button * Button size tweak * Move back btn * Move options and back button into a single grid * Simpler max height * Responsive grid * Feed index into options * Option heading themes * More option styles * Changing checkbox position * Theme range input & use transforms * Range input underline theme * Checkbox color * Add toggle * Reorder * Arrow revealer * Round two-up thumb * Don't bundle CSS urls starting # * Results in progress * Fix Safari bugs * Download blobs * Loading spinner * Hook up download button * Different style for original image * Mobile design for results * Remove demo auto-loader * Remove redundant colors * Sticky headings
23 lines
288 B
CSS
23 lines
288 B
CSS
.checkbox {
|
|
display: inline-block;
|
|
position: relative;
|
|
--size: 17px;
|
|
}
|
|
|
|
.real-checkbox {
|
|
top: 0;
|
|
position: absolute;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.icon {
|
|
display: block;
|
|
width: var(--size);
|
|
height: var(--size);
|
|
}
|
|
|
|
.checked {
|
|
fill: var(--main-theme-color);
|
|
}
|