update log.js and adapt styles for fold name tags

This commit is contained in:
Sven Fuchs 2013-02-27 22:39:10 +01:00
parent 079998093b
commit f1a767a09f
3 changed files with 26 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@ -49,10 +49,30 @@ pre#log
&.open
height: auto
background-image: inline-image('ui/log.fold.open.2.png')
&.show-first-line:not(.open)
height: 36px
p:not(:first-child):not(:last-child)
display: none
// &.show-first-line:not(.open)
// height: 36px
// p:not(:first-child):not(:last-child)
// display: none
&:not(.open) p:first-of-type
visibility: visible
height: auto
min-height: 16px
.fold-start:not(.fold),
.fold-end
display: none
.fold span.fold-name
position: absolute
display: block
right: 20px
margin-top: 3px
padding: 0px 5px 2px 5px
line-height: 10px
font-size: 10px
background-color: #999
border-radius: 4px
color: #eee
#log.loading
padding: 25px 0 0 10px

View File

@ -9,7 +9,7 @@ puts 'simulating git fetch (unpacking objects)'
print "remote: Unpacking objects: #{i.to_s.rjust(3)}% (1/43) \r"
end
print "remote: Unpacking objects: 100% (1/43) \r\n"
exit
puts
puts 'progress on one same line (faster)'
1.upto(200) do |i|