From ff6475497815527eaf1ff741fe4eb933f16fed87 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Sat, 8 Mar 2014 23:34:38 +0100 Subject: Bug 956190 (part 4): Merge duplicates.css, reports.css, search_form.css, show_multiple.css and summarize-time.css with buglist.css --- skins/standard/buglist.css | 385 ++++++++++++++++++++++++++++++++++++++ skins/standard/duplicates.css | 37 ---- skins/standard/global.css | 41 +++- skins/standard/reports.css | 122 ------------ skins/standard/search_form.css | 225 ---------------------- skins/standard/show_multiple.css | 60 ------ skins/standard/summarize-time.css | 65 ------- 7 files changed, 423 insertions(+), 512 deletions(-) delete mode 100644 skins/standard/duplicates.css delete mode 100644 skins/standard/reports.css delete mode 100644 skins/standard/search_form.css delete mode 100644 skins/standard/show_multiple.css delete mode 100644 skins/standard/summarize-time.css (limited to 'skins') diff --git a/skins/standard/buglist.css b/skins/standard/buglist.css index 963d82965..318aa43fb 100644 --- a/skins/standard/buglist.css +++ b/skins/standard/buglist.css @@ -131,6 +131,10 @@ td.bz_total { vertical-align: middle; } +div.bz_query_buttons { + max-width: 15em; +} + #groups_edit_multiple, #quips { border: 1px solid black; border-collapse: collapse; @@ -171,3 +175,384 @@ table.requests th, table.requests td { table.requests th { text-align: left; } + +/* query.cgi (start) */ + +#summary_field { + padding: 1em; + margin: 1em; + border: 1px solid black; + background-color: #eee; + white-space: nowrap; +} + +#bug_id_container { + display: inline-block; + vertical-align: middle; + padding-bottom: 1ex; +} + +#bug_id_container input { + width: 9em; +} + +#bug_id_container .field_help { + font-size: 0.75em +} + +.search_field_grid { + margin-top: 1em; + display: inline-block; +} + +.search_field_grid .field_help_link, +.history_query .field_help_link { + display: block; + text-align: left; +} + +#chart .section_help { + font-size: 0.8em; + font-weight: normal +} + +.search_field_row { + white-space: nowrap; + margin-bottom: 0.5em; +} + +.search_field_row .field_label, #field_label_short_desc { + width: 14em; + display: inline-block; + line-height: 2em; + margin-right: 0.8em; +} + +.field_label_sup { + font-weight: normal; +} + +#keywords_container { + padding-bottom: 0; +} + +.search_field_grid .field_label, +.search_field_grid .field_label { + display: block; + padding-bottom: 1ex; +} + +.search_field_grid select { + width: 17em; + height: 15ex; +} + +.search_field_grid, .search_field_row { + padding-left: 1.5em; +} + +.search_email_fields { + display: inline-block; + width: 14.5em; + padding-left: 1.5em; +} + +ul.bug_changes { + margin: 0; + padding: 0; +} + +ul.bug_changes li { + display: inline-block; + width: 14.5em; + vertical-align: top; + padding-left: 1.5em; +} + +ul.bug_changes select { + width: 15em; +} + +ul.bug_changes li label { + display: block; +} + +div.bz_section_title { + display: block; + margin-top: 2em; + font-size: 1.2em; +} + +div.bz_section_title a { + font-weight: bold; +} + +div.bz_section_title span { + font-size: 0.75em; + margin-left: 1em; +} + +#queryform, #reportform { + margin-bottom: 2em; +} + +#knob { + margin-top: 2em; +} + +.arrow { + display: inline; + width: 16px; + height: 16px; +} + +.bz_search_section, ul.bz_search_section { + margin-top: 1em; +} + +/* query.cgi (end) */ + +/* describecomponents.cgi (start) */ + +#product_desc { + padding: 0 2em; + font-style: italic; + max-height: 8em; + overflow: auto; +} + +#component_table th { + padding-right: 1em; + text-align: left; +} + +#component_table td { + border-bottom: 1px dotted gray; +} + +#component_table td.component_assignee, +#component_table td.component_qa_contact { + border: none; + padding-top: 0.5em; +} + +.component_name { + font-size: 115%; + font-weight: bold; + padding-right: 1em; + vertical-align: middle; + min-width: 8em; +} + +.component_description { + padding-bottom: 0.5em; + color: #333; +} + +/* describecomponents.cgi (end) */ + +/* Series & reports (start) */ + +.t1 { + background-color: #ffffff; /* white */ +} + +.t2 { + background-color: #dfefff; /* light blue */ +} + +.t3 { + background-color: #dddddd; /* grey */ +} + +.t4 { + background-color: #c3d3ed; /* darker blue */ +} + +.ttotal, .ttotal td { + background-color: #cfffdf; /* light green */ +} + +.tabular_report_container { + /* Force tables to be horizontally centered */ + margin-left: auto; + margin-right: auto; + text-align: center; +} + +.tabular_report { + border: 1px dotted black; + border-collapse: collapse; + text-align: center; +} + +.tabular_report th, .tabular_report td { + border: 1px dotted; + padding: 0.2em; +} + +#graphical_report { + max-width: 100%; + height: auto; +} + +.extra_info { + font-size: smaller; + font-style: italic; +} + +#edit_series th, #create_chart th, #edit_charts th { + text-align: center; +} + +#edit_series th, #edit_series td, +#create_chart th, #create_chart td { + vertical-align: top; + padding: 0.5em; +} + +#edit_series select, #create_chart select { + width: 15em; +} + +#edit_series input { + width: 95%; +} + +#edit_series input#frequency { + width: 3em; +} + +#edit_charts input#action-sum, #edit_charts input#action-remove { + width: 7em; +} + +#tabular_reports_menu, #graphical_reports_menu { + width: 30em; + margin: 2em auto; +} + +#tabular_reports_menu th, #graphical_reports_menu th { + vertical-align: middle; + white-space: nowrap; + padding: 0.3em; +} + +#tabular_reports_menu th { + text-align: center; +} + +#graphical_reports_menu th { + text-align: left; +} + +#graphical_reports_menu label { + font-weight: normal; +} + +th#reports_menu_multiple_tables { + text-align: center; + width: 15em; + height: 15em; + border: 1px solid black; + border-collapse: collapse; +} + +/* Series & reports (end) */ + +/* Show multiple bugs (start) */ + +.bugfields { + font-size: small; + background: #eee; + padding: 0.3em; + border: 1px solid silver; + width: 100%; +} + +.bugfields tr { + vertical-align: top; +} + +.bugfields th { + max-width: 10em; + text-align: left; +} + +.bugfields a { + color: black; + text-decoration: none; +} + +.bugfields .rightcell { + padding-left: 1em; +} + +.bugfields table.timetracking th, .bugfields table.timetracking td { + max-width: 10em; +} + +/* Show multiple bugs (end) */ + +/* summarize_time.cgi (start) */ + +table.zeroitems, table.realitems { + margin-left: 2.0em; + margin-top: 2px; + border: 1px solid black; + border: 1px solid black; +} + +tr.section_total { + background: #000000; + color: #ffffff; +} + +td.subtotal { + background: #B0C0D9; + text-align: right; + font-weight: bold; + width: 8em; +} + +.zeroitems .bug_header { background: #d0e0f0 } +.zeroitems .bug_header2 { background: #f9f9f9 } + +/* the fixed headers -- .number uses bug_header so hack it here */ +.number .bug_header, .number .bug_header2 { background: #d0e0f0 } +.owner_header { background: #d0e0f0 } + + +/* the details headers */ +.number .owner_header, .owner .bug_header { background: #ffffff } +.number .owner_header2, .owner .bug_header2 { background: #EFEFEF } + +table.owner, table.number, table.zeroitems { + width: 90%; + border-collapse: collapse; +} + +.owner th, .owner td, .number th, .number td, +.zeroitems th, .zeroitems td { + padding: 0.2em; +} + +.warning_swapped_data { + border: 1px solid red; + margin: 1em; + padding: 0.5em; +} + +.realitems th.bug_id, .realitems th.bug_status, +.zeroitems th.bug_id, .zeroitems th.bug_status { + white-space: nowrap; + text-align: left; + padding-right: 2em; + width: 6em; +} + +.time_info { + padding-right: 3em; +} + +/* summarize_time.cgi (end) */ \ No newline at end of file diff --git a/skins/standard/duplicates.css b/skins/standard/duplicates.css deleted file mode 100644 index b531597a4..000000000 --- a/skins/standard/duplicates.css +++ /dev/null @@ -1,37 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This Source Code Form is "Incompatible With Secondary Licenses", as - * defined by the Mozilla Public License, v. 2.0. - */ - -#duplicates_table { - border-collapse: collapse; -} - -#duplicates_table .resolved { - background-color: #d9d9d9; - color: black; -} - -#duplicates_table thead tr { - background-color: #ccc; - color: black; -} - -#duplicates_table thead tr th { - vertical-align: middle; -} - -#duplicates_table td, #duplicates_table th { - border: 1px solid black; - padding: .1em .25em; -} - -#duplicates_table tbody td { - text-align: center; -} -#duplicates_table tbody td.short_desc { - text-align: left; -} diff --git a/skins/standard/global.css b/skins/standard/global.css index 321a6d272..ab8a44f60 100644 --- a/skins/standard/global.css +++ b/skins/standard/global.css @@ -602,12 +602,12 @@ div.user_match { } .field_value .text_input { - width: 100%; - min-width: 25em; + width: 100%; + min-width: 25em; } .uneditable_textarea { - width: 30em; + max-width: 30em; font-size: medium; } @@ -972,3 +972,38 @@ table.field_value_explanation { } /* page.cgi (end) */ + +/* duplicates.cgi (start) */ + +#duplicates_table { + border-collapse: collapse; +} + +#duplicates_table .resolved { + background-color: #d9d9d9; + color: black; +} + +#duplicates_table thead tr { + background-color: #ccc; + color: black; +} + +#duplicates_table thead tr th { + vertical-align: middle; +} + +#duplicates_table td, #duplicates_table th { + border: 1px solid black; + padding: .1em .25em; +} + +#duplicates_table tbody td { + text-align: center; +} + +#duplicates_table tbody td.short_desc { + text-align: left; +} + +/* duplicates.cgi (end) */ diff --git a/skins/standard/reports.css b/skins/standard/reports.css deleted file mode 100644 index 904b8ed26..000000000 --- a/skins/standard/reports.css +++ /dev/null @@ -1,122 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This Source Code Form is "Incompatible With Secondary Licenses", as - * defined by the Mozilla Public License, v. 2.0. - */ - -/* describecomponents.cgi */ - -.product_desc { - /* This is padding instead of margin because it looks better - * with the scrollbar. */ - padding: 0 2em; - font-style: italic; - max-height: 8em; - overflow: auto; -} - -.component_table th { - padding-right: 1em; - text-align: left; -} - -.component_table td { - border-bottom: 1px dotted gray; -} - -.component_table td.component_assignee, -.component_table td.component_qa_contact -{ - border: none; - padding-top: 0.5em; -} - -.component_name { - font-size: 115%; - font-weight: bold; - padding-right: 1em; - vertical-align: middle; - min-width: 8em; -} - -.component_description { - padding-bottom: 0.5em; - color: #333; -} - -.t1 { - background-color: #ffffff; /* white */ -} - -.t2 { - background-color: #dfefff; /* light blue */ -} - -.t3 { - background-color: #dddddd; /* grey */ -} - -.t4 { - background-color: #c3d3ed; /* darker blue */ -} - -.ttotal, .ttotal td { - background-color: #cfffdf; /* light green */ -} - -.tabular_report_container { - /* Force tables to be horizontally centered */ - margin-left: auto; - margin-right: auto; - text-align: center; -} - -.tabular_report { - border: 1px dotted black; - border-collapse: collapse; - text-align: center; -} - -.tabular_report th, .tabular_report td { - border: 1px dotted; - padding: 0.2em; -} - -#graphical_report { - max-width: 100%; - height: auto; -} - -.extra_info { - font-size: smaller; - font-style: italic; -} - -#edit_series th, #create_chart th, #edit_charts th { - text-align: center; -} - -#edit_series th, #edit_series td, -#create_chart th, #create_chart td { - vertical-align: top; - padding: 0.5em; -} - -#edit_series select, #create_chart select { - width: 15em; -} - -#edit_series input { - width: 95%; -} - -#edit_series input#frequency { - width: 3em; -} - -#edit_charts input#action-sum, #edit_charts input#action-remove { - width: 7em; -} - diff --git a/skins/standard/search_form.css b/skins/standard/search_form.css deleted file mode 100644 index c4570bc31..000000000 --- a/skins/standard/search_form.css +++ /dev/null @@ -1,225 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This Source Code Form is "Incompatible With Secondary Licenses", as - * defined by the Mozilla Public License, v. 2.0. - */ - -#summary_field { - padding: 1em; - margin: 1em; - border: 1px solid black; - background-color: #eee; - white-space: nowrap; -} - -#bug_id_container { - display: inline-block; - vertical-align: middle; - padding-bottom: 1ex; -} - -#bug_id_container input { - width: 9em; -} - -.container_date_from, -.container_date_to { - width: 14em; - padding-bottom: 1ex; -} -.container_date_from input, -.container_date_to input { - width: 8em; -} - -#bug_id_type{ - width: inherit; -} - -.search_field_grid { - margin-top: 1em; - display: inline-block; -} - -.search_field_grid .field_help_link, -.history_query .field_help_link -{ - display: block; - text-align: left; -} - -#chart .section_help { - font-size: 0.8em; - font-weight: normal -} - -#bug_id_container .field_help { - font-size: 0.75em -} - -.search_field_row { - white-space: nowrap; - margin-bottom: 0.5em; -} - -.search_field_row .container_date_from, .search_field_row .container_date_to { - display: inline; -} - -#summary_field.search_field_row { - display: block; -} - -#summary_field.search_field_row input, -#summary_field.search_field_row select -{ - display: inline; - padding-bottom: 0; - vertical-align: middle; -} - -.search_field_row .field_label, #field_label_short_desc { - width: 14em; - display: inline-block; - line-height: 2em; - margin-right: 0.8em; -} - -#field_label_short_desc { - text-align: right; -} - -.field_label_sup { - font-weight: normal; -} - -#summary_field.search_field_row { - width: inherit; -} - -#keywords_container { - padding-bottom: 0; -} - -.search_field_grid .field_label, -.search_field_grid .field_label - { - display: block; - padding-bottom: 1ex; -} - -.search_field_grid select { - width: 17em; - height: 15ex; -} - -.search_field_grid, .search_field_row { - padding-left: 1.5em; -} - -.search_email_fields { - display: inline-block; - width: 14.5em; - padding-left: 1.5em; -} - -ul.bug_changes { - margin: 0; - padding: 0; -} - -ul.bug_changes li { - display: inline-block; - width: 14.5em; - vertical-align: top; - padding-left: 1.5em; -} - -ul.bug_changes select { - width: 15em; -} - -ul.bug_changes li label { - display: block; -} - -div.bz_section_title { - display: block; - margin-top: 2em; - font-size: 1.2em; -} - -div.bz_section_title a { - font-weight: bold; -} - -div.bz_section_title span { - font-size: 0.75em; - margin-left: 1em; -} - -#summary_field label { - font-weight: bold; -} - -#queryform, #reportform { - margin-bottom: 2em; -} - -#knob { - margin-top: 2em; -} - -.hide_people_filter #people_filter_section, -.hide_history_filter #history_filter_section, -.hide_detailed_information #detailed_information_section -{ - display: none; -} - -.arrow { - display: inline; - width: 16px; - height: 16px; -} - -.bz_search_section, ul.bz_search_section { - margin-top: 1em; -} - -.bz_simple_search_form th { - text-align: right; -} - -#tabular_reports_menu, #graphical_reports_menu { - width: 30em; - margin: 2em auto; -} - -#tabular_reports_menu th, #graphical_reports_menu th { - vertical-align: middle; - white-space: nowrap; - padding: 0.3em; -} - -#tabular_reports_menu th { - text-align: center; -} - -#graphical_reports_menu th { - text-align: left; -} - -#graphical_reports_menu label { - font-weight: normal; -} - -th#reports_menu_multiple_tables { - text-align: center; - width: 15em; - height: 15em; - border: 1px solid black; - border-collapse: collapse; -} diff --git a/skins/standard/show_multiple.css b/skins/standard/show_multiple.css deleted file mode 100644 index dbfa6eb19..000000000 --- a/skins/standard/show_multiple.css +++ /dev/null @@ -1,60 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This Source Code Form is "Incompatible With Secondary Licenses", as - * defined by the Mozilla Public License, v. 2.0. - */ - -hr {margin: 20px auto 40px} - -.bz_private { color:darkred } - -h1 { - font-size: 2em; - margin-bottom: 10px; -} - -/* bugfields is table of all fields and values */ -.bugfields { - font-size: small; - background: #eee; - padding: 5px; - border: 1px solid silver; - width: 100%; -} - -.bugfields tr { - vertical-align: top; -} - -.bugfields th { - width: 10em; - text-align: left; - font-weight: normal; - line-height: 150%; -} - -.bugfields td { - font-weight: bold; - line-height: 150%; -} - -.bugfields .rightcell { - padding-left: 10px; -} - -/* set line-height to normal for nested tables of bugfields table */ -.bugfields table th, .bugfields table td { - line-height: 100%; - width: auto; -} - -.bugfields table.timetracking th, .bugfields table.timetracking td { - width: 10em; -} - -.error { - color: red; - font-weight: bold; -} diff --git a/skins/standard/summarize-time.css b/skins/standard/summarize-time.css deleted file mode 100644 index 84a27c736..000000000 --- a/skins/standard/summarize-time.css +++ /dev/null @@ -1,65 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This Source Code Form is "Incompatible With Secondary Licenses", as - * defined by the Mozilla Public License, v. 2.0. - */ - -table.zeroitems, table.realitems { - margin-left: 2.0em; - margin-top: 2px; - border: 1px solid black; - border: 1px solid black; -} - -tr.section_total { - background: #000000; - color: #ffffff; -} - -td.subtotal { - background: #B0C0D9; - text-align: right; - font-weight: bold; - width: 8em; -} - -.zeroitems .bug_header { background: #d0e0f0 } -.zeroitems .bug_header2 { background: #f9f9f9 } - -/* the fixed headers -- .number uses bug_header so hack it here */ -.number .bug_header, .number .bug_header2 { background: #d0e0f0 } -.owner_header { background: #d0e0f0 } - - -/* the details headers */ -.number .owner_header, .owner .bug_header { background: #ffffff } -.number .owner_header2, .owner .bug_header2 { background: #EFEFEF } - -table.owner, table.number, table.zeroitems { - width: 90%; - border-collapse: collapse; -} - -.owner th, .owner td, .number th, .number td, -.zeroitems th, .zeroitems td { - padding: 0.2em; -} - -.warning_swapped_data { - border: 1px solid red; - margin: 1em; - padding: 0.5em; -} - -th.bug_id, th.bug_status { - white-space: nowrap; - text-align: left; - padding-right: 2em; - width: 6em; -} - -.time_info { - padding-right: 3em; -} -- cgit v1.2.3-24-g4f1b