nouislider-rails 6.2.0 → 7.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +29 -7
- data/lib/nouislider/rails/version.rb +1 -1
- data/vendor/assets/javascripts/jquery.nouislider.js +6 -1291
- data/vendor/assets/javascripts/libLink/jquery.liblink.js +311 -0
- data/vendor/assets/javascripts/nouislider/module.base.js +872 -0
- data/vendor/assets/javascripts/nouislider/module.options.js +269 -0
- data/vendor/assets/javascripts/nouislider/module.range.js +290 -0
- data/vendor/assets/javascripts/nouislider/optional.pips.js +234 -0
- data/vendor/assets/javascripts/wnumb/wNumb.js +335 -0
- data/vendor/assets/stylesheets/jquery.nouislider.css +4 -165
- data/vendor/assets/stylesheets/nouislider/jquery.nouislider.css +165 -0
- data/vendor/assets/stylesheets/nouislider/jquery.nouislider.pips.css +98 -0
- metadata +11 -4
- data/vendor/assets/javascripts/Link.js +0 -389
|
@@ -1,165 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
-
}
|
|
1
|
+
/*
|
|
2
|
+
*= require nouislider/jquery.nouislider
|
|
3
|
+
*= require nouislider/jquery.nouislider.pips
|
|
4
|
+
*/
|
|
@@ -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-target {
|
|
17
|
+
position: relative;
|
|
18
|
+
}
|
|
19
|
+
.noUi-base {
|
|
20
|
+
width: 100%;
|
|
21
|
+
height: 100%;
|
|
22
|
+
position: relative;
|
|
23
|
+
}
|
|
24
|
+
.noUi-origin {
|
|
25
|
+
position: absolute;
|
|
26
|
+
right: 0;
|
|
27
|
+
top: 0;
|
|
28
|
+
left: 0;
|
|
29
|
+
bottom: 0;
|
|
30
|
+
}
|
|
31
|
+
.noUi-handle {
|
|
32
|
+
position: relative;
|
|
33
|
+
z-index: 1;
|
|
34
|
+
}
|
|
35
|
+
.noUi-stacking .noUi-handle {
|
|
36
|
+
/* This class is applied to the lower origin when
|
|
37
|
+
its values is > 50%. */
|
|
38
|
+
z-index: 10;
|
|
39
|
+
}
|
|
40
|
+
.noUi-stacking + .noUi-origin {
|
|
41
|
+
/* Fix stacking order in IE7, which incorrectly
|
|
42
|
+
creates a new context for the origins. */
|
|
43
|
+
*z-index: -1;
|
|
44
|
+
}
|
|
45
|
+
.noUi-state-tap .noUi-origin {
|
|
46
|
+
-webkit-transition: left 0.3s, top 0.3s;
|
|
47
|
+
transition: left 0.3s, top 0.3s;
|
|
48
|
+
}
|
|
49
|
+
.noUi-state-drag * {
|
|
50
|
+
cursor: inherit !important;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/* Painting and performance;
|
|
54
|
+
* Browsers can paint handles in their own layer.
|
|
55
|
+
*/
|
|
56
|
+
.noUi-origin,
|
|
57
|
+
.noUi-handle {
|
|
58
|
+
-webkit-transform: translate3d(0,0,0);
|
|
59
|
+
transform: translate3d(0,0,0);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* Slider size and handle placement;
|
|
63
|
+
*/
|
|
64
|
+
.noUi-horizontal {
|
|
65
|
+
height: 18px;
|
|
66
|
+
}
|
|
67
|
+
.noUi-horizontal .noUi-handle {
|
|
68
|
+
width: 34px;
|
|
69
|
+
height: 28px;
|
|
70
|
+
left: -17px;
|
|
71
|
+
top: -6px;
|
|
72
|
+
}
|
|
73
|
+
.noUi-vertical {
|
|
74
|
+
width: 18px;
|
|
75
|
+
}
|
|
76
|
+
.noUi-vertical .noUi-handle {
|
|
77
|
+
width: 28px;
|
|
78
|
+
height: 34px;
|
|
79
|
+
left: -6px;
|
|
80
|
+
top: -17px;
|
|
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
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
|
|
2
|
+
/* Base;
|
|
3
|
+
*
|
|
4
|
+
*/
|
|
5
|
+
.noUi-pips,
|
|
6
|
+
.noUi-pips * {
|
|
7
|
+
-moz-box-sizing: border-box;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
}
|
|
10
|
+
.noUi-pips {
|
|
11
|
+
position: absolute;
|
|
12
|
+
font: 400 12px Arial;
|
|
13
|
+
color: #999;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/* Values;
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
.noUi-value {
|
|
20
|
+
width: 40px;
|
|
21
|
+
position: absolute;
|
|
22
|
+
text-align: center;
|
|
23
|
+
}
|
|
24
|
+
.noUi-value-sub {
|
|
25
|
+
color: #ccc;
|
|
26
|
+
font-size: 10px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* Markings;
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
.noUi-marker {
|
|
33
|
+
position: absolute;
|
|
34
|
+
background: #CCC;
|
|
35
|
+
}
|
|
36
|
+
.noUi-marker-sub {
|
|
37
|
+
background: #AAA;
|
|
38
|
+
}
|
|
39
|
+
.noUi-marker-large {
|
|
40
|
+
background: #AAA;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* Horizontal layout;
|
|
44
|
+
*
|
|
45
|
+
*/
|
|
46
|
+
.noUi-pips-horizontal {
|
|
47
|
+
padding: 10px 0;
|
|
48
|
+
height: 50px;
|
|
49
|
+
top: 100%;
|
|
50
|
+
left: 0;
|
|
51
|
+
width: 100%;
|
|
52
|
+
}
|
|
53
|
+
.noUi-value-horizontal {
|
|
54
|
+
margin-left: -20px;
|
|
55
|
+
padding-top: 20px;
|
|
56
|
+
}
|
|
57
|
+
.noUi-value-horizontal.noUi-value-sub {
|
|
58
|
+
padding-top: 15px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.noUi-marker-horizontal.noUi-marker {
|
|
62
|
+
margin-left: -1px;
|
|
63
|
+
width: 2px;
|
|
64
|
+
height: 5px;
|
|
65
|
+
}
|
|
66
|
+
.noUi-marker-horizontal.noUi-marker-sub {
|
|
67
|
+
height: 10px;
|
|
68
|
+
}
|
|
69
|
+
.noUi-marker-horizontal.noUi-marker-large {
|
|
70
|
+
height: 15px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/* Vertical layout;
|
|
74
|
+
*
|
|
75
|
+
*/
|
|
76
|
+
.noUi-pips-vertical {
|
|
77
|
+
padding: 0 10px;
|
|
78
|
+
height: 100%;
|
|
79
|
+
top: 0;
|
|
80
|
+
left: 100%;
|
|
81
|
+
}
|
|
82
|
+
.noUi-value-vertical {
|
|
83
|
+
width: 15px;
|
|
84
|
+
margin-left: 20px;
|
|
85
|
+
margin-top: -5px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.noUi-marker-vertical.noUi-marker {
|
|
89
|
+
width: 5px;
|
|
90
|
+
height: 2px;
|
|
91
|
+
margin-top: -1px;
|
|
92
|
+
}
|
|
93
|
+
.noUi-marker-vertical.noUi-marker-sub {
|
|
94
|
+
width: 10px;
|
|
95
|
+
}
|
|
96
|
+
.noUi-marker-vertical.noUi-marker-large {
|
|
97
|
+
width: 15px;
|
|
98
|
+
}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: nouislider-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 7.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Charles Lee
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-09-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: railties
|
|
@@ -52,7 +52,7 @@ dependencies:
|
|
|
52
52
|
- - ">="
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '0'
|
|
55
|
-
description: 'Currently tracking
|
|
55
|
+
description: 'Currently tracking 7.0.1 of jquery-noUiSlider: https://github.com/leongersen/noUiSlider).
|
|
56
56
|
All credit and thanks to @leongersen for the awesome library.'
|
|
57
57
|
email:
|
|
58
58
|
- chug2k@gmail.com
|
|
@@ -69,9 +69,16 @@ files:
|
|
|
69
69
|
- lib/nouislider/rails/version.rb
|
|
70
70
|
- nouislider-rails.gemspec
|
|
71
71
|
- screenshot.png
|
|
72
|
-
- vendor/assets/javascripts/Link.js
|
|
73
72
|
- vendor/assets/javascripts/jquery.nouislider.js
|
|
73
|
+
- vendor/assets/javascripts/libLink/jquery.liblink.js
|
|
74
|
+
- vendor/assets/javascripts/nouislider/module.base.js
|
|
75
|
+
- vendor/assets/javascripts/nouislider/module.options.js
|
|
76
|
+
- vendor/assets/javascripts/nouislider/module.range.js
|
|
77
|
+
- vendor/assets/javascripts/nouislider/optional.pips.js
|
|
78
|
+
- vendor/assets/javascripts/wnumb/wNumb.js
|
|
74
79
|
- vendor/assets/stylesheets/jquery.nouislider.css
|
|
80
|
+
- vendor/assets/stylesheets/nouislider/jquery.nouislider.css
|
|
81
|
+
- vendor/assets/stylesheets/nouislider/jquery.nouislider.pips.css
|
|
75
82
|
homepage: https://github.com/chug2k/nouislider-rails
|
|
76
83
|
licenses:
|
|
77
84
|
- MIT
|