[refs #385] zip image

This commit is contained in:
Alexander Machehin 2012-04-17 18:06:04 +06:00
parent 05ec6cbac3
commit f31b243ae9
3 changed files with 7 additions and 2 deletions

BIN
app/assets/images/zip.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -818,14 +818,19 @@ div#git_help_data p {
.zip { .zip {
float: left; float: left;
padding-left: 5px; padding-left: 5px;
margin-top: 6px;
list-style: none; list-style: none;
} }
.nav > li > a:hover { .nav > li > a:hover {
text-decoration: none; text-decoration: none;
background-color: #D6E4E1; background-color: #DCECFA;
} }
.dropdown-menu { .dropdown-menu {
min-width: 0; min-width: 0;
} }
.dropdown.open .dropdown-toggle {
background: none repeat scroll 0 0;
}

View File

@ -2,7 +2,7 @@
%ul.nav.zip %ul.nav.zip
%li#menu-archive.dropdown %li#menu-archive.dropdown
%a.dropdown-toggle{"data-toggle" => "dropdown", :href => "#menu-archive"} %a.dropdown-toggle{"data-toggle" => "dropdown", :href => "#menu-archive"}
ZIP =image_tag 'zip.png', :alt => 'ZIP'
%b.caret %b.caret
%ul.dropdown-menu %ul.dropdown-menu
%li=link_to "tar.gz", archive_path(project.id, 'tar', @treeish) %li=link_to "tar.gz", archive_path(project.id, 'tar', @treeish)