From 77c8777b7f66bddd374d68decd507547d356d602 Mon Sep 17 00:00:00 2001 From: Marcin Aman Date: Sun, 31 May 2020 21:02:46 +0200 Subject: Improve CSS, pages navigation tree and create anchors on page --- .../base/frontend/src/main/components/search/search.scss | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 plugins/base/frontend/src/main/components/search/search.scss (limited to 'plugins/base/frontend/src/main/components/search/search.scss') diff --git a/plugins/base/frontend/src/main/components/search/search.scss b/plugins/base/frontend/src/main/components/search/search.scss new file mode 100644 index 00000000..a891283e --- /dev/null +++ b/plugins/base/frontend/src/main/components/search/search.scss @@ -0,0 +1,14 @@ +.search { + button { + border: none; + fill: #637282; + + &:focus { + outline: none; + } + } +} + +.popup-wrapper { + min-width: calc(100% - 360px) !important; +} \ No newline at end of file -- cgit From 724242df61b3cbd8f176dde7208f64c8acedf850 Mon Sep 17 00:00:00 2001 From: Marcin Aman Date: Sun, 21 Jun 2020 14:58:58 +0200 Subject: Small css adjustments --- plugins/base/frontend/src/main/components/search/search.scss | 1 + plugins/base/src/main/resources/dokka/styles/style.css | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'plugins/base/frontend/src/main/components/search/search.scss') diff --git a/plugins/base/frontend/src/main/components/search/search.scss b/plugins/base/frontend/src/main/components/search/search.scss index a891283e..c3b1ab3b 100644 --- a/plugins/base/frontend/src/main/components/search/search.scss +++ b/plugins/base/frontend/src/main/components/search/search.scss @@ -2,6 +2,7 @@ button { border: none; fill: #637282; + background: #F4F4F4; &:focus { outline: none; diff --git a/plugins/base/src/main/resources/dokka/styles/style.css b/plugins/base/src/main/resources/dokka/styles/style.css index 0d1314c9..118d247a 100644 --- a/plugins/base/src/main/resources/dokka/styles/style.css +++ b/plugins/base/src/main/resources/dokka/styles/style.css @@ -255,11 +255,14 @@ z-index: 1000; background: white; font-weight: normal; - box-shadow: 0 2px 16px 0 var(--ring-popup-shadow-color); font-family: 'Inter', "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; width: max-content; font-size: 14px; cursor: default; + border: 1px solid #D8DCE1; + box-sizing: border-box; + box-shadow: 0px 5px 10px var(--ring-popup-shadow-color); + border-radius: 3px; } .copy-popup-wrapper.popup-to-left { -- cgit From 4a360b13c6d2c175aed57d7af878e06ab6a044a7 Mon Sep 17 00:00:00 2001 From: Filip ZybaƂa Date: Tue, 7 Jul 2020 13:22:09 +0200 Subject: Separated search key and display level in search component --- .../src/main/components/search/search.scss | 22 ++++++++++++++++++++++ .../frontend/src/main/components/search/search.tsx | 22 +++++++++++++++++++--- .../frontend/src/main/components/search/types.ts | 5 +++++ .../src/main/kotlin/renderers/html/HtmlRenderer.kt | 6 +++--- 4 files changed, 49 insertions(+), 6 deletions(-) (limited to 'plugins/base/frontend/src/main/components/search/search.scss') diff --git a/plugins/base/frontend/src/main/components/search/search.scss b/plugins/base/frontend/src/main/components/search/search.scss index c3b1ab3b..cc5a61ac 100644 --- a/plugins/base/frontend/src/main/components/search/search.scss +++ b/plugins/base/frontend/src/main/components/search/search.scss @@ -12,4 +12,26 @@ .popup-wrapper { min-width: calc(100% - 360px) !important; +} + +.indented { + text-indent: 10px; +} + +.disabled { + color: gray; +} + +.template-wrapper { + display: grid; + grid-template-columns: auto auto; +} + +.template-name { + justify-self: start; +} + +.template-description { + color: gray; + justify-self: end; } \ No newline at end of file diff --git a/plugins/base/frontend/src/main/components/search/search.tsx b/plugins/base/frontend/src/main/components/search/search.tsx index b0fdd96a..c7b36654 100644 --- a/plugins/base/frontend/src/main/components/search/search.tsx +++ b/plugins/base/frontend/src/main/components/search/search.tsx @@ -1,8 +1,9 @@ import React, {useCallback, useState} from 'react'; import {Select} from '@jetbrains/ring-ui'; +import {List} from '@jetbrains/ring-ui'; import '@jetbrains/ring-ui/components/input-size/input-size.scss'; import './search.scss'; -import {IWindow, Option, Props} from "./types"; +import {IWindow, Option, Props, Page} from "./types"; const WithFuzzySearchFilterComponent: React.FC = ({data}: Props) => { const [selected, onSelected] = useState