Skip to content

Commit 3baffce

Browse files
committed
Added nicescroll-rails
1 parent 812303f commit 3baffce

4 files changed

Lines changed: 11 additions & 25 deletions

File tree

app/assets/javascripts/application.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,3 @@
1717
//= require_tree .
1818
//= require bootstrap
1919
//= require jquery.nicescroll
20-
21-
// 1. Simple mode, it styles document scrollbar:
22-
// var nice = false;
23-
$(function() {
24-
$("body").niceScroll();
25-
// nice = $("body").niceScroll();
26-
});
27-
// console.log(nice);

app/assets/javascripts/static_pages.coffee

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// 1. Simple mode, it styles document scrollbar:
2+
// $(function() {
3+
// $("body").niceScroll({
4+
// cursorwidth: 12,
5+
// cursoropacitymin: 0.4,
6+
// cursorcolor: 'firebrick',
7+
// cursorborder: 'none',
8+
// cursorborderradius: 4,
9+
// autohidemode: 'leave'
10+
// }); // free your immagination
11+
// });

app/assets/stylesheets/custom.scss

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
11
@import "bootstrap-sprockets";
22
@import "bootstrap";
33

4-
//
5-
// ::-webkit-scrollbar-track {
6-
// -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .4);
7-
// background-color: #CFCFCF
8-
// }
9-
// ::-webkit-scrollbar {
10-
// width: 12px;
11-
// background-color: #F5F5F5
12-
// }
13-
// ::-webkit-scrollbar-thumb {
14-
// background-color: #2C3E50
15-
// }
16-
17-
184
/* mixins, variables, etc. */
195
$gray-medium-light: #eaeaea;
206

0 commit comments

Comments
 (0)