diff options
author | Phil Hughes <me@iamphill.com> | 2017-07-25 16:53:53 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-07-25 16:53:53 +0100 |
commit | 80b55398a63d1536188ced206e47b2f2e623ca82 (patch) | |
tree | c722da589a1caaec315b4d51005dfd5bab6f3340 | |
parent | 72538b5f9f6f1be0ba421a76c2a24da4dd23db0e (diff) | |
download | gitlab-ce-80b55398a63d1536188ced206e47b2f2e623ca82.tar.gz |
added extra padding around fly-out menu to delay hiding
-rw-r--r-- | app/assets/stylesheets/new_sidebar.scss | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/app/assets/stylesheets/new_sidebar.scss b/app/assets/stylesheets/new_sidebar.scss index cd6c7914142..92d6e1152e6 100644 --- a/app/assets/stylesheets/new_sidebar.scss +++ b/app/assets/stylesheets/new_sidebar.scss @@ -210,15 +210,25 @@ $new-sidebar-width: 220px; box-shadow: 2px 1px 3px $dropdown-shadow-color; border-radius: 0 3px 3px 0; + &::before { + content: ""; + position: absolute; + top: -20px; + bottom: -20px; + left: 0; + right: -20px; + z-index: -1; + } + &::after { content: ""; position: absolute; top: 44px; left: -30px; + right: 35px; bottom: 0; height: 100%; max-height: 150px; - width: 300px; z-index: -1; transform: skew(33deg); } |