Customize: Add rightward-facing back button to Themes section header to improve navigation (since the section slides in from the left).
Also serves to prototype for an upward-facing arrow in this location for a Publish Settings section. Props melchoyce, westonruter. See #39896, #40278, #21666. Built from https://develop.svn.wordpress.org/trunk@41368 git-svn-id: http://core.svn.wordpress.org/trunk@41201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1168,6 +1168,21 @@ p.customize-section-description {
|
||||
border-left: none;
|
||||
margin-top: 0;
|
||||
}
|
||||
#customize-theme-controls .control-section-themes .customize-section-back {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
height: 80px;
|
||||
border-left: 1px solid #ddd;
|
||||
border-right: 4px solid #fff;
|
||||
}
|
||||
#customize-theme-controls .control-section-themes .customize-section-back:before {
|
||||
content: "\f345";
|
||||
}
|
||||
#customize-theme-controls .control-section-themes .customize-section-back:hover,
|
||||
#customize-theme-controls .control-section-themes .customize-section-back:focus {
|
||||
border-right-color: #0073aa;
|
||||
}
|
||||
|
||||
#customize-theme-controls .control-section-themes .customize-themes-panel .accordion-section-title:first-child:hover, /* Not a focusable element. */
|
||||
#customize-theme-controls .control-section-themes .customize-themes-panel .accordion-section-title:first-child {
|
||||
|
||||
Reference in New Issue
Block a user