Themes: When only one theme is available, show just the details view.
Only one theme may be available when no other themes are allowed (multisite), no other themes are installed, or when the user is denied the switch_themes capability but still has edit_theme_options. props matveb, markjaquith. see #25962. Built from https://develop.svn.wordpress.org/trunk@26652 git-svn-id: http://core.svn.wordpress.org/trunk@26542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -7052,6 +7052,26 @@ body.folded .theme-overlay .theme-wrap {
|
||||
.theme-overlay .parent-theme strong {
|
||||
font-weight: 700;
|
||||
}
|
||||
/**
|
||||
* Single Theme Mode
|
||||
* Displays detailed view inline when a user has no switch capabilities
|
||||
*/
|
||||
.single-theme .theme-overlay .theme-backdrop,
|
||||
.single-theme .theme-overlay .theme-header,
|
||||
.single-theme .theme {
|
||||
display: none;
|
||||
}
|
||||
.single-theme .theme-overlay .theme-wrap {
|
||||
clear: both;
|
||||
position: static;
|
||||
}
|
||||
.single-theme .theme-overlay .theme-about {
|
||||
padding: 30px;
|
||||
position: static;
|
||||
}
|
||||
.single-theme .theme-overlay .theme-actions {
|
||||
position: static;
|
||||
}
|
||||
|
||||
/**
|
||||
* Basic Responsive structure...
|
||||
|
||||
2
wp-admin/css/wp-admin-rtl.min.css
vendored
2
wp-admin/css/wp-admin-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -7052,6 +7052,26 @@ body.folded .theme-overlay .theme-wrap {
|
||||
.theme-overlay .parent-theme strong {
|
||||
font-weight: 700;
|
||||
}
|
||||
/**
|
||||
* Single Theme Mode
|
||||
* Displays detailed view inline when a user has no switch capabilities
|
||||
*/
|
||||
.single-theme .theme-overlay .theme-backdrop,
|
||||
.single-theme .theme-overlay .theme-header,
|
||||
.single-theme .theme {
|
||||
display: none;
|
||||
}
|
||||
.single-theme .theme-overlay .theme-wrap {
|
||||
clear: both;
|
||||
position: static;
|
||||
}
|
||||
.single-theme .theme-overlay .theme-about {
|
||||
padding: 30px;
|
||||
position: static;
|
||||
}
|
||||
.single-theme .theme-overlay .theme-actions {
|
||||
position: static;
|
||||
}
|
||||
|
||||
/**
|
||||
* Basic Responsive structure...
|
||||
|
||||
2
wp-admin/css/wp-admin.min.css
vendored
2
wp-admin/css/wp-admin.min.css
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user