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

style: change search bar background, border #887

Merged
merged 1 commit into from
Jan 29, 2023
Merged
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
2 changes: 1 addition & 1 deletion assets/main/scss/_search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

.btn-search {
background: transparent !important;
color: var(--#{$prefix}accent) !important;
color: var(--#{$prefix}primary) !important;
z-index: 6 !important;
box-shadow: none !important;
}
Expand Down
4 changes: 0 additions & 4 deletions assets/main/scss/_top-app-bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ $header-caret-width: 0.35em;
}
}

.form-control {
color: var(--#{$prefix}on-primary);
}

a {
&:hover {
text-decoration: none;
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/header/search-bar.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<span class="btn btn-search disabled position-absolute left-0 border-0">
<i class="fas fa-fw fa-search fa-lg"></i>
</span>
<input class="py-2 form-control rounded search-input" name="q" type="search" aria-label="Search" required>
<input class="py-2 form-control border-white rounded search-input bg-body" name="q" type="search" aria-label="Search" required>
</div>
</form>
{{- end }}
Expand Down