bootstrap-colorpicker-rails 0.1 → 0.3
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.
@@ -7,121 +7,121 @@
|
|
7
7
|
*
|
8
8
|
*/
|
9
9
|
.colorpicker-saturation {
|
10
|
-
width: 100px;
|
11
|
-
height: 100px;
|
12
|
-
background-image: url(saturation.png);
|
13
|
-
cursor: crosshair;
|
14
|
-
float: left;
|
10
|
+
width: 100px;
|
11
|
+
height: 100px;
|
12
|
+
background-image: url(saturation.png);
|
13
|
+
cursor: crosshair;
|
14
|
+
float: left;
|
15
15
|
}
|
16
16
|
.colorpicker-saturation i {
|
17
|
-
display: block;
|
18
|
-
height: 5px;
|
19
|
-
width: 5px;
|
20
|
-
border: 1px solid #000;
|
21
|
-
-webkit-border-radius: 5px;
|
22
|
-
-moz-border-radius: 5px;
|
23
|
-
border-radius: 5px;
|
24
|
-
position: absolute;
|
25
|
-
top: 0;
|
26
|
-
left: 0;
|
27
|
-
margin: -4px 0 0 -4px;
|
17
|
+
display: block;
|
18
|
+
height: 5px;
|
19
|
+
width: 5px;
|
20
|
+
border: 1px solid #000;
|
21
|
+
-webkit-border-radius: 5px;
|
22
|
+
-moz-border-radius: 5px;
|
23
|
+
border-radius: 5px;
|
24
|
+
position: absolute;
|
25
|
+
top: 0;
|
26
|
+
left: 0;
|
27
|
+
margin: -4px 0 0 -4px;
|
28
28
|
}
|
29
29
|
.colorpicker-saturation i b {
|
30
|
-
display: block;
|
31
|
-
height: 5px;
|
32
|
-
width: 5px;
|
33
|
-
border: 1px solid #fff;
|
34
|
-
-webkit-border-radius: 5px;
|
35
|
-
-moz-border-radius: 5px;
|
36
|
-
border-radius: 5px;
|
30
|
+
display: block;
|
31
|
+
height: 5px;
|
32
|
+
width: 5px;
|
33
|
+
border: 1px solid #fff;
|
34
|
+
-webkit-border-radius: 5px;
|
35
|
+
-moz-border-radius: 5px;
|
36
|
+
border-radius: 5px;
|
37
37
|
}
|
38
38
|
.colorpicker-hue, .colorpicker-alpha {
|
39
|
-
width: 15px;
|
40
|
-
height: 100px;
|
41
|
-
float: left;
|
42
|
-
cursor: row-resize;
|
43
|
-
margin-left: 4px;
|
44
|
-
margin-bottom: 4px;
|
39
|
+
width: 15px;
|
40
|
+
height: 100px;
|
41
|
+
float: left;
|
42
|
+
cursor: row-resize;
|
43
|
+
margin-left: 4px;
|
44
|
+
margin-bottom: 4px;
|
45
45
|
}
|
46
46
|
.colorpicker-hue i, .colorpicker-alpha i {
|
47
|
-
display: block;
|
48
|
-
height: 1px;
|
49
|
-
background: #000;
|
50
|
-
border-top: 1px solid #fff;
|
51
|
-
position: absolute;
|
52
|
-
top: 0;
|
53
|
-
left: 0;
|
54
|
-
width: 100%;
|
55
|
-
margin-top: -1px;
|
47
|
+
display: block;
|
48
|
+
height: 1px;
|
49
|
+
background: #000;
|
50
|
+
border-top: 1px solid #fff;
|
51
|
+
position: absolute;
|
52
|
+
top: 0;
|
53
|
+
left: 0;
|
54
|
+
width: 100%;
|
55
|
+
margin-top: -1px;
|
56
56
|
}
|
57
57
|
.colorpicker-hue {
|
58
|
-
background-image: url(hue.png);
|
58
|
+
background-image: url(hue.png);
|
59
59
|
}
|
60
60
|
.colorpicker-alpha {
|
61
|
-
background-image: url(alpha.png);
|
62
|
-
display: none;
|
61
|
+
background-image: url(alpha.png);
|
62
|
+
display: none;
|
63
63
|
}
|
64
64
|
.colorpicker {
|
65
|
-
*zoom: 1;
|
66
|
-
top: 0;
|
67
|
-
left: 0;
|
68
|
-
padding: 4px;
|
69
|
-
min-width: 120px;
|
70
|
-
margin-top: 1px;
|
71
|
-
-webkit-border-radius: 4px;
|
72
|
-
-moz-border-radius: 4px;
|
73
|
-
border-radius: 4px;
|
65
|
+
*zoom: 1;
|
66
|
+
top: 0;
|
67
|
+
left: 0;
|
68
|
+
padding: 4px;
|
69
|
+
min-width: 120px;
|
70
|
+
margin-top: 1px;
|
71
|
+
-webkit-border-radius: 4px;
|
72
|
+
-moz-border-radius: 4px;
|
73
|
+
border-radius: 4px;
|
74
74
|
}
|
75
75
|
.colorpicker:before, .colorpicker:after {
|
76
|
-
display: table;
|
77
|
-
content: "";
|
76
|
+
display: table;
|
77
|
+
content: "";
|
78
78
|
}
|
79
79
|
.colorpicker:after {
|
80
|
-
clear: both;
|
80
|
+
clear: both;
|
81
81
|
}
|
82
82
|
.colorpicker:before {
|
83
|
-
content: '';
|
84
|
-
display: inline-block;
|
85
|
-
border-left: 7px solid transparent;
|
86
|
-
border-right: 7px solid transparent;
|
87
|
-
border-bottom: 7px solid #ccc;
|
88
|
-
border-bottom-color: rgba(0, 0, 0, 0.2);
|
89
|
-
position: absolute;
|
90
|
-
top: -7px;
|
91
|
-
left: 6px;
|
83
|
+
content: '';
|
84
|
+
display: inline-block;
|
85
|
+
border-left: 7px solid transparent;
|
86
|
+
border-right: 7px solid transparent;
|
87
|
+
border-bottom: 7px solid #ccc;
|
88
|
+
border-bottom-color: rgba(0, 0, 0, 0.2);
|
89
|
+
position: absolute;
|
90
|
+
top: -7px;
|
91
|
+
left: 6px;
|
92
92
|
}
|
93
93
|
.colorpicker:after {
|
94
|
-
content: '';
|
95
|
-
display: inline-block;
|
96
|
-
border-left: 6px solid transparent;
|
97
|
-
border-right: 6px solid transparent;
|
98
|
-
border-bottom: 6px solid #ffffff;
|
99
|
-
position: absolute;
|
100
|
-
top: -6px;
|
101
|
-
left: 7px;
|
94
|
+
content: '';
|
95
|
+
display: inline-block;
|
96
|
+
border-left: 6px solid transparent;
|
97
|
+
border-right: 6px solid transparent;
|
98
|
+
border-bottom: 6px solid #ffffff;
|
99
|
+
position: absolute;
|
100
|
+
top: -6px;
|
101
|
+
left: 7px;
|
102
102
|
}
|
103
103
|
.colorpicker div {
|
104
|
-
position: relative;
|
104
|
+
position: relative;
|
105
105
|
}
|
106
106
|
.colorpicker.alpha {
|
107
|
-
min-width: 140px;
|
107
|
+
min-width: 140px;
|
108
108
|
}
|
109
109
|
.colorpicker.alpha .colorpicker-alpha {
|
110
|
-
display: block;
|
110
|
+
display: block;
|
111
111
|
}
|
112
112
|
.colorpicker-color {
|
113
|
-
height: 10px;
|
114
|
-
margin-top: 5px;
|
115
|
-
clear: both;
|
116
|
-
background-image: url(alpha.png);
|
117
|
-
background-position: 0 100%;
|
113
|
+
height: 10px;
|
114
|
+
margin-top: 5px;
|
115
|
+
clear: both;
|
116
|
+
background-image: url(/img/alpha.png);
|
117
|
+
background-position: 0 100%;
|
118
118
|
}
|
119
119
|
.colorpicker-color div {
|
120
|
-
height: 10px;
|
120
|
+
height: 10px;
|
121
121
|
}
|
122
122
|
.input-append.color .add-on i, .input-prepend.color .add-on i {
|
123
|
-
display: block;
|
124
|
-
cursor: pointer;
|
125
|
-
width: 16px;
|
126
|
-
height: 16px;
|
127
|
-
}
|
123
|
+
display: block;
|
124
|
+
cursor: pointer;
|
125
|
+
width: 16px;
|
126
|
+
height: 16px;
|
127
|
+
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap-colorpicker-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.3'
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-05-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,15 @@ dependencies:
|
|
21
21
|
version: '3.0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '3.0'
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
31
|
name: bundler
|
27
|
-
requirement:
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
28
33
|
none: false
|
29
34
|
requirements:
|
30
35
|
- - ! '>='
|
@@ -32,10 +37,15 @@ dependencies:
|
|
32
37
|
version: '1.0'
|
33
38
|
type: :development
|
34
39
|
prerelease: false
|
35
|
-
version_requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '1.0'
|
36
46
|
- !ruby/object:Gem::Dependency
|
37
47
|
name: rake
|
38
|
-
requirement:
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
39
49
|
none: false
|
40
50
|
requirements:
|
41
51
|
- - ! '>='
|
@@ -43,7 +53,12 @@ dependencies:
|
|
43
53
|
version: '0'
|
44
54
|
type: :development
|
45
55
|
prerelease: false
|
46
|
-
version_requirements:
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
47
62
|
description: A color picker for Twitter Bootstrap
|
48
63
|
email:
|
49
64
|
- alessani@gmail.com
|
@@ -54,7 +69,6 @@ files:
|
|
54
69
|
- Gemfile
|
55
70
|
- README.md
|
56
71
|
- Rakefile
|
57
|
-
- bootstrap-colorpicker-rails-0.1.gem
|
58
72
|
- bootstrap-colorpicker-rails.gemspec
|
59
73
|
- lib/bootstrap-colorpicker-rails.rb
|
60
74
|
- lib/bootstrap-colorpicker-rails/engine.rb
|
@@ -85,8 +99,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
85
99
|
version: '0'
|
86
100
|
requirements: []
|
87
101
|
rubyforge_project:
|
88
|
-
rubygems_version: 1.8.
|
102
|
+
rubygems_version: 1.8.23
|
89
103
|
signing_key:
|
90
104
|
specification_version: 3
|
91
105
|
summary: A color picker for Twitter Bootstrap
|
92
106
|
test_files: []
|
107
|
+
has_rdoc:
|