Skip to content

Commit

Permalink
Style and UX tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jessenieminen committed Apr 2, 2017
1 parent 6b1a03e commit 0c60a32
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
17 changes: 15 additions & 2 deletions css/cos-site-search.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Forked from the version by Stefen Phelps - https://stefenphelps.com/
height: 100%;
top: 0;
left: 0;
background: rgba(0, 0, 0, 0.7);
background: rgba(0, 0, 0, 0.85);
opacity: 0;
visibility: hidden;
transition: opacity 0.5s, visibility 0s 0.5s;
Expand Down Expand Up @@ -67,7 +67,7 @@ Forked from the version by Stefen Phelps - https://stefenphelps.com/

.search-results-wrapper .search {
width: 100%;
padding: 0.5em;
padding: 0.5em 0;
background: none;
border: 0 none;
border-bottom: 2px solid #fff !important;
Expand Down Expand Up @@ -98,6 +98,19 @@ Forked from the version by Stefen Phelps - https://stefenphelps.com/
line-height: 1;
}

.search-results li:hover {
background: #fcfcfc;
}

.search-results li a {
display: inline-block;
width: 100%;
}

.search-results li span.cos-url {
color: #777;
}

.search-results li#no-items-found {
text-align: center;
padding: 5rem 0;
Expand Down
2 changes: 1 addition & 1 deletion js/cos-site-search.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0c60a32

Please sign in to comment.