diff options
| author | hukl <contact@smyck.org> | 2009-09-03 20:41:45 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-09-03 20:41:45 +0200 |
| commit | 16e5ca741cf4935c1ebed64828b1f2f2472b06ee (patch) | |
| tree | cc5c50833d83951f1b45996d4bf94bdf3fe3682c | |
| parent | 1b13877b6b028f7f290689a3c8d4ef0c181e594a (diff) | |
flash error styling and more padding (top/bottom) for highlighted texts
| -rw-r--r-- | app/views/layouts/admin.html.erb | 3 | ||||
| -rw-r--r-- | public/stylesheets/admin.css | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/app/views/layouts/admin.html.erb b/app/views/layouts/admin.html.erb index 2d88070..9b1f3d3 100644 --- a/app/views/layouts/admin.html.erb +++ b/app/views/layouts/admin.html.erb | |||
| @@ -47,6 +47,9 @@ | |||
| 47 | <div style="clear: both;"></div> | 47 | <div style="clear: both;"></div> |
| 48 | <div id="flash"> | 48 | <div id="flash"> |
| 49 | <%= flash[:notice] %> | 49 | <%= flash[:notice] %> |
| 50 | <% if flash[:error] %> | ||
| 51 | <span id="flash_error"><%= flash[:error] %></span> | ||
| 52 | <% end %> | ||
| 50 | </div> | 53 | </div> |
| 51 | <div id="content"> | 54 | <div id="content"> |
| 52 | <%= yield :layout %> | 55 | <%= yield :layout %> |
diff --git a/public/stylesheets/admin.css b/public/stylesheets/admin.css index 2caffd3..f7ef868 100644 --- a/public/stylesheets/admin.css +++ b/public/stylesheets/admin.css | |||
| @@ -48,6 +48,16 @@ th { | |||
| 48 | width: 12px; | 48 | width: 12px; |
| 49 | } | 49 | } |
| 50 | 50 | ||
| 51 | span#flash_error { | ||
| 52 | color: #ffffff; | ||
| 53 | letter-spacing: 1px; | ||
| 54 | background-color: #ff9600; | ||
| 55 | padding-left: 5px; | ||
| 56 | padding-right: 5px; | ||
| 57 | padding-top: 1px; | ||
| 58 | padding-bottom: 1px; | ||
| 59 | } | ||
| 60 | |||
| 51 | /* Pagination */ | 61 | /* Pagination */ |
| 52 | 62 | ||
| 53 | div.pagination { | 63 | div.pagination { |
| @@ -87,6 +97,8 @@ div.pagination span.current, div.pagination a:hover { | |||
| 87 | letter-spacing: 1px; | 97 | letter-spacing: 1px; |
| 88 | padding-left: 5px; | 98 | padding-left: 5px; |
| 89 | padding-right: 5px; | 99 | padding-right: 5px; |
| 100 | padding-top: 1px; | ||
| 101 | padding-bottom: 1px; | ||
| 90 | text-transform: lowercase; | 102 | text-transform: lowercase; |
| 91 | } | 103 | } |
| 92 | 104 | ||
| @@ -260,7 +272,7 @@ textarea#page_abstract { | |||
| 260 | height: 600px; | 272 | height: 600px; |
| 261 | } | 273 | } |
| 262 | 274 | ||
| 263 | #page_editor #metadata, #page_editor #content { | 275 | #page_editor #metadata, #page_editor #content, #admin_overview { |
| 264 | margin-left: -125px; | 276 | margin-left: -125px; |
| 265 | } | 277 | } |
| 266 | 278 | ||
