Theme Installer: Handle currently installed themes, add search route, let prev/next refresh collections.
props matveb. see #27055. fixes #27695. Built from https://develop.svn.wordpress.org/trunk@28025 git-svn-id: http://core.svn.wordpress.org/trunk@27855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -216,7 +216,8 @@
|
||||
* Displays a theme update notice
|
||||
* when an update is available.
|
||||
*/
|
||||
.theme-browser .theme .theme-update {
|
||||
.theme-browser .theme .theme-update,
|
||||
.theme-browser .theme .theme-installed {
|
||||
background: #d54e21;
|
||||
background: rgba(213, 78, 33, 0.95);
|
||||
color: #fff;
|
||||
@@ -234,7 +235,8 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.theme-browser .theme .theme-update:before {
|
||||
.theme-browser .theme .theme-update:before,
|
||||
.theme-browser .theme .theme-installed:before {
|
||||
content: '\f463';
|
||||
display: inline-block;
|
||||
font: normal 20px/1 'dashicons';
|
||||
@@ -1074,6 +1076,25 @@ body.folded .theme-overlay .theme-wrap {
|
||||
16.2 - Install Themes
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
/* Already installed theme */
|
||||
.theme-browser .theme.is-installed {
|
||||
cursor: default;
|
||||
}
|
||||
.theme-browser .theme .theme-installed {
|
||||
background: #0074a2;
|
||||
}
|
||||
.theme-browser .theme .theme-installed:before {
|
||||
content: '\f147';
|
||||
}
|
||||
.theme-browser .theme.is-installed .theme-actions,
|
||||
.theme-browser.rendered .theme.is-installed .more-details {
|
||||
display: none !important;
|
||||
}
|
||||
.theme-browser.rendered .theme.is-installed:hover .theme-screenshot img,
|
||||
.theme-browser.rendered .theme.is-installed:focus .theme-screenshot img {
|
||||
opacity: 1 !important;
|
||||
}
|
||||
|
||||
.theme-navigation {
|
||||
background: #fff;
|
||||
-webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
|
||||
|
||||
Reference in New Issue
Block a user