Skip to content

Commit

Permalink
fixed bootstrap buttons on hover looking weird
Browse files Browse the repository at this point in the history
  • Loading branch information
farhatahmad committed Feb 28, 2024
1 parent d0ee817 commit 9598147
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion app/assets/stylesheets/application.bootstrap.scss
Original file line number Diff line number Diff line change
Expand Up @@ -315,9 +315,17 @@ input.search-bar {
border-color: var(--brand-color);
color: white;

&:active {
background-color: var(--brand-color) !important;
border-color: var(--brand-color) !important;
color: white !important;
}

&:hover {
box-shadow: inset 0 0 200px 200px rgba(0, 0, 0, 0.1);
background-color: var(--brand-color);
border-color: var(--brand-color);
color: white;
box-shadow: inset 0 0 200px 200px rgba(0, 0, 0, 0.1);
}

&:focus {
Expand All @@ -331,8 +339,15 @@ input.search-bar {
background-color: white;
box-shadow: var(--brand-color-light);

&:active {
border-color: var(--brand-color) !important;
background-color: white !important;
color: var(--brand-color) !important;
}

&:hover {
border-color: var(--brand-color);
background-color: white;
color: var(--brand-color);
}

Expand Down

0 comments on commit 9598147

Please sign in to comment.