aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/static
diff options
context:
space:
mode:
authorAlec Perkins2012-09-08 00:40:11 -0400
committerAlec Perkins2012-09-08 00:40:11 -0400
commit4cc3dd3b236d6f5eb17d08648780afb86b1bb9af (patch)
tree938f8d57b8522826fad32c1734c436b84aa37aca /djangorestframework/static
parent94029acd28d058a0daf748de3cc7be482ceb06b9 (diff)
downloaddjango-rest-framework-4cc3dd3b236d6f5eb17d08648780afb86b1bb9af.tar.bz2
Disable OPTIONS if method isn't allowed
Diffstat (limited to 'djangorestframework/static')
-rw-r--r--djangorestframework/static/djangorestframework/css/style.css13
1 files changed, 13 insertions, 0 deletions
diff --git a/djangorestframework/static/djangorestframework/css/style.css b/djangorestframework/static/djangorestframework/css/style.css
index 8ab89510..3d6fdbdc 100644
--- a/djangorestframework/static/djangorestframework/css/style.css
+++ b/djangorestframework/static/djangorestframework/css/style.css
@@ -30,4 +30,17 @@ h2, h3 {
.format-option {
font-family: Menlo, Consolas, "Andale Mono", "Lucida Console", monospace;
+}
+
+#options-form {
+ position: relative;
+}
+
+/* To allow tooltips to work on disabled elements */
+.disabled-tooltip-shield {
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
} \ No newline at end of file