inplace_editing 0.3.1 → 0.3.2
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/inplace_editing.gemspec +5 -3
- data/lib/assets/stylesheets/inplace_editing.scss +64 -0
- data/lib/inplace_editing/version.rb +1 -1
- metadata +4 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27b8966b73892f69114489e5ff23980d3aba2e76
|
4
|
+
data.tar.gz: 97e70257df96d3e97fcd8108fa92139842684e7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb8774b87575686e1438e023a8d8aecb64f2e98d87c09d6384af1e00d00eb787ede919a03f6b72cbd38304715a8ec8dfa7b56555b8f33cb74027291353ebe355
|
7
|
+
data.tar.gz: d33378f2df6caad54a76bd68afdb1726c5910962280d72fb038ba7fbf4fc42c14129fce70198821a9ed60746e5c6f431bf961a9fd983372412af5029c48655fe
|
data/inplace_editing.gemspec
CHANGED
@@ -30,9 +30,11 @@ DESC
|
|
30
30
|
"public gem pushes."
|
31
31
|
end
|
32
32
|
|
33
|
-
spec.files = `git ls-files`.split("\
|
34
|
-
|
35
|
-
|
33
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
34
|
+
f.match(%r{^(test|spec|features)/})
|
35
|
+
end
|
36
|
+
spec.bindir = "exe"
|
37
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
36
38
|
spec.require_paths = ["lib"]
|
37
39
|
|
38
40
|
spec.add_development_dependency "bundler", "~> 1.13"
|
@@ -0,0 +1,64 @@
|
|
1
|
+
.best_in_place, .form_in_place {
|
2
|
+
input, textarea {
|
3
|
+
color: $base-black !important;
|
4
|
+
}
|
5
|
+
input:not([type=button]):not([type=reset]):not([type=submit]), textarea {
|
6
|
+
width: 100%;
|
7
|
+
}
|
8
|
+
}
|
9
|
+
|
10
|
+
.inplace_editor_edit_icon {
|
11
|
+
@extend .fa;
|
12
|
+
@extend .fa-pencil-square-o;
|
13
|
+
|
14
|
+
position: absolute;
|
15
|
+
right: 0px;
|
16
|
+
top: 0px;
|
17
|
+
|
18
|
+
background-color: rgba(255,255,255, 0.8);
|
19
|
+
color: black;
|
20
|
+
text-align: right;
|
21
|
+
padding: 2px 4px;
|
22
|
+
padding-left: 5px;
|
23
|
+
width: 25px;
|
24
|
+
font-size: 18px;
|
25
|
+
|
26
|
+
&:hover {
|
27
|
+
cursor: pointer;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
.best_in_place_textarea {
|
32
|
+
display: inline-block;
|
33
|
+
}
|
34
|
+
|
35
|
+
.inplace_editor_string, .best_in_place_textarea, .inplace_editor_element {
|
36
|
+
position: relative;
|
37
|
+
z-index: 5;
|
38
|
+
|
39
|
+
&:before {
|
40
|
+
@extend .inplace_editor_edit_icon;
|
41
|
+
z-index: 6;
|
42
|
+
}
|
43
|
+
form {
|
44
|
+
position: relative;
|
45
|
+
z-index: 7;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
.inplace_editor_image {
|
50
|
+
.image-container {
|
51
|
+
position: relative;
|
52
|
+
z-index: 5;
|
53
|
+
|
54
|
+
&:before {
|
55
|
+
@extend .inplace_editor_edit_icon;
|
56
|
+
z-index: 7;
|
57
|
+
}
|
58
|
+
|
59
|
+
img {
|
60
|
+
position: relative;
|
61
|
+
z-index: 6;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
metadata
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inplace_editing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Henrique Rangel
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: exe
|
10
10
|
cert_chain: []
|
11
11
|
date: 2017-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
@@ -44,9 +44,7 @@ description: " InplaceEditing is a jQuery and Best In Place script and a Rails
|
|
44
44
|
property (since it uses standard BestInPlace form).\n"
|
45
45
|
email:
|
46
46
|
- dev@hrangel.com.br
|
47
|
-
executables:
|
48
|
-
- console
|
49
|
-
- setup
|
47
|
+
executables: []
|
50
48
|
extensions: []
|
51
49
|
extra_rdoc_files: []
|
52
50
|
files:
|
@@ -75,6 +73,7 @@ files:
|
|
75
73
|
- bin/setup
|
76
74
|
- inplace_editing.gemspec
|
77
75
|
- lib/assets/javascripts/inplace_editing.js
|
76
|
+
- lib/assets/stylesheets/inplace_editing.scss
|
78
77
|
- lib/inplace_editing.rb
|
79
78
|
- lib/inplace_editing/engine.rb
|
80
79
|
- lib/inplace_editing/version.rb
|