Theme Customizer: Don't expand theme title if there are no details to show. props nacin, fixes #20757, see #19910.

git-svn-id: https://develop.svn.wordpress.org/trunk@20940 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Daryl Koopersmith
2012-05-26 20:47:55 +00:00
parent 04bf106bc6
commit d0a638e2cb
3 changed files with 23 additions and 4 deletions

View File

@@ -28,6 +28,10 @@ body {
user-select: none;
}
.cannot-expand .customize-section-title {
cursor: auto;
}
.customize-section-content {
display: none;
padding: 10px 20px 15px;
@@ -84,6 +88,10 @@ body {
z-index: 1;
}
.cannot-expand .customize-section-title:after {
display: none;
}
.customize-section.open .customize-section-title:after {
margin-top: -1px;
border-width: 0 6px 6px;