2015-07-10 17:44:25 -04:00
|
|
|
.response-links {
|
2014-02-19 16:43:14 -05:00
|
|
|
display: block;
|
2015-07-10 17:44:25 -04:00
|
|
|
margin-bottom: 1em;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
2015-07-10 17:44:25 -04:00
|
|
|
.response-links a {
|
2014-02-19 16:43:14 -05:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2015-07-10 17:44:25 -04:00
|
|
|
.response-links a.comments-edit-item-link {
|
2014-02-19 16:43:14 -05:00
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
2015-07-10 17:44:25 -04:00
|
|
|
.response-links a.comments-view-item-link {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-com-count-wrapper strong {
|
|
|
|
font-weight: 400;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
2015-07-10 17:44:25 -04:00
|
|
|
.comments-view-item-link {
|
|
|
|
display: inline-block;
|
|
|
|
clear: both;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
2015-07-29 14:08:25 -04:00
|
|
|
.column-response .post-com-count-wrapper,
|
2015-07-10 17:44:25 -04:00
|
|
|
.column-comments .post-com-count-wrapper {
|
|
|
|
white-space: nowrap;
|
|
|
|
word-wrap: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* comments bubble common */
|
2015-07-29 14:08:25 -04:00
|
|
|
.column-response .post-com-count,
|
2015-07-10 17:44:25 -04:00
|
|
|
.column-comments .post-com-count {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
2015-07-10 17:44:25 -04:00
|
|
|
/* comments bubble approved */
|
2015-07-29 14:08:25 -04:00
|
|
|
.column-response .post-com-count-no-comments,
|
|
|
|
.column-response .post-com-count-approved,
|
2015-07-10 17:44:25 -04:00
|
|
|
.column-comments .post-com-count-no-comments,
|
|
|
|
.column-comments .post-com-count-approved {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
2015-07-29 14:08:25 -04:00
|
|
|
.column-response .comment-count-no-comments,
|
|
|
|
.column-response .comment-count-approved,
|
2015-07-10 17:44:25 -04:00
|
|
|
.column-comments .comment-count-no-comments,
|
|
|
|
.column-comments .comment-count-approved {
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: block;
|
|
|
|
padding: 0 8px;
|
|
|
|
min-width: 24px;
|
|
|
|
height: 2em;
|
|
|
|
border-radius: 5px;
|
|
|
|
background-color: #72777c;
|
|
|
|
color: #fff;
|
|
|
|
font-size: 11px;
|
|
|
|
line-height: 21px;
|
2014-02-19 16:43:14 -05:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2015-07-29 14:08:25 -04:00
|
|
|
.ie8 .column-response .comment-count-no-comments,
|
|
|
|
.ie8 .column-response .comment-count-approved,
|
2015-07-10 17:44:25 -04:00
|
|
|
.ie8 .column-comments .comment-count-no-comments,
|
|
|
|
.ie8 .column-comments .comment-count-approved {
|
|
|
|
min-width: 0;
|
|
|
|
}
|
|
|
|
|
2015-07-29 14:08:25 -04:00
|
|
|
.column-response .post-com-count-no-comments:after,
|
|
|
|
.column-response .post-com-count-approved:after,
|
2015-07-10 17:44:25 -04:00
|
|
|
.column-comments .post-com-count-no-comments:after,
|
|
|
|
.column-comments .post-com-count-approved:after {
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
margin-left: 8px;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
border-top: 5px solid #72777c;
|
|
|
|
border-right: 5px solid transparent;
|
|
|
|
}
|
|
|
|
|
2015-07-29 14:08:25 -04:00
|
|
|
.column-response .post-com-count-approved:hover .comment-count-approved,
|
|
|
|
.column-response .post-com-count-approved:focus .comment-count-approved,
|
2015-07-10 17:44:25 -04:00
|
|
|
.column-comments .post-com-count-approved:hover .comment-count-approved,
|
|
|
|
.column-comments .post-com-count-approved:focus .comment-count-approved {
|
|
|
|
background: #0073aa;
|
|
|
|
}
|
|
|
|
|
2015-07-29 14:08:25 -04:00
|
|
|
.column-response .post-com-count-approved:hover:after,
|
|
|
|
.column-response .post-com-count-approved:focus:after,
|
2015-07-10 17:44:25 -04:00
|
|
|
.column-comments .post-com-count-approved:hover:after,
|
|
|
|
.column-comments .post-com-count-approved:focus:after {
|
|
|
|
border-top-color: #0073aa;
|
|
|
|
}
|
|
|
|
|
2017-09-10 09:40:46 -04:00
|
|
|
/* @todo: consider to use a single rule for these counters and the admin menu counters. */
|
2015-07-29 14:08:25 -04:00
|
|
|
.column-response .post-com-count-pending,
|
2015-07-10 17:44:25 -04:00
|
|
|
.column-comments .post-com-count-pending {
|
|
|
|
position: relative;
|
|
|
|
left: -3px;
|
|
|
|
padding: 0 5px;
|
|
|
|
min-width: 7px;
|
|
|
|
height: 17px;
|
|
|
|
border: 2px solid #fff;
|
|
|
|
border-radius: 11px;
|
|
|
|
background: #ca4a1f;
|
|
|
|
color: #fff;
|
|
|
|
font-size: 9px;
|
|
|
|
line-height: 17px;
|
|
|
|
text-align: center;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
2015-08-21 13:26:26 -04:00
|
|
|
.column-response .post-com-count-no-pending,
|
|
|
|
.column-comments .post-com-count-no-pending {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
/* comments */
|
|
|
|
|
|
|
|
.commentlist li {
|
|
|
|
padding: 1em 1em .2em;
|
|
|
|
margin: 0;
|
|
|
|
border-bottom: 1px solid #ccc;
|
|
|
|
}
|
|
|
|
|
|
|
|
.commentlist li li {
|
|
|
|
border-bottom: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.commentlist p {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0 0 .8em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#submitted-on,
|
|
|
|
.submitted-on {
|
2016-01-25 19:04:26 -05:00
|
|
|
color: #555d66;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/* reply to comments */
|
|
|
|
#replyrow td {
|
|
|
|
padding: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#replysubmit {
|
|
|
|
margin: 0;
|
2015-10-01 10:52:25 -04:00
|
|
|
padding: 5px 7px 10px;
|
|
|
|
overflow: hidden;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#replysubmit .button {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
2015-10-01 10:52:25 -04:00
|
|
|
#replyrow.inline-edit-row fieldset.comment-reply {
|
|
|
|
font-size: inherit;
|
|
|
|
line-height: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
#replyrow legend {
|
|
|
|
margin: 0;
|
|
|
|
padding: .2em 5px 0;
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 1.4;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
#replyrow.inline-edit-row label {
|
|
|
|
display: inline;
|
|
|
|
vertical-align: baseline;
|
|
|
|
line-height: inherit;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
2015-05-11 21:22:25 -04:00
|
|
|
#edithead .inside,
|
|
|
|
#commentsdiv #edithead .inside {
|
2014-02-19 16:43:14 -05:00
|
|
|
float: left;
|
|
|
|
padding: 3px 0 2px 5px;
|
|
|
|
margin: 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#edithead .inside input {
|
|
|
|
width: 180px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#edithead label {
|
|
|
|
padding: 2px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#replycontainer {
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#replycontent {
|
|
|
|
height: 120px;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#replyerror {
|
|
|
|
border-color: #ddd;
|
|
|
|
background-color: #f9f9f9;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* @todo: is this used? */
|
|
|
|
.commentlist .avatar {
|
|
|
|
vertical-align: text-top;
|
|
|
|
}
|
|
|
|
|
|
|
|
#the-comment-list tr.undo,
|
|
|
|
#the-comment-list div.undo {
|
2016-02-16 11:09:29 -05:00
|
|
|
background-color: #f5f5f5;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#the-comment-list .unapproved th,
|
|
|
|
#the-comment-list .unapproved td {
|
2014-03-27 01:08:14 -04:00
|
|
|
background-color: #fef7f1;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#the-comment-list .unapproved th.check-column {
|
|
|
|
border-left: 4px solid #d54e21;
|
|
|
|
}
|
|
|
|
|
|
|
|
#the-comment-list .unapproved th.check-column input {
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#the-comment-list .approve a {
|
|
|
|
color: #006505;
|
|
|
|
}
|
|
|
|
|
|
|
|
#the-comment-list .unapprove a {
|
|
|
|
color: #d98500;
|
|
|
|
}
|
|
|
|
|
|
|
|
#the-comment-list th,
|
|
|
|
#the-comment-list td {
|
|
|
|
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
#the-comment-list tr:last-child th,
|
|
|
|
#the-comment-list tr:last-child td {
|
2019-01-17 02:41:52 -05:00
|
|
|
box-shadow: none;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#the-comment-list tr.unapproved + tr.approved th,
|
|
|
|
#the-comment-list tr.unapproved + tr.approved td {
|
2019-01-17 02:41:52 -05:00
|
|
|
border-top: 1px solid rgba(0, 0, 0, 0.03);
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/* table vim shortcuts */
|
|
|
|
.vim-current,
|
|
|
|
.vim-current th,
|
|
|
|
.vim-current td {
|
|
|
|
background-color: #e4f2fd !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
th .comment-grey-bubble {
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
th .comment-grey-bubble:before {
|
2015-09-10 16:22:25 -04:00
|
|
|
content: "\f101";
|
2015-09-05 15:57:25 -04:00
|
|
|
font: normal 20px/.5 dashicons;
|
2014-02-19 16:43:14 -05:00
|
|
|
speak: none;
|
|
|
|
display: inline-block;
|
|
|
|
padding: 0;
|
|
|
|
top: 4px;
|
|
|
|
left: -4px;
|
|
|
|
position: relative;
|
|
|
|
vertical-align: top;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
text-decoration: none !important;
|
|
|
|
color: #444;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
10.0 - List Posts (/Pages/etc)
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
table.fixed {
|
2015-09-29 21:19:24 -04:00
|
|
|
table-layout: fixed;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.fixed .column-rating,
|
|
|
|
.fixed .column-visible {
|
|
|
|
width: 8%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fixed .column-posts,
|
|
|
|
.fixed .column-date,
|
|
|
|
.fixed .column-parent,
|
|
|
|
.fixed .column-links,
|
|
|
|
.fixed .column-author,
|
|
|
|
.fixed .column-format {
|
|
|
|
width: 10%;
|
|
|
|
}
|
|
|
|
|
2014-08-01 14:32:15 -04:00
|
|
|
.fixed .column-posts {
|
2015-06-10 02:50:25 -04:00
|
|
|
width: 74px;
|
2014-08-01 14:32:15 -04:00
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
.fixed .column-comment .comment-author {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fixed .column-response,
|
|
|
|
.fixed .column-categories,
|
|
|
|
.fixed .column-tags,
|
|
|
|
.fixed .column-rel,
|
|
|
|
.fixed .column-role {
|
|
|
|
width: 15%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fixed .column-slug {
|
|
|
|
width: 25%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fixed .column-locations {
|
|
|
|
width: 35%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fixed .column-comments {
|
2015-07-10 17:44:25 -04:00
|
|
|
width: 5.5em;
|
2014-02-19 16:43:14 -05:00
|
|
|
padding: 8px 0;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fixed .column-comments .vers {
|
|
|
|
padding-left: 3px;
|
|
|
|
}
|
|
|
|
|
2015-07-07 11:21:25 -04:00
|
|
|
td.column-title strong,
|
|
|
|
td.plugin-title strong {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: .2em;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.column-title p,
|
|
|
|
td.plugin-title p {
|
|
|
|
margin: 6px 0;
|
|
|
|
}
|
|
|
|
|
2015-06-03 11:13:25 -04:00
|
|
|
/* Media file column */
|
|
|
|
table.media .column-title .media-icon {
|
2015-07-14 13:24:26 -04:00
|
|
|
float: left;
|
|
|
|
min-height: 60px;
|
2019-01-17 02:41:52 -05:00
|
|
|
margin: 0 9px 0 0;
|
2015-06-03 11:13:25 -04:00
|
|
|
}
|
|
|
|
|
2015-06-03 11:23:25 -04:00
|
|
|
table.media .column-title .media-icon img {
|
|
|
|
max-width: 60px;
|
|
|
|
height: auto;
|
2015-07-14 13:24:26 -04:00
|
|
|
vertical-align: top; /* Remove descender white-space. */
|
2015-06-03 11:23:25 -04:00
|
|
|
}
|
|
|
|
|
2015-07-14 13:46:24 -04:00
|
|
|
table.media .column-title .has-media-icon ~ .row-actions {
|
2015-06-03 11:13:25 -04:00
|
|
|
margin-left: 70px; /* 60px image + margin */
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
2015-07-14 13:24:26 -04:00
|
|
|
table.media .column-title .filename {
|
2015-06-25 15:30:25 -04:00
|
|
|
margin-bottom: 0.2em;
|
2015-06-16 17:33:25 -04:00
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
/* @todo: pick a consistent list table selector */
|
|
|
|
.wp-list-table a {
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#the-list tr:last-child td,
|
|
|
|
#the-list tr:last-child th {
|
|
|
|
border-bottom: none !important;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#comments-form .fixed .column-author {
|
|
|
|
width: 20%;
|
|
|
|
}
|
|
|
|
|
2015-09-24 13:27:26 -04:00
|
|
|
#comments-form .fixed .column-date {
|
|
|
|
width: 14%;
|
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
#commentsdiv.postbox .inside {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#commentsdiv .inside .row-actions {
|
2019-01-17 02:41:52 -05:00
|
|
|
line-height: 18px;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#commentsdiv .inside .column-author {
|
|
|
|
width: 25%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#commentsdiv .column-comment p {
|
|
|
|
margin: 0.6em 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#commentsdiv #replyrow td {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#commentsdiv p {
|
|
|
|
padding: 8px 10px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#commentsdiv .comments-box {
|
|
|
|
border: 0 none;
|
|
|
|
}
|
|
|
|
|
2015-06-28 01:46:25 -04:00
|
|
|
#commentsdiv .comments-box thead th,
|
|
|
|
#commentsdiv .comments-box thead td {
|
2014-02-19 16:43:14 -05:00
|
|
|
background: transparent;
|
|
|
|
padding: 0 7px 4px;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
#commentsdiv .comments-box tr:last-child td {
|
|
|
|
border-bottom: 0 none;
|
|
|
|
}
|
|
|
|
|
2015-05-11 21:22:25 -04:00
|
|
|
#commentsdiv #edithead .inside input {
|
|
|
|
width: 160px;
|
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
.sorting-indicator {
|
2015-09-19 12:15:24 -04:00
|
|
|
display: block;
|
|
|
|
visibility: hidden;
|
2014-02-19 16:43:14 -05:00
|
|
|
width: 10px;
|
|
|
|
height: 4px;
|
|
|
|
margin-top: 8px;
|
|
|
|
margin-left: 7px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sorting-indicator:before {
|
2015-09-10 16:22:25 -04:00
|
|
|
content: "\f142";
|
2015-09-05 15:57:25 -04:00
|
|
|
font: normal 20px/1 dashicons;
|
2014-02-19 16:43:14 -05:00
|
|
|
speak: none;
|
|
|
|
display: inline-block;
|
|
|
|
padding: 0;
|
|
|
|
top: -4px;
|
|
|
|
left: -8px;
|
|
|
|
color: #444;
|
|
|
|
line-height: 10px;
|
|
|
|
position: relative;
|
|
|
|
vertical-align: top;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
text-decoration: none !important;
|
|
|
|
color: #444;
|
|
|
|
}
|
|
|
|
|
|
|
|
.column-comments .sorting-indicator:before {
|
|
|
|
top: 0;
|
|
|
|
left: -10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
th.sorted.asc .sorting-indicator:before,
|
2015-05-21 14:05:26 -04:00
|
|
|
th.desc:hover span.sorting-indicator:before,
|
|
|
|
th.desc a:focus span.sorting-indicator:before {
|
2015-09-10 16:22:25 -04:00
|
|
|
content: "\f142";
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
th.sorted.desc .sorting-indicator:before,
|
2015-05-21 14:05:26 -04:00
|
|
|
th.asc:hover span.sorting-indicator:before,
|
|
|
|
th.asc a:focus span.sorting-indicator:before {
|
2015-09-10 16:22:25 -04:00
|
|
|
content: "\f140";
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
List tables: A better responsive view.
Instead of truncating columns, the data that's already in the markup can now be toggled into view. Only seems appropriate to celebrate four years of contributing by finally doing the first thing I ever mocked up.
Known issues / concerns:
* Custom list tables that don't define a primary column will show nothing at all. These are not extremely common, as `WP_List_Table` isn't really recommended for plugin consumption, but it happens. We need to come up with some kind of fallback.
* Some visual elements, particularly whitespace, could use refining.
* Needs a11y review.
* Touch performance on iOS feels sluggish - is there anything we can do about that?
* Would this be better accordion-style (only one expanded at a time)?
* Is `wp_strip_all_tags()` good enough for column titles that have HTML in them? It's essentially a workaround for the fact that core's comments column does that for the icon, which maybe it shouldn't. Perhaps worth another ticket, as a markup change would be fairly independent.
* Visual hierarchy is not great when expanded (also worthy of another ticket).
* Quick edit now becomes noticeably more annoying to cancel out of, as you have to scroll all the way down and you lose your position from before it was opened. Again, worthy of another ticket.
props Michael Arestad, helen.
see #32395.
Built from https://develop.svn.wordpress.org/trunk@33016
git-svn-id: http://core.svn.wordpress.org/trunk@32987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-30 21:31:25 -04:00
|
|
|
.wp-list-table .toggle-row {
|
|
|
|
position: absolute;
|
|
|
|
right: 8px;
|
|
|
|
top: 10px;
|
|
|
|
display: none;
|
|
|
|
padding: 0;
|
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-list-table .toggle-row:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2015-07-09 15:12:25 -04:00
|
|
|
.wp-list-table .toggle-row:focus:before {
|
2019-01-17 02:41:52 -05:00
|
|
|
box-shadow:
|
|
|
|
0 0 0 1px #5b9dd9,
|
List tables: A better responsive view.
Instead of truncating columns, the data that's already in the markup can now be toggled into view. Only seems appropriate to celebrate four years of contributing by finally doing the first thing I ever mocked up.
Known issues / concerns:
* Custom list tables that don't define a primary column will show nothing at all. These are not extremely common, as `WP_List_Table` isn't really recommended for plugin consumption, but it happens. We need to come up with some kind of fallback.
* Some visual elements, particularly whitespace, could use refining.
* Needs a11y review.
* Touch performance on iOS feels sluggish - is there anything we can do about that?
* Would this be better accordion-style (only one expanded at a time)?
* Is `wp_strip_all_tags()` good enough for column titles that have HTML in them? It's essentially a workaround for the fact that core's comments column does that for the icon, which maybe it shouldn't. Perhaps worth another ticket, as a markup change would be fairly independent.
* Visual hierarchy is not great when expanded (also worthy of another ticket).
* Quick edit now becomes noticeably more annoying to cancel out of, as you have to scroll all the way down and you lose your position from before it was opened. Again, worthy of another ticket.
props Michael Arestad, helen.
see #32395.
Built from https://develop.svn.wordpress.org/trunk@33016
git-svn-id: http://core.svn.wordpress.org/trunk@32987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-30 21:31:25 -04:00
|
|
|
0 0 2px 1px rgba(30, 140, 190, .8);
|
|
|
|
}
|
|
|
|
|
2015-07-09 15:12:25 -04:00
|
|
|
.ie8 .wp-list-table .toggle-row:focus:before {
|
List tables: A better responsive view.
Instead of truncating columns, the data that's already in the markup can now be toggled into view. Only seems appropriate to celebrate four years of contributing by finally doing the first thing I ever mocked up.
Known issues / concerns:
* Custom list tables that don't define a primary column will show nothing at all. These are not extremely common, as `WP_List_Table` isn't really recommended for plugin consumption, but it happens. We need to come up with some kind of fallback.
* Some visual elements, particularly whitespace, could use refining.
* Needs a11y review.
* Touch performance on iOS feels sluggish - is there anything we can do about that?
* Would this be better accordion-style (only one expanded at a time)?
* Is `wp_strip_all_tags()` good enough for column titles that have HTML in them? It's essentially a workaround for the fact that core's comments column does that for the icon, which maybe it shouldn't. Perhaps worth another ticket, as a markup change would be fairly independent.
* Visual hierarchy is not great when expanded (also worthy of another ticket).
* Quick edit now becomes noticeably more annoying to cancel out of, as you have to scroll all the way down and you lose your position from before it was opened. Again, worthy of another ticket.
props Michael Arestad, helen.
see #32395.
Built from https://develop.svn.wordpress.org/trunk@33016
git-svn-id: http://core.svn.wordpress.org/trunk@32987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-30 21:31:25 -04:00
|
|
|
outline: #5b9dd9 solid 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-list-table .toggle-row:active {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-list-table .toggle-row:before {
|
|
|
|
position: absolute;
|
2015-07-09 15:12:25 -04:00
|
|
|
top: -5px;
|
List tables: A better responsive view.
Instead of truncating columns, the data that's already in the markup can now be toggled into view. Only seems appropriate to celebrate four years of contributing by finally doing the first thing I ever mocked up.
Known issues / concerns:
* Custom list tables that don't define a primary column will show nothing at all. These are not extremely common, as `WP_List_Table` isn't really recommended for plugin consumption, but it happens. We need to come up with some kind of fallback.
* Some visual elements, particularly whitespace, could use refining.
* Needs a11y review.
* Touch performance on iOS feels sluggish - is there anything we can do about that?
* Would this be better accordion-style (only one expanded at a time)?
* Is `wp_strip_all_tags()` good enough for column titles that have HTML in them? It's essentially a workaround for the fact that core's comments column does that for the icon, which maybe it shouldn't. Perhaps worth another ticket, as a markup change would be fairly independent.
* Visual hierarchy is not great when expanded (also worthy of another ticket).
* Quick edit now becomes noticeably more annoying to cancel out of, as you have to scroll all the way down and you lose your position from before it was opened. Again, worthy of another ticket.
props Michael Arestad, helen.
see #32395.
Built from https://develop.svn.wordpress.org/trunk@33016
git-svn-id: http://core.svn.wordpress.org/trunk@32987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-30 21:31:25 -04:00
|
|
|
left: 10px;
|
2015-07-09 15:12:25 -04:00
|
|
|
border-radius: 50%;
|
List tables: A better responsive view.
Instead of truncating columns, the data that's already in the markup can now be toggled into view. Only seems appropriate to celebrate four years of contributing by finally doing the first thing I ever mocked up.
Known issues / concerns:
* Custom list tables that don't define a primary column will show nothing at all. These are not extremely common, as `WP_List_Table` isn't really recommended for plugin consumption, but it happens. We need to come up with some kind of fallback.
* Some visual elements, particularly whitespace, could use refining.
* Needs a11y review.
* Touch performance on iOS feels sluggish - is there anything we can do about that?
* Would this be better accordion-style (only one expanded at a time)?
* Is `wp_strip_all_tags()` good enough for column titles that have HTML in them? It's essentially a workaround for the fact that core's comments column does that for the icon, which maybe it shouldn't. Perhaps worth another ticket, as a markup change would be fairly independent.
* Visual hierarchy is not great when expanded (also worthy of another ticket).
* Quick edit now becomes noticeably more annoying to cancel out of, as you have to scroll all the way down and you lose your position from before it was opened. Again, worthy of another ticket.
props Michael Arestad, helen.
see #32395.
Built from https://develop.svn.wordpress.org/trunk@33016
git-svn-id: http://core.svn.wordpress.org/trunk@32987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-30 21:31:25 -04:00
|
|
|
display: block;
|
2015-07-09 15:12:25 -04:00
|
|
|
padding: 1px 2px 1px 0;
|
2016-03-10 16:44:26 -05:00
|
|
|
color: #444; /* same as table headers sort arrows */
|
2015-09-10 16:22:25 -04:00
|
|
|
content: "\f140";
|
2015-09-05 15:57:25 -04:00
|
|
|
font: normal 20px/1 dashicons;
|
2015-07-09 15:12:25 -04:00
|
|
|
line-height: 1;
|
List tables: A better responsive view.
Instead of truncating columns, the data that's already in the markup can now be toggled into view. Only seems appropriate to celebrate four years of contributing by finally doing the first thing I ever mocked up.
Known issues / concerns:
* Custom list tables that don't define a primary column will show nothing at all. These are not extremely common, as `WP_List_Table` isn't really recommended for plugin consumption, but it happens. We need to come up with some kind of fallback.
* Some visual elements, particularly whitespace, could use refining.
* Needs a11y review.
* Touch performance on iOS feels sluggish - is there anything we can do about that?
* Would this be better accordion-style (only one expanded at a time)?
* Is `wp_strip_all_tags()` good enough for column titles that have HTML in them? It's essentially a workaround for the fact that core's comments column does that for the icon, which maybe it shouldn't. Perhaps worth another ticket, as a markup change would be fairly independent.
* Visual hierarchy is not great when expanded (also worthy of another ticket).
* Quick edit now becomes noticeably more annoying to cancel out of, as you have to scroll all the way down and you lose your position from before it was opened. Again, worthy of another ticket.
props Michael Arestad, helen.
see #32395.
Built from https://develop.svn.wordpress.org/trunk@33016
git-svn-id: http://core.svn.wordpress.org/trunk@32987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-30 21:31:25 -04:00
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
speak: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-list-table .is-expanded .toggle-row:before {
|
2015-09-10 16:22:25 -04:00
|
|
|
content: "\f142";
|
List tables: A better responsive view.
Instead of truncating columns, the data that's already in the markup can now be toggled into view. Only seems appropriate to celebrate four years of contributing by finally doing the first thing I ever mocked up.
Known issues / concerns:
* Custom list tables that don't define a primary column will show nothing at all. These are not extremely common, as `WP_List_Table` isn't really recommended for plugin consumption, but it happens. We need to come up with some kind of fallback.
* Some visual elements, particularly whitespace, could use refining.
* Needs a11y review.
* Touch performance on iOS feels sluggish - is there anything we can do about that?
* Would this be better accordion-style (only one expanded at a time)?
* Is `wp_strip_all_tags()` good enough for column titles that have HTML in them? It's essentially a workaround for the fact that core's comments column does that for the icon, which maybe it shouldn't. Perhaps worth another ticket, as a markup change would be fairly independent.
* Visual hierarchy is not great when expanded (also worthy of another ticket).
* Quick edit now becomes noticeably more annoying to cancel out of, as you have to scroll all the way down and you lose your position from before it was opened. Again, worthy of another ticket.
props Michael Arestad, helen.
see #32395.
Built from https://develop.svn.wordpress.org/trunk@33016
git-svn-id: http://core.svn.wordpress.org/trunk@32987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-30 21:31:25 -04:00
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
tr.wp-locked .locked-indicator {
|
2014-03-04 01:53:14 -05:00
|
|
|
margin-left: 6px;
|
2014-02-19 16:43:14 -05:00
|
|
|
height: 20px;
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
|
2016-10-26 13:59:29 -04:00
|
|
|
tr.wp-locked .locked-indicator-icon:before {
|
2015-02-11 17:18:26 -05:00
|
|
|
color: #82878c;
|
2015-09-10 16:22:25 -04:00
|
|
|
content: "\f160";
|
2014-03-04 01:53:14 -05:00
|
|
|
display: inline-block;
|
2015-09-05 15:57:25 -04:00
|
|
|
font: normal 20px/1 dashicons;
|
2014-03-04 01:53:14 -05:00
|
|
|
speak: none;
|
|
|
|
vertical-align: middle;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
tr.wp-locked .check-column label,
|
|
|
|
tr.wp-locked .check-column input[type="checkbox"],
|
|
|
|
tr.wp-locked .row-actions .inline,
|
|
|
|
tr.wp-locked .row-actions .trash {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr .locked-info {
|
|
|
|
height: 0;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr.wp-locked .locked-info {
|
2016-10-26 13:59:29 -04:00
|
|
|
margin-top: 4px;
|
2014-02-19 16:43:14 -05:00
|
|
|
height: auto;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.locked-text {
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr.locked-info, tr.wp-locked .locked-info {
|
|
|
|
transition: height 1s, opacity 0.5s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fixed .column-comments .sorting-indicator {
|
|
|
|
margin-top: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu-locations-wrap .widefat {
|
|
|
|
width: 60%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.widefat th.sortable,
|
|
|
|
.widefat th.sorted {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
th.sortable a,
|
|
|
|
th.sorted a {
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
2015-10-06 21:40:24 -04:00
|
|
|
padding: 8px;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.fixed .column-comments.sortable a,
|
|
|
|
.fixed .column-comments.sorted a {
|
|
|
|
padding: 8px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
th.sortable a span,
|
|
|
|
th.sorted a span {
|
|
|
|
float: left;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2015-05-21 14:05:26 -04:00
|
|
|
th.sorted .sorting-indicator,
|
|
|
|
th.desc:hover span.sorting-indicator,
|
|
|
|
th.desc a:focus span.sorting-indicator,
|
|
|
|
th.asc:hover span.sorting-indicator,
|
|
|
|
th.asc a:focus span.sorting-indicator {
|
2015-09-19 12:15:24 -04:00
|
|
|
visibility: visible;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.tablenav-pages .current-page {
|
2015-06-25 16:32:26 -04:00
|
|
|
margin: 0 2px 0 0;
|
2018-04-29 12:25:21 -04:00
|
|
|
padding-top: 5px;
|
2015-06-25 16:32:26 -04:00
|
|
|
padding-bottom: 5px;
|
|
|
|
font-size: 13px;
|
2014-02-19 16:43:14 -05:00
|
|
|
text-align: center;
|
|
|
|
}
|
2015-06-25 16:32:26 -04:00
|
|
|
|
|
|
|
.tablenav .total-pages {
|
|
|
|
margin-right: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tablenav #table-paging {
|
2014-02-19 16:43:14 -05:00
|
|
|
margin-left: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tablenav {
|
|
|
|
clear: both;
|
|
|
|
height: 30px;
|
|
|
|
margin: 6px 0 4px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tablenav.themes {
|
|
|
|
max-width: 98%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tablenav .tablenav-pages {
|
|
|
|
float: right;
|
2018-04-29 12:25:21 -04:00
|
|
|
margin: 3px 0 9px;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.tablenav .no-pages,
|
|
|
|
.tablenav .one-page .pagination-links {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-04-29 12:25:21 -04:00
|
|
|
.tablenav .tablenav-pages .button,
|
|
|
|
.tablenav .tablenav-pages .tablenav-pages-navspan {
|
2015-06-05 01:01:25 -04:00
|
|
|
display: inline-block;
|
2018-04-29 12:25:21 -04:00
|
|
|
vertical-align: baseline;
|
|
|
|
min-width: 28px;
|
|
|
|
min-height: 28px;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0 4px;
|
2014-02-19 16:43:14 -05:00
|
|
|
font-size: 16px;
|
2018-04-29 12:25:21 -04:00
|
|
|
line-height: 1.5;
|
2015-06-25 16:32:26 -04:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
.tablenav .displaying-num {
|
2015-05-11 15:34:27 -04:00
|
|
|
margin-right: 7px;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
2015-05-11 15:34:27 -04:00
|
|
|
.tablenav .one-page .displaying-num {
|
|
|
|
display: inline-block;
|
2018-04-29 12:25:21 -04:00
|
|
|
margin: 5px 0;
|
2015-05-11 15:34:27 -04:00
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
.tablenav .actions {
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 2px 8px 0 0;
|
|
|
|
}
|
|
|
|
|
2014-08-26 11:58:15 -04:00
|
|
|
.wp-filter .actions {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
.tablenav .delete {
|
|
|
|
margin-right: 20px;
|
|
|
|
}
|
|
|
|
|
2018-04-29 12:25:21 -04:00
|
|
|
/* This view-switcher is still used on multisite. */
|
2014-08-26 13:04:15 -04:00
|
|
|
.tablenav .view-switch {
|
2014-02-19 16:43:14 -05:00
|
|
|
float: right;
|
2015-05-11 15:34:27 -04:00
|
|
|
margin: 0 5px;
|
|
|
|
padding-top: 3px;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
2014-08-26 11:58:15 -04:00
|
|
|
.wp-filter .view-switch {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
2015-05-11 15:34:27 -04:00
|
|
|
padding: 12px 0;
|
|
|
|
margin: 0 8px 0 2px;
|
2014-08-26 11:58:15 -04:00
|
|
|
}
|
|
|
|
|
2015-05-11 15:34:27 -04:00
|
|
|
.media-toolbar.wp-filter .view-switch {
|
|
|
|
margin: 0 12px 0 2px;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
2015-05-11 15:34:27 -04:00
|
|
|
.view-switch a {
|
|
|
|
float: left;
|
|
|
|
width: 28px;
|
|
|
|
height: 28px;
|
|
|
|
text-align: center;
|
|
|
|
line-height: 24px;
|
2015-06-25 16:32:26 -04:00
|
|
|
text-decoration: none;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
2015-05-11 15:34:27 -04:00
|
|
|
.view-switch a:before {
|
2015-04-05 17:20:27 -04:00
|
|
|
color: #b4b9be;
|
2014-02-19 16:43:14 -05:00
|
|
|
display: inline-block;
|
2015-09-05 15:57:25 -04:00
|
|
|
font: normal 20px/1 dashicons;
|
2014-02-19 16:43:14 -05:00
|
|
|
speak: none;
|
|
|
|
vertical-align: middle;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
}
|
|
|
|
|
2015-05-11 15:34:27 -04:00
|
|
|
.view-switch a:hover:before,
|
|
|
|
.view-switch a:focus:before {
|
2014-02-19 16:43:14 -05:00
|
|
|
color: #727272;
|
|
|
|
}
|
|
|
|
|
|
|
|
.view-switch a.current:before {
|
2015-02-11 17:18:26 -05:00
|
|
|
color: #0073aa;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
2015-05-11 15:34:27 -04:00
|
|
|
.view-switch .view-list:before {
|
2015-09-10 16:22:25 -04:00
|
|
|
content: "\f163";
|
2014-06-05 18:01:18 -04:00
|
|
|
}
|
|
|
|
|
2015-05-11 15:34:27 -04:00
|
|
|
.view-switch .view-excerpt:before {
|
2015-09-10 16:22:25 -04:00
|
|
|
content: "\f164";
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
2015-05-11 15:34:27 -04:00
|
|
|
.view-switch .view-grid:before {
|
2015-09-10 16:22:25 -04:00
|
|
|
content: "\f509";
|
2014-06-05 18:01:18 -04:00
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
.filter {
|
|
|
|
float: left;
|
|
|
|
margin: -5px 0 0 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.filter .subsubsub {
|
|
|
|
margin-left: -10px;
|
|
|
|
margin-top: 13px;
|
|
|
|
}
|
|
|
|
.screen-per-page {
|
|
|
|
width: 4em;
|
|
|
|
}
|
|
|
|
|
2014-08-26 11:58:15 -04:00
|
|
|
#posts-filter .wp-filter {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
#posts-filter fieldset {
|
|
|
|
float: left;
|
|
|
|
margin: 0 1.5ex 1em 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#posts-filter fieldset legend {
|
|
|
|
padding: 0 0 .2em 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
p.pagenav {
|
|
|
|
margin: 0;
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pagenav span {
|
|
|
|
font-weight: 600;
|
|
|
|
margin: 0 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.row-title {
|
|
|
|
font-size: 14px !important;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.column-comment .comment-author {
|
|
|
|
margin-bottom: 0.6em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.column-author img,
|
|
|
|
.column-username img,
|
|
|
|
.column-comment .comment-author img {
|
|
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
|
|
|
margin-top: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.row-actions {
|
|
|
|
color: #ddd;
|
|
|
|
font-size: 13px;
|
|
|
|
padding: 2px 0 0;
|
2015-12-04 18:13:24 -05:00
|
|
|
position: relative;
|
|
|
|
left: -9999em;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
2015-11-07 11:05:25 -05:00
|
|
|
/* ticket #34150 */
|
|
|
|
.rtl .row-actions a {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2015-10-13 18:12:25 -04:00
|
|
|
.row-actions .network_only,
|
|
|
|
.row-actions .network_active {
|
|
|
|
color: #000;
|
|
|
|
}
|
|
|
|
|
2015-12-04 18:13:24 -05:00
|
|
|
.no-js .row-actions,
|
2014-02-19 16:43:14 -05:00
|
|
|
tr:hover .row-actions,
|
|
|
|
.mobile .row-actions,
|
|
|
|
.row-actions.visible,
|
2016-02-24 11:07:26 -05:00
|
|
|
.comment-item:hover .row-actions {
|
2015-12-04 18:13:24 -05:00
|
|
|
position: static;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/* deprecated */
|
|
|
|
.row-actions-visible {
|
|
|
|
padding: 2px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
10.1 - Inline Editing
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
.quick-edit* is for Quick Edit
|
|
|
|
.bulk-edit* is for Bulk Edit
|
|
|
|
.inline-edit* is for everything
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Layout */
|
|
|
|
|
|
|
|
#wpbody-content .inline-edit-row fieldset {
|
|
|
|
font-size: 12px;
|
|
|
|
float: left;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr.inline-edit-row td,
|
|
|
|
#wpbody-content .inline-edit-row fieldset .inline-edit-col {
|
|
|
|
padding: 0 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wpbody-content .quick-edit-row-post .inline-edit-col-left {
|
|
|
|
width: 40%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wpbody-content .quick-edit-row-post .inline-edit-col-right {
|
|
|
|
width: 39%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wpbody-content .inline-edit-row-post .inline-edit-col-center {
|
|
|
|
width: 20%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wpbody-content .quick-edit-row-page .inline-edit-col-left {
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wpbody-content .quick-edit-row-page .inline-edit-col-right,
|
|
|
|
#wpbody-content .bulk-edit-row-post .inline-edit-col-right {
|
|
|
|
width: 49%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wpbody-content .bulk-edit-row .inline-edit-col-left {
|
|
|
|
width: 30%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wpbody-content .bulk-edit-row-page .inline-edit-col-right {
|
|
|
|
width: 69%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wpbody-content .bulk-edit-row .inline-edit-col-bottom {
|
|
|
|
float: right;
|
|
|
|
width: 69%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wpbody-content .inline-edit-row-page .inline-edit-col-right {
|
|
|
|
margin-top: 27px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inline-edit-row fieldset .inline-edit-group {
|
|
|
|
clear: both;
|
2015-03-25 18:25:26 -04:00
|
|
|
line-height: 2.5;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
2017-10-02 17:52:52 -04:00
|
|
|
.inline-edit-row .submit {
|
2014-02-19 16:43:14 -05:00
|
|
|
clear: both;
|
|
|
|
padding: 0.5em;
|
|
|
|
margin: 0.5em 0 0;
|
|
|
|
}
|
|
|
|
|
2017-10-02 17:52:52 -04:00
|
|
|
.inline-edit-row .notice-error {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inline-edit-row .notice-error .error {
|
|
|
|
margin: 0.5em 0;
|
|
|
|
padding: 2px;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Positioning */
|
2015-10-16 20:45:25 -04:00
|
|
|
|
|
|
|
/* Needs higher specificity for the padding */
|
|
|
|
#the-list .inline-edit-row .inline-edit-legend {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0.2em 0.5em 0;
|
2015-03-25 18:25:26 -04:00
|
|
|
line-height: 2.5;
|
2015-10-16 20:45:25 -04:00
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
#the-list #bulk-edit.inline-edit-row .inline-edit-legend {
|
|
|
|
padding: 0.2em 0.5em;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
2015-10-16 20:45:25 -04:00
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
.inline-edit-row fieldset span.title,
|
|
|
|
.inline-edit-row fieldset span.checkbox-title {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inline-edit-row fieldset label,
|
|
|
|
.inline-edit-row fieldset span.inline-edit-categories-label {
|
|
|
|
display: block;
|
|
|
|
margin: .2em 0;
|
2015-03-25 18:25:26 -04:00
|
|
|
line-height: 2.5;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
2015-06-25 15:30:25 -04:00
|
|
|
.inline-edit-row fieldset.inline-edit-date label {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0;
|
|
|
|
line-height: 1.5;
|
|
|
|
vertical-align: baseline;
|
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
.inline-edit-row fieldset label.inline-edit-tags {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inline-edit-row fieldset label.inline-edit-tags span.title {
|
|
|
|
margin: .2em 0;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
2015-06-25 15:30:25 -04:00
|
|
|
.inline-edit-row fieldset label span.title,
|
|
|
|
.inline-edit-row fieldset.inline-edit-date legend {
|
2014-02-19 16:43:14 -05:00
|
|
|
display: block;
|
|
|
|
float: left;
|
2015-08-09 14:55:25 -04:00
|
|
|
width: 6em;
|
2015-03-25 18:25:26 -04:00
|
|
|
line-height: 2.5;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
2015-06-25 15:30:25 -04:00
|
|
|
#posts-filter fieldset.inline-edit-date legend {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inline-edit-row fieldset.inline-edit-date select {
|
|
|
|
margin: 1px;
|
|
|
|
line-height: 28px;
|
|
|
|
}
|
|
|
|
|
2015-08-09 14:55:25 -04:00
|
|
|
.inline-edit-row fieldset label span.input-text-wrap,
|
|
|
|
.inline-edit-row fieldset .timestamp-wrap {
|
2014-02-19 16:43:14 -05:00
|
|
|
display: block;
|
2015-08-09 14:55:25 -04:00
|
|
|
margin-left: 6em;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.quick-edit-row-post fieldset.inline-edit-col-right label span.title {
|
|
|
|
width: auto;
|
|
|
|
padding-right: 0.5em;
|
|
|
|
}
|
|
|
|
|
2015-03-25 18:25:26 -04:00
|
|
|
.inline-edit-row .inline-edit-or {
|
|
|
|
margin: .2em 6px .2em 0;
|
|
|
|
line-height: 2.5;
|
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
.inline-edit-row .input-text-wrap input[type=text] {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inline-edit-row fieldset label input[type=checkbox] {
|
2015-03-25 18:25:26 -04:00
|
|
|
vertical-align: middle;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.inline-edit-row fieldset label textarea {
|
|
|
|
width: 100%;
|
|
|
|
height: 4em;
|
2015-03-25 18:25:26 -04:00
|
|
|
vertical-align: top;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#wpbody-content .bulk-edit-row fieldset .inline-edit-group label {
|
|
|
|
max-width: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wpbody-content .quick-edit-row fieldset .inline-edit-group label.alignleft:first-child {
|
|
|
|
margin-right: 0.5em
|
|
|
|
}
|
|
|
|
|
|
|
|
.inline-edit-col-right .input-text-wrap input.inline-edit-menu-order-input {
|
|
|
|
width: 6em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Styling */
|
2015-10-16 20:45:25 -04:00
|
|
|
.inline-edit-row .inline-edit-legend {
|
2014-02-19 16:43:14 -05:00
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inline-edit-row fieldset span.title,
|
|
|
|
.inline-edit-row fieldset span.checkbox-title {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Specific Elements */
|
|
|
|
.inline-edit-row fieldset .inline-edit-date {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inline-edit-row fieldset input[name=jj],
|
|
|
|
.inline-edit-row fieldset input[name=hh],
|
|
|
|
.inline-edit-row fieldset input[name=mn] {
|
|
|
|
font-size: 12px;
|
2015-02-22 14:24:25 -05:00
|
|
|
width: 2.3em;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.inline-edit-row fieldset input[name=aa] {
|
|
|
|
font-size: 12px;
|
|
|
|
width: 3.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inline-edit-row fieldset label input.inline-edit-password-input {
|
|
|
|
width: 8em;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul.cat-checklist {
|
|
|
|
height: 12em;
|
|
|
|
border: solid 1px #ddd;
|
|
|
|
overflow-y: scroll;
|
|
|
|
padding: 0 5px;
|
|
|
|
margin: 0;
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
#bulk-titles {
|
|
|
|
display: block;
|
|
|
|
height: 12em;
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
overflow-y: scroll;
|
|
|
|
padding: 0 5px;
|
|
|
|
margin: 0 0 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inline-edit-row fieldset ul.cat-checklist li,
|
|
|
|
.inline-edit-row fieldset ul.cat-checklist input {
|
|
|
|
margin: 0;
|
2014-04-05 14:14:15 -04:00
|
|
|
position: relative; /* RTL fix, #WP27629 */
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.inline-edit-row fieldset ul.cat-checklist label,
|
|
|
|
.inline-edit-row #bulk-titles div {
|
|
|
|
font-style: normal;
|
|
|
|
font-size: 11px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inline-edit-row fieldset label input.inline-edit-menu-order-input {
|
|
|
|
width: 3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inline-edit-row fieldset label input.inline-edit-slug-input {
|
|
|
|
width: 75%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inline-edit-row #post_parent,
|
|
|
|
.inline-edit-row select[name="page_template"] {
|
|
|
|
max-width: 80%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ie8 .inline-edit-row #post_parent,
|
|
|
|
.ie8 .inline-edit-row select[name="page_template"] {
|
|
|
|
width: 250px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.quick-edit-row-post fieldset label.inline-edit-status {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
#bulk-titles {
|
|
|
|
line-height: 140%;
|
|
|
|
}
|
|
|
|
#bulk-titles div {
|
|
|
|
margin: 0.2em 0.3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#bulk-titles div a {
|
|
|
|
cursor: pointer;
|
|
|
|
display: block;
|
|
|
|
float: left;
|
|
|
|
height: 18px;
|
|
|
|
margin: 0 3px 0 -2px;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#bulk-titles div a:before {
|
|
|
|
position: relative;
|
|
|
|
top: -3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
17.0 - Plugins
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
.plugins tbody th.check-column,
|
|
|
|
.plugins tbody {
|
|
|
|
padding: 8px 0 0 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugins tbody th.check-column input[type=checkbox] {
|
|
|
|
margin-top: 4px;
|
|
|
|
}
|
|
|
|
|
2016-02-04 14:19:27 -05:00
|
|
|
.updates-table .plugin-title p {
|
2014-02-19 16:43:14 -05:00
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2015-06-28 01:46:25 -04:00
|
|
|
.plugins thead td.check-column,
|
|
|
|
.plugins tfoot td.check-column,
|
2014-02-19 16:43:14 -05:00
|
|
|
.plugins .inactive th.check-column {
|
|
|
|
padding-left: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugins,
|
|
|
|
.plugins th,
|
|
|
|
.plugins td {
|
|
|
|
color: #000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugins tr {
|
|
|
|
background: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugins p {
|
|
|
|
margin: 0 4px;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugins .desc p {
|
|
|
|
margin: 0 0 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugins td.desc {
|
|
|
|
line-height: 1.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugins .desc ul,
|
|
|
|
.plugins .desc ol {
|
|
|
|
margin: 0 0 0 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugins .desc ul {
|
|
|
|
list-style-type: disc;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugins .row-actions {
|
|
|
|
font-size: 13px;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugins .inactive td,
|
|
|
|
.plugins .inactive th,
|
|
|
|
.plugins .active td,
|
|
|
|
.plugins .active th {
|
|
|
|
padding: 10px 9px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugins .active td,
|
|
|
|
.plugins .active th {
|
|
|
|
background-color: #f7fcfe;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugins .update th,
|
|
|
|
.plugins .update td {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugins .inactive td,
|
|
|
|
.plugins .inactive th,
|
|
|
|
.plugins .active td,
|
|
|
|
.plugins .active th,
|
|
|
|
.plugin-install #the-list td,
|
|
|
|
.upgrade .plugins td,
|
|
|
|
.upgrade .plugins th {
|
|
|
|
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugins tr.active.plugin-update-tr + tr.inactive th,
|
|
|
|
.plugins tr.active.plugin-update-tr + tr.inactive td,
|
|
|
|
.plugins tr.active + tr.inactive th,
|
|
|
|
.plugins tr.active + tr.inactive td {
|
|
|
|
border-top: 1px solid rgba(0,0,0,0.03);
|
|
|
|
box-shadow: inset 0 1px 0 rgba(0,0,0,0.02), inset 0 -1px 0 #e1e1e1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugins .update td,
|
|
|
|
.plugins .update th,
|
|
|
|
.upgrade .plugins tr:last-of-type td,
|
|
|
|
.upgrade .plugins tr:last-of-type th,
|
|
|
|
.plugins tr.active + tr.inactive.update th,
|
2015-02-04 23:19:23 -05:00
|
|
|
.plugins tr.active + tr.inactive.update td,
|
|
|
|
.plugins .updated td,
|
|
|
|
.plugins .updated th,
|
|
|
|
.plugins tr.active + tr.inactive.updated th,
|
|
|
|
.plugins tr.active + tr.inactive.updated td {
|
2014-02-19 16:43:14 -05:00
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2015-02-04 23:19:23 -05:00
|
|
|
.plugins .active th.check-column,
|
|
|
|
.plugin-update-tr.active td {
|
2015-02-11 17:18:26 -05:00
|
|
|
border-left: 4px solid #00a0d2;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
2017-10-02 20:25:46 -04:00
|
|
|
.wp-list-table.plugins .plugin-title,
|
|
|
|
.wp-list-table.plugins .theme-title {
|
2014-02-19 16:43:14 -05:00
|
|
|
padding-right: 12px;
|
Plugins: Tweak the plugin icons added in [41695].
- Remove plugins icons from the plugin list table, as there were performance issues loading the icons when the site had lots of plugins.
- Depending on which icons the plugin has uploaded, prefer them in this order: `svg`, `128x128`, `256x256`.
- Improve the style of the fallback icon for plugins that don't have an icon defined.
Props Travel_girl, danieltj, afercia, karmatosed,hugobaeta, empireoflight, brentjett, melchoyce, pento.
Fixes #30186.
Built from https://develop.svn.wordpress.org/trunk@41755
git-svn-id: http://core.svn.wordpress.org/trunk@41589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-04 19:43:46 -04:00
|
|
|
white-space: nowrap;
|
2017-10-02 20:25:46 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.plugins .plugin-title img,
|
|
|
|
.plugins .plugin-title .dashicons {
|
|
|
|
float: left;
|
|
|
|
padding: 0 10px 0 0;
|
|
|
|
width: 64px;
|
|
|
|
height: 64px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugins .plugin-title .dashicons:before {
|
Plugins: Tweak the plugin icons added in [41695].
- Remove plugins icons from the plugin list table, as there were performance issues loading the icons when the site had lots of plugins.
- Depending on which icons the plugin has uploaded, prefer them in this order: `svg`, `128x128`, `256x256`.
- Improve the style of the fallback icon for plugins that don't have an icon defined.
Props Travel_girl, danieltj, afercia, karmatosed,hugobaeta, empireoflight, brentjett, melchoyce, pento.
Fixes #30186.
Built from https://develop.svn.wordpress.org/trunk@41755
git-svn-id: http://core.svn.wordpress.org/trunk@41589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-04 19:43:46 -04:00
|
|
|
padding: 2px;
|
|
|
|
background-color: #eee;
|
|
|
|
box-shadow: inset 0 0 10px rgba(160,165,170,.15);
|
|
|
|
font-size: 60px;
|
|
|
|
color: #B4B9BE;
|
2017-10-02 20:25:46 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#update-themes-table .plugin-title img,
|
|
|
|
#update-themes-table .plugin-title .dashicons {
|
|
|
|
width: 85px;
|
2016-02-04 14:19:27 -05:00
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
.plugins .inactive .plugin-title strong {
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugins .second,
|
|
|
|
.plugins .row-actions {
|
|
|
|
padding: 0 0 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugins .update .second,
|
2015-04-21 16:41:28 -04:00
|
|
|
.plugins .update .row-actions,
|
|
|
|
.plugins .updated .second,
|
|
|
|
.plugins .updated .row-actions {
|
2014-02-19 16:43:14 -05:00
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugins-php .widefat tfoot th,
|
|
|
|
.plugins-php .widefat tfoot td {
|
|
|
|
border-top-style: solid;
|
|
|
|
border-top-width: 1px;
|
|
|
|
}
|
|
|
|
|
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 12:37:29 -04:00
|
|
|
.plugins .plugin-update-tr .plugin-update {
|
|
|
|
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
|
|
|
|
overflow: hidden; /* clearfix */
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2016-08-09 18:45:40 -04:00
|
|
|
.plugins .plugin-update-tr .notice,
|
|
|
|
.plugins .plugin-update-tr div[class="update-message"] { /* back-compat for pre-4.6 */
|
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 12:37:29 -04:00
|
|
|
margin: 5px 20px 15px 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugins .notice p {
|
|
|
|
margin: 0.5em 0;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
2018-03-08 18:20:30 -05:00
|
|
|
.plugins .plugin-description a,
|
|
|
|
.plugins .plugin-update a,
|
|
|
|
.updates-table .plugin-title a {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
Bootstrap/Load: Introduce fatal error recovery mechanism allowing users to still log in to their admin dashboard.
This changeset introduces a `WP_Shutdown_Handler` class that detects fatal errors and which extension (plugin or theme) causes them. Such an error is then recorded, and an error message is displayed. Subsequently, in certain protected areas, for example the admin, the broken extension will be paused, ensuring that the website is still usable in the respective area. The major benefit is that this mechanism allows site owners to still log in to their website, to fix the problem by either disabling the extension or solving the bug and then resuming the extension.
Extensions are only paused in certain designated areas. The frontend for example stays unaffected, as it is impossible to know what pausing the extension would cause to be missing, so it might be preferrable to clearly see that the website is temporarily not accessible instead.
The fatal error recovery is especially important in scope of encouraging the switch to a maintained PHP version, as not necessarily every WordPress extension is compatible with all PHP versions. If problems occur now, non-technical site owners that do not have immediate access to the codebase are not locked out of their site and can at least temporarily solve the problem quickly.
Websites that have custom requirements in that regard can implement their own shutdown handler by adding a `shutdown-handler.php` drop-in that returns the handler instance to use, which must be based on a class that inherits `WP_Shutdown_Handler`. That handler will then be used in place of the default one.
Websites that would like to modify specifically the error template displayed in the frontend can add a `php-error.php` drop-in that works similarly to the existing `db-error.php` drop-in.
Props afragen, bradleyt, flixos90, ocean90, schlessera, SergeyBiryukov, spacedmonkey.
Fixes #44458.
Built from https://develop.svn.wordpress.org/trunk@44524
git-svn-id: http://core.svn.wordpress.org/trunk@44355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-09 15:05:49 -05:00
|
|
|
.plugins tr.paused th.check-column {
|
|
|
|
border-left: 4px solid #d54e21;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugins tr.paused th,
|
|
|
|
.plugins tr.paused td {
|
|
|
|
background-color: #fef7f1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugins tr.paused .plugin-title,
|
|
|
|
.plugins .paused .dashicons-warning {
|
|
|
|
color: #dc3232;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugins .paused .error-display p,
|
|
|
|
.plugins .paused .error-display code {
|
|
|
|
font-size: 90%;
|
|
|
|
font-style: italic;
|
|
|
|
color: rgb( 0, 0, 0, 0.7 );
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugins .resume-link {
|
|
|
|
color: #dc3232;
|
|
|
|
}
|
|
|
|
|
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 12:37:29 -04:00
|
|
|
.plugin-card .update-now:before {
|
|
|
|
color: #f56e28;
|
|
|
|
content: "\f463";
|
2014-02-19 16:43:14 -05:00
|
|
|
display: inline-block;
|
2015-09-05 15:57:25 -04:00
|
|
|
font: normal 20px/1 dashicons;
|
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 12:37:29 -04:00
|
|
|
margin: 3px 5px 0 -2px;
|
2014-02-19 16:43:14 -05:00
|
|
|
speak: none;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
2015-02-04 23:19:23 -05:00
|
|
|
.plugin-card .updating-message:before {
|
2015-09-10 16:22:25 -04:00
|
|
|
content: "\f463";
|
2015-02-15 07:18:25 -05:00
|
|
|
animation: rotation 2s infinite linear;
|
2015-02-04 23:19:23 -05:00
|
|
|
}
|
|
|
|
|
2015-02-15 07:18:25 -05:00
|
|
|
@keyframes rotation {
|
|
|
|
0% {
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: rotate(359deg);
|
|
|
|
}
|
2015-02-04 23:19:23 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.plugin-card .updated-message:before {
|
|
|
|
color: #79ba49;
|
2015-09-10 16:22:25 -04:00
|
|
|
content: "\f147";
|
2015-02-04 23:19:23 -05:00
|
|
|
}
|
|
|
|
|
2015-10-10 11:17:26 -04:00
|
|
|
.plugin-install-php h2 {
|
2014-09-02 14:29:16 -04:00
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
2015-10-10 11:17:26 -04:00
|
|
|
.plugin-install-php h3 {
|
2014-02-19 16:43:14 -05:00
|
|
|
margin: 2.5em 0 8px;
|
|
|
|
}
|
|
|
|
|
2014-07-18 02:08:15 -04:00
|
|
|
.plugin-install-php .wp-filter {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2014-07-09 16:02:14 -04:00
|
|
|
/* Plugin card table view */
|
2014-07-18 15:35:14 -04:00
|
|
|
.plugin-group {
|
|
|
|
overflow: hidden; /* clearfix */
|
|
|
|
margin-top: 1.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugin-group h3 {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2014-07-09 16:02:14 -04:00
|
|
|
.plugin-card {
|
|
|
|
float: left;
|
|
|
|
margin: 0 8px 16px;
|
|
|
|
width: 48.5%;
|
|
|
|
width: calc( 50% - 8px );
|
|
|
|
background-color: #fff;
|
2016-03-09 14:51:26 -05:00
|
|
|
border: 1px solid #ddd;
|
2014-07-09 16:02:14 -04:00
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugin-card:nth-child(odd) {
|
|
|
|
clear: both;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugin-card:nth-child(even) {
|
2014-07-18 02:08:15 -04:00
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
2019-01-17 23:03:52 -05:00
|
|
|
@media screen and (min-width: 1600px) and ( max-width: 2299px ) {
|
2014-07-18 02:08:15 -04:00
|
|
|
.plugin-card {
|
|
|
|
width: 30%;
|
|
|
|
width: calc( 33.1% - 8px );
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugin-card:nth-child(odd) {
|
|
|
|
clear: none;
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugin-card:nth-child(even) {
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugin-card:nth-child(3n+1) {
|
|
|
|
clear: both;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugin-card:nth-child(3n) {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-17 02:41:52 -05:00
|
|
|
@media screen and (min-width: 2300px) {
|
2018-10-02 16:07:24 -04:00
|
|
|
.plugin-card {
|
|
|
|
width: 25%;
|
|
|
|
width: calc( 25% - 12px );
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugin-card:nth-child(odd) {
|
|
|
|
clear: none;
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugin-card:nth-child(even) {
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugin-card:nth-child(4n+1) {
|
|
|
|
clear: both;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugin-card:nth-child(4n) {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-09 16:02:14 -04:00
|
|
|
.plugin-card-top {
|
2014-09-02 15:47:16 -04:00
|
|
|
position: relative;
|
2014-07-09 16:02:14 -04:00
|
|
|
padding: 20px 20px 10px;
|
2014-09-02 15:47:16 -04:00
|
|
|
min-height: 135px;
|
2014-07-09 16:02:14 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
div.action-links,
|
|
|
|
.plugin-action-buttons {
|
|
|
|
margin: 0; /* Override existing margins */
|
|
|
|
}
|
|
|
|
|
2015-10-10 11:17:26 -04:00
|
|
|
.plugin-card h3 {
|
2014-07-09 16:02:14 -04:00
|
|
|
margin: 0 0 12px;
|
|
|
|
font-size: 18px;
|
2014-09-02 15:47:16 -04:00
|
|
|
line-height: 1.3;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugin-card .name,
|
|
|
|
.plugin-card .desc {
|
|
|
|
margin-left: 148px; /* icon + margin */
|
|
|
|
margin-right: 120px; /* action links */
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugin-card .action-links {
|
|
|
|
position: absolute;
|
|
|
|
top: 20px;
|
|
|
|
right: 20px;
|
|
|
|
width: 120px;
|
2014-07-09 16:02:14 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.plugin-action-buttons {
|
2014-08-21 15:11:17 -04:00
|
|
|
clear: right;
|
2014-07-09 16:02:14 -04:00
|
|
|
float: right;
|
|
|
|
margin-left: 2em;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugin-action-buttons li {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugin-card-bottom {
|
|
|
|
clear: both;
|
|
|
|
padding: 12px 20px;
|
|
|
|
background-color: #fafafa;
|
2016-03-09 14:51:26 -05:00
|
|
|
border-top: 1px solid #ddd;
|
2014-07-09 16:02:14 -04:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugin-card-bottom .star-rating {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2015-11-18 15:10:26 -05:00
|
|
|
.plugin-card-update-failed .update-now {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugin-card-update-failed .notice-error {
|
|
|
|
margin: 0;
|
|
|
|
padding-left: 16px;
|
2016-03-09 14:51:26 -05:00
|
|
|
box-shadow: 0 -1px 0 #ddd;
|
2015-11-18 15:10:26 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.plugin-card-update-failed .plugin-card-bottom {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-07-09 16:02:14 -04:00
|
|
|
.plugin-card .column-rating {
|
|
|
|
line-height: 23px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugin-card .column-rating,
|
|
|
|
.plugin-card .column-updated {
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugin-card .column-rating,
|
|
|
|
.plugin-card .column-downloaded {
|
|
|
|
float: left;
|
|
|
|
clear: left;
|
2014-08-24 13:26:15 -04:00
|
|
|
max-width: 180px;
|
2014-07-09 16:02:14 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.plugin-card .column-updated,
|
|
|
|
.plugin-card .column-compatibility {
|
2014-08-24 13:26:15 -04:00
|
|
|
text-align: right;
|
2014-07-09 16:02:14 -04:00
|
|
|
float: right;
|
|
|
|
clear: right;
|
2014-08-24 13:26:15 -04:00
|
|
|
width: 65%;
|
|
|
|
width: calc( 100% - 180px );
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugin-card .column-compatibility span:before {
|
2015-09-05 15:57:25 -04:00
|
|
|
font: normal 20px/.5 dashicons;
|
2014-08-24 13:26:15 -04:00
|
|
|
speak: none;
|
|
|
|
display: inline-block;
|
|
|
|
padding: 0;
|
|
|
|
top: 4px;
|
|
|
|
left: -2px;
|
|
|
|
position: relative;
|
|
|
|
vertical-align: top;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
text-decoration: none !important;
|
|
|
|
color: #444;
|
|
|
|
}
|
2014-09-02 15:47:16 -04:00
|
|
|
|
2018-12-20 13:15:47 -05:00
|
|
|
.plugin-card .column-compatibility .compatibility-incompatible:before {
|
2015-09-10 16:22:25 -04:00
|
|
|
content: "\f158";
|
2018-12-20 13:15:47 -05:00
|
|
|
color: #c62d2d;
|
2014-08-24 13:26:15 -04:00
|
|
|
}
|
|
|
|
|
2018-12-20 13:15:47 -05:00
|
|
|
.plugin-card .column-compatibility .compatibility-compatible:before {
|
2015-09-10 16:22:25 -04:00
|
|
|
content: "\f147";
|
2018-12-20 13:15:47 -05:00
|
|
|
color: #31843f;
|
2014-08-24 13:26:15 -04:00
|
|
|
}
|
|
|
|
|
Plugins: Disable "Install Now" button for plugins that require a higher version of PHP or WordPress.
Display a notice with an explanation and the steps required to resolve the issue.
Props afragen, schlessera, flixos90, nerrad, melchoyce, boemedia, hedgefield, joyously, johnalarcon, lakenh, afercia, acirujano, ibantxillo, SergeyBiryukov.
Fixes #43986.
Built from https://develop.svn.wordpress.org/trunk@43436
git-svn-id: http://core.svn.wordpress.org/trunk@43263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-09 09:45:25 -04:00
|
|
|
.plugin-card .notice {
|
|
|
|
margin: 20px 20px 0 20px;
|
|
|
|
}
|
|
|
|
|
2014-08-21 15:11:17 -04:00
|
|
|
.plugin-icon {
|
2014-09-02 15:47:16 -04:00
|
|
|
position: absolute;
|
|
|
|
top: 20px;
|
|
|
|
left: 20px;
|
2014-08-21 15:11:17 -04:00
|
|
|
width: 128px;
|
|
|
|
height: 128px;
|
2014-08-24 13:56:15 -04:00
|
|
|
margin: 0 20px 20px 0;
|
2014-08-21 15:11:17 -04:00
|
|
|
}
|
|
|
|
|
2014-08-25 12:03:16 -04:00
|
|
|
.no-plugin-results {
|
2016-02-19 13:44:27 -05:00
|
|
|
color: #666; /* same as no themes and no media */
|
2014-08-25 12:03:16 -04:00
|
|
|
font-size: 18px;
|
|
|
|
font-style: normal;
|
|
|
|
margin: 0;
|
|
|
|
padding: 100px 0 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
/* ms */
|
|
|
|
/* Background Color for Site Status */
|
2015-11-18 16:59:26 -05:00
|
|
|
.wp-list-table .site-deleted,
|
|
|
|
.wp-list-table tr.site-deleted {
|
2014-02-19 16:43:14 -05:00
|
|
|
background: #ff8573;
|
|
|
|
}
|
2015-11-18 16:59:26 -05:00
|
|
|
.wp-list-table .site-spammed,
|
|
|
|
.wp-list-table tr.site-spammed {
|
2014-02-19 16:43:14 -05:00
|
|
|
background: #faafaa;
|
|
|
|
}
|
2015-11-18 16:59:26 -05:00
|
|
|
.wp-list-table .site-archived,
|
|
|
|
.wp-list-table tr.site-archived {
|
2014-02-19 16:43:14 -05:00
|
|
|
background: #ffebe8;
|
|
|
|
}
|
2015-11-18 16:59:26 -05:00
|
|
|
.wp-list-table .site-mature,
|
|
|
|
.wp-list-table tr.site-mature {
|
2014-02-19 16:43:14 -05:00
|
|
|
background: #fecac2;
|
|
|
|
}
|
|
|
|
|
2015-06-10 02:50:25 -04:00
|
|
|
.sites.fixed .column-lastupdated,
|
|
|
|
.sites.fixed .column-registered {
|
|
|
|
width: 20%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sites.fixed .column-users {
|
|
|
|
width: 80px;
|
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
/* =Media Queries
|
|
|
|
-------------------------------------------------------------- */
|
|
|
|
|
2019-01-17 02:41:52 -05:00
|
|
|
@media screen and (max-width: 1100px) and (min-width: 782px), (max-width: 480px) {
|
2014-09-02 15:47:16 -04:00
|
|
|
.plugin-card .action-links {
|
|
|
|
position: static;
|
|
|
|
margin-left: 148px;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugin-action-buttons {
|
|
|
|
float: none;
|
|
|
|
margin: 1em 0 0;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugin-action-buttons li {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugin-action-buttons li .button {
|
|
|
|
margin-right: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugin-card .name,
|
|
|
|
.plugin-card .desc {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugin-card .desc p:first-of-type {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2015-09-29 21:25:25 -04:00
|
|
|
|
|
|
|
.fixed .column-date {
|
|
|
|
width: 14%;
|
|
|
|
}
|
2014-09-02 15:47:16 -04:00
|
|
|
}
|
|
|
|
|
2019-01-17 02:41:52 -05:00
|
|
|
@media screen and (max-width: 782px) {
|
2014-02-19 16:43:14 -05:00
|
|
|
/* WP List Table Options & Filters */
|
|
|
|
.tablenav {
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tablenav.top {
|
2014-08-26 13:07:17 -04:00
|
|
|
margin: 20px 0 5px 0;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.tablenav.bottom {
|
|
|
|
position: relative;
|
|
|
|
margin-top: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tablenav br {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tablenav br.clear {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2014-08-26 11:58:15 -04:00
|
|
|
.tablenav.top .actions,
|
|
|
|
.tablenav .view-switch {
|
2014-02-19 16:43:14 -05:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2015-05-11 15:34:27 -04:00
|
|
|
.view-switch a {
|
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
|
|
|
line-height: 33px;
|
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
/* Pagination */
|
|
|
|
.tablenav.top .displaying-num {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tablenav.bottom .displaying-num {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
2015-06-25 16:32:26 -04:00
|
|
|
top: 11px;
|
|
|
|
margin: 0;
|
2014-02-19 16:43:14 -05:00
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
2015-06-25 16:32:26 -04:00
|
|
|
.tablenav .tablenav-pages {
|
2014-02-19 16:43:14 -05:00
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
margin: 0 0 25px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tablenav.bottom .tablenav-pages {
|
|
|
|
margin-top: 25px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tablenav.top .tablenav-pages.one-page {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tablenav.bottom .tablenav-pages.one-page {
|
|
|
|
margin: 15px 0 0 0;
|
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
|
2015-06-25 16:32:26 -04:00
|
|
|
.tablenav-pages .pagination-links {
|
|
|
|
font-size: 16px;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
2018-04-29 12:25:21 -04:00
|
|
|
.tablenav .tablenav-pages .button,
|
|
|
|
.tablenav .tablenav-pages .tablenav-pages-navspan {
|
|
|
|
min-width: 44px;
|
|
|
|
padding: 12px 8px;
|
2014-02-19 16:43:14 -05:00
|
|
|
font-size: 18px;
|
2018-04-29 12:25:21 -04:00
|
|
|
line-height: 1;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.tablenav-pages .pagination-links .current-page {
|
2018-04-29 12:25:21 -04:00
|
|
|
min-width: 44px;
|
|
|
|
padding: 12px 6px;
|
2015-06-25 16:32:26 -04:00
|
|
|
font-size: 16px;
|
2018-04-29 12:25:21 -04:00
|
|
|
line-height: 18px;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/* WP List Table Adjustments: General */
|
|
|
|
.form-wrap > p {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment-count {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
2015-08-17 11:38:25 -04:00
|
|
|
.wp-list-table th.column-primary ~ th,
|
|
|
|
.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-primary ~ td:not(.check-column) {
|
2014-02-19 16:43:14 -05:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2015-07-06 19:30:24 -04:00
|
|
|
.wp-list-table thead th.column-primary {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
List tables: A better responsive view.
Instead of truncating columns, the data that's already in the markup can now be toggled into view. Only seems appropriate to celebrate four years of contributing by finally doing the first thing I ever mocked up.
Known issues / concerns:
* Custom list tables that don't define a primary column will show nothing at all. These are not extremely common, as `WP_List_Table` isn't really recommended for plugin consumption, but it happens. We need to come up with some kind of fallback.
* Some visual elements, particularly whitespace, could use refining.
* Needs a11y review.
* Touch performance on iOS feels sluggish - is there anything we can do about that?
* Would this be better accordion-style (only one expanded at a time)?
* Is `wp_strip_all_tags()` good enough for column titles that have HTML in them? It's essentially a workaround for the fact that core's comments column does that for the icon, which maybe it shouldn't. Perhaps worth another ticket, as a markup change would be fairly independent.
* Visual hierarchy is not great when expanded (also worthy of another ticket).
* Quick edit now becomes noticeably more annoying to cancel out of, as you have to scroll all the way down and you lose your position from before it was opened. Again, worthy of another ticket.
props Michael Arestad, helen.
see #32395.
Built from https://develop.svn.wordpress.org/trunk@33016
git-svn-id: http://core.svn.wordpress.org/trunk@32987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-30 21:31:25 -04:00
|
|
|
/* Checkboxes need to show */
|
|
|
|
.wp-list-table tr th.check-column {
|
|
|
|
display: table-cell;
|
|
|
|
width: 35px;
|
|
|
|
}
|
|
|
|
|
2015-08-17 11:38:25 -04:00
|
|
|
.wp-list-table .column-primary .toggle-row {
|
List tables: A better responsive view.
Instead of truncating columns, the data that's already in the markup can now be toggled into view. Only seems appropriate to celebrate four years of contributing by finally doing the first thing I ever mocked up.
Known issues / concerns:
* Custom list tables that don't define a primary column will show nothing at all. These are not extremely common, as `WP_List_Table` isn't really recommended for plugin consumption, but it happens. We need to come up with some kind of fallback.
* Some visual elements, particularly whitespace, could use refining.
* Needs a11y review.
* Touch performance on iOS feels sluggish - is there anything we can do about that?
* Would this be better accordion-style (only one expanded at a time)?
* Is `wp_strip_all_tags()` good enough for column titles that have HTML in them? It's essentially a workaround for the fact that core's comments column does that for the icon, which maybe it shouldn't. Perhaps worth another ticket, as a markup change would be fairly independent.
* Visual hierarchy is not great when expanded (also worthy of another ticket).
* Quick edit now becomes noticeably more annoying to cancel out of, as you have to scroll all the way down and you lose your position from before it was opened. Again, worthy of another ticket.
props Michael Arestad, helen.
see #32395.
Built from https://develop.svn.wordpress.org/trunk@33016
git-svn-id: http://core.svn.wordpress.org/trunk@32987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-30 21:31:25 -04:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2015-07-06 19:30:24 -04:00
|
|
|
.wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column) {
|
List tables: A better responsive view.
Instead of truncating columns, the data that's already in the markup can now be toggled into view. Only seems appropriate to celebrate four years of contributing by finally doing the first thing I ever mocked up.
Known issues / concerns:
* Custom list tables that don't define a primary column will show nothing at all. These are not extremely common, as `WP_List_Table` isn't really recommended for plugin consumption, but it happens. We need to come up with some kind of fallback.
* Some visual elements, particularly whitespace, could use refining.
* Needs a11y review.
* Touch performance on iOS feels sluggish - is there anything we can do about that?
* Would this be better accordion-style (only one expanded at a time)?
* Is `wp_strip_all_tags()` good enough for column titles that have HTML in them? It's essentially a workaround for the fact that core's comments column does that for the icon, which maybe it shouldn't. Perhaps worth another ticket, as a markup change would be fairly independent.
* Visual hierarchy is not great when expanded (also worthy of another ticket).
* Quick edit now becomes noticeably more annoying to cancel out of, as you have to scroll all the way down and you lose your position from before it was opened. Again, worthy of another ticket.
props Michael Arestad, helen.
see #32395.
Built from https://develop.svn.wordpress.org/trunk@33016
git-svn-id: http://core.svn.wordpress.org/trunk@32987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-30 21:31:25 -04:00
|
|
|
position: relative;
|
|
|
|
clear: both;
|
|
|
|
display: block;
|
|
|
|
width: auto !important; /* needs to override some columns that are more specifically targeted */
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-list-table td.column-primary {
|
|
|
|
padding-right: 50px; /* space for toggle button */
|
|
|
|
}
|
|
|
|
|
2015-08-17 11:38:25 -04:00
|
|
|
.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-primary ~ td:not(.check-column) {
|
List tables: A better responsive view.
Instead of truncating columns, the data that's already in the markup can now be toggled into view. Only seems appropriate to celebrate four years of contributing by finally doing the first thing I ever mocked up.
Known issues / concerns:
* Custom list tables that don't define a primary column will show nothing at all. These are not extremely common, as `WP_List_Table` isn't really recommended for plugin consumption, but it happens. We need to come up with some kind of fallback.
* Some visual elements, particularly whitespace, could use refining.
* Needs a11y review.
* Touch performance on iOS feels sluggish - is there anything we can do about that?
* Would this be better accordion-style (only one expanded at a time)?
* Is `wp_strip_all_tags()` good enough for column titles that have HTML in them? It's essentially a workaround for the fact that core's comments column does that for the icon, which maybe it shouldn't. Perhaps worth another ticket, as a markup change would be fairly independent.
* Visual hierarchy is not great when expanded (also worthy of another ticket).
* Quick edit now becomes noticeably more annoying to cancel out of, as you have to scroll all the way down and you lose your position from before it was opened. Again, worthy of another ticket.
props Michael Arestad, helen.
see #32395.
Built from https://develop.svn.wordpress.org/trunk@33016
git-svn-id: http://core.svn.wordpress.org/trunk@32987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-30 21:31:25 -04:00
|
|
|
padding: 3px 8px 3px 35%;
|
|
|
|
}
|
|
|
|
|
2015-07-06 19:30:24 -04:00
|
|
|
.wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.column-primary)::before {
|
List tables: A better responsive view.
Instead of truncating columns, the data that's already in the markup can now be toggled into view. Only seems appropriate to celebrate four years of contributing by finally doing the first thing I ever mocked up.
Known issues / concerns:
* Custom list tables that don't define a primary column will show nothing at all. These are not extremely common, as `WP_List_Table` isn't really recommended for plugin consumption, but it happens. We need to come up with some kind of fallback.
* Some visual elements, particularly whitespace, could use refining.
* Needs a11y review.
* Touch performance on iOS feels sluggish - is there anything we can do about that?
* Would this be better accordion-style (only one expanded at a time)?
* Is `wp_strip_all_tags()` good enough for column titles that have HTML in them? It's essentially a workaround for the fact that core's comments column does that for the icon, which maybe it shouldn't. Perhaps worth another ticket, as a markup change would be fairly independent.
* Visual hierarchy is not great when expanded (also worthy of another ticket).
* Quick edit now becomes noticeably more annoying to cancel out of, as you have to scroll all the way down and you lose your position from before it was opened. Again, worthy of another ticket.
props Michael Arestad, helen.
see #32395.
Built from https://develop.svn.wordpress.org/trunk@33016
git-svn-id: http://core.svn.wordpress.org/trunk@32987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-30 21:31:25 -04:00
|
|
|
position: absolute;
|
|
|
|
left: 10px; /* match padding of regular table cell */
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
width: 32%; /* leave a little space for a gutter */
|
|
|
|
content: attr(data-colname);
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-list-table .is-expanded td:not(.hidden) {
|
|
|
|
display: block !important;
|
|
|
|
overflow: hidden; /* clearfix */
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Special cases */
|
|
|
|
.widefat .num,
|
|
|
|
.column-posts {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2015-09-13 08:47:27 -04:00
|
|
|
#comments-form .fixed .column-author,
|
|
|
|
#commentsdiv .fixed .column-author {
|
List tables: A better responsive view.
Instead of truncating columns, the data that's already in the markup can now be toggled into view. Only seems appropriate to celebrate four years of contributing by finally doing the first thing I ever mocked up.
Known issues / concerns:
* Custom list tables that don't define a primary column will show nothing at all. These are not extremely common, as `WP_List_Table` isn't really recommended for plugin consumption, but it happens. We need to come up with some kind of fallback.
* Some visual elements, particularly whitespace, could use refining.
* Needs a11y review.
* Touch performance on iOS feels sluggish - is there anything we can do about that?
* Would this be better accordion-style (only one expanded at a time)?
* Is `wp_strip_all_tags()` good enough for column titles that have HTML in them? It's essentially a workaround for the fact that core's comments column does that for the icon, which maybe it shouldn't. Perhaps worth another ticket, as a markup change would be fairly independent.
* Visual hierarchy is not great when expanded (also worthy of another ticket).
* Quick edit now becomes noticeably more annoying to cancel out of, as you have to scroll all the way down and you lose your position from before it was opened. Again, worthy of another ticket.
props Michael Arestad, helen.
see #32395.
Built from https://develop.svn.wordpress.org/trunk@33016
git-svn-id: http://core.svn.wordpress.org/trunk@32987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-30 21:31:25 -04:00
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
.fixed .column-comment .comment-author {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
List tables: A better responsive view.
Instead of truncating columns, the data that's already in the markup can now be toggled into view. Only seems appropriate to celebrate four years of contributing by finally doing the first thing I ever mocked up.
Known issues / concerns:
* Custom list tables that don't define a primary column will show nothing at all. These are not extremely common, as `WP_List_Table` isn't really recommended for plugin consumption, but it happens. We need to come up with some kind of fallback.
* Some visual elements, particularly whitespace, could use refining.
* Needs a11y review.
* Touch performance on iOS feels sluggish - is there anything we can do about that?
* Would this be better accordion-style (only one expanded at a time)?
* Is `wp_strip_all_tags()` good enough for column titles that have HTML in them? It's essentially a workaround for the fact that core's comments column does that for the icon, which maybe it shouldn't. Perhaps worth another ticket, as a markup change would be fairly independent.
* Visual hierarchy is not great when expanded (also worthy of another ticket).
* Quick edit now becomes noticeably more annoying to cancel out of, as you have to scroll all the way down and you lose your position from before it was opened. Again, worthy of another ticket.
props Michael Arestad, helen.
see #32395.
Built from https://develop.svn.wordpress.org/trunk@33016
git-svn-id: http://core.svn.wordpress.org/trunk@32987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-30 21:31:25 -04:00
|
|
|
#the-comment-list .is-expanded td {
|
|
|
|
box-shadow: none;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
List tables: A better responsive view.
Instead of truncating columns, the data that's already in the markup can now be toggled into view. Only seems appropriate to celebrate four years of contributing by finally doing the first thing I ever mocked up.
Known issues / concerns:
* Custom list tables that don't define a primary column will show nothing at all. These are not extremely common, as `WP_List_Table` isn't really recommended for plugin consumption, but it happens. We need to come up with some kind of fallback.
* Some visual elements, particularly whitespace, could use refining.
* Needs a11y review.
* Touch performance on iOS feels sluggish - is there anything we can do about that?
* Would this be better accordion-style (only one expanded at a time)?
* Is `wp_strip_all_tags()` good enough for column titles that have HTML in them? It's essentially a workaround for the fact that core's comments column does that for the icon, which maybe it shouldn't. Perhaps worth another ticket, as a markup change would be fairly independent.
* Visual hierarchy is not great when expanded (also worthy of another ticket).
* Quick edit now becomes noticeably more annoying to cancel out of, as you have to scroll all the way down and you lose your position from before it was opened. Again, worthy of another ticket.
props Michael Arestad, helen.
see #32395.
Built from https://develop.svn.wordpress.org/trunk@33016
git-svn-id: http://core.svn.wordpress.org/trunk@32987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-30 21:31:25 -04:00
|
|
|
#the-comment-list .is-expanded td:last-child {
|
|
|
|
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
2015-07-10 17:44:25 -04:00
|
|
|
/* Show comment bubble as text instead */
|
|
|
|
.post-com-count .screen-reader-text {
|
|
|
|
position: static;
|
Customize: Introduce a new experience for discovering, installing, and previewing themes within the customizer.
Unify the theme-browsing and theme-customization experiences by introducing a comprehensive theme browser and installer directly accessible in the customizer. Replaces the customizer theme switcher with a full-screen panel for discovering/browsing and installing themes available on WordPress.org. Themes can now be installed and previewed directly in the customizer without entering the wp-admin context. Also includes an extensible framework for browsing and installing themes from other sources.
Also includes CSS auto-prefixing added via `grunt precommit:css`.
For details, see: https://make.wordpress.org/core/2016/10/03/feature-proposal-a-new-experience-for-discovering-installing-and-previewing-themes-in-the-customizer/
Previously [38813] but reverted in [39140].
Fixes #37661, #34843, #38666.
Props celloexpressions, folletto, westonruter, karmatosed, melchoyce, afercia.
Built from https://develop.svn.wordpress.org/trunk@41648
git-svn-id: http://core.svn.wordpress.org/trunk@41482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-29 16:13:50 -04:00
|
|
|
-webkit-clip-path: none;
|
2017-09-27 13:27:45 -04:00
|
|
|
clip-path: none;
|
2015-07-10 17:44:25 -04:00
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2015-07-29 14:08:25 -04:00
|
|
|
.column-response .post-com-count-no-comments:after,
|
|
|
|
.column-response .post-com-count-approved:after,
|
2015-07-10 17:44:25 -04:00
|
|
|
.column-comments .post-com-count-no-comments:after,
|
|
|
|
.column-comments .post-com-count-approved:after {
|
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
|
2015-07-29 14:08:25 -04:00
|
|
|
.column-response .post-com-count [aria-hidden="true"],
|
2015-07-10 17:44:25 -04:00
|
|
|
.column-comments .post-com-count [aria-hidden="true"] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2015-07-29 14:08:25 -04:00
|
|
|
.column-response .post-com-count-wrapper,
|
2015-07-10 17:44:25 -04:00
|
|
|
.column-comments .post-com-count-wrapper {
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
|
2015-07-29 14:08:25 -04:00
|
|
|
.column-response .post-com-count-wrapper > a,
|
2015-07-10 17:44:25 -04:00
|
|
|
.column-comments .post-com-count-wrapper > a {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2015-07-29 14:08:25 -04:00
|
|
|
.column-response .post-com-count-no-comments,
|
|
|
|
.column-response .post-com-count-approved,
|
2015-07-10 17:44:25 -04:00
|
|
|
.column-comments .post-com-count-no-comments,
|
|
|
|
.column-comments .post-com-count-approved {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
|
2015-07-29 14:08:25 -04:00
|
|
|
.column-response .post-com-count-pending,
|
2015-07-10 17:44:25 -04:00
|
|
|
.column-comments .post-com-count-pending {
|
|
|
|
position: static;
|
|
|
|
height: auto;
|
|
|
|
min-width: 0;
|
|
|
|
padding: 0;
|
|
|
|
border: none;
|
|
|
|
border-radius: 0;
|
|
|
|
background: none;
|
|
|
|
color: #bb2a2a;
|
|
|
|
font-size: inherit;
|
|
|
|
line-height: inherit;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2015-07-29 14:08:25 -04:00
|
|
|
.column-response .post-com-count-pending:hover,
|
2015-07-10 17:44:25 -04:00
|
|
|
.column-comments .post-com-count-pending:hover {
|
|
|
|
color: #dc3232;
|
|
|
|
}
|
|
|
|
|
2015-09-05 19:16:23 -04:00
|
|
|
.widefat thead td.check-column,
|
|
|
|
.widefat tfoot td.check-column {
|
|
|
|
padding-top: 10px;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.widefat * {
|
|
|
|
word-wrap: normal;
|
|
|
|
}
|
|
|
|
|
2018-10-03 14:56:24 -04:00
|
|
|
/* Make row actions more easy to select on mobile */
|
|
|
|
body:not(.plugins-php) .row-actions {
|
|
|
|
display: -ms-grid;
|
|
|
|
display: grid;
|
|
|
|
-ms-grid-columns: auto auto auto;
|
|
|
|
grid-template-columns: auto auto auto;
|
|
|
|
color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.row-actions span {
|
|
|
|
padding: 4px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.row-actions span a,
|
|
|
|
.row-actions span .button-link {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 4px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.row-actions span.approve:before,
|
|
|
|
.row-actions span.unapprove:before {
|
|
|
|
content: "| ";
|
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
/* Quick Edit and Bulk Edit */
|
|
|
|
#wpbody-content .quick-edit-row-post .inline-edit-col-left,
|
|
|
|
#wpbody-content .quick-edit-row-post .inline-edit-col-right,
|
|
|
|
#wpbody-content .inline-edit-row-post .inline-edit-col-center,
|
|
|
|
#wpbody-content .quick-edit-row-page .inline-edit-col-left,
|
|
|
|
#wpbody-content .quick-edit-row-page .inline-edit-col-right,
|
|
|
|
#wpbody-content .bulk-edit-row-post .inline-edit-col-right,
|
|
|
|
#wpbody-content .bulk-edit-row .inline-edit-col-left,
|
|
|
|
#wpbody-content .bulk-edit-row-page .inline-edit-col-right,
|
|
|
|
#wpbody-content .bulk-edit-row .inline-edit-col-bottom {
|
|
|
|
float: none;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wpbody-content .quick-edit-row fieldset .inline-edit-col label,
|
|
|
|
#wpbody-content .quick-edit-row fieldset .inline-edit-group label,
|
|
|
|
#wpbody-content .bulk-edit-row fieldset .inline-edit-col label,
|
|
|
|
#wpbody-content .bulk-edit-row fieldset .inline-edit-group label {
|
|
|
|
max-width: none;
|
|
|
|
float: none;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wpbody .bulk-edit-row fieldset select {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
max-width: none;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inline-edit-row fieldset ul.cat-checklist label,
|
|
|
|
.inline-edit-row #bulk-titles div {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
2015-08-09 14:55:25 -04:00
|
|
|
.inline-edit-row fieldset label span.title,
|
|
|
|
.inline-edit-row fieldset.inline-edit-date legend {
|
2014-02-19 16:43:14 -05:00
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inline-edit-row fieldset label.inline-edit-tags {
|
|
|
|
padding: 0 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inline-edit-row fieldset .inline-edit-col label.inline-edit-tags {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2015-08-09 14:55:25 -04:00
|
|
|
.inline-edit-row fieldset label span.input-text-wrap,
|
|
|
|
.inline-edit-row fieldset .timestamp-wrap {
|
2014-02-19 16:43:14 -05:00
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inline-edit-row fieldset input[name=jj],
|
|
|
|
.inline-edit-row fieldset input[name=hh],
|
|
|
|
.inline-edit-row fieldset input[name=mn] {
|
|
|
|
width: 3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inline-edit-row fieldset input[name=aa] {
|
|
|
|
width: 4.5em;
|
|
|
|
}
|
|
|
|
|
2015-03-25 18:25:26 -04:00
|
|
|
.inline-edit-row .inline-edit-or {
|
|
|
|
margin: 0 6px 0 0;
|
|
|
|
}
|
|
|
|
|
2015-09-13 08:47:27 -04:00
|
|
|
#edithead .inside,
|
|
|
|
#commentsdiv #edithead .inside {
|
|
|
|
float: none;
|
|
|
|
text-align: left;
|
|
|
|
padding: 3px 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#commentsdiv #edithead .inside input,
|
|
|
|
#edithead .inside input {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#edithead label {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
#bulk-titles div {
|
|
|
|
margin: 0.8em 0.3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#bulk-titles div a {
|
|
|
|
height: 22px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Updates */
|
2016-02-04 14:19:27 -05:00
|
|
|
#wpbody-content .updates-table .plugin-title {
|
2014-02-19 16:43:14 -05:00
|
|
|
width: auto;
|
2015-09-19 14:43:24 -04:00
|
|
|
white-space: normal;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Links */
|
|
|
|
.link-manager-php #posts-filter {
|
|
|
|
margin-top: 25px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.link-manager-php .tablenav.bottom {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2015-07-06 20:09:24 -04:00
|
|
|
/* List tables that don't toggle rows */
|
|
|
|
.comments-box .toggle-row,
|
List tables: A better responsive view.
Instead of truncating columns, the data that's already in the markup can now be toggled into view. Only seems appropriate to celebrate four years of contributing by finally doing the first thing I ever mocked up.
Known issues / concerns:
* Custom list tables that don't define a primary column will show nothing at all. These are not extremely common, as `WP_List_Table` isn't really recommended for plugin consumption, but it happens. We need to come up with some kind of fallback.
* Some visual elements, particularly whitespace, could use refining.
* Needs a11y review.
* Touch performance on iOS feels sluggish - is there anything we can do about that?
* Would this be better accordion-style (only one expanded at a time)?
* Is `wp_strip_all_tags()` good enough for column titles that have HTML in them? It's essentially a workaround for the fact that core's comments column does that for the icon, which maybe it shouldn't. Perhaps worth another ticket, as a markup change would be fairly independent.
* Visual hierarchy is not great when expanded (also worthy of another ticket).
* Quick edit now becomes noticeably more annoying to cancel out of, as you have to scroll all the way down and you lose your position from before it was opened. Again, worthy of another ticket.
props Michael Arestad, helen.
see #32395.
Built from https://develop.svn.wordpress.org/trunk@33016
git-svn-id: http://core.svn.wordpress.org/trunk@32987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-30 21:31:25 -04:00
|
|
|
.wp-list-table.plugins .toggle-row {
|
2014-02-19 16:43:14 -05:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2015-07-06 20:09:24 -04:00
|
|
|
/* Plugin/Theme Management */
|
List tables: A better responsive view.
Instead of truncating columns, the data that's already in the markup can now be toggled into view. Only seems appropriate to celebrate four years of contributing by finally doing the first thing I ever mocked up.
Known issues / concerns:
* Custom list tables that don't define a primary column will show nothing at all. These are not extremely common, as `WP_List_Table` isn't really recommended for plugin consumption, but it happens. We need to come up with some kind of fallback.
* Some visual elements, particularly whitespace, could use refining.
* Needs a11y review.
* Touch performance on iOS feels sluggish - is there anything we can do about that?
* Would this be better accordion-style (only one expanded at a time)?
* Is `wp_strip_all_tags()` good enough for column titles that have HTML in them? It's essentially a workaround for the fact that core's comments column does that for the icon, which maybe it shouldn't. Perhaps worth another ticket, as a markup change would be fairly independent.
* Visual hierarchy is not great when expanded (also worthy of another ticket).
* Quick edit now becomes noticeably more annoying to cancel out of, as you have to scroll all the way down and you lose your position from before it was opened. Again, worthy of another ticket.
props Michael Arestad, helen.
see #32395.
Built from https://develop.svn.wordpress.org/trunk@33016
git-svn-id: http://core.svn.wordpress.org/trunk@32987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-30 21:31:25 -04:00
|
|
|
#wpbody-content .wp-list-table.plugins td {
|
2014-02-19 16:43:14 -05:00
|
|
|
display: block;
|
|
|
|
width: auto;
|
List tables: A better responsive view.
Instead of truncating columns, the data that's already in the markup can now be toggled into view. Only seems appropriate to celebrate four years of contributing by finally doing the first thing I ever mocked up.
Known issues / concerns:
* Custom list tables that don't define a primary column will show nothing at all. These are not extremely common, as `WP_List_Table` isn't really recommended for plugin consumption, but it happens. We need to come up with some kind of fallback.
* Some visual elements, particularly whitespace, could use refining.
* Needs a11y review.
* Touch performance on iOS feels sluggish - is there anything we can do about that?
* Would this be better accordion-style (only one expanded at a time)?
* Is `wp_strip_all_tags()` good enough for column titles that have HTML in them? It's essentially a workaround for the fact that core's comments column does that for the icon, which maybe it shouldn't. Perhaps worth another ticket, as a markup change would be fairly independent.
* Visual hierarchy is not great when expanded (also worthy of another ticket).
* Quick edit now becomes noticeably more annoying to cancel out of, as you have to scroll all the way down and you lose your position from before it was opened. Again, worthy of another ticket.
props Michael Arestad, helen.
see #32395.
Built from https://develop.svn.wordpress.org/trunk@33016
git-svn-id: http://core.svn.wordpress.org/trunk@32987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-30 21:31:25 -04:00
|
|
|
padding: 10px 9px; /* reset from other list tables that have a label at this width */
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
List tables: A better responsive view.
Instead of truncating columns, the data that's already in the markup can now be toggled into view. Only seems appropriate to celebrate four years of contributing by finally doing the first thing I ever mocked up.
Known issues / concerns:
* Custom list tables that don't define a primary column will show nothing at all. These are not extremely common, as `WP_List_Table` isn't really recommended for plugin consumption, but it happens. We need to come up with some kind of fallback.
* Some visual elements, particularly whitespace, could use refining.
* Needs a11y review.
* Touch performance on iOS feels sluggish - is there anything we can do about that?
* Would this be better accordion-style (only one expanded at a time)?
* Is `wp_strip_all_tags()` good enough for column titles that have HTML in them? It's essentially a workaround for the fact that core's comments column does that for the icon, which maybe it shouldn't. Perhaps worth another ticket, as a markup change would be fairly independent.
* Visual hierarchy is not great when expanded (also worthy of another ticket).
* Quick edit now becomes noticeably more annoying to cancel out of, as you have to scroll all the way down and you lose your position from before it was opened. Again, worthy of another ticket.
props Michael Arestad, helen.
see #32395.
Built from https://develop.svn.wordpress.org/trunk@33016
git-svn-id: http://core.svn.wordpress.org/trunk@32987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-30 21:31:25 -04:00
|
|
|
#wpbody-content .wp-list-table.plugins .column-description {
|
|
|
|
padding-top: 2px;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
2015-12-06 14:58:24 -05:00
|
|
|
#wpbody-content .wp-list-table.plugins .plugin-title,
|
|
|
|
#wpbody-content .wp-list-table.plugins .theme-title {
|
|
|
|
padding-right: 12px;
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
.wp-list-table.plugins .plugin-title,
|
|
|
|
.wp-list-table.plugins .theme-title {
|
|
|
|
padding-top: 13px;
|
|
|
|
padding-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
2015-07-06 19:49:24 -04:00
|
|
|
.plugins #the-list tr > td:not(:last-child),
|
|
|
|
.plugins #the-list .update th,
|
|
|
|
.plugins #the-list .update td,
|
|
|
|
.wp-list-table.plugins #the-list .theme-title {
|
2014-02-19 16:43:14 -05:00
|
|
|
box-shadow: none;
|
2015-07-06 19:49:24 -04:00
|
|
|
border-top: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugins #the-list tr td {
|
|
|
|
border-top: none;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.plugins tbody {
|
|
|
|
padding: 1px 0 0;
|
|
|
|
}
|
|
|
|
|
List tables: A better responsive view.
Instead of truncating columns, the data that's already in the markup can now be toggled into view. Only seems appropriate to celebrate four years of contributing by finally doing the first thing I ever mocked up.
Known issues / concerns:
* Custom list tables that don't define a primary column will show nothing at all. These are not extremely common, as `WP_List_Table` isn't really recommended for plugin consumption, but it happens. We need to come up with some kind of fallback.
* Some visual elements, particularly whitespace, could use refining.
* Needs a11y review.
* Touch performance on iOS feels sluggish - is there anything we can do about that?
* Would this be better accordion-style (only one expanded at a time)?
* Is `wp_strip_all_tags()` good enough for column titles that have HTML in them? It's essentially a workaround for the fact that core's comments column does that for the icon, which maybe it shouldn't. Perhaps worth another ticket, as a markup change would be fairly independent.
* Visual hierarchy is not great when expanded (also worthy of another ticket).
* Quick edit now becomes noticeably more annoying to cancel out of, as you have to scroll all the way down and you lose your position from before it was opened. Again, worthy of another ticket.
props Michael Arestad, helen.
see #32395.
Built from https://develop.svn.wordpress.org/trunk@33016
git-svn-id: http://core.svn.wordpress.org/trunk@32987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-30 21:31:25 -04:00
|
|
|
.plugins tr.active + tr.inactive th.check-column,
|
|
|
|
.plugins tr.active + tr.inactive td.column-description,
|
|
|
|
.plugins .plugin-update-tr:before {
|
2014-02-19 16:43:14 -05:00
|
|
|
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugins tr.active + tr.inactive th.check-column,
|
|
|
|
.plugins tr.active + tr.inactive td {
|
|
|
|
border-top: none;
|
|
|
|
}
|
|
|
|
|
List tables: A better responsive view.
Instead of truncating columns, the data that's already in the markup can now be toggled into view. Only seems appropriate to celebrate four years of contributing by finally doing the first thing I ever mocked up.
Known issues / concerns:
* Custom list tables that don't define a primary column will show nothing at all. These are not extremely common, as `WP_List_Table` isn't really recommended for plugin consumption, but it happens. We need to come up with some kind of fallback.
* Some visual elements, particularly whitespace, could use refining.
* Needs a11y review.
* Touch performance on iOS feels sluggish - is there anything we can do about that?
* Would this be better accordion-style (only one expanded at a time)?
* Is `wp_strip_all_tags()` good enough for column titles that have HTML in them? It's essentially a workaround for the fact that core's comments column does that for the icon, which maybe it shouldn't. Perhaps worth another ticket, as a markup change would be fairly independent.
* Visual hierarchy is not great when expanded (also worthy of another ticket).
* Quick edit now becomes noticeably more annoying to cancel out of, as you have to scroll all the way down and you lose your position from before it was opened. Again, worthy of another ticket.
props Michael Arestad, helen.
see #32395.
Built from https://develop.svn.wordpress.org/trunk@33016
git-svn-id: http://core.svn.wordpress.org/trunk@32987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-30 21:31:25 -04:00
|
|
|
/* mimic the checkbox th */
|
|
|
|
.plugins .plugin-update-tr:before {
|
2015-09-10 16:22:25 -04:00
|
|
|
content: "";
|
List tables: A better responsive view.
Instead of truncating columns, the data that's already in the markup can now be toggled into view. Only seems appropriate to celebrate four years of contributing by finally doing the first thing I ever mocked up.
Known issues / concerns:
* Custom list tables that don't define a primary column will show nothing at all. These are not extremely common, as `WP_List_Table` isn't really recommended for plugin consumption, but it happens. We need to come up with some kind of fallback.
* Some visual elements, particularly whitespace, could use refining.
* Needs a11y review.
* Touch performance on iOS feels sluggish - is there anything we can do about that?
* Would this be better accordion-style (only one expanded at a time)?
* Is `wp_strip_all_tags()` good enough for column titles that have HTML in them? It's essentially a workaround for the fact that core's comments column does that for the icon, which maybe it shouldn't. Perhaps worth another ticket, as a markup change would be fairly independent.
* Visual hierarchy is not great when expanded (also worthy of another ticket).
* Quick edit now becomes noticeably more annoying to cancel out of, as you have to scroll all the way down and you lose your position from before it was opened. Again, worthy of another ticket.
props Michael Arestad, helen.
see #32395.
Built from https://develop.svn.wordpress.org/trunk@33016
git-svn-id: http://core.svn.wordpress.org/trunk@32987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-30 21:31:25 -04:00
|
|
|
display: table-cell;
|
2015-06-28 01:46:25 -04:00
|
|
|
}
|
|
|
|
|
List tables: A better responsive view.
Instead of truncating columns, the data that's already in the markup can now be toggled into view. Only seems appropriate to celebrate four years of contributing by finally doing the first thing I ever mocked up.
Known issues / concerns:
* Custom list tables that don't define a primary column will show nothing at all. These are not extremely common, as `WP_List_Table` isn't really recommended for plugin consumption, but it happens. We need to come up with some kind of fallback.
* Some visual elements, particularly whitespace, could use refining.
* Needs a11y review.
* Touch performance on iOS feels sluggish - is there anything we can do about that?
* Would this be better accordion-style (only one expanded at a time)?
* Is `wp_strip_all_tags()` good enough for column titles that have HTML in them? It's essentially a workaround for the fact that core's comments column does that for the icon, which maybe it shouldn't. Perhaps worth another ticket, as a markup change would be fairly independent.
* Visual hierarchy is not great when expanded (also worthy of another ticket).
* Quick edit now becomes noticeably more annoying to cancel out of, as you have to scroll all the way down and you lose your position from before it was opened. Again, worthy of another ticket.
props Michael Arestad, helen.
see #32395.
Built from https://develop.svn.wordpress.org/trunk@33016
git-svn-id: http://core.svn.wordpress.org/trunk@32987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-30 21:31:25 -04:00
|
|
|
.plugins .active.update + .plugin-update-tr:before {
|
|
|
|
border-left: 4px solid #d54e21;
|
|
|
|
background-color: #fef7f1;
|
2015-06-28 01:46:25 -04:00
|
|
|
}
|
|
|
|
|
2015-07-06 19:49:24 -04:00
|
|
|
.plugins #the-list .plugin-update-tr .plugin-update {
|
List tables: A better responsive view.
Instead of truncating columns, the data that's already in the markup can now be toggled into view. Only seems appropriate to celebrate four years of contributing by finally doing the first thing I ever mocked up.
Known issues / concerns:
* Custom list tables that don't define a primary column will show nothing at all. These are not extremely common, as `WP_List_Table` isn't really recommended for plugin consumption, but it happens. We need to come up with some kind of fallback.
* Some visual elements, particularly whitespace, could use refining.
* Needs a11y review.
* Touch performance on iOS feels sluggish - is there anything we can do about that?
* Would this be better accordion-style (only one expanded at a time)?
* Is `wp_strip_all_tags()` good enough for column titles that have HTML in them? It's essentially a workaround for the fact that core's comments column does that for the icon, which maybe it shouldn't. Perhaps worth another ticket, as a markup change would be fairly independent.
* Visual hierarchy is not great when expanded (also worthy of another ticket).
* Quick edit now becomes noticeably more annoying to cancel out of, as you have to scroll all the way down and you lose your position from before it was opened. Again, worthy of another ticket.
props Michael Arestad, helen.
see #32395.
Built from https://develop.svn.wordpress.org/trunk@33016
git-svn-id: http://core.svn.wordpress.org/trunk@32987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-30 21:31:25 -04:00
|
|
|
border-left: none;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
List tables: A better responsive view.
Instead of truncating columns, the data that's already in the markup can now be toggled into view. Only seems appropriate to celebrate four years of contributing by finally doing the first thing I ever mocked up.
Known issues / concerns:
* Custom list tables that don't define a primary column will show nothing at all. These are not extremely common, as `WP_List_Table` isn't really recommended for plugin consumption, but it happens. We need to come up with some kind of fallback.
* Some visual elements, particularly whitespace, could use refining.
* Needs a11y review.
* Touch performance on iOS feels sluggish - is there anything we can do about that?
* Would this be better accordion-style (only one expanded at a time)?
* Is `wp_strip_all_tags()` good enough for column titles that have HTML in them? It's essentially a workaround for the fact that core's comments column does that for the icon, which maybe it shouldn't. Perhaps worth another ticket, as a markup change would be fairly independent.
* Visual hierarchy is not great when expanded (also worthy of another ticket).
* Quick edit now becomes noticeably more annoying to cancel out of, as you have to scroll all the way down and you lose your position from before it was opened. Again, worthy of another ticket.
props Michael Arestad, helen.
see #32395.
Built from https://develop.svn.wordpress.org/trunk@33016
git-svn-id: http://core.svn.wordpress.org/trunk@32987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-30 21:31:25 -04:00
|
|
|
.plugin-update-tr .update-message {
|
|
|
|
margin-left: 0;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 12:37:29 -04:00
|
|
|
.plugins .active.update + .plugin-update-tr:before {
|
|
|
|
background-color: #f7fcfe;
|
|
|
|
border-left: 4px solid #00a0d2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plugins .plugin-update-tr .update-message {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
.wp-list-table.plugins .plugin-title strong,
|
|
|
|
.wp-list-table.plugins .theme-title strong {
|
|
|
|
font-size: 1.4em;
|
2015-12-06 14:58:24 -05:00
|
|
|
line-height: 1.5;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Add New plugins page */
|
|
|
|
table.plugin-install .column-name,
|
|
|
|
table.plugin-install .column-version,
|
|
|
|
table.plugin-install .column-rating,
|
|
|
|
table.plugin-install .column-description {
|
|
|
|
display: block;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.plugin-install th.column-name,
|
|
|
|
table.plugin-install th.column-version,
|
|
|
|
table.plugin-install th.column-rating,
|
|
|
|
table.plugin-install th.column-description {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.plugin-install td.column-name strong {
|
|
|
|
font-size: 1.4em;
|
|
|
|
line-height: 1.6em;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.plugin-install #the-list td {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.plugin-install #the-list tr {
|
|
|
|
display: block;
|
|
|
|
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
|
|
|
|
}
|
2015-07-10 17:44:25 -04:00
|
|
|
|
|
|
|
.plugin-card {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
2016-06-29 09:30:28 -04:00
|
|
|
|
2019-01-17 02:41:52 -05:00
|
|
|
@media screen and (max-width: 480px) {
|
2016-06-29 09:30:28 -04:00
|
|
|
.tablenav-pages .current-page {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2018-10-03 14:56:24 -04:00
|
|
|
/* Drop row actions to two columns on a small screen */
|
|
|
|
.row-actions:not(.plugins-php) {
|
|
|
|
-ms-grid-columns: auto auto;
|
|
|
|
grid-template-columns: auto auto;
|
|
|
|
}
|
|
|
|
|
2016-06-29 09:30:28 -04:00
|
|
|
.tablenav-pages .tablenav-paging-text {
|
|
|
|
float: left;
|
|
|
|
width: 100%;
|
|
|
|
padding-top: 0.5em;
|
|
|
|
}
|
|
|
|
}
|