Updates: Better handling when the credential form is long (such as when SSH is active). This adds scrolling to the dialogue, and hides the SSH-specific fields when not using the SSH handler.

Merges [32777] to the 4.2 branch, the JS changes were previously merged in [33304]
See #32435

Built from https://develop.svn.wordpress.org/branches/4.2@33319


git-svn-id: http://core.svn.wordpress.org/branches/4.2@33291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dion Hulse 2015-07-18 05:25:28 +00:00
parent 78fc515bf3
commit 0f9cb9ce20
8 changed files with 12 additions and 6 deletions

View File

@ -545,6 +545,7 @@ span.wp-media-buttons-icon:before {
.notification-dialog {
position: fixed;
top: 30%;
max-height: 70%;
right: 50%;
width: 450px;
margin-right: -225px;
@ -553,6 +554,7 @@ span.wp-media-buttons-icon:before {
box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
line-height: 1.5;
z-index: 1000005;
overflow-y: auto;
}
.notification-dialog-background {

View File

@ -545,6 +545,7 @@ span.wp-media-buttons-icon:before {
.notification-dialog {
position: fixed;
top: 30%;
max-height: 70%;
left: 50%;
width: 450px;
margin-left: -225px;
@ -553,6 +554,7 @@ span.wp-media-buttons-icon:before {
box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
line-height: 1.5;
z-index: 1000005;
overflow-y: auto;
}
.notification-dialog-background {

View File

@ -862,6 +862,7 @@ table.form-table td .updated p {
.request-filesystem-credentials-dialog .notification-dialog {
top: 15%;
max-height: 85%;
}
.request-filesystem-credentials-dialog-content {
@ -1157,11 +1158,11 @@ table.form-table td .updated p {
.request-filesystem-credentials-dialog .notification-dialog{
width: 100%;
height: 100%;
max-height: 100%;
position: fixed;
top: 0;
margin: 0;
right: 0;
overflow-y: auto;
}
}

View File

@ -862,6 +862,7 @@ table.form-table td .updated p {
.request-filesystem-credentials-dialog .notification-dialog {
top: 15%;
max-height: 85%;
}
.request-filesystem-credentials-dialog-content {
@ -1157,11 +1158,11 @@ table.form-table td .updated p {
.request-filesystem-credentials-dialog .notification-dialog{
width: 100%;
height: 100%;
max-height: 100%;
position: fixed;
top: 0;
margin: 0;
left: 0;
overflow-y: auto;
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long