Skip to content

Commit

Permalink
Hover mode for search-bar
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Jul 23, 2024
1 parent 04b7931 commit 5196333
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
3 changes: 3 additions & 0 deletions projects/srm/src/app/homepage/homepage.component.less
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@
flex-flow: column;
align-items: stretch;
width: 100%;
position: relative;
z-index: 1;

.desktop({
padding: 16px 8px;
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,9 @@
left: 16px;
}
}
input:hover {
border: 2px solid @color-blue-4;
background-color: @color-blue-8;
background-image: url(../../../assets/img/icon-search-blue-2.svg);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@
display: flex;
flex-flow: row;
align-items: center;
cursor: pointer;

.clickable {
cursor: pointer;
flex: 1 1 auto;
display: flex;
flex-flow: row;
Expand Down Expand Up @@ -163,6 +163,13 @@
background-image: url(../../assets/img/icon-search-gray-3.svg);
}

&:hover {
border-color: @color-blue-4;
background-color: @color-blue-8;
.search-icon {
background-image: url(../../assets/img/icon-search-blue-2.svg);
}
}
}

&.homepage {
Expand Down

0 comments on commit 5196333

Please sign in to comment.