Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions src/wp-admin/css/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -2196,6 +2196,7 @@ html.wp-toolbar {
/* one column on the dash */
@media only screen and (max-width: 799px) {
#wpbody-content .metabox-holder .postbox-container .empty-container {
border: 0;
outline: none;
height: 0;
min-height: 0;
Expand Down Expand Up @@ -2235,6 +2236,12 @@ html.wp-toolbar {

.postbox-header .handle-actions {
flex-shrink: 0;
padding-right: 8px;
}

.rtl .postbox-header .handle-actions {
padding-right: 0;
padding-left: 8px;
}

/* Post box order and toggle buttons. */
Expand Down Expand Up @@ -3343,8 +3350,8 @@ img {
.postbox .handle-order-higher:focus,
.postbox .handle-order-lower:focus,
.postbox .handlediv:focus {
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus, 1.5px) var(--wp-admin-theme-color);
border-radius: 50%;
border-radius: 2px;
box-shadow: 0 0 0 var(--wp-admin-border-width-focus, 1.5px) var(--wp-admin-theme-color, #3858e9);
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}
Expand Down
8 changes: 4 additions & 4 deletions src/wp-admin/css/dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,10 @@
}

#dashboard-widgets .postbox-container .empty-container {
outline: 2px dashed rgb(0, 0, 0, 0.15);
outline-offset: -2px;
box-sizing: border-box;
border: 1px dashed #c3c4c7;
border-radius: 8px;
height: 250px;
margin: 4px;
}

/* Only highlight drop zones when dragging. */
Expand All @@ -82,7 +81,7 @@
}

.is-dragging-metaboxes #dashboard-widgets .postbox-container .empty-container {
background: rgb(0, 0, 0, 0.01);
background: rgb(var(--wp-admin-theme-color--rgb), 0.04);
}

#dashboard-widgets .postbox-container .empty-container:after {
Expand Down Expand Up @@ -1288,6 +1287,7 @@ a.rsswidget {
}

#dashboard-widgets .meta-box-sortables.empty-container {
border: 0;
margin-bottom: 0;
}
}
Expand Down
Loading