Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-rest-framework
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
django-rest-framework
Commits
7b9e134a
Commit
7b9e134a
authored
Feb 22, 2013
by
Michael Elovskikh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minimal appearance fixes in addition to #663
parent
ef3303eb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
10 deletions
+16
-10
rest_framework/static/rest_framework/css/default.css
+9
-8
rest_framework/static/rest_framework/js/default.js
+7
-2
No files found.
rest_framework/static/rest_framework/css/default.css
View file @
7b9e134a
...
@@ -154,6 +154,12 @@ html, body {
...
@@ -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 {
...
@@ -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 {
...
@@ -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
{
...
...
rest_framework/static/rest_framework/js/default.js
View file @
7b9e134a
...
@@ -4,4 +4,10 @@ $('.js-tooltip').tooltip({
...
@@ -4,4 +4,10 @@ $('.js-tooltip').tooltip({
delay
:
1000
delay
:
1000
});
});
$
(
'.form-switcher a:first'
).
tab
(
'show'
);
$
(
'a[data-toggle="tab"]:first'
).
on
(
'shown'
,
function
(
e
)
{
\ No newline at end of file
$
(
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'
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment