Add upstream
This commit is contained in:
		| @@ -0,0 +1,87 @@ | ||||
| .jetpack-search-filters-widget__filter { | ||||
| 	background: #f9f9f9; | ||||
| 	border: 1px solid #dfdfdf; | ||||
| 	padding: 0 12px; | ||||
| 	margin-bottom: 12px; | ||||
| 	cursor: move; | ||||
| } | ||||
|  | ||||
| .jetpack-search-filters-widget__controls { | ||||
| 	text-align: right; | ||||
| } | ||||
|  | ||||
| .jetpack-search-filters-widget .jetpack-search-filters-widget__sort-controls-enabled { | ||||
| 	margin-left: 24px; | ||||
| } | ||||
|  | ||||
| .jetpack-search-filters-widget__controls .delete { | ||||
| 	color: #a00; | ||||
| } | ||||
|  | ||||
| .jetpack-search-filters-widget.hide-filters .jetpack-search-filters-widget__filter { | ||||
| 	display: none; | ||||
| } | ||||
|  | ||||
| .button.jetpack-search-filters-widget__add-filter { | ||||
| 	margin-bottom: 10px; | ||||
| } | ||||
|  | ||||
| /* Assume that taxonomy select is the default selected. Other controls should be hidden here. */ | ||||
| .jetpack-search-filters-widget__post-type-select { | ||||
| 	display: none; | ||||
| } | ||||
|  | ||||
| .jetpack-search-filters-widget__date-histogram-select { | ||||
| 	display: none; | ||||
| } | ||||
|  | ||||
| .jetpack-search-filters-widget__filter-placeholder { | ||||
| 	border: 1px #555 dashed; | ||||
| 	background-color: #eee; | ||||
| 	height: 286px; | ||||
| 	margin-bottom: 12px; | ||||
| } | ||||
|  | ||||
| /* When post type is selected, remove the other controls */ | ||||
| .jetpack-search-filters-widget__filter.is-post_type .jetpack-search-filters-widget__taxonomy-select { | ||||
| 	display: none; | ||||
| } | ||||
|  | ||||
| /* When date is selected, remove the other controls */ | ||||
| .jetpack-search-filters-widget__filter.is-date_histogram .jetpack-search-filters-widget__date-histogram-select { | ||||
| 	display: inline; | ||||
| } | ||||
|  | ||||
| .jetpack-search-filters-widget__filter.is-date_histogram .jetpack-search-filters-widget__taxonomy-select { | ||||
| 	display: none; | ||||
| } | ||||
|  | ||||
| .jetpack-search-filters-widget.hide-post-types .jetpack-search-filters-widget__post-types-select { | ||||
| 	display: none; | ||||
| } | ||||
|  | ||||
| .jetpack-search-filters-help:before { | ||||
| 	display: inline-block; | ||||
| 	position: relative; | ||||
| 	font-family: dashicons; | ||||
| 	font-size: 20px; | ||||
| 	top: 5px; | ||||
| 	line-height: 1px; | ||||
| 	content:"\f223"; | ||||
| } | ||||
| .jetpack-search-filters-help { | ||||
| 	padding: 5px 5px 15px 0; | ||||
| } | ||||
|  | ||||
| .jetpack-search-filters-widget__post-types-select label { | ||||
| 	display: block; | ||||
| 	margin-bottom: 4px; | ||||
| } | ||||
|  | ||||
| .jetpack-search-filters-widget__post-types-select input[type="checkbox"] { | ||||
| 	margin-left: 24px; | ||||
| } | ||||
|  | ||||
| body.no-js .jetpack-search-filters-widget__add-filter-wrapper { | ||||
| 	display: none; | ||||
| } | ||||
| @@ -0,0 +1,66 @@ | ||||
| .jetpack-search-filters-widget__sub-heading { | ||||
| 	font-size: inherit; | ||||
| 	font-weight: bold; | ||||
| 	margin: 0 0 .5em; | ||||
| 	padding: 0; | ||||
| } | ||||
|  | ||||
| /* The first heading after the form */ | ||||
| .jetpack-search-form + .jetpack-search-filters-widget__sub-heading { | ||||
| 	margin-top: 1.5em; | ||||
| 	margin-bottom: 0.5em !important; | ||||
| } | ||||
|  | ||||
| .jetpack-search-filters-widget__clear { | ||||
| 	margin-top: 0.5em; | ||||
| 	margin-bottom: 0.5em; | ||||
| } | ||||
|  | ||||
| .jetpack-search-sort-wrapper { | ||||
| 	margin-top: 1em; | ||||
| 	margin-bottom: 1.5em; | ||||
| } | ||||
|  | ||||
| .jetpack-search-sort-wrapper label { | ||||
| 	display: inherit; | ||||
| } | ||||
|  | ||||
| .widget_search .jetpack-search-filters-widget__filter-list input[type="checkbox"] { | ||||
| 	width: auto; | ||||
| 	height: auto; | ||||
| } | ||||
|  | ||||
| ul.jetpack-search-filters-widget__filter-list li { | ||||
| 	border: none; | ||||
| 	padding: 0; | ||||
| 	list-style: none; | ||||
| } | ||||
|  | ||||
| ul.jetpack-search-filters-widget__filter-list li a { | ||||
| 	text-decoration: none; | ||||
| } | ||||
|  | ||||
| ul.jetpack-search-filters-widget__filter-list li a:hover { | ||||
| 	box-shadow: none; | ||||
| } | ||||
|  | ||||
| ul.jetpack-search-filters-widget__filter-list li label { | ||||
| 	font-weight: inherit; | ||||
| 	display: inherit; | ||||
| } | ||||
|  | ||||
| .jetpack-search-filters-widget__filter-list { | ||||
| 	list-style: none; | ||||
| } | ||||
|  | ||||
| ul.jetpack-search-filters-widget__filter-list { | ||||
| 	margin-bottom: 1.5em; | ||||
| } | ||||
|  | ||||
| body.search .jetpack-search-form input[name="s"]::placeholder { | ||||
| 	color: transparent; | ||||
| } | ||||
|  | ||||
| body.search .jetpack-search-form input[name="s"].show-placeholder::placeholder { | ||||
| 	color: inherit; | ||||
| } | ||||
		Reference in New Issue
	
	Block a user