scrivito_advanced_editors 0.0.16 → 0.0.18
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/app/assets/stylesheets/scrivito_advanced_editors/scrivito_toggle_button.css +17 -1
- data/app/assets/stylesheets/scrivito_advanced_editors/transparent_bg.css.scss +25 -0
- data/app/helpers/scrivito_advanced_editors/scrivito_advanced_tag_helper.rb +2 -2
- data/lib/scrivito_advanced_editors/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e432e6e2a15688c4349d027bfde76389486447d
|
4
|
+
data.tar.gz: 90d53fad3de75ba0fc7b46380ba187c37c56e7ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e958561e51608394997d934ca20757b418ae0023fad5ffc13da600c6f4a43046437e38564f9aa500f7910425f8a00f8ccf7e2c448049eb674cd845bbc852b91
|
7
|
+
data.tar.gz: 91cc3dc405a95186eba0c5f3ab38bab398ef4032625c10260631fd4e8f9f48f6c16dc8f44da9026daa55d1aac47c1926f4b0f3ed3daf5626ef6377de7b042449
|
@@ -1,5 +1,6 @@
|
|
1
1
|
.button_list {
|
2
2
|
overflow: hidden;
|
3
|
+
position: relative;
|
3
4
|
}
|
4
5
|
|
5
6
|
.scrivito_dialog .button_list button[data-editor="scrivito-toggle-button"] {
|
@@ -23,6 +24,21 @@
|
|
23
24
|
}
|
24
25
|
|
25
26
|
.scrivito_dialog .button_list button[data-editor='scrivito-toggle-button'].active {
|
26
|
-
box-shadow: 0 0px 5px rgba(0,0,0,0.4)
|
27
|
+
box-shadow: 0 0px 5px rgba(0,0,0,0.4);
|
27
28
|
background: #888;
|
28
29
|
}
|
30
|
+
|
31
|
+
.scrivito_dialog .button_list button[data-editor="scrivito-toggle-button"].color-select {
|
32
|
+
background: transparent;
|
33
|
+
transition: width 0.3s, height 0.3s, margin 0.3s;
|
34
|
+
position: relative;
|
35
|
+
overflow: hidden;
|
36
|
+
margin: 7px 4px;
|
37
|
+
}
|
38
|
+
|
39
|
+
.scrivito_dialog .button_list button[data-editor="scrivito-toggle-button"].color-select.active {
|
40
|
+
background: transparent;
|
41
|
+
height: 51px;
|
42
|
+
width: 51px;
|
43
|
+
margin: 4px;
|
44
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
.scrivito_dialog .button_list button[data-editor="scrivito-toggle-button"].color-select:before {
|
2
|
+
content: '';
|
3
|
+
background-color: #fff;
|
4
|
+
background-image:
|
5
|
+
linear-gradient(45deg, #33312d 25%, transparent 25%, transparent 75%, #33312d 75%, #33312d),
|
6
|
+
linear-gradient(45deg, #33312d 25%, transparent 25%, transparent 75%, #33312d 75%, #33312d);
|
7
|
+
|
8
|
+
background-size: 20px 20px;
|
9
|
+
background-position:0 0, 30px 30px;
|
10
|
+
position: absolute;
|
11
|
+
top: 0;
|
12
|
+
left: 0;
|
13
|
+
right: 0;
|
14
|
+
bottom: 0;
|
15
|
+
}
|
16
|
+
|
17
|
+
.scrivito_dialog .button_list button[data-editor="scrivito-toggle-button"].color-select:after {
|
18
|
+
content: '';
|
19
|
+
background-color: inherit;
|
20
|
+
position: absolute;
|
21
|
+
top: 0;
|
22
|
+
left: 0;
|
23
|
+
right: 0;
|
24
|
+
bottom: 0;
|
25
|
+
}
|
@@ -56,9 +56,9 @@ module ScrivitoAdvancedEditors
|
|
56
56
|
def color_hash(color)
|
57
57
|
{
|
58
58
|
content: color,
|
59
|
-
caption: (color.present? ? color : '
|
59
|
+
caption: (color.present? ? color : 'default'),
|
60
60
|
style: '',
|
61
|
-
css: "color-select #{color == "" ? "default" : color}",
|
61
|
+
css: "color-select #{color == "" ? "default" : color} #{ color.present? ? '' : 'transparent_bg' }",
|
62
62
|
}
|
63
63
|
end
|
64
64
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scrivito_advanced_editors
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scrivito
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -94,6 +94,7 @@ files:
|
|
94
94
|
- app/assets/stylesheets/scrivito_advanced_editors/scrivito_tabs.css
|
95
95
|
- app/assets/stylesheets/scrivito_advanced_editors/scrivito_toggle_button.css
|
96
96
|
- app/assets/stylesheets/scrivito_advanced_editors/textarea_editor.css.scss
|
97
|
+
- app/assets/stylesheets/scrivito_advanced_editors/transparent_bg.css.scss
|
97
98
|
- app/helpers/scrivito_advanced_editors/scrivito_advanced_tag_helper.rb
|
98
99
|
- app/views/scrivito_advanced_editors/_color_picker.html.erb
|
99
100
|
- app/views/scrivito_advanced_editors/_create_obj.html.erb
|
@@ -121,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
122
|
version: '0'
|
122
123
|
requirements: []
|
123
124
|
rubyforge_project:
|
124
|
-
rubygems_version: 2.
|
125
|
+
rubygems_version: 2.4.5
|
125
126
|
signing_key:
|
126
127
|
specification_version: 4
|
127
128
|
summary: Advanced Editors and details view extensions for scrivito
|