Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Incomplete] Roadmap search redesign #514

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
149 changes: 146 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"react-redux": "^9.1.1",
"react-responsive": "^9.0.2",
"react-router-dom": "^6.23.0",
"react-sortablejs": "^6.1.4",
"react-transition-group": "^4.4.5",
"react-twemoji": "^0.5.0",
"semantic-ui-css": "^2.5.0",
Expand Down
18 changes: 18 additions & 0 deletions site/src/App.scss
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,21 @@ button {
}
}
}

.ui-overlay {
position: fixed;
inset: 0;
background-color: #6664;
opacity: 0;
transition: opacity 0.5s;
cursor: default;

&.enter-active,
&.enter-done {
opacity: 1;
}
&.exit {
pointer-events: none;
opacity: 0;
}
}
4 changes: 4 additions & 0 deletions site/src/component/SearchHitContainer/SearchHitContainer.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
.search-hit-container {
padding-top: 2vh;
overflow-y: auto;

> *:not(:last-child) {
margin-bottom: 20px;
}
}

.no-results {
Expand Down
15 changes: 14 additions & 1 deletion site/src/component/SearchModule/SearchModule.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
.search-module {
button {
font: inherit;
padding: 0;
appearance: none;
-webkit-appearance: none;
width: 40px;
text-align: center;
justify-content: center;
}
}

.search-bar {
border-color: #80bdff;
padding: 2vh 2vh;
padding: 8px 14px;
font-size: 16px;
}

[data-theme='dark'] {
Expand Down
Loading
Loading