Skip to content

Instantly share code, notes, and snippets.

@akahigeg
Last active June 3, 2018 05:30
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 akahigeg/3e2565387b296781e81b80b8fb9966c9 to your computer and use it in GitHub Desktop.
Save akahigeg/3e2565387b296781e81b80b8fb9966c9 to your computer and use it in GitHub Desktop.
CSS for WordPress post guide.
ul.post-guide-panel {
position: fixed;
table-layout: fixed;
top: 30;
width: 100%;
z-index: 88888;
}
ul.post-guide-panel li {
position: relative;
display: inline-block;
vertical-align: middle;
background-color: #666;
color: #fff;
text-align: center;
padding: 10px 20px 10px 30px;
text-decoration: none;
}
ul.post-guide-panel li span.item {
position: relative;
}
span.help-button {
background-color: #999;
color: #eee;
border-radius: 100%;
border: #ddd 1px solid;
padding: 0 4px;
margin-top: -5px;
top: 50%;
font-size: smaller;
margin-left: 0px;
}
li rt {
color: red;
}
li.done rt {
color: green;
}
ul.post-guide-panel li:first-child {
background-color: #eee;
color: #666;
padding-left: 20px;
font-weight: bold;
border: 1px solid #666;
margin-right: 10px;
}
ul.post-guide-panel li.done {
background-color: green;
}
@keyframes bgcolor_to_gain {
0% {
background-color: #efe;
}
100% {
background-color: green;
}
}
@keyframes bgcolor_to_lost {
0% {
background-color: #ccc;
}
100% {
background-color: #666;
}
}
.modal {
position: fixed;
width: 800px;
height: 600px;
top: 50px;
margin: auto;
background-color: #fff;
z-index: 99999;
border: 2px solid gray;
overflow-y: scroll;
}
.modal-container {
position: relative;
margin: auto;
width: 85%;
height: 90%;
color: #000;
padding: 30px;
}
.modal-background {
position: fixed;
width: 100%;
height: 150%;
top: -50px;
left: 0px;
background-color: #fff;
z-index: 99990;
opacity: 0.5;
}
.modal-list {
overflow:auto;
width: 600px;
height: 500px;
}
.modal-new {
text-align: right;
position: absolute;
bottom: 130px;
right: 90px;
}
.modal-close {
text-align: right;
position: absolute;
padding: 3px 10px 5px 10px;
top: 0px;
right: -10px;
background-color: gray;
color: white;
font-size: 16px;
font-weight: bold;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment