Autocomplete: Update CSS based on both jQuery UI and general visual changes.
props rodrigosprimo for the initial patch. fixes #31427. Built from https://develop.svn.wordpress.org/trunk@31611 git-svn-id: http://core.svn.wordpress.org/trunk@31592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
df08581656
commit
77f3f6943d
|
@ -483,50 +483,42 @@ p.search-box {
|
||||||
margin: 0 0 0 4px;
|
margin: 0 0 0 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="text"].ui-autocomplete-loading {
|
input[type="text"].ui-autocomplete-loading,
|
||||||
background: transparent url(../images/loading.gif) no-repeat left center;
|
input[type="email"].ui-autocomplete-loading {
|
||||||
|
background-image: url(../images/loading.gif);
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: left center;
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input.ui-autocomplete-input.open {
|
||||||
|
border-bottom-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
ul#add-to-blog-users {
|
ul#add-to-blog-users {
|
||||||
margin: 0 14px 0 0;
|
margin: 0 14px 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-autocomplete-input.open {
|
|
||||||
-webkit-border-bottom-left-radius: 0;
|
|
||||||
border-bottom-left-radius: 0;
|
|
||||||
-webkit-border-bottom-right-radius: 0;
|
|
||||||
border-bottom-right-radius: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ui-autocomplete {
|
.ui-autocomplete {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 10000;
|
z-index: 10000;
|
||||||
-webkit-border-bottom-left-radius: 3px;
|
border: 1px solid #5b9dd9;
|
||||||
border-bottom-left-radius: 3px;
|
-webkit-box-shadow: 0 1px 2px rgba( 30, 140, 190, 0.8 );
|
||||||
-webkit-border-bottom-right-radius: 3px;
|
box-shadow: 0 1px 2px rgba( 30, 140, 190, 0.8 );
|
||||||
border-bottom-right-radius: 3px;
|
background-color: #fff;
|
||||||
border: 1px solid #aaa;
|
|
||||||
background-color: #efefef;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-autocomplete li {
|
.ui-autocomplete li {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
padding: 4px 10px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-autocomplete li a {
|
.ui-autocomplete li.ui-state-focus {
|
||||||
display: block;
|
|
||||||
height: 100%;
|
|
||||||
padding: 4px 10px;
|
|
||||||
color: #444;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ui-autocomplete li a.ui-state-focus {
|
|
||||||
background-color: #ddd;
|
background-color: #ddd;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
|
@ -483,50 +483,42 @@ p.search-box {
|
||||||
margin: 0 4px 0 0;
|
margin: 0 4px 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="text"].ui-autocomplete-loading {
|
input[type="text"].ui-autocomplete-loading,
|
||||||
background: transparent url(../images/loading.gif) no-repeat right center;
|
input[type="email"].ui-autocomplete-loading {
|
||||||
|
background-image: url(../images/loading.gif);
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: right center;
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input.ui-autocomplete-input.open {
|
||||||
|
border-bottom-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
ul#add-to-blog-users {
|
ul#add-to-blog-users {
|
||||||
margin: 0 0 0 14px;
|
margin: 0 0 0 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-autocomplete-input.open {
|
|
||||||
-webkit-border-bottom-right-radius: 0;
|
|
||||||
border-bottom-right-radius: 0;
|
|
||||||
-webkit-border-bottom-left-radius: 0;
|
|
||||||
border-bottom-left-radius: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ui-autocomplete {
|
.ui-autocomplete {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 10000;
|
z-index: 10000;
|
||||||
-webkit-border-bottom-right-radius: 3px;
|
border: 1px solid #5b9dd9;
|
||||||
border-bottom-right-radius: 3px;
|
-webkit-box-shadow: 0 1px 2px rgba( 30, 140, 190, 0.8 );
|
||||||
-webkit-border-bottom-left-radius: 3px;
|
box-shadow: 0 1px 2px rgba( 30, 140, 190, 0.8 );
|
||||||
border-bottom-left-radius: 3px;
|
background-color: #fff;
|
||||||
border: 1px solid #aaa;
|
|
||||||
background-color: #efefef;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-autocomplete li {
|
.ui-autocomplete li {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
padding: 4px 10px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-autocomplete li a {
|
.ui-autocomplete li.ui-state-focus {
|
||||||
display: block;
|
|
||||||
height: 100%;
|
|
||||||
padding: 4px 10px;
|
|
||||||
color: #444;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ui-autocomplete li a.ui-state-focus {
|
|
||||||
background-color: #ddd;
|
background-color: #ddd;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.2-alpha-31610';
|
$wp_version = '4.2-alpha-31611';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue