From 149a6825b4e26885a57ff927ea20a884feec06e6 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Fri, 17 Jan 2014 17:20:37 -0700 Subject: [PATCH] Show bookmarks instead of fold indicators unless hovering --- static/editor.less | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/static/editor.less b/static/editor.less index 66e3d7cbd..ff65b9441 100644 --- a/static/editor.less +++ b/static/editor.less @@ -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; + } } }