Skip to content

Commit 2e3cf11

Browse files
committed
website: unify and enhance styling of search boxes
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. Signed-off-by: Paulina Kalicka <[email protected]>
1 parent 5f31a5f commit 2e3cf11

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

website/assets/scss/_variables_project.scss

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,23 @@ $td-sidebar-tree-root-color: #222 !default;
3232
.td-arrow-down:before {
3333
border-color: $secondary transparent transparent transparent !important;
3434
}
35+
}
36+
37+
.td-search__input {
38+
color: var(--bs-body-color) !important;
39+
border: 1px solid var(--bs-gray-400) !important;
40+
}
41+
42+
.td-search__input:focus {
43+
color: inherit !important;
44+
border-color: var(--bs-body-bg) !important;
45+
box-shadow: 0 0 0 2px var(--bs-primary) !important;
46+
}
47+
48+
.td-search__input::placeholder {
49+
color: var(--bs-gray) !important;
50+
}
51+
52+
.td-search__icon {
53+
color: $secondary !important;
3554
}

0 commit comments

Comments
 (0)