mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-02 08:28:18 +00:00
- add functions in API manager to use the search API - adds search field to object tab, it searches through featured/mine objects depending on which tab you are on - this feature is hid behind a feature flag until we have a proper design and solution to handling assets --------- Co-authored-by: wil <wil@storyteller.ai>
18 lines
601 B
CSS
18 lines
601 B
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
@layer components {
|
|
.filter-tab {
|
|
@apply text-nowrap rounded-lg border-2 border-assets-background bg-assets-background px-2.5 py-1 text-[13px] font-medium text-white/80 transition-all duration-150 hover:border-assets-background/0 hover:bg-assets-background/80;
|
|
}
|
|
|
|
.filter-tab.active {
|
|
@apply border-2 border-brand-primary text-white hover:border-brand-primary hover:bg-assets-background;
|
|
}
|
|
|
|
.filter-tab:disabled {
|
|
@apply border-transparent bg-assets-background/50 hover:border-transparent disabled:text-white/30;
|
|
}
|
|
}
|