aboutsummaryrefslogtreecommitdiff
path: root/dokka-subprojects/plugin-base-frontend/src/main/components/app
diff options
context:
space:
mode:
Diffstat (limited to 'dokka-subprojects/plugin-base-frontend/src/main/components/app')
-rw-r--r--dokka-subprojects/plugin-base-frontend/src/main/components/app/index.scss30
-rw-r--r--dokka-subprojects/plugin-base-frontend/src/main/components/app/index.tsx15
2 files changed, 45 insertions, 0 deletions
diff --git a/dokka-subprojects/plugin-base-frontend/src/main/components/app/index.scss b/dokka-subprojects/plugin-base-frontend/src/main/components/app/index.scss
new file mode 100644
index 00000000..9bb25de9
--- /dev/null
+++ b/dokka-subprojects/plugin-base-frontend/src/main/components/app/index.scss
@@ -0,0 +1,30 @@
+/*!
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
+@import "src/main/scss/index.scss";
+
+html,
+.app-root {
+ height: 100%;
+}
+
+.search-root {
+ margin: 0;
+ padding: 0;
+
+ background: var(--ring-content-background-color);
+
+ font-family: var(--ring-font-family);
+ font-size: var(--ring-font-size);
+ line-height: var(--ring-line-height);
+}
+
+.search-content {
+ z-index: 8;
+}
+
+@media screen and (max-width: 759px) {
+ .search-content {
+ }
+}
diff --git a/dokka-subprojects/plugin-base-frontend/src/main/components/app/index.tsx b/dokka-subprojects/plugin-base-frontend/src/main/components/app/index.tsx
new file mode 100644
index 00000000..ea2a2e42
--- /dev/null
+++ b/dokka-subprojects/plugin-base-frontend/src/main/components/app/index.tsx
@@ -0,0 +1,15 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
+import React from 'react';
+import {WithFuzzySearchFilter} from '../search/search';
+import './index.scss';
+
+const App: React.FC = () => {
+ return <div className="search-content">
+ <WithFuzzySearchFilter/>
+ </div>
+}
+
+export default App