Permalink
Browse files

Use silk icons, and add our own silk icon for cukes.

  • Loading branch information...
aslakhellesoy committed Jun 12, 2011
1 parent f17b85f commit ca2bb27bbc8936d61366c3cfd85c140376abec30
@@ -26,7 +26,12 @@ Feature: file system commands
- One
- Two
- Given a file named "foo/bar/example.rb" with:
+ Given a file named "foo/bar/example.feature" with:
+ """
+ Feature: Example
+ Hello World
+ """
+ And a file named "foo/bar/example.rb" with:
"""
puts "\e[31mhello world\e[0m"
@@ -1,15 +1,27 @@
+.filesystem ul {
+ margin: 0;
+ padding: 0;
+}
+
+.filesystem li {
+ background: #F8F8F8;
+ list-style-type: none;
+ padding-left: 20px;
+ margin-top: 4px;
+}
+
.filesystem li.folder {
- list-style-image: url('../images/folder.png');
+ background: url('../images/folder.png') no-repeat;
}
.filesystem li.feature {
- list-style-image: url('../images/cucumber.png');
+ background: url('../images/page_white_gherkin.png') no-repeat;
}
.filesystem li.rb {
- list-style-image: url('../images/ruby.png');
+ background: url('../images/page_white_ruby.png') no-repeat;
}
-.filesystem .content {
- display: block;
-}
+.filesystem li.unknown {
+ background: url('../images/page_white.png') no-repeat;
+}
View
@@ -3,9 +3,8 @@
<% children(file).each do |child|
css_class = File.directory?(child) ? 'folder' : File.extname(child) == '' ? 'unknown' : File.extname(child)[1..-1]
-%>
- <li class="<%= css_class %>"><%= File.basename(child) -%>
+ <li class="<%= css_class %>"><span class="filename"><%= File.basename(child) -%></span>
<% if File.file?(child) %>
- <%= pygmentize(child) %>
<% end %>
<% again(erb, _erbout, child) -%>
</li>
View
@@ -0,0 +1,22 @@
+Silk icon set 1.3
+
+_________________________________________
+Mark James
+http://www.famfamfam.com/lab/icons/silk/
+_________________________________________
+
+This work is licensed under a
+Creative Commons Attribution 2.5 License.
+[ http://creativecommons.org/licenses/by/2.5/ ]
+
+This means you may use it for any purpose,
+and make any changes you like.
+All I ask is that you include a link back
+to this page in your credits.
+
+Are you using this icon set? Send me an email
+(including a link or picture if available) to
+mjames@gmail.com
+
+Any other questions about this icon set please
+contact mjames@gmail.com
@@ -1,15 +0,0 @@
-The Ruby Logo is Copyright (c) 2006, Yukihiro Matsumoto. It is licensed
-under the terms of the Creative Commons Attribution-ShareAlike 2.5
-agreement:
-
-http://creativecommons.org/licenses/by-sa/2.5/
-
-We ask that you do not use the logo to represent something other than
-the Ruby Programming language. If you have questions about the logo,
-please join the VIT-Discuss mailing list and ask your questions there:
-
-http://rubyforge.org/mailman/listinfo/vit-discuss/
-
-Thank you,
-
-The Ruby Visual Identity Team
Deleted file not rendered
View
BIN templates/images/folder.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Deleted file not rendered
View
@@ -2,6 +2,7 @@
<html>
<head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
<title><%= title %></title>
<link rel="stylesheet" href="<%= '../' * depth %>css/earth-pygments.css" type="text/css" media="screen, projection" />
<link rel="stylesheet" href="<%= '../' * depth %>css/console.css" type="text/css" media="screen, projection" />

0 comments on commit ca2bb27

Please sign in to comment.