Media: Move sidebar from the frame view to the attachment browser view. Prevents juggling sidebar visibility state, and makes managing sidebar contents more reasonable. see #21390.

git-svn-id: https://develop.svn.wordpress.org/trunk@22809 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Daryl Koopersmith
2012-11-22 06:30:25 +00:00
parent 6f9025dbf5
commit 4a99fa363e
5 changed files with 147 additions and 125 deletions

View File

@@ -191,7 +191,7 @@ a.media-modal-close {
position: absolute;
top: 0;
right: 0;
bottom: 61px;
bottom: 0;
width: 267px;
padding: 0 16px 24px;
z-index: 75;
@@ -200,10 +200,6 @@ a.media-modal-close {
overflow: auto;
}
.hide-sidebar .media-sidebar {
right: -300px;
}
.hide-toolbar .media-sidebar {
bottom: 0;
}
@@ -403,7 +399,7 @@ a.media-modal-close {
position: absolute;
top: 0;
left: 200px;
right: 300px;
right: 0;
bottom: 61px;
height: auto;
width: auto;
@@ -411,10 +407,6 @@ a.media-modal-close {
overflow: auto;
}
.media-frame.hide-sidebar .region-content {
right: 0;
}
.media-frame.hide-toolbar .region-content {
bottom: 0;
}
@@ -690,6 +682,7 @@ a.media-modal-close {
}
.attachments-browser .media-toolbar {
right: 300px;
height: 50px;
}
@@ -704,7 +697,7 @@ a.media-modal-close {
position: absolute;
top: 50px;
left: 0;
right: 0;
right: 300px;
bottom: 0;
overflow: auto;
}