Skip to content

Commit

Permalink
style: change search bar background and border
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Jan 29, 2023
1 parent 40a9b14 commit 7f5c35b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
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

0 comments on commit 7f5c35b

Please sign in to comment.