Skip to content

Instantly share code, notes, and snippets.

@meyerweb
Last active December 4, 2017 19:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save meyerweb/4c6520b68231e1d1025a12535eff26ec to your computer and use it in GitHub Desktop.
Save meyerweb/4c6520b68231e1d1025a12535eff26ec to your computer and use it in GitHub Desktop.
WordPress administration-area styles (applied with the Add Admin CSS plugin)
.status-future td.date {font-weight: bold;}
.status-future td.date abbr {font-style: italic;}
.status-future {background-color: #BEB;}
.status-pending {background-color: #EBB;}
.status-draft {background-color: #EEB;}
.status-future, .status-pending, .status-draft {
background-image: repeating-linear-gradient(-45deg, transparent, rgba(255,255,255,0) 9px, rgba(255,255,255,.25) 10px, rgba(255,255,255,.25) 19px, rgba(255,255,255,0) 20px);
}
#future-posts li, #published-posts li {
display: grid;
grid-template-columns: 8.75em 1fr;
}
#future-posts ul span, #published-posts ul span {
text-align: right;
padding-right: 0.5em;
min-width: auto;
}
#future-posts ul a, #published-posts ul a {
hanging-punctuation: first allow-end last;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment