summaryrefslogtreecommitdiffstats
path: root/extensions/MozReview/web/style
diff options
context:
space:
mode:
authorMark Côté <mcote@alumni.uwaterloo.ca>2015-03-05 17:07:27 +0100
committerMark Côté <mcote@alumni.uwaterloo.ca>2015-03-05 17:14:46 +0100
commit7d75b6edad8cf5e312d32859f64e49538b5c79de (patch)
tree3deaa031bb7fab54c498326dc6b33503b35355a0 /extensions/MozReview/web/style
parent8d20ba6e2308484b6685c35a832033fcfff89f17 (diff)
downloadbugzilla-7d75b6edad8cf5e312d32859f64e49538b5c79de.tar.gz
bugzilla-7d75b6edad8cf5e312d32859f64e49538b5c79de.tar.xz
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.
Diffstat (limited to 'extensions/MozReview/web/style')
-rw-r--r--extensions/MozReview/web/style/mozreview.css54
1 files changed, 54 insertions, 0 deletions
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;
+}