Skip to content

Commit

Permalink
website: unify and enhance styling of search boxes
Browse files Browse the repository at this point in the history
Unify the coloring of the search boxes in the sidebar and the navigation bar.
Update the icon color to the secondary color to create an accent effect.
  • Loading branch information
paulinek13 committed Dec 27, 2024
1 parent 5f31a5f commit f3d69b2
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions website/assets/scss/_variables_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,23 @@ $td-sidebar-tree-root-color: #222 !default;
.td-arrow-down:before {
border-color: $secondary transparent transparent transparent !important;
}
}

.td-search__input {
color: var(--bs-body-color) !important;
border: 1px solid var(--bs-gray-400) !important;
}

.td-search__input:focus {
color: inherit !important;
border-color: var(--bs-body-bg) !important;
box-shadow: 0 0 0 2px var(--bs-primary) !important;
}

.td-search__input::placeholder {
color: var(--bs-gray) !important;
}

.td-search__icon {
color: $secondary !important;
}

0 comments on commit f3d69b2

Please sign in to comment.