summaryrefslogtreecommitdiffstats
path: root/extensions/FlagTypeComment/web/styles/ftc.css
diff options
context:
space:
mode:
authorKohei Yoshino <kohei.yoshino@gmail.com>2018-09-26 17:29:19 +0200
committerDylan William Hardison <dylan@hardison.net>2018-09-26 17:29:19 +0200
commit291bb971595489070ed8db3da1785f5a3977a15a (patch)
treeaabee50d9dccacb21cf57dce1a23dce586079e64 /extensions/FlagTypeComment/web/styles/ftc.css
parentdeec4ab75d6478f51d6c72a230343ab955116a6b (diff)
downloadbugzilla-291bb971595489070ed8db3da1785f5a3977a15a.tar.gz
bugzilla-291bb971595489070ed8db3da1785f5a3977a15a.tar.xz
Bug 1489718 - Insert form widgets for approval flag requests instead of free-form comment text
Diffstat (limited to 'extensions/FlagTypeComment/web/styles/ftc.css')
-rw-r--r--extensions/FlagTypeComment/web/styles/ftc.css58
1 files changed, 58 insertions, 0 deletions
diff --git a/extensions/FlagTypeComment/web/styles/ftc.css b/extensions/FlagTypeComment/web/styles/ftc.css
new file mode 100644
index 000000000..93d190935
--- /dev/null
+++ b/extensions/FlagTypeComment/web/styles/ftc.css
@@ -0,0 +1,58 @@
+/* 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. */
+
+fieldset.approval-request {
+ margin: 1em 0;
+}
+
+fieldset.approval-request legend {
+ font-weight: bold;
+}
+
+fieldset.approval-request th {
+ padding: .4em;
+ width: 20em;
+ line-height: 1.25;
+ font-weight: normal;
+ text-align: right;
+ vertical-align: top;
+ white-space: normal !important;
+}
+
+fieldset.approval-request td {
+ vertical-align: middle;
+}
+
+fieldset.approval-request label {
+ font-weight: normal !important;
+}
+
+fieldset.approval-request input[type="text"] {
+ width: 10em;
+}
+
+fieldset.approval-request input.long[type="text"] {
+ width: 40em;
+}
+
+fieldset.approval-request textarea {
+ width: 40em;
+ min-height: 5em;
+ font-size: inherit;
+ line-height: inherit;
+ font-family: inherit;
+ resize: vertical;
+}
+
+fieldset.approval-request div {
+ padding: 0 !important;
+}
+
+fieldset.approval-request table ~ p:last-child {
+ margin: .4em;
+ text-align: right;
+}