| 1 |
.jetpack-search-filters-widget__filter { |
| 2 |
background: #f6f7f7; |
| 3 |
border: 1px solid #dcdcde; |
| 4 |
padding: 0 12px; |
| 5 |
margin-bottom: 12px; |
| 6 |
cursor: move; |
| 7 |
} |
| 8 |
|
| 9 |
.jetpack-search-filters-widget__controls { |
| 10 |
text-align: right; |
| 11 |
} |
| 12 |
|
| 13 |
.jetpack-search-filters-widget .jetpack-search-filters-widget__sort-controls-enabled { |
| 14 |
margin-left: 24px; |
| 15 |
} |
| 16 |
|
| 17 |
.jetpack-search-filters-widget__controls .delete { |
| 18 |
color: #d63638; |
| 19 |
} |
| 20 |
|
| 21 |
.jetpack-search-filters-widget.hide-filters .jetpack-search-filters-widget__filter { |
| 22 |
display: none; |
| 23 |
} |
| 24 |
|
| 25 |
.button.jetpack-search-filters-widget__add-filter { |
| 26 |
margin-bottom: 10px; |
| 27 |
} |
| 28 |
|
| 29 |
/* Assume that taxonomy select is the default selected. Other controls should be hidden here. */ |
| 30 |
.jetpack-search-filters-widget__post-type-select { |
| 31 |
display: none; |
| 32 |
} |
| 33 |
|
| 34 |
.jetpack-search-filters-widget__date-histogram-select { |
| 35 |
display: none; |
| 36 |
} |
| 37 |
|
| 38 |
.jetpack-search-filters-widget__filter-placeholder { |
| 39 |
border: 1px #555 dashed; |
| 40 |
background-color: #f0f0f1; |
| 41 |
height: 286px; |
| 42 |
margin-bottom: 12px; |
| 43 |
} |
| 44 |
|
| 45 |
/* When post type is selected, remove the other controls */ |
| 46 |
.jetpack-search-filters-widget__filter.is-post_type .jetpack-search-filters-widget__taxonomy-select { |
| 47 |
display: none; |
| 48 |
} |
| 49 |
|
| 50 |
/* When date is selected, remove the other controls */ |
| 51 |
.jetpack-search-filters-widget__filter.is-date_histogram .jetpack-search-filters-widget__date-histogram-select { |
| 52 |
display: inline; |
| 53 |
} |
| 54 |
|
| 55 |
.jetpack-search-filters-widget__filter.is-date_histogram .jetpack-search-filters-widget__taxonomy-select { |
| 56 |
display: none; |
| 57 |
} |
| 58 |
|
| 59 |
.jetpack-search-filters-widget.hide-post-types .jetpack-search-filters-widget__post-types-select { |
| 60 |
display: none; |
| 61 |
} |
| 62 |
|
| 63 |
.jetpack-search-filters-help:before { |
| 64 |
display: inline-block; |
| 65 |
position: relative; |
| 66 |
font-family: dashicons; |
| 67 |
font-size: 20px; |
| 68 |
top: 5px; |
| 69 |
line-height: 1px; |
| 70 |
content:"\f223"; |
| 71 |
} |
| 72 |
.jetpack-search-filters-help { |
| 73 |
padding: 5px 5px 15px 0; |
| 74 |
} |
| 75 |
|
| 76 |
.jetpack-search-filters-widget__post-types-select label { |
| 77 |
display: block; |
| 78 |
margin-bottom: 4px; |
| 79 |
} |
| 80 |
|
| 81 |
.jetpack-search-filters-widget__post-types-select input[type="checkbox"] { |
| 82 |
margin-left: 24px; |
| 83 |
} |
| 84 |
|
| 85 |
body.no-js .jetpack-search-filters-widget__add-filter-wrapper { |
| 86 |
display: none; |
| 87 |
} |
| 88 |
|