perfect-scrollbar-rails 0.6.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +18 -0
- data/Dockerfile +35 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +41 -0
- data/Rakefile +50 -0
- data/lib/perfect-scrollbar-rails.rb +9 -0
- data/lib/perfect-scrollbar-rails/version.rb +5 -0
- data/make_new_release.sh +38 -0
- data/perfect-scrollbar-rails.gemspec +25 -0
- data/vendor/assets/javascripts/perfect-scrollbar.js +1617 -0
- data/vendor/assets/stylesheets/perfect-scrollbar.css +106 -0
- metadata +105 -0
@@ -0,0 +1,106 @@
|
|
1
|
+
/* perfect-scrollbar v0.6.8 */
|
2
|
+
.ps-container {
|
3
|
+
-ms-touch-action: none;
|
4
|
+
overflow: hidden !important; }
|
5
|
+
.ps-container.ps-active-x > .ps-scrollbar-x-rail,
|
6
|
+
.ps-container.ps-active-y > .ps-scrollbar-y-rail {
|
7
|
+
display: block; }
|
8
|
+
.ps-container.ps-in-scrolling {
|
9
|
+
pointer-events: none; }
|
10
|
+
.ps-container.ps-in-scrolling.ps-x > .ps-scrollbar-x-rail {
|
11
|
+
background-color: #eee;
|
12
|
+
opacity: 0.9; }
|
13
|
+
.ps-container.ps-in-scrolling.ps-x > .ps-scrollbar-x-rail > .ps-scrollbar-x {
|
14
|
+
background-color: #999; }
|
15
|
+
.ps-container.ps-in-scrolling.ps-y > .ps-scrollbar-y-rail {
|
16
|
+
background-color: #eee;
|
17
|
+
opacity: 0.9; }
|
18
|
+
.ps-container.ps-in-scrolling.ps-y > .ps-scrollbar-y-rail > .ps-scrollbar-y {
|
19
|
+
background-color: #999; }
|
20
|
+
.ps-container > .ps-scrollbar-x-rail {
|
21
|
+
display: none;
|
22
|
+
position: absolute;
|
23
|
+
/* please don't change 'position' */
|
24
|
+
-webkit-border-radius: 4px;
|
25
|
+
-moz-border-radius: 4px;
|
26
|
+
-ms-border-radius: 4px;
|
27
|
+
border-radius: 4px;
|
28
|
+
opacity: 0;
|
29
|
+
-webkit-transition: background-color 0.2s linear, opacity 0.2s linear;
|
30
|
+
-moz-transition: background-color 0.2s linear, opacity 0.2s linear;
|
31
|
+
-o-transition: background-color 0.2s linear, opacity 0.2s linear;
|
32
|
+
transition: background-color 0.2s linear, opacity 0.2s linear;
|
33
|
+
bottom: 3px;
|
34
|
+
/* there must be 'bottom' for ps-scrollbar-x-rail */
|
35
|
+
height: 8px; }
|
36
|
+
.ps-container > .ps-scrollbar-x-rail > .ps-scrollbar-x {
|
37
|
+
position: absolute;
|
38
|
+
/* please don't change 'position' */
|
39
|
+
background-color: #aaa;
|
40
|
+
-webkit-border-radius: 4px;
|
41
|
+
-moz-border-radius: 4px;
|
42
|
+
-ms-border-radius: 4px;
|
43
|
+
border-radius: 4px;
|
44
|
+
-webkit-transition: background-color 0.2s linear;
|
45
|
+
-moz-transition: background-color 0.2s linear;
|
46
|
+
-o-transition: background-color 0.2s linear;
|
47
|
+
transition: background-color 0.2s linear;
|
48
|
+
bottom: 0;
|
49
|
+
/* there must be 'bottom' for ps-scrollbar-x */
|
50
|
+
height: 8px; }
|
51
|
+
.ps-container > .ps-scrollbar-y-rail {
|
52
|
+
display: none;
|
53
|
+
position: absolute;
|
54
|
+
/* please don't change 'position' */
|
55
|
+
-webkit-border-radius: 4px;
|
56
|
+
-moz-border-radius: 4px;
|
57
|
+
-ms-border-radius: 4px;
|
58
|
+
border-radius: 4px;
|
59
|
+
opacity: 0;
|
60
|
+
-webkit-transition: background-color 0.2s linear, opacity 0.2s linear;
|
61
|
+
-moz-transition: background-color 0.2s linear, opacity 0.2s linear;
|
62
|
+
-o-transition: background-color 0.2s linear, opacity 0.2s linear;
|
63
|
+
transition: background-color 0.2s linear, opacity 0.2s linear;
|
64
|
+
right: 3px;
|
65
|
+
/* there must be 'right' for ps-scrollbar-y-rail */
|
66
|
+
width: 8px; }
|
67
|
+
.ps-container > .ps-scrollbar-y-rail > .ps-scrollbar-y {
|
68
|
+
position: absolute;
|
69
|
+
/* please don't change 'position' */
|
70
|
+
background-color: #aaa;
|
71
|
+
-webkit-border-radius: 4px;
|
72
|
+
-moz-border-radius: 4px;
|
73
|
+
-ms-border-radius: 4px;
|
74
|
+
border-radius: 4px;
|
75
|
+
-webkit-transition: background-color 0.2s linear;
|
76
|
+
-moz-transition: background-color 0.2s linear;
|
77
|
+
-o-transition: background-color 0.2s linear;
|
78
|
+
transition: background-color 0.2s linear;
|
79
|
+
right: 0;
|
80
|
+
/* there must be 'right' for ps-scrollbar-y */
|
81
|
+
width: 8px; }
|
82
|
+
.ps-container:hover.ps-in-scrolling {
|
83
|
+
pointer-events: none; }
|
84
|
+
.ps-container:hover.ps-in-scrolling.ps-x > .ps-scrollbar-x-rail {
|
85
|
+
background-color: #eee;
|
86
|
+
opacity: 0.9; }
|
87
|
+
.ps-container:hover.ps-in-scrolling.ps-x > .ps-scrollbar-x-rail > .ps-scrollbar-x {
|
88
|
+
background-color: #999; }
|
89
|
+
.ps-container:hover.ps-in-scrolling.ps-y > .ps-scrollbar-y-rail {
|
90
|
+
background-color: #eee;
|
91
|
+
opacity: 0.9; }
|
92
|
+
.ps-container:hover.ps-in-scrolling.ps-y > .ps-scrollbar-y-rail > .ps-scrollbar-y {
|
93
|
+
background-color: #999; }
|
94
|
+
.ps-container:hover > .ps-scrollbar-x-rail,
|
95
|
+
.ps-container:hover > .ps-scrollbar-y-rail {
|
96
|
+
opacity: 0.6; }
|
97
|
+
.ps-container:hover > .ps-scrollbar-x-rail:hover {
|
98
|
+
background-color: #eee;
|
99
|
+
opacity: 0.9; }
|
100
|
+
.ps-container:hover > .ps-scrollbar-x-rail:hover > .ps-scrollbar-x {
|
101
|
+
background-color: #999; }
|
102
|
+
.ps-container:hover > .ps-scrollbar-y-rail:hover {
|
103
|
+
background-color: #eee;
|
104
|
+
opacity: 0.9; }
|
105
|
+
.ps-container:hover > .ps-scrollbar-y-rail:hover > .ps-scrollbar-y {
|
106
|
+
background-color: #999; }
|
metadata
ADDED
@@ -0,0 +1,105 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: perfect-scrollbar-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.6.8.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Guillaume Hain
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-01-23 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: railties
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.2'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '5.0'
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '3.2'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '5.0'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: bundler
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '1.3'
|
40
|
+
type: :development
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '1.3'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rake
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
61
|
+
description: Make perfect-scrollbar available to Rails
|
62
|
+
email:
|
63
|
+
- zedtux@zedroot.org
|
64
|
+
executables: []
|
65
|
+
extensions: []
|
66
|
+
extra_rdoc_files: []
|
67
|
+
files:
|
68
|
+
- ".gitignore"
|
69
|
+
- Dockerfile
|
70
|
+
- Gemfile
|
71
|
+
- LICENSE.txt
|
72
|
+
- README.md
|
73
|
+
- Rakefile
|
74
|
+
- lib/perfect-scrollbar-rails.rb
|
75
|
+
- lib/perfect-scrollbar-rails/version.rb
|
76
|
+
- make_new_release.sh
|
77
|
+
- perfect-scrollbar-rails.gemspec
|
78
|
+
- vendor/assets/javascripts/perfect-scrollbar.js
|
79
|
+
- vendor/assets/stylesheets/perfect-scrollbar.css
|
80
|
+
homepage: https://github.com/YourCursus/perfect-scrollbar-rails
|
81
|
+
licenses:
|
82
|
+
- MIT
|
83
|
+
metadata: {}
|
84
|
+
post_install_message:
|
85
|
+
rdoc_options: []
|
86
|
+
require_paths:
|
87
|
+
- lib
|
88
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
89
|
+
requirements:
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '0'
|
93
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - ">="
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '0'
|
98
|
+
requirements: []
|
99
|
+
rubyforge_project:
|
100
|
+
rubygems_version: 2.5.1
|
101
|
+
signing_key:
|
102
|
+
specification_version: 4
|
103
|
+
summary: This Gem integrates noraesae's Jquery perfect-scrollbar with Rails, exposing
|
104
|
+
its JavaScript and CSS assets via a Rails Engine.
|
105
|
+
test_files: []
|