Download frontend/src/components/SelectGroup.vue from CatPtain/web_ppt: direct link, hf CLI and curl.
- Browser
- Download file 915 Bytes
-
https://huggingface.co/spaces/CatPtain/web_ppt/resolve/main/frontend/src/components/SelectGroup.vue
- Command line
-
hf download hf://spaces/CatPtain/web_ppt/frontend/src/components/SelectGroup.vue
-
curl -L -o SelectGroup.vue https://huggingface.co/spaces/CatPtain/web_ppt/resolve/main/frontend/src/components/SelectGroup.vue
915 Bytes
| <template> | |
| <div class="select-group"> | |
| <slot></slot> | |
| </div> | |
| </template> | |
| <script lang="ts" setup> | |
| </script> | |
| <style lang="scss" scoped> | |
| .select-group { | |
| display: flex; | |
| align-items: center; | |
| ::v-deep(.select-wrap) { | |
| .select { | |
| border-radius: 0; | |
| border-left-width: 0; | |
| border-right-width: 0; | |
| } | |
| & + .select-wrap { | |
| .select { | |
| border-left-width: 1px; | |
| } | |
| } | |
| &:hover { | |
| & + .select-wrap { | |
| .select { | |
| border-left-color: $themeColor; | |
| } | |
| } | |
| } | |
| &:first-child { | |
| .select { | |
| border-top-left-radius: $borderRadius; | |
| border-bottom-left-radius: $borderRadius; | |
| border-left-width: 1px; | |
| } | |
| } | |
| &:last-child { | |
| .select { | |
| border-top-right-radius: $borderRadius; | |
| border-bottom-right-radius: $borderRadius; | |
| border-right-width: 1px; | |
| } | |
| } | |
| } | |
| } | |
| </style> |