character_editor 0.1.2 → 0.1.3

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.
@@ -0,0 +1,176 @@
1
+ /*
2
+ BEFORE TOOLBAR
3
+ */
4
+
5
+ .redactor_editor div,
6
+ .redactor_editor p,
7
+ .redactor_editor ul,
8
+ .redactor_editor ol,
9
+ .redactor_editor table,
10
+ .redactor_editor dl,
11
+ .redactor_editor blockquote,
12
+ .redactor_editor pre,
13
+ .redactor_editor h1,
14
+ .redactor_editor h2,
15
+ .redactor_editor h3,
16
+ .redactor_editor h4,
17
+ .redactor_editor h5,
18
+ .redactor_editor h6 {
19
+ font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif;
20
+ }
21
+ .redactor_editor code,
22
+ .redactor_editor pre {
23
+ font-family: Menlo, Monaco, monospace, sans-serif;
24
+ }
25
+ .redactor_editor div,
26
+ .redactor_editor p,
27
+ .redactor_editor ul,
28
+ .redactor_editor ol,
29
+ .redactor_editor table,
30
+ .redactor_editor dl,
31
+ .redactor_editor blockquote,
32
+ .redactor_editor pre {
33
+ font-size: 14px;
34
+ line-height: 1.6em;
35
+ }
36
+ .redactor_editor a {
37
+ color: #15c !important;
38
+ text-decoration: underline !important;
39
+ }
40
+
41
+ /*
42
+ HEADERS
43
+ */
44
+ .redactor_editor h1,
45
+ .redactor_editor h2,
46
+ .redactor_editor h3,
47
+ .redactor_editor h4,
48
+ .redactor_editor h5,
49
+ .redactor_editor h6 {
50
+ margin-top: 0 !important;
51
+ padding: 0 !important;
52
+ background: none;
53
+ color: #000;
54
+ font-weight: bold;
55
+ }
56
+ .redactor_editor h1 {
57
+ font-size: 36px !important;
58
+ line-height: 1.111em !important;
59
+ margin-bottom: .15em !important;
60
+ }
61
+ .redactor_editor h2 {
62
+ font-size: 30px !important;
63
+ line-height: 1.111em !important;
64
+ margin-bottom: .25em !important;
65
+ }
66
+ .redactor_editor h3 {
67
+ font-size: 24px !important;
68
+ line-height: 1.333em !important;
69
+ margin-bottom: .2em !important;
70
+ }
71
+ .redactor_editor h4 {
72
+ font-size: 18px !important;
73
+ line-height: 1.5em !important;
74
+ margin-bottom: .2em !important;
75
+ }
76
+ .redactor_editor h5 {
77
+ font-size: 1em !important;
78
+ line-height: 1.6em !important;
79
+ margin-bottom: .25em !important;
80
+ }
81
+ .redactor_editor h6 {
82
+ font-size: .8em !important;
83
+ line-height: 1.6em !important;
84
+ text-transform: uppercase;
85
+ margin-bottom: .3em !important;
86
+ }
87
+
88
+ /*
89
+ TYPOGRAPHY
90
+ */
91
+ .redactor_editor object,
92
+ .redactor_editor embed,
93
+ .redactor_editor video,
94
+ .redactor_editor img {
95
+ max-width: 100%;
96
+ width: auto;
97
+ }
98
+ .redactor_editor video,
99
+ .redactor_editor img {
100
+ height: auto;
101
+ }
102
+ .redactor_editor div,
103
+ .redactor_editor p,
104
+ .redactor_editor ul,
105
+ .redactor_editor ol,
106
+ .redactor_editor table,
107
+ .redactor_editor dl,
108
+ .redactor_editor blockquote,
109
+ .redactor_editor pre {
110
+ margin: 0;
111
+ margin-bottom: 10px !important;
112
+ border: none;
113
+ background: none !important;
114
+ box-shadow: none !important;
115
+ }
116
+ .redactor_editor iframe,
117
+ .redactor_editor object,
118
+ .redactor_editor hr {
119
+ margin-bottom: 15px !important;
120
+ }
121
+ .redactor_editor blockquote {
122
+ margin-left: 1.5em !important;
123
+ padding-left: 0 !important;
124
+ color: #777;
125
+ font-style: italic !important;
126
+ }
127
+ .redactor_editor ul,
128
+ .redactor_editor ol {
129
+ padding-left: 2em !important;
130
+ }
131
+ .redactor_editor ul ul,
132
+ .redactor_editor ol ol,
133
+ .redactor_editor ul ol,
134
+ .redactor_editor ol ul {
135
+ margin: 2px !important;
136
+ padding: 0 !important;
137
+ padding-left: 2em !important;
138
+ border: none;
139
+ }
140
+ .redactor_editor dl dt {
141
+ font-weight: bold;
142
+ }
143
+ .redactor_editor dd {
144
+ margin-left: 1em;
145
+ }
146
+ .redactor_editor table {
147
+ border-collapse: collapse;
148
+ font-size: 1em !important;
149
+ }
150
+ .redactor_editor table td {
151
+ padding: 5px !important;
152
+ border: 1px solid #ddd;
153
+ vertical-align: top;
154
+ }
155
+ .redactor_editor table thead td {
156
+ border-bottom: 2px solid #000 !important;
157
+ font-weight: bold !important;
158
+ }
159
+ .redactor_editor code {
160
+ background-color: #d8d7d7 !important;
161
+ }
162
+ .redactor_editor pre {
163
+ overflow: auto;
164
+ padding: 1em !important;
165
+ border: 1px solid #ddd !important;
166
+ border-radius: 3px !important;
167
+ background: #f8f8f8 !important;
168
+ white-space: pre;
169
+ font-size: 90% !important;
170
+ }
171
+ .redactor_editor hr {
172
+ display: block;
173
+ height: 1px;
174
+ border: 0;
175
+ border-top: 1px solid #ccc;
176
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: character_editor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Kravets
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-08 00:00:00.000000000 Z
11
+ date: 2014-05-20 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: alex@slatestudio.com
@@ -32,10 +32,14 @@ files:
32
32
  - lib/character_editor.rb
33
33
  - lib/character_editor/engine.rb
34
34
  - lib/character_editor/version.rb
35
+ - vendor/assets/fonts/redactor-font.eot
35
36
  - vendor/assets/javascripts/keypress.js
37
+ - vendor/assets/javascripts/redactor.js
38
+ - vendor/assets/stylesheets/redactor.css
39
+ - vendor/assets/stylesheets/redactor_typography.scss
36
40
  homepage: https://github.com/slate-studio/character_editor
37
41
  licenses:
38
- - MIT
42
+ - MIT but not for Redactor.js
39
43
  metadata: {}
40
44
  post_install_message:
41
45
  rdoc_options: []
@@ -56,5 +60,5 @@ rubyforge_project: nowarning
56
60
  rubygems_version: 2.2.1
57
61
  signing_key:
58
62
  specification_version: 4
59
- summary: Character WYSIWYG editor
63
+ summary: Character WYSIWYG editor + Redactor.js
60
64
  test_files: []