mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-06 02:45:43 +03:00
Pledge List Filters: Update style and add filter on-change functionality
- Style search box & filter dropdown - Enable sort filter on select change - Fix some PHP notices
This commit is contained in:
parent
5b5a1d50ff
commit
14ed8d4d6b
5 changed files with 59 additions and 18 deletions
38
themes/wporg-5ftf/css/components/_search-form.scss
Normal file
38
themes/wporg-5ftf/css/components/_search-form.scss
Normal file
|
@ -0,0 +1,38 @@
|
|||
.search-form {
|
||||
|
||||
.site-main & {
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
justify-content: flex-end;
|
||||
border: 1px solid $color-gray-light-600;
|
||||
background: $color-gray-light-100;
|
||||
|
||||
.search-field {
|
||||
flex: 0 1 auto;
|
||||
margin: 0;
|
||||
padding: 0.8em 1em;
|
||||
background: transparent;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
|
||||
&::-moz-placeholder {
|
||||
color: $color-gray-200;
|
||||
}
|
||||
}
|
||||
|
||||
.button-search {
|
||||
flex: 0 1 auto;
|
||||
height: auto;
|
||||
background: transparent;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
color: $color-gray-200;
|
||||
|
||||
&:focus {
|
||||
outline: 2px solid $color__wporg-blue;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue