bootstrap-slider-rails 1.9.0 → 4.8.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,249 @@
1
+ /*! =======================================================
2
+ VERSION 4.8.1
3
+ ========================================================= */
4
+ /*! =========================================================
5
+ * bootstrap-slider.js
6
+ *
7
+ * Maintainers:
8
+ * Kyle Kemp
9
+ * - Twitter: @seiyria
10
+ * - Github: seiyria
11
+ * Rohit Kalkur
12
+ * - Twitter: @Rovolutionary
13
+ * - Github: rovolution
14
+ *
15
+ * =========================================================
16
+ *
17
+ * Licensed under the Apache License, Version 2.0 (the "License");
18
+ * you may not use this file except in compliance with the License.
19
+ * You may obtain a copy of the License at
20
+ *
21
+ * http://www.apache.org/licenses/LICENSE-2.0
22
+ *
23
+ * Unless required by applicable law or agreed to in writing, software
24
+ * distributed under the License is distributed on an "AS IS" BASIS,
25
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
26
+ * See the License for the specific language governing permissions and
27
+ * limitations under the License.
28
+ * ========================================================= */
29
+ .slider {
30
+ display: inline-block;
31
+ vertical-align: middle;
32
+ position: relative;
33
+ }
34
+ .slider.slider-horizontal {
35
+ width: 210px;
36
+ height: 20px;
37
+ }
38
+ .slider.slider-horizontal .slider-track {
39
+ height: 10px;
40
+ width: 100%;
41
+ margin-top: -5px;
42
+ top: 50%;
43
+ left: 0;
44
+ }
45
+ .slider.slider-horizontal .slider-selection,
46
+ .slider.slider-horizontal .slider-track-low,
47
+ .slider.slider-horizontal .slider-track-high {
48
+ height: 100%;
49
+ top: 0;
50
+ bottom: 0;
51
+ }
52
+ .slider.slider-horizontal .slider-tick,
53
+ .slider.slider-horizontal .slider-handle {
54
+ margin-left: -10px;
55
+ margin-top: -5px;
56
+ }
57
+ .slider.slider-horizontal .slider-tick.triangle,
58
+ .slider.slider-horizontal .slider-handle.triangle {
59
+ border-width: 0 10px 10px 10px;
60
+ width: 0;
61
+ height: 0;
62
+ border-bottom-color: #0480be;
63
+ margin-top: 0;
64
+ }
65
+ .slider.slider-horizontal .slider-tick-label-container {
66
+ white-space: nowrap;
67
+ margin-top: 20px;
68
+ }
69
+ .slider.slider-horizontal .slider-tick-label-container .slider-tick-label {
70
+ padding-top: 4px;
71
+ display: inline-block;
72
+ text-align: center;
73
+ }
74
+ .slider.slider-vertical {
75
+ height: 210px;
76
+ width: 20px;
77
+ }
78
+ .slider.slider-vertical .slider-track {
79
+ width: 10px;
80
+ height: 100%;
81
+ margin-left: -5px;
82
+ left: 50%;
83
+ top: 0;
84
+ }
85
+ .slider.slider-vertical .slider-selection {
86
+ width: 100%;
87
+ left: 0;
88
+ top: 0;
89
+ bottom: 0;
90
+ }
91
+ .slider.slider-vertical .slider-track-low,
92
+ .slider.slider-vertical .slider-track-high {
93
+ width: 100%;
94
+ left: 0;
95
+ right: 0;
96
+ }
97
+ .slider.slider-vertical .slider-tick,
98
+ .slider.slider-vertical .slider-handle {
99
+ margin-left: -5px;
100
+ margin-top: -10px;
101
+ }
102
+ .slider.slider-vertical .slider-tick.triangle,
103
+ .slider.slider-vertical .slider-handle.triangle {
104
+ border-width: 10px 0 10px 10px;
105
+ width: 1px;
106
+ height: 1px;
107
+ border-left-color: #0480be;
108
+ margin-left: 0;
109
+ }
110
+ .slider.slider-disabled .slider-handle {
111
+ background-image: -webkit-linear-gradient(top, #dfdfdf 0%, #bebebe 100%);
112
+ background-image: -o-linear-gradient(top, #dfdfdf 0%, #bebebe 100%);
113
+ background-image: linear-gradient(to bottom, #dfdfdf 0%, #bebebe 100%);
114
+ background-repeat: repeat-x;
115
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdfdfdf', endColorstr='#ffbebebe', GradientType=0);
116
+ }
117
+ .slider.slider-disabled .slider-track {
118
+ background-image: -webkit-linear-gradient(top, #e5e5e5 0%, #e9e9e9 100%);
119
+ background-image: -o-linear-gradient(top, #e5e5e5 0%, #e9e9e9 100%);
120
+ background-image: linear-gradient(to bottom, #e5e5e5 0%, #e9e9e9 100%);
121
+ background-repeat: repeat-x;
122
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe5e5e5', endColorstr='#ffe9e9e9', GradientType=0);
123
+ cursor: not-allowed;
124
+ }
125
+ .slider input {
126
+ display: none;
127
+ }
128
+ .slider .tooltip.top {
129
+ margin-top: -36px;
130
+ }
131
+ .slider .tooltip-inner {
132
+ white-space: nowrap;
133
+ }
134
+ .slider .hide {
135
+ display: none;
136
+ }
137
+ .slider-track {
138
+ position: absolute;
139
+ cursor: pointer;
140
+ background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #f9f9f9 100%);
141
+ background-image: -o-linear-gradient(top, #f5f5f5 0%, #f9f9f9 100%);
142
+ background-image: linear-gradient(to bottom, #f5f5f5 0%, #f9f9f9 100%);
143
+ background-repeat: repeat-x;
144
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0);
145
+ -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
146
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
147
+ border-radius: 4px;
148
+ }
149
+ .slider-selection {
150
+ position: absolute;
151
+ background-image: -webkit-linear-gradient(top, #f9f9f9 0%, #f5f5f5 100%);
152
+ background-image: -o-linear-gradient(top, #f9f9f9 0%, #f5f5f5 100%);
153
+ background-image: linear-gradient(to bottom, #f9f9f9 0%, #f5f5f5 100%);
154
+ background-repeat: repeat-x;
155
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9f9f9', endColorstr='#fff5f5f5', GradientType=0);
156
+ -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
157
+ box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
158
+ -webkit-box-sizing: border-box;
159
+ -moz-box-sizing: border-box;
160
+ box-sizing: border-box;
161
+ border-radius: 4px;
162
+ }
163
+ .slider-selection.tick-slider-selection {
164
+ background-image: -webkit-linear-gradient(top, #89cdef 0%, #81bfde 100%);
165
+ background-image: -o-linear-gradient(top, #89cdef 0%, #81bfde 100%);
166
+ background-image: linear-gradient(to bottom, #89cdef 0%, #81bfde 100%);
167
+ background-repeat: repeat-x;
168
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff89cdef', endColorstr='#ff81bfde', GradientType=0);
169
+ }
170
+ .slider-track-low,
171
+ .slider-track-high {
172
+ position: absolute;
173
+ background: transparent;
174
+ -webkit-box-sizing: border-box;
175
+ -moz-box-sizing: border-box;
176
+ box-sizing: border-box;
177
+ border-radius: 4px;
178
+ }
179
+ .slider-handle {
180
+ position: absolute;
181
+ width: 20px;
182
+ height: 20px;
183
+ background-color: #337ab7;
184
+ background-image: -webkit-linear-gradient(top, #149bdf 0%, #0480be 100%);
185
+ background-image: -o-linear-gradient(top, #149bdf 0%, #0480be 100%);
186
+ background-image: linear-gradient(to bottom, #149bdf 0%, #0480be 100%);
187
+ background-repeat: repeat-x;
188
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0);
189
+ filter: none;
190
+ -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
191
+ box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
192
+ border: 0px solid transparent;
193
+ }
194
+ .slider-handle.round {
195
+ border-radius: 50%;
196
+ }
197
+ .slider-handle.triangle {
198
+ background: transparent none;
199
+ }
200
+ .slider-handle.custom {
201
+ background: transparent none;
202
+ }
203
+ .slider-handle.custom::before {
204
+ line-height: 20px;
205
+ font-size: 20px;
206
+ content: '\2605';
207
+ color: #726204;
208
+ }
209
+ .slider-tick {
210
+ position: absolute;
211
+ width: 20px;
212
+ height: 20px;
213
+ background-image: -webkit-linear-gradient(top, #f9f9f9 0%, #f5f5f5 100%);
214
+ background-image: -o-linear-gradient(top, #f9f9f9 0%, #f5f5f5 100%);
215
+ background-image: linear-gradient(to bottom, #f9f9f9 0%, #f5f5f5 100%);
216
+ background-repeat: repeat-x;
217
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9f9f9', endColorstr='#fff5f5f5', GradientType=0);
218
+ -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
219
+ box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
220
+ -webkit-box-sizing: border-box;
221
+ -moz-box-sizing: border-box;
222
+ box-sizing: border-box;
223
+ filter: none;
224
+ opacity: 0.8;
225
+ border: 0px solid transparent;
226
+ }
227
+ .slider-tick.round {
228
+ border-radius: 50%;
229
+ }
230
+ .slider-tick.triangle {
231
+ background: transparent none;
232
+ }
233
+ .slider-tick.custom {
234
+ background: transparent none;
235
+ }
236
+ .slider-tick.custom::before {
237
+ line-height: 20px;
238
+ font-size: 20px;
239
+ content: '\2605';
240
+ color: #726204;
241
+ }
242
+ .slider-tick.in-selection {
243
+ background-image: -webkit-linear-gradient(top, #89cdef 0%, #81bfde 100%);
244
+ background-image: -o-linear-gradient(top, #89cdef 0%, #81bfde 100%);
245
+ background-image: linear-gradient(to bottom, #89cdef 0%, #81bfde 100%);
246
+ background-repeat: repeat-x;
247
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff89cdef', endColorstr='#ff81bfde', GradientType=0);
248
+ opacity: 1;
249
+ }
metadata CHANGED
@@ -1,68 +1,61 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-slider-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
5
- prerelease:
4
+ version: 4.8.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Pedr Browne
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-11-18 00:00:00.000000000 Z
11
+ date: 2015-06-03 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: railties
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: '3.2'
22
- - - <
20
+ - - "<"
23
21
  - !ruby/object:Gem::Version
24
22
  version: '5.0'
25
23
  type: :runtime
26
24
  prerelease: false
27
25
  version_requirements: !ruby/object:Gem::Requirement
28
- none: false
29
26
  requirements:
30
- - - ! '>='
27
+ - - ">="
31
28
  - !ruby/object:Gem::Version
32
29
  version: '3.2'
33
- - - <
30
+ - - "<"
34
31
  - !ruby/object:Gem::Version
35
32
  version: '5.0'
36
33
  - !ruby/object:Gem::Dependency
37
34
  name: bundler
38
35
  requirement: !ruby/object:Gem::Requirement
39
- none: false
40
36
  requirements:
41
- - - ~>
37
+ - - "~>"
42
38
  - !ruby/object:Gem::Version
43
39
  version: '1.3'
44
40
  type: :development
45
41
  prerelease: false
46
42
  version_requirements: !ruby/object:Gem::Requirement
47
- none: false
48
43
  requirements:
49
- - - ~>
44
+ - - "~>"
50
45
  - !ruby/object:Gem::Version
51
46
  version: '1.3'
52
47
  - !ruby/object:Gem::Dependency
53
48
  name: rake
54
49
  requirement: !ruby/object:Gem::Requirement
55
- none: false
56
50
  requirements:
57
- - - ! '>='
51
+ - - ">="
58
52
  - !ruby/object:Gem::Version
59
53
  version: '0'
60
54
  type: :development
61
55
  prerelease: false
62
56
  version_requirements: !ruby/object:Gem::Requirement
63
- none: false
64
57
  requirements:
65
- - - ! '>='
58
+ - - ">="
66
59
  - !ruby/object:Gem::Version
67
60
  version: '0'
68
61
  description: Make Bootstrap Slider available to Rails
@@ -72,7 +65,8 @@ executables: []
72
65
  extensions: []
73
66
  extra_rdoc_files: []
74
67
  files:
75
- - .gitignore
68
+ - ".gitignore"
69
+ - Dockerfile
76
70
  - Gemfile
77
71
  - LICENSE.txt
78
72
  - README.md
@@ -80,32 +74,31 @@ files:
80
74
  - bootstrap-slider-rails.gemspec
81
75
  - lib/bootstrap-slider-rails.rb
82
76
  - lib/bootstrap-slider-rails/version.rb
83
- - vendor/assets/css/bootstrap-slider.css
84
77
  - vendor/assets/javascripts/bootstrap-slider.js
78
+ - vendor/assets/stylesheets/bootstrap-slider.css
85
79
  homepage: http://github.com/stationkeeping/bootstrap-slider-rails
86
80
  licenses:
87
81
  - MIT
82
+ metadata: {}
88
83
  post_install_message:
89
84
  rdoc_options: []
90
85
  require_paths:
91
86
  - lib
92
87
  required_ruby_version: !ruby/object:Gem::Requirement
93
- none: false
94
88
  requirements:
95
- - - ! '>='
89
+ - - ">="
96
90
  - !ruby/object:Gem::Version
97
91
  version: '0'
98
92
  required_rubygems_version: !ruby/object:Gem::Requirement
99
- none: false
100
93
  requirements:
101
- - - ! '>='
94
+ - - ">="
102
95
  - !ruby/object:Gem::Version
103
96
  version: '0'
104
97
  requirements: []
105
98
  rubyforge_project:
106
- rubygems_version: 1.8.23
99
+ rubygems_version: 2.4.7
107
100
  signing_key:
108
- specification_version: 3
101
+ specification_version: 4
109
102
  summary: This Gem integrates Seiyara's fork of Bootstrap Slider with Rails, exposing
110
103
  its JavaScript and CSS assets via a Rails Engine.
111
104
  test_files: []
@@ -1,139 +0,0 @@
1
- /*!
2
- * Slider for Bootstrap
3
- *
4
- * Copyright 2012 Stefan Petre
5
- * Licensed under the Apache License v2.0
6
- * http://www.apache.org/licenses/LICENSE-2.0
7
- *
8
- */
9
- .slider {
10
- display: inline-block;
11
- vertical-align: middle;
12
- position: relative;
13
- }
14
- .slider.slider-horizontal {
15
- width: 210px;
16
- height: 20px;
17
- }
18
- .slider.slider-horizontal .slider-track {
19
- height: 10px;
20
- width: 100%;
21
- margin-top: -5px;
22
- top: 50%;
23
- left: 0;
24
- }
25
- .slider.slider-horizontal .slider-selection {
26
- height: 100%;
27
- top: 0;
28
- bottom: 0;
29
- }
30
- .slider.slider-horizontal .slider-handle {
31
- margin-left: -10px;
32
- margin-top: -5px;
33
- }
34
- .slider.slider-horizontal .slider-handle.triangle {
35
- border-width: 0 10px 10px 10px;
36
- width: 0;
37
- height: 0;
38
- border-bottom-color: #0480be;
39
- margin-top: 0;
40
- }
41
- .slider.slider-vertical {
42
- height: 210px;
43
- width: 20px;
44
- }
45
- .slider.slider-vertical .slider-track {
46
- width: 10px;
47
- height: 100%;
48
- margin-left: -5px;
49
- left: 50%;
50
- top: 0;
51
- }
52
- .slider.slider-vertical .slider-selection {
53
- width: 100%;
54
- left: 0;
55
- top: 0;
56
- bottom: 0;
57
- }
58
- .slider.slider-vertical .slider-handle {
59
- margin-left: -5px;
60
- margin-top: -10px;
61
- }
62
- .slider.slider-vertical .slider-handle.triangle {
63
- border-width: 10px 0 10px 10px;
64
- width: 1px;
65
- height: 1px;
66
- border-left-color: #0480be;
67
- margin-left: 0;
68
- }
69
- .slider.slider-disabled .slider-handle {
70
- background-image: -webkit-gradient(linear, left 0%, left 100%, from(#dfdfdf), to(#bebebe));
71
- background-image: -webkit-linear-gradient(top, #dfdfdf, 0%, #bebebe, 100%);
72
- background-image: -moz-linear-gradient(top, #dfdfdf 0%, #bebebe 100%);
73
- background-image: linear-gradient(to bottom, #dfdfdf 0%, #bebebe 100%);
74
- background-repeat: repeat-x;
75
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdfdfdf', endColorstr='#ffbebebe', GradientType=0);
76
- }
77
- .slider.slider-disabled .slider-track {
78
- background-image: -webkit-gradient(linear, left 0%, left 100%, from(#e5e5e5), to(#e9e9e9));
79
- background-image: -webkit-linear-gradient(top, #e5e5e5, 0%, #e9e9e9, 100%);
80
- background-image: -moz-linear-gradient(top, #e5e5e5 0%, #e9e9e9 100%);
81
- background-image: linear-gradient(to bottom, #e5e5e5 0%, #e9e9e9 100%);
82
- background-repeat: repeat-x;
83
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe5e5e5', endColorstr='#ffe9e9e9', GradientType=0);
84
- }
85
- .slider input {
86
- display: none;
87
- }
88
- .slider .tooltip-inner {
89
- white-space: nowrap;
90
- }
91
- .slider-track {
92
- position: absolute;
93
- cursor: pointer;
94
- background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f5f5f5), to(#f9f9f9));
95
- background-image: -webkit-linear-gradient(top, #f5f5f5, 0%, #f9f9f9, 100%);
96
- background-image: -moz-linear-gradient(top, #f5f5f5 0%, #f9f9f9 100%);
97
- background-image: linear-gradient(to bottom, #f5f5f5 0%, #f9f9f9 100%);
98
- background-repeat: repeat-x;
99
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0);
100
- -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
101
- box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
102
- border-radius: 4px;
103
- }
104
- .slider-selection {
105
- position: absolute;
106
- background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f9f9f9), to(#f5f5f5));
107
- background-image: -webkit-linear-gradient(top, #f9f9f9, 0%, #f5f5f5, 100%);
108
- background-image: -moz-linear-gradient(top, #f9f9f9 0%, #f5f5f5 100%);
109
- background-image: linear-gradient(to bottom, #f9f9f9 0%, #f5f5f5 100%);
110
- background-repeat: repeat-x;
111
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9f9f9', endColorstr='#fff5f5f5', GradientType=0);
112
- -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
113
- box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
114
- -webkit-box-sizing: border-box;
115
- -moz-box-sizing: border-box;
116
- box-sizing: border-box;
117
- border-radius: 4px;
118
- }
119
- .slider-handle {
120
- position: absolute;
121
- width: 20px;
122
- height: 20px;
123
- background-image: -webkit-gradient(linear, left 0%, left 100%, from(#149bdf), to(#0480be));
124
- background-image: -webkit-linear-gradient(top, #149bdf, 0%, #0480be, 100%);
125
- background-image: -moz-linear-gradient(top, #149bdf 0%, #0480be 100%);
126
- background-image: linear-gradient(to bottom, #149bdf 0%, #0480be 100%);
127
- background-repeat: repeat-x;
128
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0);
129
- -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
130
- box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
131
- opacity: 0.8;
132
- border: 0px solid transparent;
133
- }
134
- .slider-handle.round {
135
- border-radius: 50%;
136
- }
137
- .slider-handle.triangle {
138
- background: transparent none;
139
- }