diff options
| author | Tom Christie | 2012-02-07 08:58:15 +0000 |
|---|---|---|
| committer | Tom Christie | 2012-02-07 08:58:15 +0000 |
| commit | 15fc26f50b94d41d1024a3f40fe21af5f2d07bfb (patch) | |
| tree | 91233e9e957415dcad8402ae57d48f1216391f9a /djangorestframework/static | |
| parent | 87ef85587dd58afa80ef2955c819c974edaa2cfc (diff) | |
| download | django-rest-framework-15fc26f50b94d41d1024a3f40fe21af5f2d07bfb.tar.bz2 | |
Fix up packaging and staticfiles changes. Fixes #155. Fixes #153. Fixes #150.
Diffstat (limited to 'djangorestframework/static')
| -rw-r--r-- | djangorestframework/static/css/djangorestframework.css | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/djangorestframework/static/css/djangorestframework.css b/djangorestframework/static/css/djangorestframework.css index 8fc4bace..1e75b8e8 100644 --- a/djangorestframework/static/css/djangorestframework.css +++ b/djangorestframework/static/css/djangorestframework.css @@ -1129,6 +1129,58 @@ fieldset.monospace textarea { float: right; } +body.login { + background: #eee; +} + +.login #container { + background: white; + border: 1px solid #ccc; + width: 28em; + min-width: 300px; + margin-left: auto; + margin-right: auto; + margin-top: 100px; +} + +.login #content-main { + width: 100%; +} + +.login form { + margin-top: 1em; +} + +.login .form-row { + padding: 4px 0; + float: left; + width: 100%; +} + +.login .form-row label { + float: left; + width: 9em; + padding-right: 0.5em; + line-height: 2em; + text-align: right; + font-size: 1em; + color: #333; +} + +.login .form-row #id_username, .login .form-row #id_password { + width: 14em; +} + +.login span.help { + font-size: 10px; + display: block; +} + +.login .submit-row { + clear: both; + padding: 1em 0 0 9.4em; +} + /* Overrides specific to REST framework */ #site-name a { @@ -1147,6 +1199,11 @@ fieldset.monospace textarea { } /* Custom styles */ + .version { font-size: 8px; } + +.form-row { + border-bottom: 0.25em !important; +} |
