From 048ef6a03988d371f25352eb0aba24c40b997054 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Fri, 22 Feb 2013 08:39:26 +0000 Subject: Polishing touches to #663 --- .../static/rest_framework/css/default.css | 43 +++++++++++++++++++--- 1 file changed, 37 insertions(+), 6 deletions(-) (limited to 'rest_framework/static') 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 { -- cgit v1.2.3