summaryrefslogtreecommitdiffstats
path: root/skins
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2007-03-21 02:39:22 +0100
committermkanat%bugzilla.org <>2007-03-21 02:39:22 +0100
commit0a18cfa0a6a941a2ed525e6c934cf6c25fc87fce (patch)
tree486de78f15f5525b8b1fcc9d80404eb204a739cf /skins
parente00a2bc886f86638a600030ebf98877db7a059fd (diff)
downloadbugzilla-0a18cfa0a6a941a2ed525e6c934cf6c25fc87fce.tar.gz
bugzilla-0a18cfa0a6a941a2ed525e6c934cf6c25fc87fce.tar.xz
Bug 374540: Print out the requirements in an HTML table instead of preformatted text
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
Diffstat (limited to 'skins')
-rw-r--r--skins/standard/setup.css39
1 files changed, 39 insertions, 0 deletions
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 <mkanat@bugzilla.org>
+ */
+
+.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