Skip to content

Commit

Permalink
fixes from master
Browse files Browse the repository at this point in the history
  • Loading branch information
1cg committed Apr 11, 2023
1 parent 56ed569 commit 926cfb0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 18 deletions.
2 changes: 1 addition & 1 deletion www/content/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ The table below lists all other attributes available in htmx.
| [`htmx:responseError`](@/events.md#htmx:responseError) | triggered when an HTTP response error (non-`200` or `300` response code) occurs
| [`htmx:sendError`](@/events.md#htmx:sendError) | triggered when a network error prevents an HTTP request from happening
| [`htmx:sseError`](@/events.md#htmx:sseError) | triggered when an error occurs with a SSE source
| `htmx:sseOpen` | triggered when a SSE source is opened
| [`htmx:sseOpen`](/events#htmx:sseOpen) | triggered when a SSE source is opened
| [`htmx:swapError`](@/events.md#htmx:swapError) | triggered when an error occurs during the swap phase
| [`htmx:targetError`](@/events.md#htmx:targetError) | triggered when an invalid target is specified
| [`htmx:timeout`](@/events.md#htmx:timeout) | triggered when a request timeout occurs
Expand Down
32 changes: 15 additions & 17 deletions www/themes/htmx-theme/static/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -416,28 +416,26 @@ background: none;
}


#search {
transition: all 0.3s ease-out;
width: 3em;
padding: 6px 8px;
border: 1px solid #eee;
background-color: inherit;
border-radius: 10px;
margin-right: 6px;
position: relative;
vertical-align: top;
.search-box {
transition: all .2s ease-in-out;
width: 2.5rem;
padding: 4px 6px;
border: 2px solid #eee;
border-radius: 10px;
margin-right: 10px;
outline: 0;
}


#search:hover, #search:not(:placeholder-shown) {
border: 1px solid rgb(204, 204, 204);
background-color: white;
.search-box::placeholder {
text-align: right;
}

.search-box:hover, .search-box:not(:placeholder-shown) {
border: 2px solid var(--midBlue);
}

#search:focus, #search:not(:placeholder-shown) {
width: 150px;
border-radius: 4px;
.search-box:active, .search-box:focus, .search-box:not(:placeholder-shown) {
width: 10rem;
}

footer {
Expand Down

0 comments on commit 926cfb0

Please sign in to comment.