Show bookmarks instead of fold indicators unless hovering

This commit is contained in:
Nathan Sobo 2014-01-17 17:20:37 -07:00
parent 99f025d5d6
commit 149a6825b4

View File

@ -51,18 +51,25 @@
.editor .gutter:hover .line-number.foldable .icon-right {
visibility: visible;
&:before {
content: @chevron-down;
}
&:hover {
opacity: 1;
}
}
.editor .gutter .line-number.fold .icon-right {
.octicon(chevron-right, 0.8em);
visibility: visible;
.editor .gutter, .editor .gutter:hover {
.line-number.fold .icon-right {
.octicon(chevron-right, 0.8em);
visibility: visible;
&:before { // chevron-right renders too far right compared to chevron-down
position: relative;
left: -.1em;
&:before { // chevron-right renders too far right compared to chevron-down
position: relative;
left: -.1em;
content: @chevron-right;
}
}
}