Style proposals table

This commit is contained in:
str4d
2016-04-25 06:36:48 +00:00
parent 51b93d5255
commit 21d4fd3a1a
2 changed files with 44 additions and 1 deletions

View File

@ -12,7 +12,7 @@ To submit a proposal, post it on the <a href="{{ dev }}">development forum</a>
or <a href="{{ trac }}">enter a ticket with the proposal attached</a>.
{%- endtrans %}</p>
<table class="proposals">
<table id="proposals">
<tr>
<th>Number</th>
<th>Title</th>

View File

@ -426,6 +426,49 @@ div#content .inner ul.DREAD {
word-wrap: break-word; /* Internet Explorer 5.5+ */
}
/*
* Proposals
*/
#proposals {
border-collapse: collapse;
}
#proposals tr {
transition: all 0.3s ease 0s;
}
#proposals tr:hover {
background: #ddd;
}
#proposals td {
position: relative;
padding: 5px 10px;
}
#proposals .status-draft td:nth-child(2),
#proposals .status-draft td:nth-child(3),
#proposals .status-draft td:nth-child(4) {
font-style: italic;
}
#proposals .status-dead td:nth-child(2),
#proposals .status-dead td:nth-child(3),
#proposals .status-dead td:nth-child(4) {
border-color: black !important;
color: #999;
}
#proposals .status-rejected td:before {
border-bottom: 1px solid #111;
content: " ";
left: 0;
position: absolute;
top: 50%;
width: 100%;
}
/*
* Blog
*/