redactor-rails 0.3.6 → 0.3.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,6 +28,29 @@ body .redactor_box_fullscreen {
28
28
  padding: 0;
29
29
  }
30
30
 
31
+ .redactor-link-tooltip {
32
+ position: absolute;
33
+ z-index: 3000;
34
+ padding: 10px;
35
+ line-height: 1;
36
+ display: inline-block;
37
+ background-color: #000;
38
+ color: #555 !important;
39
+ }
40
+ .redactor-link-tooltip,
41
+ .redactor-link-tooltip a {
42
+ font-size: 12px;
43
+ font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif !important;
44
+ }
45
+ .redactor-link-tooltip a {
46
+ color: #ccc;
47
+ margin: 0 5px;
48
+ text-decoration: none;
49
+ }
50
+ .redactor-link-tooltip a:hover {
51
+ color: #fff;
52
+ }
53
+
31
54
  .redactor_box textarea, .redactor_box textarea:focus {
32
55
  position: relative;
33
56
  z-index: 1004;
@@ -61,7 +84,8 @@ body .redactor_box_fullscreen {
61
84
  .redactor_editor h2,
62
85
  .redactor_editor h3,
63
86
  .redactor_editor h4,
64
- .redactor_editor h5 {
87
+ .redactor_editor h5,
88
+ .redactor_editor h6 {
65
89
  font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif !important;
66
90
  }
67
91
 
@@ -80,8 +104,8 @@ body .redactor_box_fullscreen {
80
104
  .redactor_editor dl,
81
105
  .redactor_editor blockquote,
82
106
  .redactor_editor pre {
83
- font-size: 15px !important;
84
- line-height: 1.5em;
107
+ font-size: 15px;
108
+ line-height: 1.5rem;
85
109
  }
86
110
 
87
111
  .redactor_editor,
@@ -196,7 +220,8 @@ body .redactor_box_fullscreen {
196
220
  .redactor_editor h2,
197
221
  .redactor_editor h3,
198
222
  .redactor_editor h4,
199
- .redactor_editor h5 {
223
+ .redactor_editor h5,
224
+ .redactor_editor h6 {
200
225
  margin-top: 0 !important;
201
226
  margin-right: 0 !important;
202
227
  margin-left: 0;
@@ -254,6 +279,9 @@ body .redactor_box_fullscreen {
254
279
  border: 1px solid #e4e4e4 !important;
255
280
  background-color: #fff !important;
256
281
  }
282
+ .redactor_editor_wym blockquote:before {
283
+ content: '';
284
+ }
257
285
  .redactor_editor_wym div {
258
286
  border: 1px dotted #aaa !important;
259
287
  }
@@ -450,7 +478,11 @@ body .redactor_toolbar li a.redactor_btn_pre { background-position: -875px;
450
478
  .redactor_format_pre {
451
479
  font-family: monospace, sans-serif;
452
480
  }
453
- .redactor_format_h1, .redactor_format_h2, .redactor_format_h3, .redactor_format_h4 {
481
+ .redactor_format_h1,
482
+ .redactor_format_h2,
483
+ .redactor_format_h3,
484
+ .redactor_format_h4,
485
+ .redactor_format_h5 {
454
486
  font-weight: bold;
455
487
  }
456
488
  .redactor_format_h1 {
@@ -469,6 +501,11 @@ body .redactor_toolbar li a.redactor_btn_pre { background-position: -875px;
469
501
  font-size: 16px;
470
502
  line-height: 26px;
471
503
  }
504
+ .redactor_format_h5 {
505
+ font-size: 14px;
506
+ line-height: 23px;
507
+ }
508
+
472
509
 
473
510
  /*
474
511
  DROPDOWN
@@ -480,9 +517,8 @@ body .redactor_toolbar li a.redactor_btn_pre { background-position: -875px;
480
517
  z-index: 2004;
481
518
  padding: 10px;
482
519
  width: 200px;
483
- border: 1px solid #ccc;
484
520
  background-color: #fff;
485
- box-shadow: 0 2px 4px #ccc;
521
+ box-shadow: 0 1px 5px #bbb;
486
522
  font-size: 13px;
487
523
  font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif;
488
524
  line-height: 21px;
@@ -505,27 +541,6 @@ body .redactor_toolbar li a.redactor_btn_pre { background-position: -875px;
505
541
  text-decoration: none;
506
542
  }
507
543
 
508
- /* ColorPicker */
509
- .redactor_color_link {
510
- float: left !important;
511
- padding: 0 !important;
512
- width: 15px !important;
513
- height: 15px !important;
514
- border: 2px solid #fff !important;
515
- border-radius: 4px !important;
516
- box-shadow: 0 1px 2px rgba(0, 0, 0, .2) inset !important;
517
- font-size: 0;
518
- }
519
- .redactor_color_none {
520
- display: block;
521
- clear: both;
522
- padding: 4px 0 !important;
523
- font-size: 11px;
524
- line-height: 1;
525
- }
526
-
527
-
528
-
529
544
  /* MODAL */
530
545
  #redactor_modal_overlay {
531
546
  position: fixed;
@@ -538,7 +553,6 @@ body .redactor_toolbar li a.redactor_btn_pre { background-position: -875px;
538
553
 
539
554
  background-color: #333 !important;
540
555
  opacity: 0.50;
541
-
542
556
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
543
557
  filter:alpha(opacity=50);
544
558
  }
@@ -550,15 +564,7 @@ body .redactor_toolbar li a.redactor_btn_pre { background-position: -875px;
550
564
  z-index: 50001;
551
565
  padding: 0;
552
566
  border-radius: 3px;
553
- background: #f7f7f7;
554
- background: -moz-linear-gradient(top, #f7f7f7 0%, #e2e2e2 100%);
555
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f7f7f7), color-stop(100%,#e2e2e2));
556
- background: -webkit-linear-gradient(top, #f7f7f7 0%,#e2e2e2 100%);
557
- background: -o-linear-gradient(top, #f7f7f7 0%,#e2e2e2 100%);
558
- background: -ms-linear-gradient(top, #f7f7f7 0%,#e2e2e2 100%);
559
- background: linear-gradient(to bottom, #f7f7f7 0%,#e2e2e2 100%);
560
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#e2e2e2',GradientType=0 );
561
-
567
+ background: #f5f5f5;
562
568
  box-shadow: 0px 5px 60px #000;
563
569
  color: #000;
564
570
  text-shadow: 0 1px 0 #fff;
@@ -604,9 +610,6 @@ body .redactor_toolbar li a.redactor_btn_pre { background-position: -875px;
604
610
  width: 99%;
605
611
  font-size: 14px;
606
612
  }
607
-
608
-
609
-
610
613
  .redactor_modal_box {
611
614
  overflow: auto;
612
615
  margin-bottom: 10px;
@@ -725,8 +728,6 @@ body .redactor_toolbar li a.redactor_btn_pre { background-position: -875px;
725
728
  }
726
729
  .redactor_modal_btn:hover {
727
730
  color: #555;
728
- }
729
- .redactor_modal_btn:hover {
730
731
  background: none;
731
732
  background: #f3f3f3;
732
733
  text-decoration: none;
@@ -773,6 +774,18 @@ body .redactor_toolbar li a.redactor_btn_pre { background-position: -875px;
773
774
 
774
775
  /* =Progress
775
776
  -----------------------------------------------------------------------------*/
777
+ #redactor-progress-drag {
778
+ position: fixed;
779
+ top: 50%;
780
+ left: 50%;
781
+ width: 200px;
782
+ margin-left: -130px;
783
+ margin-top: -35px;
784
+ z-index: 10000;
785
+ padding: 30px;
786
+ background: rgba(0, 0, 0, .7);
787
+ box-shadow: none;
788
+ }
776
789
  .redactor-progress {
777
790
  height: 12px;
778
791
  overflow: hidden;
metadata CHANGED
@@ -1,64 +1,53 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: redactor-rails
3
- version: !ruby/object:Gem::Version
4
- version: 0.3.6
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.7
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - Sammy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-29 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
11
+
12
+ date: 2013-09-27 00:00:00 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
14
15
  name: mime-types
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - '>='
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :runtime
21
16
  prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - '>='
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
- - !ruby/object:Gem::Dependency
28
- name: orm_adapter
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - '>='
32
- - !ruby/object:Gem::Version
33
- version: '0'
17
+ requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - &id002
20
+ - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: "0"
34
23
  type: :runtime
24
+ version_requirements: *id001
25
+ - !ruby/object:Gem::Dependency
26
+ name: orm_adapter
35
27
  prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - '>='
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: devise
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - '>='
46
- - !ruby/object:Gem::Version
47
- version: '0'
28
+ requirement: &id003 !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - *id002
48
31
  type: :runtime
32
+ version_requirements: *id003
33
+ - !ruby/object:Gem::Dependency
34
+ name: devise
49
35
  prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - '>='
53
- - !ruby/object:Gem::Version
54
- version: '0'
36
+ requirement: &id004 !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - *id002
39
+ type: :runtime
40
+ version_requirements: *id004
55
41
  description: The redactor-rails gem integrates the Redactor editor
56
- email:
42
+ email:
57
43
  - sammylintw@gmail.com
58
44
  executables: []
45
+
59
46
  extensions: []
47
+
60
48
  extra_rdoc_files: []
61
- files:
49
+
50
+ files:
62
51
  - .gitignore
63
52
  - Gemfile
64
53
  - MIT-LICENSE
@@ -139,25 +128,26 @@ files:
139
128
  - vendor/assets/stylesheets/redactor-rails/index.css
140
129
  homepage: https://github.com/SammyLin/redactor-rails
141
130
  licenses: []
131
+
142
132
  metadata: {}
133
+
143
134
  post_install_message:
144
135
  rdoc_options: []
145
- require_paths:
136
+
137
+ require_paths:
146
138
  - lib
147
- required_ruby_version: !ruby/object:Gem::Requirement
148
- requirements:
149
- - - '>='
150
- - !ruby/object:Gem::Version
151
- version: '0'
152
- required_rubygems_version: !ruby/object:Gem::Requirement
153
- requirements:
154
- - - '>='
155
- - !ruby/object:Gem::Version
156
- version: '0'
139
+ required_ruby_version: !ruby/object:Gem::Requirement
140
+ requirements:
141
+ - *id002
142
+ required_rubygems_version: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - *id002
157
145
  requirements: []
146
+
158
147
  rubyforge_project:
159
- rubygems_version: 2.0.0
148
+ rubygems_version: 2.0.2
160
149
  signing_key:
161
150
  specification_version: 4
162
- summary: ''
151
+ summary: ""
163
152
  test_files: []
153
+