diff --git a/web/src/beta/features/PluginPlayground/Plugins/index.tsx b/web/src/beta/features/PluginPlayground/Plugins/index.tsx index 49b8a2ab9d..e6c21cecd2 100644 --- a/web/src/beta/features/PluginPlayground/Plugins/index.tsx +++ b/web/src/beta/features/PluginPlayground/Plugins/index.tsx @@ -46,7 +46,7 @@ const Plugins: FC = ({ {presetPlugins.map((category) => ( -
+
{category.title} {category.plugins.map((plugin) => ( + +#toggleBtn { + position: relative; + top: 16px; + left: 10px; + background: none; + border: none; + cursor: pointer; + font-size: 24px; + color: #555; + } + + #searchBar { + margin: 10px 0; + padding: 8px 12px; + width: calc(100% - 24px); + border: 1px solid #ccc; + border-radius: 4px; + font-size: 14px; + outline: none; + } + + .menu-container { + flex-grow: 1; + padding: 0; + margin: 20px 0; + overflow-y: auto; + } + + .menu { + list-style: none; + padding: 0; + margin: 20px 0; + } + + .menu li { + margin: 8px 0; + padding: 8px 12px; + background: #f8f9fa; + border-radius: 4px; + display: flex; + align-items: center; + cursor: pointer; + } + + .menu li:active { + background: #d6d6d6; + } + + + .menu li .menu-icon { + font-size: 14px; + color: #555; + margin-right: 10px; + } + + .menu li .menu-title { + font-size: 14px; + color: #333; + flex-grow: 1; + } + + .menu li .menu-dots { + font-size: 18px; + color: #999; + } + + .hidden { + visibility: hidden; + opacity: 0; + } + + +
+ +

Sidebar

+ + +
+ + \`); ` +}; + +export const sidebar: PluginType = { + id: "sidebar", + title: "Sidebar", + files: [widgetFile, yamlFile] +};