mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-02 20:54:42 +03:00
Minimal appearance fixes in addition to #663
This commit is contained in:
parent
ef3303eb37
commit
7b9e134a8f
|
@ -154,6 +154,12 @@ html, body {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.well {
|
||||||
|
-webkit-box-shadow: none;
|
||||||
|
-moz-box-shadow: none;
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
.well .form-actions {
|
.well .form-actions {
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
@ -168,7 +174,6 @@ html, body {
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-tabs > li {
|
.nav-tabs > li {
|
||||||
margin-bottom: -3px;
|
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -184,13 +189,9 @@ html, body {
|
||||||
background: #f5f5f5;
|
background: #f5f5f5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabs-below > .nav-tabs {
|
.tabbable.first-tab-active .tab-content
|
||||||
border-bottom: none !important;
|
{
|
||||||
}
|
border-top-right-radius: 0;
|
||||||
|
|
||||||
.tabs-below > .nav-tabs > li {
|
|
||||||
margin-bottom: -2px !important;
|
|
||||||
margin-right: 0 !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer, #push {
|
#footer, #push {
|
||||||
|
|
|
@ -4,4 +4,10 @@ $('.js-tooltip').tooltip({
|
||||||
delay: 1000
|
delay: 1000
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$('a[data-toggle="tab"]:first').on('shown', function (e) {
|
||||||
|
$(e.target).parents('.tabbable').addClass('first-tab-active');
|
||||||
|
});
|
||||||
|
$('a[data-toggle="tab"]:not(:first)').on('shown', function (e) {
|
||||||
|
$(e.target).parents('.tabbable').removeClass('first-tab-active');
|
||||||
|
});
|
||||||
$('.form-switcher a:first').tab('show');
|
$('.form-switcher a:first').tab('show');
|
Loading…
Reference in New Issue
Block a user