From 0a18cfa0a6a941a2ed525e6c934cf6c25fc87fce Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Wed, 21 Mar 2007 01:39:22 +0000 Subject: Bug 374540: Print out the requirements in an HTML table instead of preformatted text Patch By Max Kanat-Alexander (module owner) a=mkanat --- skins/standard/setup.css | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 skins/standard/setup.css (limited to 'skins') diff --git a/skins/standard/setup.css b/skins/standard/setup.css new file mode 100644 index 000000000..067b34071 --- /dev/null +++ b/skins/standard/setup.css @@ -0,0 +1,39 @@ +/* The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is the Bugzilla Bug Tracking System. + * + * The Initial Developer of the Original Code is Everything Solved. + * Portions created by Everything Solved are Copyright (C) 2007 + * Everything Solved. All Rights Reserved. + * + * Contributor(s): Max Kanat-Alexander + */ + +.mod_requirements { + border-collapse: collapse; + border: none; +} +.mod_requirements td, .mod_requirements th { + border: 1px solid black; + padding: .2em; +} +.mod_requirements th.mod_header { border: none; } +.mod_name { + text-align: right; +} + +/* If CSS is working, we don't display the "OK" column. Instead we have + colors and we explain them. */ +td.mod_ok, th.mod_ok { display: none; } +.color_explanation { color: black; background-color: white } + +.mod_ok { color: green; } +.mod_not_ok { color: red; } \ No newline at end of file -- cgit v1.2.3-24-g4f1b