Browse Source

Update nicescroll to scss.

pull/29/head
Evan Theurer 12 years ago
parent
commit
5be718f50b
  1. 22
      src/styles/global/_nicescroll.scss

22
src/styles/global/_nicescroll.scss

@ -18,23 +18,23 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
.nicescroll::-webkit-scrollbar {
width: 8px; .nicescroll {
height: 8px; &::-webkit-scrollbar {
background-color: $background; background-color: $background;
border: solid transparent; border: solid transparent;
} height: 8px;
width: 8px;
.nicescroll::-webkit-scrollbar:hover { &:hover {
background-color: $background; background-color: $background;
border-left: 1px solid rgba(0,0,0,.12); border-left: 1px solid rgba(0,0,0,.12);
border-right: 1px solid rgba(0,0,0,.12); border-right: 1px solid rgba(0,0,0,.12);
} }
.nicescroll::-webkit-scrollbar-thumb {
background: rgba(0,0,0,0.2);
} }
&::-webkit-scrollbar-thumb {
.nicescroll::-webkit-scrollbar-thumb:active { background: rgba(0,0,0,0.2);
&:active {
background: rgba(0,0,0,0.4); background: rgba(0,0,0,0.4);
} }
}
}

Loading…
Cancel
Save