From 7d75b6edad8cf5e312d32859f64e49538b5c79de Mon Sep 17 00:00:00 2001 From: Mark Côté Date: Thu, 5 Mar 2015 11:07:27 -0500 Subject: Bug 1102428 - Extension to display MozReview data. r=glob Add an extension called "MozReview" (and an addition hook to bug/edit.html.tmpl) that displays a table of MozReview request summaries on show_bug if there are any MozReview attachments in the current bug. --- extensions/MozReview/web/style/mozreview.css | 54 ++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 extensions/MozReview/web/style/mozreview.css (limited to 'extensions/MozReview/web/style') diff --git a/extensions/MozReview/web/style/mozreview.css b/extensions/MozReview/web/style/mozreview.css new file mode 100644 index 000000000..5c021ea96 --- /dev/null +++ b/extensions/MozReview/web/style/mozreview.css @@ -0,0 +1,54 @@ +/* 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. */ + +.mozreview-table { + background: #fff; + border: none; + border-collapse: collapse; + border-bottom: 1px solid rgba(0, 0, 0, 0.2); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); +} + +.mozreview-table th { + text-align: left; + padding: 4px; +} + +.mozreview-table td { + padding: 4px; +} + +.mozreview-table thead, .mozreview-table tfoot { + background-color: #eee; + color: #404040; +} + +.mozreview-requests { + background: #fff; + border: none; + border-collapse: collapse; +} + +.mozreview-requests th { + padding: 2px; +} + +.mozreview-requests td { + padding: 2px; +} + +.mozreview-requests .mozreview-summary { + text-align: left; +} + +.mozreview-requests .mozreview-open-issues { + text-align: center; +} + +.mozreview-child-request-summary { + text-indent: 1em; +} -- cgit v1.2.3-24-g4f1b