Move all red/green/orange styles into single declaration
We use these all over the place and can express them in a much shorter fashion. Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
1b323ed9b2
commit
d7f849afe4
@ -1002,19 +1002,30 @@ ul.admin-actions {
|
||||
padding-left: 1.5em;
|
||||
}
|
||||
|
||||
/* todo lists (public and private) */
|
||||
.todo-table .complete {
|
||||
/* colored yes/no type values */
|
||||
.todo-table .complete,
|
||||
.signoff-yes,
|
||||
#key-status .signed-yes,
|
||||
#releng-result .success-yes,
|
||||
#release-list .available-yes {
|
||||
color: green;
|
||||
}
|
||||
|
||||
.todo-table .incomplete {
|
||||
.todo-table .incomplete,
|
||||
.signoff-no,
|
||||
#key-status .signed-no,
|
||||
#releng-result .success-no,
|
||||
#release-list .available-no {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.todo-table .inprogress {
|
||||
.todo-table .inprogress,
|
||||
.signoff-bad {
|
||||
color: darkorange;
|
||||
}
|
||||
|
||||
|
||||
/* todo lists (public and private) */
|
||||
.todo-info {
|
||||
margin: 0; color: #999;
|
||||
}
|
||||
@ -1036,18 +1047,9 @@ ul.signoff-list {
|
||||
}
|
||||
|
||||
.signoff-yes {
|
||||
color: green;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.signoff-no {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.signoff-bad {
|
||||
color: darkorange;
|
||||
}
|
||||
|
||||
.signoff-disabled {
|
||||
color: gray;
|
||||
}
|
||||
@ -1071,30 +1073,6 @@ ul.signoff-list {
|
||||
position: relative; top: -0.9em;
|
||||
}
|
||||
|
||||
#releng-result .success-yes {
|
||||
color: green;
|
||||
}
|
||||
|
||||
#releng-result .success-no {
|
||||
color: red;
|
||||
}
|
||||
|
||||
#release-list .available-yes {
|
||||
color: green;
|
||||
}
|
||||
|
||||
#release-list .available-no {
|
||||
color: red;
|
||||
}
|
||||
|
||||
#key-status .signed-yes {
|
||||
color: green;
|
||||
}
|
||||
|
||||
#key-status .signed-no {
|
||||
color: red;
|
||||
}
|
||||
|
||||
/* highlight current website in the navbar */
|
||||
#archnavbar.anb-home ul li#anb-home a,
|
||||
#archnavbar.anb-packages ul li#anb-packages a,
|
||||
|
Loading…
Reference in New Issue
Block a user