Download src/components/forms/label.css from soiz1/s4s-paint: direct link, hf CLI and curl.
- Browser
- Download file 947 Bytes
-
https://huggingface.co/datasets/soiz1/s4s-paint/resolve/main/src/components/forms/label.css
- Command line
-
hf download hf://datasets/soiz1/s4s-paint/src/components/forms/label.css
-
curl -L -o label.css https://huggingface.co/datasets/soiz1/s4s-paint/resolve/main/src/components/forms/label.css
947 Bytes
| /* DO NOT EDIT | |
| @todo This file is copied from GUI and should be pulled out into a shared library. | |
| See https://github.com/LLK/scratch-paint/issues/13 */ | |
| @import "../../css/units.css"; | |
| @import "../../css/colors.css"; | |
| @import "../input-group/input-group.css"; | |
| .input-label, .input-label-secondary { | |
| font-size: 0.625rem; | |
| user-select: none; | |
| cursor: default; | |
| } | |
| [dir="ltr"] .input-label, [dir="ltr"] .input-label-secondary{ | |
| margin-right: calc(2 * $grid-unit); | |
| } | |
| [dir="rtl"] .input-label, [dir="ltr"] .input-label-secondary{ | |
| margin-left: calc(2 * $grid-unit); | |
| } | |
| .input-label { | |
| font-weight: bold; | |
| } | |
| @media only screen and (max-width: $full-size-paint) { | |
| .input-group { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: flex-start; | |
| margin-top: -1rem; /* To align with the non-labeled inputs */ | |
| } | |
| .input-label { | |
| font-weight: normal; | |
| margin-bottom: 0.25rem; | |
| } | |
| } | |