Theme Switcher: Provide an easier way to reset back to the current active theme.

* Add control for the active theme when doing a theme preview
* Highlight an active theme and move it to the top

props valendesigns, ocean90.
fixes #32002.
Built from https://develop.svn.wordpress.org/trunk@32265


git-svn-id: http://core.svn.wordpress.org/trunk@32236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling
2015-04-22 16:15:27 +00:00
parent e0657e6904
commit b29c8c503b
11 changed files with 63 additions and 13 deletions

View File

@@ -1089,6 +1089,10 @@ body.cheatin p {
.wp-customizer .theme:not(.active):focus .theme-actions {
display: block;
}
.wp-customizer .theme-browser .theme.active .theme-name span {
display: inline;
}
}
@media screen and ( max-width: 640px ) {

File diff suppressed because one or more lines are too long

View File

@@ -1089,6 +1089,10 @@ body.cheatin p {
.wp-customizer .theme:not(.active):focus .theme-actions {
display: block;
}
.wp-customizer .theme-browser .theme.active .theme-name span {
display: inline;
}
}
@media screen and ( max-width: 640px ) {

File diff suppressed because one or more lines are too long

View File

@@ -259,6 +259,10 @@
box-shadow: inset 0 1px 1px rgba(0,0,0,0.5);
}
.theme-browser .customize-control .theme.active .theme-name {
padding-left: 15px;
}
.theme-browser .theme.active .theme-name span {
font-weight: 600;
}

View File

@@ -259,6 +259,10 @@
box-shadow: inset 0 1px 1px rgba(0,0,0,0.5);
}
.theme-browser .customize-control .theme.active .theme-name {
padding-right: 15px;
}
.theme-browser .theme.active .theme-name span {
font-weight: 600;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long