spectrum-rails 1.3.1 → 1.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/spectrum-rails/version.rb +1 -1
- data/vendor/assets/javascripts/spectrum.js +1030 -996
- data/vendor/assets/stylesheets/spectrum.css +44 -44
- metadata +2 -2
@@ -1,5 +1,5 @@
|
|
1
1
|
/***
|
2
|
-
Spectrum Colorpicker v1.3.
|
2
|
+
Spectrum Colorpicker v1.3.4
|
3
3
|
https://github.com/bgrins/spectrum
|
4
4
|
Author: Brian Grinstead
|
5
5
|
License: MIT
|
@@ -24,22 +24,22 @@ License: MIT
|
|
24
24
|
.sp-container,
|
25
25
|
.sp-container * {
|
26
26
|
-webkit-box-sizing: content-box;
|
27
|
-
|
28
|
-
|
27
|
+
-moz-box-sizing: content-box;
|
28
|
+
box-sizing: content-box;
|
29
29
|
}
|
30
30
|
|
31
31
|
/* http://ansciath.tumblr.com/post/7347495869/css-aspect-ratio */
|
32
32
|
.sp-top {
|
33
|
-
|
34
|
-
|
35
|
-
|
33
|
+
position:relative;
|
34
|
+
width: 100%;
|
35
|
+
display:inline-block;
|
36
36
|
}
|
37
37
|
.sp-top-inner {
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
38
|
+
position:absolute;
|
39
|
+
top:0;
|
40
|
+
left:0;
|
41
|
+
bottom:0;
|
42
|
+
right:0;
|
43
43
|
}
|
44
44
|
.sp-color {
|
45
45
|
position: absolute;
|
@@ -221,15 +221,15 @@ License: MIT
|
|
221
221
|
.sp-fill { padding-top: 60%; }
|
222
222
|
}
|
223
223
|
.sp-dragger {
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
224
|
+
border-radius: 5px;
|
225
|
+
height: 5px;
|
226
|
+
width: 5px;
|
227
|
+
border: 1px solid #fff;
|
228
|
+
background: #000;
|
229
|
+
cursor: pointer;
|
230
|
+
position:absolute;
|
231
|
+
top:0;
|
232
|
+
left: 0;
|
233
233
|
}
|
234
234
|
.sp-slider {
|
235
235
|
position: absolute;
|
@@ -282,14 +282,14 @@ See http://bgrins.github.io/spectrum/themes/ for instructions.
|
|
282
282
|
width: 100%;
|
283
283
|
}
|
284
284
|
.sp-input {
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
285
|
+
font-size: 12px !important;
|
286
|
+
border: 1px inset;
|
287
|
+
padding: 4px 5px;
|
288
|
+
margin: 0;
|
289
|
+
width: 100%;
|
290
|
+
background:transparent;
|
291
|
+
border-radius: 3px;
|
292
|
+
color: #222;
|
293
293
|
}
|
294
294
|
.sp-input:focus {
|
295
295
|
border: 1px solid orange;
|
@@ -423,22 +423,22 @@ See http://bgrins.github.io/spectrum/themes/ for instructions.
|
|
423
423
|
|
424
424
|
/* Buttons: http://hellohappy.org/css3-buttons/ */
|
425
425
|
.sp-container button {
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
426
|
+
background-color: #eeeeee;
|
427
|
+
background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);
|
428
|
+
background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
|
429
|
+
background-image: -ms-linear-gradient(top, #eeeeee, #cccccc);
|
430
|
+
background-image: -o-linear-gradient(top, #eeeeee, #cccccc);
|
431
|
+
background-image: linear-gradient(to bottom, #eeeeee, #cccccc);
|
432
|
+
border: 1px solid #ccc;
|
433
|
+
border-bottom: 1px solid #bbb;
|
434
|
+
border-radius: 3px;
|
435
|
+
color: #333;
|
436
|
+
font-size: 14px;
|
437
|
+
line-height: 1;
|
438
|
+
padding: 5px 4px;
|
439
|
+
text-align: center;
|
440
|
+
text-shadow: 0 1px 0 #eee;
|
441
|
+
vertical-align: middle;
|
442
442
|
}
|
443
443
|
.sp-container button:hover {
|
444
444
|
background-color: #dddddd;
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spectrum-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-06-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|