update log.js and adapt styles for fold name tags
This commit is contained in:
parent
079998093b
commit
f1a767a09f
2
assets/scripts/vendor/log.js
vendored
2
assets/scripts/vendor/log.js
vendored
File diff suppressed because one or more lines are too long
|
@ -49,10 +49,30 @@ pre#log
|
||||||
&.open
|
&.open
|
||||||
height: auto
|
height: auto
|
||||||
background-image: inline-image('ui/log.fold.open.2.png')
|
background-image: inline-image('ui/log.fold.open.2.png')
|
||||||
&.show-first-line:not(.open)
|
// &.show-first-line:not(.open)
|
||||||
height: 36px
|
// height: 36px
|
||||||
p:not(:first-child):not(:last-child)
|
// p:not(:first-child):not(:last-child)
|
||||||
display: none
|
// 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
|
#log.loading
|
||||||
padding: 25px 0 0 10px
|
padding: 25px 0 0 10px
|
||||||
|
|
|
@ -9,7 +9,7 @@ puts 'simulating git fetch (unpacking objects)'
|
||||||
print "remote: Unpacking objects: #{i.to_s.rjust(3)}% (1/43) \r"
|
print "remote: Unpacking objects: #{i.to_s.rjust(3)}% (1/43) \r"
|
||||||
end
|
end
|
||||||
print "remote: Unpacking objects: 100% (1/43) \r\n"
|
print "remote: Unpacking objects: 100% (1/43) \r\n"
|
||||||
exit
|
puts
|
||||||
|
|
||||||
puts 'progress on one same line (faster)'
|
puts 'progress on one same line (faster)'
|
||||||
1.upto(200) do |i|
|
1.upto(200) do |i|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user