Spaces:
Configuration error
Configuration error
Download web/libs/editor/src/common/Menu/Menu.prefix.css from bisalsaha/lebel-studio: direct link, hf CLI and curl.
- Browser
- Download file 1.97 kB
-
https://huggingface.co/spaces/bisalsaha/lebel-studio/resolve/main/web/libs/editor/src/common/Menu/Menu.prefix.css
- Command line
-
hf download hf://spaces/bisalsaha/lebel-studio/web/libs/editor/src/common/Menu/Menu.prefix.css
-
curl -L -o Menu.prefix.css https://huggingface.co/spaces/bisalsaha/lebel-studio/resolve/main/web/libs/editor/src/common/Menu/Menu.prefix.css
1.97 kB
| .menu { | |
| flex: 1; | |
| margin: 0; | |
| padding: 8px; | |
| display: flex; | |
| flex-direction: column; | |
| list-style-type: none; | |
| & ul, | |
| & li { | |
| display: block; | |
| list-style-type: none; | |
| } | |
| & li { | |
| margin: 0.5rem; | |
| } | |
| & li + li { | |
| margin-top: 0; | |
| } | |
| &__item { | |
| height: 32px; | |
| display: flex; | |
| cursor: pointer; | |
| padding: 0 var(--spacing-tight); | |
| border-radius: 3px; | |
| align-items: center; | |
| box-sizing: border-box; | |
| color: var(--color-neutral-content-subtler); | |
| font-size: 14px; | |
| white-space: nowrap; | |
| user-select: none; | |
| &-icon { | |
| margin-right: 10px; | |
| object-fit: contain; | |
| opacity: 0.5; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| &_look { | |
| &_danger { | |
| color: var(--color-negative-content); | |
| } | |
| } | |
| &:not(.menu__item_look_danger):hover { | |
| color: var(--color-neutral-content); | |
| } | |
| &:not(.menu__item_active):hover { | |
| background-color: var(--color-primary-emphasis-subtle); | |
| } | |
| &_active { | |
| color: var(--color-neutral-content); | |
| background-color: var(--color-primary-emphasis); | |
| } | |
| &_active:not(.sidebar__pin, .menu__item_clickable) { | |
| pointer-events: none; | |
| } | |
| &:hover &-icon, | |
| &_active &-icon { | |
| opacity: 1; | |
| } | |
| } | |
| &__spacer { | |
| flex: 1; | |
| } | |
| &__divider { | |
| height: 1px; | |
| margin: 8px 0; | |
| background-color: var(--color-neutral-border); | |
| } | |
| &_size_compact &__item { | |
| height: 32px; | |
| font-size: 16px; | |
| } | |
| &_size_auto &__item { | |
| padding: 0 16px; | |
| } | |
| &_size_auto { | |
| width: auto ; | |
| min-width: initial ; | |
| } | |
| &_size_small &__item { | |
| height: 24px; | |
| font-size: 14px; | |
| padding: 0 10px; | |
| } | |
| &_collapsed { | |
| padding: 0; | |
| } | |
| } | |
| .menu-group { | |
| &__title { | |
| padding: 4px 10px; | |
| font-size: 14px; | |
| color: var(--sand_700); | |
| } | |
| &__list { | |
| padding: 0; | |
| margin-left: 10px; | |
| list-style-type: none; | |
| } | |
| } | |