Skip to content

Commit

Permalink
LOYALIST-51 Search: View page theming
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmcd75 committed Jul 29, 2024
1 parent f3616c4 commit 102fb55
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions custom/themes/the_loyalist_collection/src/scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -159,3 +159,24 @@ dl.loyalist-record {
}
}
}

input[type="search"]::-webkit-search-cancel-button {
appearance: none;
height: $spacer * 3;
width: $spacer * 3;
background: url(../../images/square-xmark-solid.svg) no-repeat 50% 50%;
background-size: contain;
margin-right: $spacer * -1;
opacity: 0;
pointer-events: none;
}

input[type="search"]:focus::-webkit-search-cancel-button,
input[type="search"]:hover::-webkit-search-cancel-button {
opacity: 0.7;
pointer-events: auto;
}
input[type="search"]::-webkit-search-cancel-button:hover {
cursor: pointer;
fill: $unb-logo-red;
}

0 comments on commit 102fb55

Please sign in to comment.