[update] New line added icon
This commit is contained in:
@@ -483,7 +483,35 @@ body.project
|
||||
left 0
|
||||
width 38px
|
||||
padding 0.5em
|
||||
opacity 0.2
|
||||
|
||||
.line
|
||||
position relative
|
||||
|
||||
.index
|
||||
opacity 0.2
|
||||
|
||||
.added-icon
|
||||
display none
|
||||
position absolute
|
||||
top 50%
|
||||
right -2px
|
||||
width 6px
|
||||
height 6px
|
||||
margin-top -3px
|
||||
|
||||
.bar
|
||||
display block
|
||||
position absolute
|
||||
background #17f861
|
||||
|
||||
&.bar-1
|
||||
left 2px
|
||||
width 2px
|
||||
height 100%
|
||||
&.bar-2
|
||||
top 2px
|
||||
width 100%
|
||||
height 2px
|
||||
|
||||
.current
|
||||
pre
|
||||
@@ -495,31 +523,6 @@ body.project
|
||||
margin-left 38px
|
||||
background none
|
||||
outline none
|
||||
|
||||
.differences
|
||||
position absolute
|
||||
top 0
|
||||
left 38px
|
||||
padding 0.5em
|
||||
pointer-events none
|
||||
|
||||
pre
|
||||
code
|
||||
|
||||
.value
|
||||
visibility hidden
|
||||
|
||||
&.inactive
|
||||
display none
|
||||
|
||||
span
|
||||
&.removed
|
||||
display none
|
||||
border 1px solid red
|
||||
|
||||
.value
|
||||
display none
|
||||
|
||||
&.added
|
||||
border 1px solid #b0ea23
|
||||
background rgba(176, 234, 35, 0.1)
|
||||
.state-show-differences
|
||||
section.main section.file section.code .lines .line.added .added-icon
|
||||
display block
|
||||
|
||||
Reference in New Issue
Block a user