diff options
author | Lucas Mazza <lucastmazza@gmail.com> | 2013-01-02 12:59:02 -0200 |
---|---|---|
committer | Lucas Mazza <lucastmazza@gmail.com> | 2013-01-02 12:59:02 -0200 |
commit | ed8122c1d1c93e67ab1c37def6871385978920a4 (patch) | |
tree | d897bbb7a16e64ea748afce545395d616583cefb /actionpack/lib/action_dispatch/middleware/templates | |
parent | fb61a80eae9f83d70c10d558e3047377e560320c (diff) | |
download | rails-ed8122c1d1c93e67ab1c37def6871385978920a4.tar.gz rails-ed8122c1d1c93e67ab1c37def6871385978920a4.tar.bz2 rails-ed8122c1d1c93e67ab1c37def6871385978920a4.zip |
Cleanup some unnecessary CSS on the new error page and reformat some lines.
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware/templates')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/templates/rescues/layout.erb | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/templates/rescues/layout.erb b/actionpack/lib/action_dispatch/middleware/templates/rescues/layout.erb index c3a3d3e32e..9be2b65ef4 100644 --- a/actionpack/lib/action_dispatch/middleware/templates/rescues/layout.erb +++ b/actionpack/lib/action_dispatch/middleware/templates/rescues/layout.erb @@ -4,7 +4,11 @@ <meta charset="utf-8" /> <title>Action Controller: Exception caught</title> <style> - body { background-color: #fff; color: #333; margin: 0px} + body { + background-color: #FFF; + color: #333; + margin: 0px; + } body, p, ol, ul, td { font-family: helvetica, verdana, arial, sans-serif; @@ -18,18 +22,17 @@ } pre.box { - border: #eee solid 1px; + border: 1px solid #EEE; padding: 10px; margin: 0px; width: 958px; } header { - background: whiteSmoke; - filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#980905',endColorstr='#c52f24'); - background: -webkit-gradient(linear,0% 0,0% 100%,from(#980905),to(#C52F24)); - background: -moz-linear-gradient(270deg,#980905,#C52F24); - color: #fff; + background: #980905; + background: -webkit-linear-gradient(270deg, #980905, #C52F24); + background: linear-gradient(270deg, #980905, #C52F24); + color: #FFF; padding: 0.5em; } @@ -41,8 +44,6 @@ .details { border: 1px solid #E5E5E5; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; border-radius: 4px; margin: 1em 0px; display: block; @@ -84,7 +85,7 @@ .source .data { font-size: 80%; overflow: auto; - background-color: #fff; + background-color: #FFF; } .info { @@ -104,7 +105,7 @@ } .line:hover { - background-color: #f6f6f6; + background-color: #F6F6F6; } .line.active { @@ -113,7 +114,7 @@ a { color: #980905; } a:visited { color: #666; } - a:hover { color: #C52F24;} + a:hover { color: #C52F24; } </style> </head> <body> |