rails_kindeditor 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (20) hide show
  1. data/README.rdoc +12 -12
  2. data/lib/generators/rails_kindeditor/install/templates/kindeditor/kindeditor-min.js +173 -171
  3. data/lib/generators/rails_kindeditor/install/templates/kindeditor/lang/ar.js +1 -0
  4. data/lib/generators/rails_kindeditor/install/templates/kindeditor/lang/en.js +1 -0
  5. data/lib/generators/rails_kindeditor/install/templates/kindeditor/lang/zh_CN.js +1 -0
  6. data/lib/generators/rails_kindeditor/install/templates/kindeditor/lang/zh_TW.js +1 -0
  7. data/lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/emoticons/emoticons.js +1 -1
  8. data/lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/image/image.js +31 -22
  9. data/lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/image/images/refresh.png +0 -0
  10. data/lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/insertfile/insertfile.js +30 -28
  11. data/lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/quickformat/quickformat.js +20 -10
  12. data/lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/table/table.js +55 -84
  13. data/lib/generators/rails_kindeditor/install/templates/kindeditor/themes/default/background.png +0 -0
  14. data/lib/generators/rails_kindeditor/install/templates/kindeditor/themes/default/default.css +26 -30
  15. data/lib/generators/rails_kindeditor/install/templates/kindeditor/themes/default/default.png +0 -0
  16. data/lib/generators/rails_kindeditor/install/templates/kindeditor/themes/simple/simple.css +0 -60
  17. data/lib/rails_kindeditor/version.rb +1 -1
  18. metadata +6 -6
  19. data/lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/image/images/refresh.gif +0 -0
  20. data/lib/generators/rails_kindeditor/install/templates/kindeditor/themes/default/bg.gif +0 -0
@@ -626,7 +626,7 @@
626
626
  padding: 0;
627
627
  }
628
628
  .ke-dialog-content {
629
- background-color: #F0F0EE;
629
+ background-color: #FFF;
630
630
  width: 100%;
631
631
  height: 100%;
632
632
  color: #333;
@@ -639,42 +639,38 @@
639
639
  left: 0;
640
640
  width: 100%;
641
641
  height: 100%;
642
- box-shadow: 3px 3px 7px #A0A0A0;
643
- -moz-box-shadow: 3px 3px 7px #A0A0A0;
644
- -webkit-box-shadow: 3px 3px 7px #A0A0A0;
645
- filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius='3', MakeShadow='true', ShadowOpacity='0.3');
642
+ box-shadow: 3px 3px 7px #999;
643
+ -moz-box-shadow: 3px 3px 7px #999;
644
+ -webkit-box-shadow: 3px 3px 7px #999;
645
+ filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius='3', MakeShadow='true', ShadowOpacity='0.4');
646
646
  background-color: #F0F0EE;
647
647
  }
648
648
  .ke-dialog-header {
649
649
  border:0;
650
650
  margin:0;
651
- background-color: #F0F0EE;
652
- padding: 10px;
651
+ padding: 0 10px;
652
+ background: url(background.png) repeat scroll 0 0 #F0F0EE;
653
+ border-bottom: 1px solid #CFCFCF;
654
+ height: 25px;
655
+ font: 12px/25px "sans serif",tahoma,verdana,helvetica;
653
656
  text-align: left;
654
- font: 14px/1 "sans serif",tahoma,verdana,helvetica;
655
- font-weight: bold;
656
- color: #222222;
657
+ color: #222;
657
658
  cursor: move;
658
659
  }
659
660
  .ke-dialog-icon-close {
660
661
  display: block;
661
- background-position: 0px -688px;
662
+ background: url(default.png) no-repeat scroll 0px -688px;
662
663
  width: 16px;
663
664
  height: 16px;
664
665
  position: absolute;
665
- right: 15px;
666
- top: 15px;
666
+ right: 6px;
667
+ top: 6px;
667
668
  cursor: pointer;
668
- background-image: url(default.png);
669
- overflow: hidden;
670
- right: 10px;
671
- top: 10px;
672
669
  }
673
670
  .ke-dialog-body {
674
671
  font: 12px/1.5 "sans serif",tahoma,verdana,helvetica;
675
672
  text-align: left;
676
673
  overflow: hidden;
677
- background-color: #F0F0EE;
678
674
  }
679
675
  .ke-dialog-body textarea {
680
676
  display: block;
@@ -728,7 +724,7 @@
728
724
  .ke-dialog-loading {
729
725
  position: absolute;
730
726
  top: 0;
731
- left: 0;
727
+ left: 1px;
732
728
  z-index: 1;
733
729
  text-align: center;
734
730
  }
@@ -748,7 +744,7 @@
748
744
  font: 12px/1 "sans serif",tahoma,verdana,helvetica;
749
745
  text-align: right;
750
746
  padding:0 0 5px 0;
751
- background-color: #F0F0EE;
747
+ background-color: #FFF;
752
748
  }
753
749
  .ke-dialog-preview,
754
750
  .ke-dialog-yes {
@@ -763,16 +759,17 @@
763
759
  opacity:0.5;
764
760
  }
765
761
  .ke-button-common {
766
- background: url(bg.gif) no-repeat scroll 0 0 transparent;
762
+ background: url(background.png) no-repeat scroll 0 -25px transparent;
767
763
  cursor: pointer;
768
- height: 25px;
769
- line-height: 25px;
764
+ height: 23px;
765
+ line-height: 23px;
770
766
  overflow: visible;
771
767
  display: inline-block;
772
768
  vertical-align: top;
769
+ cursor: pointer;
773
770
  }
774
771
  .ke-button-outer {
775
- background-position: 0 0;
772
+ background-position: 0 -25px;
776
773
  padding: 0;
777
774
  position: relative;
778
775
  display: -moz-inline-stack;
@@ -782,14 +779,13 @@
782
779
  *display: inline;
783
780
  }
784
781
  .ke-button {
785
- background-position: right 0;
782
+ background-position: right -25px;
786
783
  padding: 0 12px;
787
784
  margin: 0;
788
785
  font-family: "sans serif",tahoma,verdana,helvetica;
789
786
  border: 0 none;
790
787
  color: #333;
791
788
  font-size: 12px;
792
- font-weight: bold;
793
789
  left: 2px;
794
790
  text-decoration: none;
795
791
  }
@@ -864,7 +860,7 @@
864
860
  .ke-tabs-li {
865
861
  position: relative;
866
862
  border: 1px solid #A0A0A0;
867
- background-color: #E0E0E0;
863
+ background-color: #F0F0EE;
868
864
  margin: 0 2px -1px 0;
869
865
  padding: 0 20px;
870
866
  float: left;
@@ -874,13 +870,13 @@
874
870
  cursor: pointer;
875
871
  }
876
872
  .ke-tabs-li-selected {
877
- background-color: #F0F0EE;
878
- border-bottom: 1px solid #F0F0EE;
873
+ background-color: #FFF;
874
+ border-bottom: 1px solid #FFF;
879
875
  color: #000;
880
876
  cursor: default;
881
877
  }
882
878
  .ke-tabs-li-on {
883
- background-color: #F0F0EE;
879
+ background-color: #FFF;
884
880
  color: #000;
885
881
  }
886
882
  /* emoticons */
@@ -98,63 +98,3 @@
98
98
  .ke-colorpicker-simple .ke-colorpicker-cell-selected {
99
99
  border: 1px solid #2446AB;
100
100
  }
101
- /* dialog */
102
- .ke-dialog-simple {
103
- position: absolute;
104
- margin: 0;
105
- padding: 0;
106
- }
107
- .ke-dialog-simple .ke-dialog-content {
108
- color: #333;
109
- background-color: #FFF;
110
- }
111
- .ke-dialog-simple .ke-dialog-shadow {
112
- background-color: #FFF;
113
- }
114
- .ke-dialog-simple .ke-dialog-header {
115
- border:0;
116
- margin:0;
117
- background-color: #FFF;
118
- padding: 10px;
119
- text-align: left;
120
- font: 14px/1 "sans serif",tahoma,verdana,helvetica;
121
- font-weight: bold;
122
- color: #222222;
123
- background-color: #FFF;
124
- cursor: move;
125
- }
126
- .ke-dialog-simple .ke-dialog-body {
127
- background-color: #FFF;
128
- }
129
- .ke-dialog-simple .ke-dialog-footer {
130
- background-color: #FFF;
131
- }
132
- /* tabs */
133
- .ke-dialog-simple .ke-tabs {
134
- font: 12px/1 "sans serif",tahoma,verdana,helvetica;
135
- border-bottom:1px solid #A0A0A0;
136
- padding-left:5px;
137
- margin-bottom:10px;
138
- }
139
- .ke-dialog-simple .ke-tabs-li {
140
- position: relative;
141
- border: 1px solid #A0A0A0;
142
- background-color: #F0F0EE;
143
- margin: 0 2px -1px 0;
144
- padding: 0 20px;
145
- float: left;
146
- line-height: 25px;
147
- text-align: center;
148
- color: #555;
149
- cursor: pointer;
150
- }
151
- .ke-dialog-simple .ke-tabs-li-selected {
152
- background-color: #FFF;
153
- border-bottom: 1px solid #FFF;
154
- color: #000;
155
- cursor: default;
156
- }
157
- .ke-dialog-simple .ke-tabs-li-on {
158
- background-color: #FFF;
159
- color: #000;
160
- }
@@ -1,4 +1,4 @@
1
1
  module RailsKindeditor
2
- VERSION = "0.2.7"
2
+ VERSION = "0.2.8"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_kindeditor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
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: 2012-03-03 00:00:00.000000000Z
12
+ date: 2012-03-19 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: carrierwave
16
- requirement: &70212881392800 !ruby/object:Gem::Requirement
16
+ requirement: &70366502174580 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70212881392800
24
+ version_requirements: *70366502174580
25
25
  description: Kindeditor(4.x) for Rails3, including image and file upload with carrierwave.
26
26
  email: Macrow_wh@163.com
27
27
  executables: []
@@ -200,7 +200,7 @@ files:
200
200
  - lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/image/images/align_left.gif
201
201
  - lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/image/images/align_right.gif
202
202
  - lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/image/images/align_top.gif
203
- - lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/image/images/refresh.gif
203
+ - lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/image/images/refresh.png
204
204
  - lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/insertfile/insertfile.js
205
205
  - lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/lineheight/lineheight.js
206
206
  - lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/link/link.js
@@ -223,7 +223,7 @@ files:
223
223
  - lib/generators/rails_kindeditor/install/templates/kindeditor/themes/common/loading.gif
224
224
  - lib/generators/rails_kindeditor/install/templates/kindeditor/themes/common/media.gif
225
225
  - lib/generators/rails_kindeditor/install/templates/kindeditor/themes/common/rm.gif
226
- - lib/generators/rails_kindeditor/install/templates/kindeditor/themes/default/bg.gif
226
+ - lib/generators/rails_kindeditor/install/templates/kindeditor/themes/default/background.png
227
227
  - lib/generators/rails_kindeditor/install/templates/kindeditor/themes/default/default.css
228
228
  - lib/generators/rails_kindeditor/install/templates/kindeditor/themes/default/default.png
229
229
  - lib/generators/rails_kindeditor/install/templates/kindeditor/themes/simple/simple.css