From 4acb2424e62cbd64bc92a5dec2cbe1e2b7096157 Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Mon, 21 Jun 2010 19:10:21 -0700 Subject: Bug 22353: Automatic duplicate bug detection on enter_bug.cgi r=glob, a=mkanat --- skins/standard/enter_bug.css | 65 ++++++++++++++++++++++++++++++++++++++++++++ skins/standard/global.css | 39 -------------------------- 2 files changed, 65 insertions(+), 39 deletions(-) create mode 100644 skins/standard/enter_bug.css (limited to 'skins') 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 + * Christian Reis + * Vitaly Harisov + * Svetlana Harisova + * Marc Schumann + * Pascal Held + * Max Kanat-Alexander + */ + +/* 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; -- cgit v1.2.3-24-g4f1b