Spaces:
Configuration error
Configuration error
Download web/libs/ui/src/lib/label/label.module.css from bisalsaha/lebel-studio: direct link, hf CLI and curl.
- Browser
- Download file 1.58 kB
-
https://huggingface.co/spaces/bisalsaha/lebel-studio/resolve/main/web/libs/ui/src/lib/label/label.module.css
- Command line
-
hf download hf://spaces/bisalsaha/lebel-studio/web/libs/ui/src/lib/label/label.module.css
-
curl -L -o label.module.css https://huggingface.co/spaces/bisalsaha/lebel-studio/resolve/main/web/libs/ui/src/lib/label/label.module.css
1.58 kB
| .label { | |
| margin-bottom: 0; | |
| &__text { | |
| height: 22px; | |
| display: flex; | |
| margin-bottom: 4px; | |
| font-size: 14px; | |
| line-height: 22px; | |
| justify-content: space-between; | |
| color: var(--color-neutral-content-subtle); | |
| } | |
| &__description { | |
| margin-top: 5px; | |
| font-size: 14px; | |
| line-height: 22px; | |
| display: block; | |
| @apply text-neutral-content-subtler; | |
| } | |
| &__field { | |
| line-height: 0; | |
| } | |
| &_size_small &__text { | |
| font-size: 14px; | |
| margin: 0; | |
| height: 14px; | |
| line-height: 14px; | |
| } | |
| &_size_large &__text { | |
| font-weight: 500; | |
| font-size: 16px; | |
| line-height: 22px; | |
| margin-bottom: 16px; | |
| } | |
| &_flat &__text { | |
| padding: 0; | |
| } | |
| .input, | |
| .select, | |
| .textarea { | |
| width: 100%; | |
| } | |
| &[data-required] &__text::after { | |
| content: "Required"; | |
| font-size: 0.825rem; | |
| color: var(--sand_500); | |
| margin-left: 0.325rem; | |
| } | |
| &_placement_right { | |
| display: inline-flex; | |
| flex-direction: row-reverse; | |
| gap: var(--spacing-tighter, 4px); | |
| } | |
| &_placement_left { | |
| display: inline-flex; | |
| gap: var(--spacing-tighter, 4px); | |
| } | |
| &_empty &__text, | |
| &_placement_right &__text, | |
| &_placement_left &__text { | |
| margin-bottom: 0; | |
| line-height: 22px; | |
| height: auto; | |
| align-items: center; | |
| } | |
| &_placement_right:not(.label_withDescription) &__field, | |
| &_placement_left:not(.label_withDescription) &__field { | |
| display: flex; | |
| align-items: center; | |
| } | |
| &_placement_right.label_withDescription &__field, | |
| &_placement_left.label_withDescription &__field { | |
| margin-top: 5px; | |
| } | |
| } | |