nouislider-rails 6.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +40 -0
- data/Rakefile +1 -0
- data/lib/nouislider/rails/version.rb +5 -0
- data/lib/nouislider/rails.rb +9 -0
- data/nouislider-rails.gemspec +22 -0
- data/screenshot.png +0 -0
- data/vendor/assets/javascripts/jquery.nouislider.js +1650 -0
- data/vendor/assets/stylesheets/jquery.nouislider.css +165 -0
- metadata +98 -0
@@ -0,0 +1,165 @@
|
|
1
|
+
|
2
|
+
/* Functional styling;
|
3
|
+
* These styles are required for noUiSlider to function.
|
4
|
+
* You don't need to change these rules to apply your design.
|
5
|
+
*/
|
6
|
+
.noUi-target,
|
7
|
+
.noUi-target * {
|
8
|
+
-webkit-touch-callout: none;
|
9
|
+
-webkit-user-select: none;
|
10
|
+
-ms-touch-action: none;
|
11
|
+
-ms-user-select: none;
|
12
|
+
-moz-user-select: none;
|
13
|
+
-moz-box-sizing: border-box;
|
14
|
+
box-sizing: border-box;
|
15
|
+
}
|
16
|
+
.noUi-base {
|
17
|
+
width: 100%;
|
18
|
+
height: 100%;
|
19
|
+
position: relative;
|
20
|
+
}
|
21
|
+
.noUi-origin {
|
22
|
+
position: absolute;
|
23
|
+
right: 0;
|
24
|
+
top: 0;
|
25
|
+
left: 0;
|
26
|
+
bottom: 0;
|
27
|
+
}
|
28
|
+
.noUi-handle {
|
29
|
+
position: relative;
|
30
|
+
z-index: 1;
|
31
|
+
}
|
32
|
+
.noUi-stacking .noUi-handle {
|
33
|
+
/* This class is applied to the lower origin when
|
34
|
+
its values is > 50%. */
|
35
|
+
z-index: 10;
|
36
|
+
}
|
37
|
+
.noUi-stacking + .noUi-origin {
|
38
|
+
/* Fix stacking order in IE7, which incorrectly
|
39
|
+
creates a new context for the origins. */
|
40
|
+
*z-index: -1;
|
41
|
+
}
|
42
|
+
.noUi-state-tap .noUi-origin {
|
43
|
+
-webkit-transition: left 0.3s, top 0.3s;
|
44
|
+
transition: left 0.3s, top 0.3s;
|
45
|
+
}
|
46
|
+
.noUi-state-drag * {
|
47
|
+
cursor: inherit !important;
|
48
|
+
}
|
49
|
+
|
50
|
+
/* Slider size and handle placement;
|
51
|
+
*/
|
52
|
+
.noUi-horizontal {
|
53
|
+
height: 18px;
|
54
|
+
}
|
55
|
+
.noUi-horizontal .noUi-handle {
|
56
|
+
width: 34px;
|
57
|
+
height: 28px;
|
58
|
+
left: -17px;
|
59
|
+
top: -6px;
|
60
|
+
}
|
61
|
+
.noUi-horizontal.noUi-extended {
|
62
|
+
padding: 0 15px;
|
63
|
+
}
|
64
|
+
.noUi-horizontal.noUi-extended .noUi-origin {
|
65
|
+
right: -15px;
|
66
|
+
}
|
67
|
+
.noUi-vertical {
|
68
|
+
width: 18px;
|
69
|
+
}
|
70
|
+
.noUi-vertical .noUi-handle {
|
71
|
+
width: 28px;
|
72
|
+
height: 34px;
|
73
|
+
left: -6px;
|
74
|
+
top: -17px;
|
75
|
+
}
|
76
|
+
.noUi-vertical.noUi-extended {
|
77
|
+
padding: 15px 0;
|
78
|
+
}
|
79
|
+
.noUi-vertical.noUi-extended .noUi-origin {
|
80
|
+
bottom: -15px;
|
81
|
+
}
|
82
|
+
|
83
|
+
/* Styling;
|
84
|
+
*/
|
85
|
+
.noUi-background {
|
86
|
+
background: #FAFAFA;
|
87
|
+
box-shadow: inset 0 1px 1px #f0f0f0;
|
88
|
+
}
|
89
|
+
.noUi-connect {
|
90
|
+
background: #3FB8AF;
|
91
|
+
box-shadow: inset 0 0 3px rgba(51,51,51,0.45);
|
92
|
+
-webkit-transition: background 450ms;
|
93
|
+
transition: background 450ms;
|
94
|
+
}
|
95
|
+
.noUi-origin {
|
96
|
+
border-radius: 2px;
|
97
|
+
}
|
98
|
+
.noUi-target {
|
99
|
+
border-radius: 4px;
|
100
|
+
border: 1px solid #D3D3D3;
|
101
|
+
box-shadow: inset 0 1px 1px #F0F0F0, 0 3px 6px -5px #BBB;
|
102
|
+
}
|
103
|
+
.noUi-target.noUi-connect {
|
104
|
+
box-shadow: inset 0 0 3px rgba(51,51,51,0.45), 0 3px 6px -5px #BBB;
|
105
|
+
}
|
106
|
+
|
107
|
+
/* Handles and cursors;
|
108
|
+
*/
|
109
|
+
.noUi-dragable {
|
110
|
+
cursor: w-resize;
|
111
|
+
}
|
112
|
+
.noUi-vertical .noUi-dragable {
|
113
|
+
cursor: n-resize;
|
114
|
+
}
|
115
|
+
.noUi-handle {
|
116
|
+
border: 1px solid #D9D9D9;
|
117
|
+
border-radius: 3px;
|
118
|
+
background: #FFF;
|
119
|
+
cursor: default;
|
120
|
+
box-shadow: inset 0 0 1px #FFF,
|
121
|
+
inset 0 1px 7px #EBEBEB,
|
122
|
+
0 3px 6px -3px #BBB;
|
123
|
+
}
|
124
|
+
.noUi-active {
|
125
|
+
box-shadow: inset 0 0 1px #FFF,
|
126
|
+
inset 0 1px 7px #DDD,
|
127
|
+
0 3px 6px -3px #BBB;
|
128
|
+
}
|
129
|
+
|
130
|
+
/* Handle stripes;
|
131
|
+
*/
|
132
|
+
.noUi-handle:before,
|
133
|
+
.noUi-handle:after {
|
134
|
+
content: "";
|
135
|
+
display: block;
|
136
|
+
position: absolute;
|
137
|
+
height: 14px;
|
138
|
+
width: 1px;
|
139
|
+
background: #E8E7E6;
|
140
|
+
left: 14px;
|
141
|
+
top: 6px;
|
142
|
+
}
|
143
|
+
.noUi-handle:after {
|
144
|
+
left: 17px;
|
145
|
+
}
|
146
|
+
.noUi-vertical .noUi-handle:before,
|
147
|
+
.noUi-vertical .noUi-handle:after {
|
148
|
+
width: 14px;
|
149
|
+
height: 1px;
|
150
|
+
left: 6px;
|
151
|
+
top: 14px;
|
152
|
+
}
|
153
|
+
.noUi-vertical .noUi-handle:after {
|
154
|
+
top: 17px;
|
155
|
+
}
|
156
|
+
|
157
|
+
/* Disabled state;
|
158
|
+
*/
|
159
|
+
[disabled].noUi-connect,
|
160
|
+
[disabled] .noUi-connect {
|
161
|
+
background: #B8B8B8;
|
162
|
+
}
|
163
|
+
[disabled] .noUi-handle {
|
164
|
+
cursor: not-allowed;
|
165
|
+
}
|
metadata
ADDED
@@ -0,0 +1,98 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: nouislider-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 6.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Charles Lee
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-03-17 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.1'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.1'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.5'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.5'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
description: 'Currently tracking 6.0 of jquery-noUiSlider: https://github.com/leongersen/noUiSlider).
|
56
|
+
All credit and thanks to @leongersen for the awesome library.'
|
57
|
+
email:
|
58
|
+
- chug2k@gmail.com
|
59
|
+
executables: []
|
60
|
+
extensions: []
|
61
|
+
extra_rdoc_files: []
|
62
|
+
files:
|
63
|
+
- ".gitignore"
|
64
|
+
- Gemfile
|
65
|
+
- LICENSE.txt
|
66
|
+
- README.md
|
67
|
+
- Rakefile
|
68
|
+
- lib/nouislider/rails.rb
|
69
|
+
- lib/nouislider/rails/version.rb
|
70
|
+
- nouislider-rails.gemspec
|
71
|
+
- screenshot.png
|
72
|
+
- vendor/assets/javascripts/jquery.nouislider.js
|
73
|
+
- vendor/assets/stylesheets/jquery.nouislider.css
|
74
|
+
homepage: https://github.com/chug2k/nouislider-rails
|
75
|
+
licenses:
|
76
|
+
- MIT
|
77
|
+
metadata: {}
|
78
|
+
post_install_message:
|
79
|
+
rdoc_options: []
|
80
|
+
require_paths:
|
81
|
+
- lib
|
82
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
83
|
+
requirements:
|
84
|
+
- - ">="
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: '0'
|
87
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - ">="
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '0'
|
92
|
+
requirements: []
|
93
|
+
rubyforge_project:
|
94
|
+
rubygems_version: 2.2.2
|
95
|
+
signing_key:
|
96
|
+
specification_version: 4
|
97
|
+
summary: jquery-nouislider.js for the Rails asset pipeline.
|
98
|
+
test_files: []
|