Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dsandstrom/atom-gutter-shadow

Add a shadow under your gutter
https://github.com/dsandstrom/atom-gutter-shadow

atom gutter

Last synced: 19 days ago
JSON representation

Add a shadow under your gutter

Awesome Lists containing this project

README

        

# Gutter Shadow
###### An Atom Package - [Atom.io](https://atom.io/packages/gutter-shadow) : [Github](https://github.com/dsandstrom/atom-gutter-shadow) : [![Build Status](https://travis-ci.org/dsandstrom/atom-gutter-shadow.svg?branch=master)](https://travis-ci.org/dsandstrom/atom-gutter-shadow)

Add a shadow under the gutter when you are scrolled away from it. This makes it easier to tell when you aren't scrolled all the way to the left.

![screenshot][screenshot]

### Configuration


Always On


The shadow is always visible, even when scrolled all the way to the left.

Bigger Shadow


The scrolled shadow is more pronounced. If "Always On" is enabled, the shadow changes from small to large when scrolling.

### DIY
If you want to edit the shadow, add this to your _styles.less_ file:
```less
atom-text-editor {
// scrolled shadow
.gutter-shadow.active {
box-shadow: 0 0 7px 4px rgba(0, 0, 0, .25);
}
// bigger scrolled shadow
.gutter-shadow.active.bigger-shadow {
box-shadow: 0 0 10px 6px rgba(0, 0, 0, .25);
}
}
```

### Notes
* v1.0.0 introduces a style change, remove `inset` from your DIY shadow
* Issues and PRs are welcome.

[screenshot]: http://content.screencast.com/users/dsandstrom/folders/Jing/media/6e5c193e-29fc-49ff-bab9-2666de15f865/00000039.png