epiceditor 0.0.0 → 0.2.2.1

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,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 CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epiceditor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - AJ Acevedo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-15 00:00:00.000000000 Z
11
+ date: 2013-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -44,30 +44,30 @@ dependencies:
44
44
  requirements:
45
45
  - - ~>
46
46
  - !ruby/object:Gem::Version
47
- version: '2.14'
47
+ version: 2.14.0
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ~>
53
53
  - !ruby/object:Gem::Version
54
- version: '2.14'
54
+ version: 2.14.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: capybara
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: '2.1'
61
+ version: 2.1.0
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ~>
67
67
  - !ruby/object:Gem::Version
68
- version: '2.1'
68
+ version: 2.1.0
69
69
  description: EpicEditor for Rails - Is a Ruby on Rails engine which adds a JavaScript
70
- Markdown Editor to a Rails 4 with split fullscreen editing, live previewing, automatic
70
+ Markdown Editor to Rails 4 with split fullscreen editing, live previewing, automatic
71
71
  draft saving, offline support, and more.
72
72
  email:
73
73
  - aj@ajalabs.com
@@ -75,8 +75,6 @@ executables: []
75
75
  extensions: []
76
76
  extra_rdoc_files: []
77
77
  files:
78
- - app/assets/javascripts/epiceditor/application.js
79
- - app/assets/stylesheets/epiceditor/application.css
80
78
  - app/controllers/epiceditor/application_controller.rb
81
79
  - app/helpers/epiceditor/application_helper.rb
82
80
  - app/views/layouts/epiceditor/application.html.erb
@@ -86,6 +84,15 @@ files:
86
84
  - lib/epiceditor/version.rb
87
85
  - lib/epiceditor.rb
88
86
  - lib/tasks/epiceditor_tasks.rake
87
+ - vendor/assets/javascripts/epiceditor/epiceditor.js
88
+ - vendor/assets/stylesheets/epiceditor/themes/base/epiceditor.css
89
+ - vendor/assets/stylesheets/epiceditor/themes/editor/epic-dark.css
90
+ - vendor/assets/stylesheets/epiceditor/themes/editor/epic-light.css
91
+ - vendor/assets/stylesheets/epiceditor/themes/preview/bartik.css
92
+ - vendor/assets/stylesheets/epiceditor/themes/preview/github.css
93
+ - vendor/assets/stylesheets/epiceditor/themes/preview/preview-dark.css
94
+ - vendor/assets/stylesheets/epiceditor.css
95
+ - CHANGELOG.md
89
96
  - LICENSE.md
90
97
  - Rakefile
91
98
  - README.md
@@ -1,13 +0,0 @@
1
- // This is a manifest file that'll be compiled into application.js, which will include all the files
2
- // listed below.
3
- //
4
- // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
- // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
6
- //
7
- // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
- // compiled file.
9
- //
10
- // Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
11
- // about supported directives.
12
- //
13
- //= require_tree .
@@ -1,13 +0,0 @@
1
- /*
2
- * This is a manifest file that'll be compiled into application.css, which will include all the files
3
- * listed below.
4
- *
5
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
- * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
7
- *
8
- * You're free to add application-wide styles to this file and they'll appear at the top of the
9
- * compiled file, but it's generally better to create a new file per style scope.
10
- *
11
- *= require_self
12
- *= require_tree .
13
- */