epic-editor-rails 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,121 @@
1
+ html { padding:0 10px; }
2
+
3
+ body {
4
+ margin:0;
5
+ padding:10px 0;
6
+ background:#000;
7
+ }
8
+
9
+ #epiceditor-preview h1,
10
+ #epiceditor-preview h2,
11
+ #epiceditor-preview h3,
12
+ #epiceditor-preview h4,
13
+ #epiceditor-preview h5,
14
+ #epiceditor-preview h6,
15
+ #epiceditor-preview p,
16
+ #epiceditor-preview blockquote {
17
+ margin: 0;
18
+ padding: 0;
19
+ }
20
+ #epiceditor-preview {
21
+ background:#000;
22
+ font-family: "Helvetica Neue", Helvetica, "Hiragino Sans GB", Arial, sans-serif;
23
+ font-size: 13px;
24
+ line-height: 18px;
25
+ color: #ccc;
26
+ }
27
+ #epiceditor-preview a {
28
+ color: #fff;
29
+ }
30
+ #epiceditor-preview a:hover {
31
+ color: #00ff00;
32
+ text-decoration: none;
33
+ }
34
+ #epiceditor-preview a img {
35
+ border: none;
36
+ }
37
+ #epiceditor-preview p {
38
+ margin-bottom: 9px;
39
+ }
40
+ #epiceditor-preview h1,
41
+ #epiceditor-preview h2,
42
+ #epiceditor-preview h3,
43
+ #epiceditor-preview h4,
44
+ #epiceditor-preview h5,
45
+ #epiceditor-preview h6 {
46
+ color: #cdcdcd;
47
+ line-height: 36px;
48
+ }
49
+ #epiceditor-preview h1 {
50
+ margin-bottom: 18px;
51
+ font-size: 30px;
52
+ }
53
+ #epiceditor-preview h2 {
54
+ font-size: 24px;
55
+ }
56
+ #epiceditor-preview h3 {
57
+ font-size: 18px;
58
+ }
59
+ #epiceditor-preview h4 {
60
+ font-size: 16px;
61
+ }
62
+ #epiceditor-preview h5 {
63
+ font-size: 14px;
64
+ }
65
+ #epiceditor-preview h6 {
66
+ font-size: 13px;
67
+ }
68
+ #epiceditor-preview hr {
69
+ margin: 0 0 19px;
70
+ border: 0;
71
+ border-bottom: 1px solid #ccc;
72
+ }
73
+ #epiceditor-preview blockquote {
74
+ padding: 13px 13px 21px 15px;
75
+ margin-bottom: 18px;
76
+ font-family:georgia,serif;
77
+ font-style: italic;
78
+ }
79
+ #epiceditor-preview blockquote:before {
80
+ content:"\201C";
81
+ font-size:40px;
82
+ margin-left:-10px;
83
+ font-family:georgia,serif;
84
+ color:#eee;
85
+ }
86
+ #epiceditor-preview blockquote p {
87
+ font-size: 14px;
88
+ font-weight: 300;
89
+ line-height: 18px;
90
+ margin-bottom: 0;
91
+ font-style: italic;
92
+ }
93
+ #epiceditor-preview code, #epiceditor-preview pre {
94
+ font-family: Monaco, Andale Mono, Courier New, monospace;
95
+ }
96
+ #epiceditor-preview code {
97
+ background-color: #000;
98
+ color: #f92672;
99
+ padding: 1px 3px;
100
+ font-size: 12px;
101
+ -webkit-border-radius: 3px;
102
+ -moz-border-radius: 3px;
103
+ border-radius: 3px;
104
+ }
105
+ #epiceditor-preview pre {
106
+ display: block;
107
+ padding: 14px;
108
+ color:#66d9ef;
109
+ margin: 0 0 18px;
110
+ line-height: 16px;
111
+ font-size: 11px;
112
+ border: 1px solid #d9d9d9;
113
+ white-space: pre-wrap;
114
+ word-wrap: break-word;
115
+ }
116
+ #epiceditor-preview pre code {
117
+ background-color: #000;
118
+ color:#ccc;
119
+ font-size: 11px;
120
+ padding: 0;
121
+ }
metadata ADDED
@@ -0,0 +1,81 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: epic-editor-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - zethus
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-06-10 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: railties
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '3.2'
20
+ - - <
21
+ - !ruby/object:Gem::Version
22
+ version: '5.0'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '3.2'
30
+ - - <
31
+ - !ruby/object:Gem::Version
32
+ version: '5.0'
33
+ description: Rails 3.2/4.x asset gem for EpicEditor
34
+ email:
35
+ - zethus.suen@gmail.com
36
+ executables: []
37
+ extensions: []
38
+ extra_rdoc_files: []
39
+ files:
40
+ - lib/epic-editor-rails/engine.rb
41
+ - lib/epic-editor-rails/version.rb
42
+ - lib/epic-editor-rails.rb
43
+ - vendor/assets/images/edit.png
44
+ - vendor/assets/images/fullscreen.png
45
+ - vendor/assets/images/preview.png
46
+ - vendor/assets/javascripts/epiceditor.js
47
+ - vendor/assets/javascripts/epiceditor.min.js
48
+ - vendor/assets/stylesheets/base/epiceditor.css
49
+ - vendor/assets/stylesheets/editor/epic-dark.css
50
+ - vendor/assets/stylesheets/editor/epic-light.css
51
+ - vendor/assets/stylesheets/preview/bartik.css
52
+ - vendor/assets/stylesheets/preview/github.css
53
+ - vendor/assets/stylesheets/preview/preview-dark.css
54
+ - LICENSE
55
+ - Rakefile
56
+ - README.md
57
+ homepage: https://github.com/zethussuen/epic-editor-rails
58
+ licenses:
59
+ - MIT License
60
+ metadata: {}
61
+ post_install_message:
62
+ rdoc_options: []
63
+ require_paths:
64
+ - lib
65
+ required_ruby_version: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ required_rubygems_version: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - '>='
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ requirements: []
76
+ rubyforge_project:
77
+ rubygems_version: 2.0.3
78
+ signing_key:
79
+ specification_version: 4
80
+ summary: Rails 3.2/4.x asset gem for EpicEditor
81
+ test_files: []