Skip to content

Commit

Permalink
bring back the pinstripe background
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Sep 12, 2013
1 parent 3827204 commit 4d48c14
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 4 deletions.
File renamed without changes
Binary file added lib/Mojolicious/public/mojo/pinstripe-light.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/Mojolicious/templates/exception.development.html.ep
Expand Up @@ -37,7 +37,7 @@
}
.code {
background-color: #1a1a1a;
background: url(<%= url_for '/mojo/pinstripe.gif' %>);
background: url(<%= url_for '/mojo/pinstripe-dark.gif' %>);
color: #eee;
text-shadow: #333 0 1px 0;
}
Expand Down
8 changes: 7 additions & 1 deletion lib/Mojolicious/templates/perldoc.html.ep
Expand Up @@ -23,11 +23,17 @@
}
h1 a, h2 a, h3 a { text-decoration: none }
pre {
border-left: 1px solid #ccc;
background: url(<%= url_for '/mojo/pinstripe-light.gif' %>);
border: 1px solid #d1d1d1;
border-radius: 5px;
box-shadow: 0 1px #fff, inset -1px 1px 4px rgba(0, 0, 0, 0.1);
color: #4d4d4c;
font: 0.9em Consolas, Menlo, Monaco, Courier, monospace;
line-height: 1.5em;
padding-bottom: 1.5em;
padding-top: 1.5em;
text-align: left;
text-shadow: #eee 0 1px 0;
white-space: pre-wrap;
}
#footer {
Expand Down
4 changes: 3 additions & 1 deletion t/mojolicious/exception_lite_app.t
Expand Up @@ -226,7 +226,9 @@ $t->get_ok('/mojo/logo-white.png')->status_is(200)
->content_type_is('image/png');
$t->get_ok('/mojo/noraptor.png')->status_is(200)->content_type_is('image/png');
$t->get_ok('/mojo/notfound.png')->status_is(200)->content_type_is('image/png');
$t->get_ok('/mojo/pinstripe.gif')->status_is(200)
$t->get_ok('/mojo/pinstripe-dark.gif')->status_is(200)
->content_type_is('image/gif');
$t->get_ok('/mojo/pinstripe-light.gif')->status_is(200)
->content_type_is('image/gif');

done_testing();
Expand Down

0 comments on commit 4d48c14

Please sign in to comment.