aboutsummaryrefslogtreecommitdiff
path: root/skins
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-06-21 19:10:21 -0700
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-06-21 19:10:21 -0700
commit4acb2424e62cbd64bc92a5dec2cbe1e2b7096157 (patch)
tree9076b3809846e8fc58ce720e0cd32dc0d3c8ff77 /skins
parentBug 548198: Add a method of limiting the User.get results by group name or id (diff)
downloadbugzilla-4acb2424e62cbd64bc92a5dec2cbe1e2b7096157.tar.gz
bugzilla-4acb2424e62cbd64bc92a5dec2cbe1e2b7096157.tar.bz2
bugzilla-4acb2424e62cbd64bc92a5dec2cbe1e2b7096157.zip
Bug 22353: Automatic duplicate bug detection on enter_bug.cgi
r=glob, a=mkanat
Diffstat (limited to 'skins')
-rw-r--r--skins/standard/enter_bug.css65
-rw-r--r--skins/standard/global.css39
2 files changed, 65 insertions, 39 deletions
diff --git a/skins/standard/enter_bug.css b/skins/standard/enter_bug.css
new file mode 100644
index 000000000..2fd79baa4
--- /dev/null
+++ b/skins/standard/enter_bug.css
@@ -0,0 +1,65 @@
+/* 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 Netscape Communications
+ * Corporation. Portions created by Netscape are Copyright (C) 1998
+ * Netscape Communications Corporation. All Rights Reserved.
+ *
+ * Contributor(s): Byron Jones <bugzilla@glob.com.au>
+ * Christian Reis <kiko@async.com.br>
+ * Vitaly Harisov <vitaly@rathedg.com>
+ * Svetlana Harisova <light@rathedg.com>
+ * Marc Schumann <wurblzap@gmail.com>
+ * Pascal Held <paheld@gmail.com>
+ * Max Kanat-Alexander <mkanat@bugzilla.org>
+ */
+
+/* These are specified using the class instead of the id so that they
+ don't override the YUI CSS. */
+.enter_bug_form table {
+ border-spacing: 0;
+ border-width: 0;
+}
+.enter_bug_form td, .enter_bug_form th { padding: .25em; }
+.enter_bug_form th { text-align: right; }
+
+/* This makes the "component" column as small as possible (since it
+ * contains only fixed-width content) and the Reporter column
+ * as large as possible, which makes the form not jump around
+ * when the Component Description changes size. This works
+ * pretty well on all browsers except IE 8.
+ */
+#Create #field_container_component { width: 1px; }
+#Create #field_container_reporter { width: 100%; }
+
+#Create .comment {
+ vertical-align: top;
+ overflow: auto;
+ color: green;
+}
+#Create #comp_desc_container td { padding: 0; }
+#Create #comp_desc { height: 11ex; }
+#Create #os_guess_note {
+ padding-top: 0;
+}
+#Create #os_guess_note div {
+ max-width: 35em;
+}
+
+/* The Possible Duplicates table on enter_bug. */
+#possible_duplicates th {
+ text-align: center;
+ background: none;
+ border-collapse: collapse;
+}
+/* Make the Add Me to CC button never wrap. */
+#possible_duplicates .yui-dt-col-update_token { white-space: nowrap; }
diff --git a/skins/standard/global.css b/skins/standard/global.css
index 0f64fcab4..5cc71ef53 100644
--- a/skins/standard/global.css
+++ b/skins/standard/global.css
@@ -504,45 +504,6 @@ input.required, select.required, span.required_explanation {
list-style-type: none;
}
-/*************/
-/* enter_bug */
-/*************/
-
-form#Create table {
- border-spacing: 0;
- border-width: 0;
-}
-form#Create td, form#Create th {
- padding: .25em;
-}
-form#Create th {
- text-align: right;
-}
-
-/* This makes the "component" column as small as possible (since it
- * contains only fixed-width content) and the Reporter column
- * as large as possible, which makes the form not jump around
- * when the Component Description changes size. This works
- * pretty well on all browsers except IE 8.
- */
-form#Create #field_container_component { width: 1px; }
-form#Create #field_container_reporter { width: 100%; }
-
-form#Create .comment {
- vertical-align: top;
- overflow: auto;
- color: green;
-}
-form#Create #comp_desc_container td { padding: 0; }
-form#Create #comp_desc { height: 11ex; }
-form#Create #os_guess_note {
- padding-top: 0;
-}
-form#Create #os_guess_note div {
- max-width: 35em;
-}
-
-
.image_button {
background-repeat: no-repeat;
background-position: center center;