scrivito_icon_box_widget 1.2.4 → 1.2.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 11fb78267b3eb99572e093f5fdad2dca8f4ae68a
4
- data.tar.gz: cf47df7a3ef97325074026e3a039c28826053913
3
+ metadata.gz: 0a55091da56be66ea922314f34c1034e4bb48fd4
4
+ data.tar.gz: 1bd913434d298b6e01d584a0927812b7b00ca681
5
5
  SHA512:
6
- metadata.gz: 4260a06c74760da224e4306ef70262b45f98ca946f35b94f440686073f45a0d73cb1fa7f34f5be989cedf79e2adce9e6065792ce52c56f9eb64246de5b94cb64
7
- data.tar.gz: 106642f1551793da8ddf57584c186dd7106b7b06861b0d9127358fcf080d9fca0a76ad514cc332421cb91652aee7b3c6a53435d1e94a7fa55b896d455d210209
6
+ metadata.gz: 68f1764033f173bb098a2665809d7dfd4c77d7bde7c6995d5e7879eef88cc4c39667a59f19c57260bcf91f3f469722724bdab061e821b7c423f26847ebba801c
7
+ data.tar.gz: 868529d148a174dfc341393b1b67b3a3c56357346c240d7567d05a20fb976c03314430b3db8ca673608d701728ee17c0cd85d3cb8c4ad84cea93713712a695b6
@@ -32,4 +32,18 @@
32
32
  display: block;
33
33
  margin-bottom: 4px;
34
34
  }
35
- }
35
+ }
36
+
37
+ .scrivito_dialog [data-colors-list].scrivito-icon-box-widget-icon-color.with-text .scrivito-color-select:after {
38
+ content: "\f1b0";
39
+ font-size: 20px;
40
+ line-height: 17px;
41
+ padding-top: 3px;
42
+ font: normal normal normal 35px/1 FontAwesome;
43
+ background-color: rgba(255,255,255,0.9) !important;
44
+ text-shadow: 0 0 3px black;
45
+ }
46
+
47
+ .scrivito_dialog [data-colors-list].scrivito-icon-box-widget-icon-color.with-text .scrivito-color-select.active:after {
48
+ font-size: 48px;
49
+ }
@@ -4,7 +4,7 @@
4
4
  border: 3px solid transparent;
5
5
  }
6
6
 
7
- .transparent {
7
+ .transparent_bg {
8
8
  background-color: transparent !important;
9
9
  border-color: transparent !important;
10
10
  }
@@ -44,43 +44,57 @@
44
44
  border-color: #e1d00e !important;
45
45
  }
46
46
 
47
+ .scrivito-icon-box-widget-icon-color .transparent_bg.scrivito-color-select:after {
48
+ -webkit-text-stroke-width: 1px;
49
+ -webkit-text-stroke-color: red;
50
+ text-shadow: none !important;
51
+ }
52
+
47
53
  /* icon colors */
48
- i.transparent {
54
+ i.transparent_bg,
55
+ .scrivito-icon-box-widget-icon-color .transparent_bg.scrivito-color-select:after {
49
56
  background-color: transparent !important;
50
57
  color: transparent !important;
51
58
  }
52
59
 
53
- i.black {
60
+ i.black,
61
+ .scrivito-icon-box-widget-icon-color .black.scrivito-color-select:after {
54
62
  background-color: transparent !important;
55
63
  color: #33312d !important;
56
64
  }
57
65
 
58
- i.gray {
66
+ i.gray,
67
+ .scrivito-icon-box-widget-icon-color .gray.scrivito-color-select:after {
59
68
  background-color: transparent !important;
60
69
  color: #a0a0a0 !important;
61
70
  }
62
71
 
63
- i.light-gray {
72
+ i.light-gray,
73
+ .scrivito-icon-box-widget-icon-color .light-gray.scrivito-color-select:after {
64
74
  background-color: transparent !important;
65
75
  color: #eee !important;
66
76
  }
67
77
 
68
- i.red {
78
+ i.red,
79
+ .scrivito-icon-box-widget-icon-color .red.scrivito-color-select:after {
69
80
  background-color: transparent !important;
70
81
  color: #c5463f !important;
71
82
  }
72
83
 
73
- i.green {
84
+ i.green,
85
+ .scrivito-icon-box-widget-icon-color .green.scrivito-color-select:after {
74
86
  background-color: transparent !important;
75
87
  color: #439439 !important;
76
88
  }
77
89
 
78
- i.blue {
90
+ i.blue,
91
+ .scrivito-icon-box-widget-icon-color .blue.scrivito-color-select:after {
79
92
  background-color: transparent !important;
80
93
  color: #3f86ac !important;
81
94
  }
82
95
 
83
- i.yellow {
96
+ i.yellow,
97
+ .scrivito-icon-box-widget-icon-color .yellow.scrivito-color-select:after {
84
98
  background-color: transparent !important;
85
99
  color: #e1d00e !important;
86
100
  }
@@ -41,4 +41,3 @@
41
41
  height: 70px;
42
42
  line-height: 70px;
43
43
  }
44
-
@@ -11,7 +11,7 @@
11
11
  <% end %>
12
12
 
13
13
  <%= scrivito_details_for t('scrivito_icon_box_widget.details.icon_color', default: 'Icon Color') do %>
14
- <%= scrivito_tag :div, widget, :color, data: {colors_list: scrivito_selectable_color_classes('icon_box_widget', 'color')} %>
14
+ <%= scrivito_tag :div, widget, :color, class: 'scrivito-icon-box-widget-icon-color', data: {colors_list: scrivito_selectable_color_classes('icon_box_widget', 'color'), scrivito_color_picker_show_text: true} %>
15
15
  <% end %>
16
16
 
17
17
  <%= scrivito_details_for t('scrivito_icon_box_widget.details.background_color', default: 'Background Color') do %>
@@ -1,3 +1,3 @@
1
1
  module ScrivitoIconBoxWidget
2
- VERSION = "1.2.4"
2
+ VERSION = "1.2.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scrivito_icon_box_widget
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scrivito
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-30 00:00:00.000000000 Z
11
+ date: 2016-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: scrivito_sdk