Skip to content

Commit

Permalink
Refactoring kiwixButton
Browse files Browse the repository at this point in the history
Move hover behaviour as a different class - kiwixButtonHover
Add cursor:pointer to kiwixButton
  • Loading branch information
juuz0 authored and kelson42 committed Mar 18, 2022
1 parent 035d2fe commit 7669c8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion static/skin/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,10 @@ body {
color: white;
background-color: #909090;
border: solid 1px #b5b2b2;
cursor: pointer;
}

.kiwixButton:hover {
.kiwixButtonHover:hover {
background-color: #858585;
}

Expand Down
2 changes: 1 addition & 1 deletion static/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
</div>
<form id='kiwixSearchForm' class='kiwixNav__SearchForm'>
<input type="text" name="q" placeholder="Search" id="searchFilter" class='kiwixSearch filter'>
<input type="submit" class="kiwixButton" value="Search"/>
<input type="submit" class="kiwixButton kiwixButtonHover" value="Search"/>
</form>
</div>
<div class="kiwixHomeBody">
Expand Down

0 comments on commit 7669c8d

Please sign in to comment.