diff options
author | Dan McGee <dan@archlinux.org> | 2013-02-16 21:09:01 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-02-16 21:09:01 +0100 |
commit | d7f849afe4c141efda0ec6742031845fe2d03660 (patch) | |
tree | 909f3b31b60c4d3e0ab219a0690140ef08378b24 /sitestatic | |
parent | 1b323ed9b2ac170cea4207ae75fd2849be8ff646 (diff) | |
download | archweb-d7f849afe4c141efda0ec6742031845fe2d03660.tar.gz archweb-d7f849afe4c141efda0ec6742031845fe2d03660.tar.xz |
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>
Diffstat (limited to 'sitestatic')
-rw-r--r-- | sitestatic/archweb.css | 52 |
1 files changed, 15 insertions, 37 deletions
diff --git a/sitestatic/archweb.css b/sitestatic/archweb.css index dcc964e..a0dfb2e 100644 --- a/sitestatic/archweb.css +++ b/sitestatic/archweb.css @@ -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, |