aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/static
diff options
context:
space:
mode:
authorTom Christie2013-02-22 08:39:26 +0000
committerTom Christie2013-02-22 08:39:26 +0000
commit048ef6a03988d371f25352eb0aba24c40b997054 (patch)
treec806337915cb5723cdd494741abdffc788fa2393 /rest_framework/static
parent03afaee423967e09fe266e9fe124f661c1e10ccb (diff)
downloaddjango-rest-framework-048ef6a03988d371f25352eb0aba24c40b997054.tar.bz2
Polishing touches to #663
Diffstat (limited to 'rest_framework/static')
-rw-r--r--rest_framework/static/rest_framework/css/default.css43
1 files changed, 37 insertions, 6 deletions
diff --git a/rest_framework/static/rest_framework/css/default.css b/rest_framework/static/rest_framework/css/default.css
index 73107527..4e7cbc06 100644
--- a/rest_framework/static/rest_framework/css/default.css
+++ b/rest_framework/static/rest_framework/css/default.css
@@ -154,12 +154,43 @@ html, body {
margin-bottom: 0;
}
-.tab-content {
- padding-top: 25px;
- background: #fff;
- border: 1px solid #ddd;
- border-top: none;
- border-radius: 0 0 4px 4px;
+.well .form-actions {
+ padding-bottom: 0;
+ margin-bottom: 0;
+}
+
+.well form {
+ margin-bottom: 0;
+}
+
+.nav-tabs {
+ border: 0;
+}
+
+.nav-tabs > li {
+ margin-bottom: -3px;
+ float: right;
+}
+
+.nav-tabs li a {
+ margin-right: 0;
+}
+
+.nav-tabs > .active > a {
+ background: #f5f5f5;
+}
+
+.nav-tabs > .active > a:hover {
+ background: #f5f5f5;
+}
+
+.tabs-below > .nav-tabs {
+ border-bottom: none !important;
+}
+
+.tabs-below > .nav-tabs > li {
+ margin-bottom: -2px !important;
+ margin-right: 0 !important;
}
#footer, #push {