summaryrefslogtreecommitdiff
path: root/share/www/style
diff options
context:
space:
mode:
authorPaul Joseph Davis <davisp@apache.org>2009-09-22 19:37:04 +0000
committerPaul Joseph Davis <davisp@apache.org>2009-09-22 19:37:04 +0000
commit1029981eac66efdd8dcbc1beea0913d296459131 (patch)
tree145b29e536441e66ea65841371273db4e22cabd6 /share/www/style
parentdd954c5d0950476532d63b6c05435018de388b87 (diff)
Make Futon's Source tab editable.
Thanks Sven Helmberger and Dan Walters git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@817793 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/style')
-rw-r--r--share/www/style/layout.css12
1 files changed, 7 insertions, 5 deletions
diff --git a/share/www/style/layout.css b/share/www/style/layout.css
index 0b513cd3..c1a6a77b 100644
--- a/share/www/style/layout.css
+++ b/share/www/style/layout.css
@@ -428,22 +428,23 @@ body.fullwidth #wrap { margin-right: 0; }
float: left; margin-left: 0; padding-left: 2px; padding-right: .5em;
padding-top: 2px;
}
-#fields tbody.content input, #fields tbody.content textarea {
+#fields tbody.content input, #fields tbody.content textarea, #fields tbody.source textarea {
background: #fff; border: 1px solid; border-color: #999 #ddd #ddd #999;
margin: 0; padding: 1px; width: 100%;
}
#fields tbody.content th input { font-family: inherit; font-size: inherit;
font-weight: bold;
}
-#fields tbody.content td input, #fields tbody.content td textarea {
+#fields tbody.content td input, #fields tbody.content td textarea, #fields tbody.source textarea {
font: 11px normal "DejaVu Sans Mono",Monaco,monospace;
}
#fields tbody.content input.invalid,
-#fields tbody.content textarea.invalid {
+#fields tbody.content textarea.invalid,
+#fields tbody.source textarea.invalid {
background: #f9f4f4; border-color: #b66 #ebb #ebb #b66;
}
-#fields tbody.content div.grippie { padding: 0 1px; width: 100%; }
-#fields tbody.content div.error { color: #d33; }
+#fields tbody.content div.grippie, #fields tbody.source div.gripple { padding: 0 1px; width: 100%; }
+#fields tbody.content div.error, #fields tbody.source div.error { color: #d33; }
#fields tbody.content td ul.attachments { list-style: none; margin: 0;
padding: 0;
@@ -469,6 +470,7 @@ body.fullwidth #wrap { margin-right: 0; }
#fields tbody.source td pre { color: #999; font-size: 11px; line-height: 1.6em;
margin: 0; overflow: auto; white-space: pre-wrap; width: 100%;
}
+#fields tbody.source td.editinline-container { padding-left: 14px; padding-right: 48px; }
/* Test suite */