diff options
| author | Alec Perkins | 2012-09-09 15:17:44 -0400 |
|---|---|---|
| committer | Alec Perkins | 2012-09-09 15:17:44 -0400 |
| commit | 8c0bd39f126ddd82136b708aa0ba6339bfeedcd4 (patch) | |
| tree | e03e183e5330b6f847f81522770dfd35191ed172 /djangorestframework/static | |
| parent | 45001033378a49986d4cd7f5bdf4673b083cdbd0 (diff) | |
| download | django-rest-framework-8c0bd39f126ddd82136b708aa0ba6339bfeedcd4.tar.bz2 | |
Styling of POST, PUT forms. Add add_class filter.
Diffstat (limited to 'djangorestframework/static')
| -rw-r--r-- | djangorestframework/static/djangorestframework/css/bootstrap-tweaks.css | 13 | ||||
| -rw-r--r-- | djangorestframework/static/djangorestframework/css/style.css | 6 |
2 files changed, 18 insertions, 1 deletions
diff --git a/djangorestframework/static/djangorestframework/css/bootstrap-tweaks.css b/djangorestframework/static/djangorestframework/css/bootstrap-tweaks.css new file mode 100644 index 00000000..f80b312a --- /dev/null +++ b/djangorestframework/static/djangorestframework/css/bootstrap-tweaks.css @@ -0,0 +1,13 @@ +/* + +This CSS file contains some tweaks specific to the included Bootstrap theme. +It's separate from `style.css` so that it can be easily overridden by replacing +a single block in the template. + +*/ + + +.form-actions { + background: transparent; + border-top-color: transparent; +}
\ No newline at end of file diff --git a/djangorestframework/static/djangorestframework/css/style.css b/djangorestframework/static/djangorestframework/css/style.css index fbc4a008..5c44e93f 100644 --- a/djangorestframework/static/djangorestframework/css/style.css +++ b/djangorestframework/static/djangorestframework/css/style.css @@ -51,4 +51,8 @@ h2, h3 { #options-form { margin-right: 1em; -}
\ No newline at end of file +} + +.errorlist { + margin-top: 0.5em; +} |
