markitup-rails 0.2.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/markitup-rails.rb +5 -7
- metadata +82 -86
- data/.gitignore +0 -2
- data/README.md +0 -81
- data/lib/markitup-rails/engine.rb +0 -6
- data/lib/markitup-rails/railtie.rb +0 -6
- data/lib/markitup-rails/version.rb +0 -5
- data/markitup-rails.gemspec +0 -21
- data/vendor/assets/images/markitup/bg-container.png +0 -0
- data/vendor/assets/images/markitup/bg-editor-bbcode.png +0 -0
- data/vendor/assets/images/markitup/bg-editor-dotclear.png +0 -0
- data/vendor/assets/images/markitup/bg-editor-html.png +0 -0
- data/vendor/assets/images/markitup/bg-editor-json.png +0 -0
- data/vendor/assets/images/markitup/bg-editor-markdown.png +0 -0
- data/vendor/assets/images/markitup/bg-editor-textile.png +0 -0
- data/vendor/assets/images/markitup/bg-editor-wiki.png +0 -0
- data/vendor/assets/images/markitup/bg-editor-xml.png +0 -0
- data/vendor/assets/images/markitup/bg-editor.png +0 -0
- data/vendor/assets/images/markitup/bold.png +0 -0
- data/vendor/assets/images/markitup/clean.png +0 -0
- data/vendor/assets/images/markitup/code.png +0 -0
- data/vendor/assets/images/markitup/css.png +0 -0
- data/vendor/assets/images/markitup/disconnect.png +0 -0
- data/vendor/assets/images/markitup/h1.png +0 -0
- data/vendor/assets/images/markitup/h2.png +0 -0
- data/vendor/assets/images/markitup/h3.png +0 -0
- data/vendor/assets/images/markitup/h4.png +0 -0
- data/vendor/assets/images/markitup/h5.png +0 -0
- data/vendor/assets/images/markitup/h6.png +0 -0
- data/vendor/assets/images/markitup/handle.png +0 -0
- data/vendor/assets/images/markitup/image.png +0 -0
- data/vendor/assets/images/markitup/italic.png +0 -0
- data/vendor/assets/images/markitup/link.png +0 -0
- data/vendor/assets/images/markitup/list-bullet.png +0 -0
- data/vendor/assets/images/markitup/list-item.png +0 -0
- data/vendor/assets/images/markitup/list-numeric.png +0 -0
- data/vendor/assets/images/markitup/menu.png +0 -0
- data/vendor/assets/images/markitup/page_white_code.png +0 -0
- data/vendor/assets/images/markitup/paragraph.png +0 -0
- data/vendor/assets/images/markitup/picture.png +0 -0
- data/vendor/assets/images/markitup/preview.png +0 -0
- data/vendor/assets/images/markitup/quotes.png +0 -0
- data/vendor/assets/images/markitup/stroke.png +0 -0
- data/vendor/assets/images/markitup/submenu.png +0 -0
- data/vendor/assets/images/markitup/tag.png +0 -0
- data/vendor/assets/images/markitup/text_align_center.png +0 -0
- data/vendor/assets/images/markitup/text_align_justify.png +0 -0
- data/vendor/assets/images/markitup/text_align_left.png +0 -0
- data/vendor/assets/images/markitup/text_align_right.png +0 -0
- data/vendor/assets/images/markitup/text_indent.png +0 -0
- data/vendor/assets/images/markitup/text_letterspacing.png +0 -0
- data/vendor/assets/images/markitup/text_linespacing.png +0 -0
- data/vendor/assets/images/markitup/text_lowercase.png +0 -0
- data/vendor/assets/images/markitup/text_padding_bottom.png +0 -0
- data/vendor/assets/images/markitup/text_padding_left.png +0 -0
- data/vendor/assets/images/markitup/text_padding_right.png +0 -0
- data/vendor/assets/images/markitup/text_padding_top.png +0 -0
- data/vendor/assets/images/markitup/text_uppercase.png +0 -0
- data/vendor/assets/images/markitup/url.png +0 -0
- data/vendor/assets/javascripts/markitup-css.js +0 -52
- data/vendor/assets/javascripts/markitup-html.js +0 -39
- data/vendor/assets/javascripts/markitup-markdown.js +0 -52
- data/vendor/assets/javascripts/markitup-textile.js +0 -40
- data/vendor/assets/javascripts/markitup.js +0 -593
- data/vendor/assets/javascripts/marmarkitup-texy.js +0 -51
- data/vendor/assets/javascripts/marmarkitup-wiki.js +0 -37
- data/vendor/assets/stylesheets/markitup-css.css.erb +0 -72
- data/vendor/assets/stylesheets/markitup-html.css.erb +0 -59
- data/vendor/assets/stylesheets/markitup-markdown.css.erb +0 -54
- data/vendor/assets/stylesheets/markitup-textile.css.erb +0 -61
- data/vendor/assets/stylesheets/markitup.css.erb +0 -149
- data/vendor/assets/stylesheets/marmarkitup-texy.css.erb +0 -51
- data/vendor/assets/stylesheets/marmarkitup-wiki.css.erb +0 -57
@@ -1,51 +0,0 @@
|
|
1
|
-
// ----------------------------------------------------------------------------
|
2
|
-
// markItUp!
|
3
|
-
// ----------------------------------------------------------------------------
|
4
|
-
// Copyright (C) 2008 Jay Salvat
|
5
|
-
// http://markitup.jaysalvat.com/
|
6
|
-
// ----------------------------------------------------------------------------
|
7
|
-
// Texy! set by Peter Kahoun
|
8
|
-
// http://kahi.cz
|
9
|
-
// ----------------------------------------------------------------------------
|
10
|
-
// Texy!
|
11
|
-
// http://texy.info
|
12
|
-
// Feel free to do anything with this.
|
13
|
-
// -------------------------------------------------------------------
|
14
|
-
mySettings = {
|
15
|
-
previewParserPath: '', // path to your Texy parser
|
16
|
-
onShiftEnter: {keepDefault:false, replaceWith:'\n\n'},
|
17
|
-
markupSet: [
|
18
|
-
{name:'Heading 1', key:'1', closeWith:function(markItUp) { return miu.texyTitle(markItUp, '#') }, placeHolder:'Your title here...', className:'h1'},
|
19
|
-
{name:'Heading 2', key:'2', closeWith:function(markItUp) { return miu.texyTitle(markItUp, '*') }, placeHolder:'Your title here...', className:'h2'},
|
20
|
-
{name:'Heading 3', key:'3', closeWith:function(markItUp) { return miu.texyTitle(markItUp, '=') }, placeHolder:'Your title here...', className:'h3'},
|
21
|
-
{name:'Heading 4', key:'4', closeWith:function(markItUp) { return miu.texyTitle(markItUp, '-') }, placeHolder:'Your title here...', className:'h4'},
|
22
|
-
{separator:'---------------' },
|
23
|
-
{name:'Bold', key:'B', closeWith:'**', openWith:'**', className:'bold', placeHolder:'Your text here...'},
|
24
|
-
{name:'Italic', key:'I', closeWith:'*', openWith:'*', className:'italic', placeHolder:'Your text here...'},
|
25
|
-
{separator:'---------------' },
|
26
|
-
{name:'Bulleted list', openWith:'- ', className:'list-bullet'},
|
27
|
-
{name:'Numeric list', openWith:function(markItUp) { return markItUp.line+'. '; }, className:'list-numeric'},
|
28
|
-
{separator:'---------------' },
|
29
|
-
{name:'Picture', openWith:'[* ', closeWith:' (!(.([![Alt text]!]))!) *]', placeHolder:'[![Url:!:http://]!]', className:'image'},
|
30
|
-
{name:'Link', openWith:'"', closeWith:'":[![Url:!:http://]!]', placeHolder:'Your text to link...', className:'link' },
|
31
|
-
{separator:'---------------' },
|
32
|
-
{name:'Quotes', openWith:'> ', className:'quotes'},
|
33
|
-
{name:'Code block/Code in-line', openWith:'(!(/---[![Language:!:html]!]\n|!|`)!)', closeWith:'(!(\n\\---\n|!|`)!)', className:'code'},
|
34
|
-
{name:'Texy off', closeWith:'\'\'', openWith:'\'\'', className:'off', placeHolder:'No texty! in here!'},
|
35
|
-
{separator:'---------------' },
|
36
|
-
{name:'Preview', call:'preview', className:'preview'}
|
37
|
-
]
|
38
|
-
}
|
39
|
-
|
40
|
-
miu = {
|
41
|
-
texyTitle: function (markItUp, char) {
|
42
|
-
heading = '';
|
43
|
-
n = $.trim(markItUp.selection || markItUp.placeHolder).length;
|
44
|
-
for(i = 0; i < n; i++) {
|
45
|
-
heading += char;
|
46
|
-
}
|
47
|
-
return '\n'+heading;
|
48
|
-
}
|
49
|
-
}
|
50
|
-
|
51
|
-
|
@@ -1,37 +0,0 @@
|
|
1
|
-
// -------------------------------------------------------------------
|
2
|
-
// markItUp!
|
3
|
-
// -------------------------------------------------------------------
|
4
|
-
// Copyright (C) 2008 Jay Salvat
|
5
|
-
// http://markitup.jaysalvat.com/
|
6
|
-
// -------------------------------------------------------------------
|
7
|
-
// Mediawiki Wiki tags example
|
8
|
-
// -------------------------------------------------------------------
|
9
|
-
// Feel free to add more tags
|
10
|
-
// -------------------------------------------------------------------
|
11
|
-
mySettings = {
|
12
|
-
previewParserPath: '', // path to your Wiki parser
|
13
|
-
onShiftEnter: {keepDefault:false, replaceWith:'\n\n'},
|
14
|
-
markupSet: [
|
15
|
-
{name:'Heading 1', key:'1', openWith:'== ', closeWith:' ==', placeHolder:'Your title here...' },
|
16
|
-
{name:'Heading 2', key:'2', openWith:'=== ', closeWith:' ===', placeHolder:'Your title here...' },
|
17
|
-
{name:'Heading 3', key:'3', openWith:'==== ', closeWith:' ====', placeHolder:'Your title here...' },
|
18
|
-
{name:'Heading 4', key:'4', openWith:'===== ', closeWith:' =====', placeHolder:'Your title here...' },
|
19
|
-
{name:'Heading 5', key:'5', openWith:'====== ', closeWith:' ======', placeHolder:'Your title here...' },
|
20
|
-
{separator:'---------------' },
|
21
|
-
{name:'Bold', key:'B', openWith:"'''", closeWith:"'''"},
|
22
|
-
{name:'Italic', key:'I', openWith:"''", closeWith:"''"},
|
23
|
-
{name:'Stroke through', key:'S', openWith:'<s>', closeWith:'</s>'},
|
24
|
-
{separator:'---------------' },
|
25
|
-
{name:'Bulleted list', openWith:'(!(* |!|*)!)'},
|
26
|
-
{name:'Numeric list', openWith:'(!(# |!|#)!)'},
|
27
|
-
{separator:'---------------' },
|
28
|
-
{name:'Picture', key:"P", replaceWith:'[[Image:[![Url:!:http://]!]|[![name]!]]]'},
|
29
|
-
{name:'Link', key:"L", openWith:"[[![Link]!] ", closeWith:']', placeHolder:'Your text to link here...' },
|
30
|
-
{name:'Url', openWith:"[[![Url:!:http://]!] ", closeWith:']', placeHolder:'Your text to link here...' },
|
31
|
-
{separator:'---------------' },
|
32
|
-
{name:'Quotes', openWith:'(!(> |!|>)!)', placeHolder:''},
|
33
|
-
{name:'Code', openWith:'(!(<source lang="[![Language:!:php]!]">|!|<pre>)!)', closeWith:'(!(</source>|!|</pre>)!)'},
|
34
|
-
{separator:'---------------' },
|
35
|
-
{name:'Preview', call:'preview', className:'preview'}
|
36
|
-
]
|
37
|
-
}
|
@@ -1,72 +0,0 @@
|
|
1
|
-
/* -------------------------------------------------------------------
|
2
|
-
// markItUp!
|
3
|
-
// By Jay Salvat - http://markitup.jaysalvat.com/
|
4
|
-
//
|
5
|
-
// CSS Set by Kevin Papst - http://www.kevinpapst.de/
|
6
|
-
// ------------------------------------------------------------------*/
|
7
|
-
.markItUp .class a {
|
8
|
-
background-image:url(<%= image_path "markitup/tag.png" %>);
|
9
|
-
}
|
10
|
-
.markItUp .bold a {
|
11
|
-
background-image:url(<%= image_path "markitup/bold.png" %>);
|
12
|
-
}
|
13
|
-
.markItUp .italic a {
|
14
|
-
background-image:url(<%= image_path "markitup/italic.png" %>);
|
15
|
-
}
|
16
|
-
.markItUp .stroke a {
|
17
|
-
background-image:url(<%= image_path "markitup/stroke.png" %>);
|
18
|
-
}
|
19
|
-
.markItUp .lowercase a {
|
20
|
-
background-image:url(<%= image_path "markitup/text_lowercase.png" %>);
|
21
|
-
}
|
22
|
-
.markItUp .uppercase a {
|
23
|
-
background-image:url(<%= image_path "markitup/text_uppercase.png" %>);
|
24
|
-
}
|
25
|
-
|
26
|
-
.markItUp .alignments a {
|
27
|
-
background-image:url(<%= image_path "markitup/text_align_left.png" %>);
|
28
|
-
}
|
29
|
-
.markItUp .alignments .left a {
|
30
|
-
background-image:url(<%= image_path "markitup/text_align_left.png" %>);
|
31
|
-
}
|
32
|
-
.markItUp .alignments .center a {
|
33
|
-
background-image:url(<%= image_path "markitup/text_align_center.png" %>);
|
34
|
-
}
|
35
|
-
.markItUp .alignments .right a {
|
36
|
-
background-image:url(<%= image_path "markitup/text_align_center.png" %>);
|
37
|
-
}
|
38
|
-
.markItUp .alignments .justify a {
|
39
|
-
background-image:url(<%= image_path "markitup/text_align_justify.png" %>);
|
40
|
-
}
|
41
|
-
|
42
|
-
.markItUp .indent a {
|
43
|
-
background-image:url(<%= image_path "markitup/text_indent.png" %>);
|
44
|
-
}
|
45
|
-
.markItUp .letterspacing a {
|
46
|
-
background-image:url(<%= image_path "markitup/text_letterspacing.png" %>);
|
47
|
-
}
|
48
|
-
.markItUp .lineheight a {
|
49
|
-
background-image:url(<%= image_path "markitup/text_linespacing.png" %>);
|
50
|
-
}
|
51
|
-
|
52
|
-
.markItUp .padding a {
|
53
|
-
background-image:url(<%= image_path "markitup/text_padding_left.png" %>);
|
54
|
-
}
|
55
|
-
.markItUp .padding .left a {
|
56
|
-
background-image:url(<%= image_path "markitup/text_padding_left.png" %>);
|
57
|
-
}
|
58
|
-
.markItUp .padding .top a {
|
59
|
-
background-image:url(<%= image_path "markitup/text_padding_top.png" %>);
|
60
|
-
}
|
61
|
-
.markItUp .padding .right a {
|
62
|
-
background-image:url(<%= image_path "markitup/text_padding_right.png" %>);
|
63
|
-
}
|
64
|
-
.markItUp .padding .bottom a {
|
65
|
-
background-image:url(<%= image_path "markitup/text_padding_bottom.png" %>);
|
66
|
-
}
|
67
|
-
.markItUp .background a {
|
68
|
-
background-image:url(<%= image_path "markitup/picture.png" %>);
|
69
|
-
}
|
70
|
-
.markItUp .css a {
|
71
|
-
background-image:url(<%= image_path "markitup/css.png" %>);
|
72
|
-
}
|
@@ -1,59 +0,0 @@
|
|
1
|
-
/* -------------------------------------------------------------------
|
2
|
-
// markItUp!
|
3
|
-
// By Jay Salvat - http://markitup.jaysalvat.com/
|
4
|
-
// ------------------------------------------------------------------*/
|
5
|
-
.markItUp .markItUpButton1 a {
|
6
|
-
background-image:url(<%= image_path "markitup/h1.png" %>);
|
7
|
-
}
|
8
|
-
.markItUp .markItUpButton2 a {
|
9
|
-
background-image:url(<%= image_path "markitup/h2.png" %>);
|
10
|
-
}
|
11
|
-
.markItUp .markItUpButton3 a {
|
12
|
-
background-image:url(<%= image_path "markitup/h3.png" %>);
|
13
|
-
}
|
14
|
-
.markItUp .markItUpButton4 a {
|
15
|
-
background-image:url(<%= image_path "markitup/h4.png" %>);
|
16
|
-
}
|
17
|
-
.markItUp .markItUpButton5 a {
|
18
|
-
background-image:url(<%= image_path "markitup/h5.png" %>);
|
19
|
-
}
|
20
|
-
.markItUp .markItUpButton6 a {
|
21
|
-
background-image:url(<%= image_path "markitup/h6.png" %>);
|
22
|
-
}
|
23
|
-
.markItUp .markItUpButton7 a {
|
24
|
-
background-image:url(<%= image_path "markitup/paragraph.png" %>);
|
25
|
-
}
|
26
|
-
|
27
|
-
.markItUp .markItUpButton8 a {
|
28
|
-
background-image:url(<%= image_path "markitup/bold.png" %>);
|
29
|
-
}
|
30
|
-
.markItUp .markItUpButton9 a {
|
31
|
-
background-image:url(<%= image_path "markitup/italic.png" %>);
|
32
|
-
}
|
33
|
-
.markItUp .markItUpButton10 a {
|
34
|
-
background-image:url(<%= image_path "markitup/stroke.png" %>);
|
35
|
-
}
|
36
|
-
|
37
|
-
.markItUp .markItUpButton11 a {
|
38
|
-
background-image:url(<%= image_path "markitup/list-bullet.png" %>);
|
39
|
-
}
|
40
|
-
.markItUp .markItUpButton12 a {
|
41
|
-
background-image:url(<%= image_path "markitup/list-numeric.png" %>);
|
42
|
-
}
|
43
|
-
.markItUp .markItUpButton13 a {
|
44
|
-
background-image:url(<%= image_path "markitup/list-item.png" %>);
|
45
|
-
}
|
46
|
-
|
47
|
-
.markItUp .markItUpButton14 a {
|
48
|
-
background-image:url(<%= image_path "markitup/picture.png" %>);
|
49
|
-
}
|
50
|
-
.markItUp .markItUpButton15 a {
|
51
|
-
background-image:url(<%= image_path "markitup/link.png" %>);
|
52
|
-
}
|
53
|
-
|
54
|
-
.markItUp .clean a {
|
55
|
-
background-image:url(<%= image_path "markitup/clean.png" %>);
|
56
|
-
}
|
57
|
-
.markItUp .preview a {
|
58
|
-
background-image:url(<%= image_path "markitup/preview.png" %>);
|
59
|
-
}
|
@@ -1,54 +0,0 @@
|
|
1
|
-
/* -------------------------------------------------------------------
|
2
|
-
// markItUp!
|
3
|
-
// By Jay Salvat - http://markitup.jaysalvat.com/
|
4
|
-
// ------------------------------------------------------------------*/
|
5
|
-
.markItUp .markItUpButton1 a {
|
6
|
-
background-image:url(<%= image_path "markitup/h1.png" %>);
|
7
|
-
}
|
8
|
-
.markItUp .markItUpButton2 a {
|
9
|
-
background-image:url(<%= image_path "markitup/h2.png" %>);
|
10
|
-
}
|
11
|
-
.markItUp .markItUpButton3 a {
|
12
|
-
background-image:url(<%= image_path "markitup/h3.png" %>);
|
13
|
-
}
|
14
|
-
.markItUp .markItUpButton4 a {
|
15
|
-
background-image:url(<%= image_path "markitup/h4.png" %>);
|
16
|
-
}
|
17
|
-
.markItUp .markItUpButton5 a {
|
18
|
-
background-image:url(<%= image_path "markitup/h5.png" %>);
|
19
|
-
}
|
20
|
-
.markItUp .markItUpButton6 a {
|
21
|
-
background-image:url(<%= image_path "markitup/h6.png" %>);
|
22
|
-
}
|
23
|
-
|
24
|
-
.markItUp .markItUpButton7 a {
|
25
|
-
background-image:url(<%= image_path "markitup/bold.png" %>);
|
26
|
-
}
|
27
|
-
.markItUp .markItUpButton8 a {
|
28
|
-
background-image:url(<%= image_path "markitup/italic.png" %>);
|
29
|
-
}
|
30
|
-
|
31
|
-
.markItUp .markItUpButton9 a {
|
32
|
-
background-image:url(<%= image_path "markitup/list-bullet.png" %>);
|
33
|
-
}
|
34
|
-
.markItUp .markItUpButton10 a {
|
35
|
-
background-image:url(<%= image_path "markitup/list-numeric.png" %>);
|
36
|
-
}
|
37
|
-
|
38
|
-
.markItUp .markItUpButton11 a {
|
39
|
-
background-image:url(<%= image_path "markitup/picture.png" %>);
|
40
|
-
}
|
41
|
-
.markItUp .markItUpButton12 a {
|
42
|
-
background-image:url(<%= image_path "markitup/link.png" %>);
|
43
|
-
}
|
44
|
-
|
45
|
-
.markItUp .markItUpButton13 a {
|
46
|
-
background-image:url(<%= image_path "markitup/quotes.png" %>);
|
47
|
-
}
|
48
|
-
.markItUp .markItUpButton14 a {
|
49
|
-
background-image:url(<%= image_path "markitup/code.png" %>);
|
50
|
-
}
|
51
|
-
|
52
|
-
.markItUp .preview a {
|
53
|
-
background-image:url(<%= image_path "markitup/preview.png" %>);
|
54
|
-
}
|
@@ -1,61 +0,0 @@
|
|
1
|
-
/* -------------------------------------------------------------------
|
2
|
-
// markItUp!
|
3
|
-
// By Jay Salvat - http://markitup.jaysalvat.com/
|
4
|
-
// Modified by Uri Gorelik
|
5
|
-
// ------------------------------------------------------------------*/
|
6
|
-
.markItUp .markItUpButton1 a {
|
7
|
-
background-image:url(<%= image_path "markitup/h1.png" %>);
|
8
|
-
}
|
9
|
-
.markItUp .markItUpButton2 a {
|
10
|
-
background-image:url(<%= image_path "markitup/h2.png" %>);
|
11
|
-
}
|
12
|
-
.markItUp .markItUpButton3 a {
|
13
|
-
background-image:url(<%= image_path "markitup/h3.png" %>);
|
14
|
-
}
|
15
|
-
.markItUp .markItUpButton4 a {
|
16
|
-
background-image:url(<%= image_path "markitup/h4.png" %>);
|
17
|
-
}
|
18
|
-
.markItUp .markItUpButton5 a {
|
19
|
-
background-image:url(<%= image_path "markitup/h5.png" %>);
|
20
|
-
}
|
21
|
-
.markItUp .markItUpButton6 a {
|
22
|
-
background-image:url(<%= image_path "markitup/h6.png" %>);
|
23
|
-
}
|
24
|
-
.markItUp .markItUpButton7 a {
|
25
|
-
background-image:url(<%= image_path "markitup/paragraph.png" %>);
|
26
|
-
}
|
27
|
-
|
28
|
-
.markItUp .markItUpButton8 a {
|
29
|
-
background-image:url(<%= image_path "markitup/bold.png" %>);
|
30
|
-
}
|
31
|
-
.markItUp .markItUpButton9 a {
|
32
|
-
background-image:url(<%= image_path "markitup/italic.png" %>);
|
33
|
-
}
|
34
|
-
.markItUp .markItUpButton10 a {
|
35
|
-
background-image:url(<%= image_path "markitup/stroke.png" %>);
|
36
|
-
}
|
37
|
-
|
38
|
-
.markItUp .markItUpButton11 a {
|
39
|
-
background-image:url(<%= image_path "markitup/list-bullet.png" %>);
|
40
|
-
}
|
41
|
-
.markItUp .markItUpButton12 a {
|
42
|
-
background-image:url(<%= image_path "markitup/list-numeric.png" %>);
|
43
|
-
}
|
44
|
-
|
45
|
-
.markItUp .markItUpButton13 a {
|
46
|
-
background-image:url(<%= image_path "markitup/picture.png" %>);
|
47
|
-
}
|
48
|
-
.markItUp .markItUpButton14 a {
|
49
|
-
background-image:url(<%= image_path "markitup/link.png" %>);
|
50
|
-
}
|
51
|
-
|
52
|
-
.markItUp .markItUpButton15 a {
|
53
|
-
background-image:url(<%= image_path "markitup/quotes.png" %>);
|
54
|
-
}
|
55
|
-
.markItUp .markItUpButton16 a {
|
56
|
-
background-image:url(<%= image_path "markitup/code.png" %>);
|
57
|
-
}
|
58
|
-
|
59
|
-
.markItUp .preview a {
|
60
|
-
background-image:url(<%= image_path "markitup/preview.png" %>);
|
61
|
-
}
|
@@ -1,149 +0,0 @@
|
|
1
|
-
/* -------------------------------------------------------------------
|
2
|
-
// markItUp! Universal MarkUp Engine, JQuery plugin
|
3
|
-
// By Jay Salvat - http://markitup.jaysalvat.com/
|
4
|
-
// WOOOOOP
|
5
|
-
// ------------------------------------------------------------------*/
|
6
|
-
.markItUp * {
|
7
|
-
margin:0px; padding:0px;
|
8
|
-
outline:none;
|
9
|
-
}
|
10
|
-
.markItUp a:link,
|
11
|
-
.markItUp a:visited {
|
12
|
-
color:#000;
|
13
|
-
text-decoration:none;
|
14
|
-
}
|
15
|
-
.markItUp {
|
16
|
-
width:700px;
|
17
|
-
margin:5px 0 5px 0;
|
18
|
-
border:5px solid #F5F5F5;
|
19
|
-
}
|
20
|
-
.markItUpContainer {
|
21
|
-
border:1px solid #3C769D;
|
22
|
-
background:#FFF url(<%= image_path "markitup/bg-container.png" %>) repeat-x top left;
|
23
|
-
padding:5px 5px 2px 5px;
|
24
|
-
font:11px Verdana, Arial, Helvetica, sans-serif;
|
25
|
-
}
|
26
|
-
.markItUpEditor {
|
27
|
-
font:12px 'Courier New', Courier, monospace;
|
28
|
-
padding:5px 5px 5px 35px;
|
29
|
-
border:3px solid #3C769D;
|
30
|
-
width:643px;
|
31
|
-
height:320px;
|
32
|
-
background:#FFF url(<%= image_path "markitup/bg-editor.png" %>) no-repeat;
|
33
|
-
clear:both;
|
34
|
-
line-height:18px;
|
35
|
-
overflow:auto;
|
36
|
-
}
|
37
|
-
.markItUpPreviewFrame {
|
38
|
-
overflow:auto;
|
39
|
-
background-color:#FFFFFF;
|
40
|
-
border:1px solid #3C769D;
|
41
|
-
width:99.9%;
|
42
|
-
height:300px;
|
43
|
-
margin:5px 0;
|
44
|
-
}
|
45
|
-
.markItUpFooter {
|
46
|
-
width:100%;
|
47
|
-
cursor:n-resize;
|
48
|
-
}
|
49
|
-
.markItUpResizeHandle {
|
50
|
-
overflow:hidden;
|
51
|
-
width:22px; height:5px;
|
52
|
-
margin-left:auto;
|
53
|
-
margin-right:auto;
|
54
|
-
background-image:url(<%= image_path "markitup/handle.png" %>);
|
55
|
-
cursor:n-resize;
|
56
|
-
}
|
57
|
-
/***************************************************************************************/
|
58
|
-
/* first row of buttons */
|
59
|
-
.markItUpHeader ul li {
|
60
|
-
list-style:none;
|
61
|
-
float:left;
|
62
|
-
position:relative;
|
63
|
-
}
|
64
|
-
.markItUpHeader ul li ul{
|
65
|
-
display:none;
|
66
|
-
}
|
67
|
-
.markItUpHeader ul li:hover > ul{
|
68
|
-
display:block;
|
69
|
-
}
|
70
|
-
.markItUpHeader ul .markItUpDropMenu {
|
71
|
-
background:transparent url(<%= image_path "markitup/menu.png" %>) no-repeat 115% 50%;
|
72
|
-
margin-right:5px;
|
73
|
-
}
|
74
|
-
.markItUpHeader ul .markItUpDropMenu li {
|
75
|
-
margin-right:0px;
|
76
|
-
}
|
77
|
-
.markItUpHeader ul .markItUpSeparator {
|
78
|
-
margin:0 10px;
|
79
|
-
width:1px;
|
80
|
-
height:16px;
|
81
|
-
overflow:hidden;
|
82
|
-
background-color:#CCC;
|
83
|
-
}
|
84
|
-
.markItUpHeader ul ul .markItUpSeparator {
|
85
|
-
width:auto; height:1px;
|
86
|
-
margin:0px;
|
87
|
-
}
|
88
|
-
/* next rows of buttons */
|
89
|
-
.markItUpHeader ul ul {
|
90
|
-
display:none;
|
91
|
-
position:absolute;
|
92
|
-
top:18px; left:0px;
|
93
|
-
background:#F5F5F5;
|
94
|
-
border:1px solid #3C769D;
|
95
|
-
height:inherit;
|
96
|
-
}
|
97
|
-
.markItUpHeader ul ul li {
|
98
|
-
float:none;
|
99
|
-
border-bottom:1px solid #3C769D;
|
100
|
-
}
|
101
|
-
.markItUpHeader ul ul .markItUpDropMenu {
|
102
|
-
background:#F5F5F5 url(<%= image_path "markitup/submenu.png" %>) no-repeat 100% 50%;
|
103
|
-
}
|
104
|
-
/* next rows of buttons */
|
105
|
-
.markItUpHeader ul ul ul {
|
106
|
-
position:absolute;
|
107
|
-
top:-1px; left:150px;
|
108
|
-
}
|
109
|
-
.markItUpHeader ul ul ul li {
|
110
|
-
float:none;
|
111
|
-
}
|
112
|
-
.markItUpHeader ul a {
|
113
|
-
display:block;
|
114
|
-
width:16px; height:16px;
|
115
|
-
text-indent:-10000px;
|
116
|
-
background-repeat:no-repeat;
|
117
|
-
padding:3px;
|
118
|
-
margin:0px;
|
119
|
-
}
|
120
|
-
.markItUpHeader ul ul a {
|
121
|
-
display:block;
|
122
|
-
padding-left:0px;
|
123
|
-
text-indent:0;
|
124
|
-
width:120px;
|
125
|
-
padding:5px 5px 5px 25px;
|
126
|
-
background-position:2px 50%;
|
127
|
-
}
|
128
|
-
.markItUpHeader ul ul a:hover {
|
129
|
-
color:#FFF;
|
130
|
-
background-color:#3C769D;
|
131
|
-
}
|
132
|
-
/***************************************************************************************/
|
133
|
-
.html .markItUpEditor {
|
134
|
-
background-image:url(<%= image_path "markitup/bg-editor-html.png" %>);
|
135
|
-
}
|
136
|
-
.markdown .markItUpEditor {
|
137
|
-
background-image:url(<%= image_path "markitup/bg-editor-markdown.png" %>);
|
138
|
-
}
|
139
|
-
.textile .markItUpEditor {
|
140
|
-
background-image:url(<%= image_path "markitup/bg-editor-textile.png" %>);
|
141
|
-
}
|
142
|
-
.bbcode .markItUpEditor {
|
143
|
-
background-image:url(<%= image_path "markitup/bg-editor-bbcode.png" %>);
|
144
|
-
}
|
145
|
-
.wiki .markItUpEditor,
|
146
|
-
.dotclear .markItUpEditor {
|
147
|
-
background-image:url(<%= image_path "markitup/bg-editor-wiki.png" %>);
|
148
|
-
}
|
149
|
-
|