Commit cb70c62f authored by Andrea Fercia's avatar Andrea Fercia
Browse files

Accessibility: Administration: Address backward compatibility concerns for the...

Accessibility: Administration: Address backward compatibility concerns for the sortable postboxes areas after [48340].

Merges [48717] to the 5.5 branch.
Fixes #49288 for 5.5.

Built from https://develop.svn.wordpress.org/branches/5.5@48718


git-svn-id: https://core.svn.wordpress.org/branches/5.5@48480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent 3aae1e61
Loading
Loading
Loading
Loading
+43 −3
Original line number Diff line number Diff line
@@ -30,6 +30,46 @@
	overflow: visible;
}

/* inner 2 column liquid layout */

.inner-sidebar {
	float: left;
	clear: left;
	display: none;
	width: 281px;
	position: relative;
}

.columns-2 .inner-sidebar {
	margin-left: auto;
	width: 286px;
	display: block;
}

.inner-sidebar #side-sortables,
.columns-2 .inner-sidebar #side-sortables {
	min-height: 300px;
	width: 280px;
	padding: 0;
}

.has-right-sidebar .inner-sidebar {
	display: block;
}

.has-right-sidebar #post-body {
	float: right;
	clear: right;
	width: 100%;
	margin-left: -2000px;
}

.has-right-sidebar #post-body-content {
	margin-left: 300px;
	float: none;
	width: auto;
}

/* 2 columns main area */

#col-left {
@@ -1946,9 +1986,9 @@ html.wp-toolbar {
	padding-top: 10px;
}

.metabox-holder .postbox-container .empty-container {
	outline: 3px dashed #b4b9be;
	height: 250px;
.metabox-holder .postbox-container .meta-box-sortables {
	/* The jQuery UI Sortables need some initial height to work properly. */
	min-height: 1px;
	position: relative;
}

+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+43 −3
Original line number Diff line number Diff line
@@ -29,6 +29,46 @@
	overflow: visible;
}

/* inner 2 column liquid layout */

.inner-sidebar {
	float: right;
	clear: right;
	display: none;
	width: 281px;
	position: relative;
}

.columns-2 .inner-sidebar {
	margin-right: auto;
	width: 286px;
	display: block;
}

.inner-sidebar #side-sortables,
.columns-2 .inner-sidebar #side-sortables {
	min-height: 300px;
	width: 280px;
	padding: 0;
}

.has-right-sidebar .inner-sidebar {
	display: block;
}

.has-right-sidebar #post-body {
	float: left;
	clear: left;
	width: 100%;
	margin-right: -2000px;
}

.has-right-sidebar #post-body-content {
	margin-right: 300px;
	float: none;
	width: auto;
}

/* 2 columns main area */

#col-left {
@@ -1945,9 +1985,9 @@ html.wp-toolbar {
	padding-top: 10px;
}

.metabox-holder .postbox-container .empty-container {
	outline: 3px dashed #b4b9be;
	height: 250px;
.metabox-holder .postbox-container .meta-box-sortables {
	/* The jQuery UI Sortables need some initial height to work properly. */
	min-height: 1px;
	position: relative;
}

+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+5 −0
Original line number Diff line number Diff line
@@ -55,6 +55,11 @@
	margin: 0 8px 20px;
}

#dashboard-widgets .postbox-container .empty-container {
	outline: 3px dashed #b4b9be;
	height: 250px;
}

/* Only highlight drop zones when dragging and only in the 2 columns layout. */
.is-dragging-metaboxes #dashboard-widgets .meta-box-sortables {
	outline: 3px dashed #606a73;
Loading