mad_chatter 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/mad_chatter +1 -5
- data/lib/mad_chatter/version.rb +1 -1
- data/templates/web/index.html +0 -1
- metadata +21 -53
- data/templates/web/markitup/sets/default/images/bold.png +0 -0
- data/templates/web/markitup/sets/default/images/clean.png +0 -0
- data/templates/web/markitup/sets/default/images/image.png +0 -0
- data/templates/web/markitup/sets/default/images/italic.png +0 -0
- data/templates/web/markitup/sets/default/images/link.png +0 -0
- data/templates/web/markitup/sets/default/images/list-bullet.png +0 -0
- data/templates/web/markitup/sets/default/images/list-numeric.png +0 -0
- data/templates/web/markitup/sets/default/images/picture.png +0 -0
- data/templates/web/markitup/sets/default/images/preview.png +0 -0
- data/templates/web/markitup/sets/default/images/stroke.png +0 -0
- data/templates/web/markitup/sets/default/set.js +0 -30
- data/templates/web/markitup/sets/default/style.css +0 -34
- data/templates/web/markitup/skins/markitup/images/bg-container.png +0 -0
- data/templates/web/markitup/skins/markitup/images/bg-editor-bbcode.png +0 -0
- data/templates/web/markitup/skins/markitup/images/bg-editor-dotclear.png +0 -0
- data/templates/web/markitup/skins/markitup/images/bg-editor-html.png +0 -0
- data/templates/web/markitup/skins/markitup/images/bg-editor-json.png +0 -0
- data/templates/web/markitup/skins/markitup/images/bg-editor-markdown.png +0 -0
- data/templates/web/markitup/skins/markitup/images/bg-editor-textile.png +0 -0
- data/templates/web/markitup/skins/markitup/images/bg-editor-wiki.png +0 -0
- data/templates/web/markitup/skins/markitup/images/bg-editor-xml.png +0 -0
- data/templates/web/markitup/skins/markitup/images/bg-editor.png +0 -0
- data/templates/web/markitup/skins/markitup/images/handle.png +0 -0
- data/templates/web/markitup/skins/markitup/images/menu.png +0 -0
- data/templates/web/markitup/skins/markitup/images/submenu.png +0 -0
- data/templates/web/markitup/skins/markitup/style.css +0 -147
- data/templates/web/markitup/skins/simple/images/handle.png +0 -0
- data/templates/web/markitup/skins/simple/images/menu.png +0 -0
- data/templates/web/markitup/skins/simple/images/submenu.png +0 -0
- data/templates/web/markitup/skins/simple/style.css +0 -121
- data/templates/web/markitup/templates/preview.css +0 -5
- data/templates/web/markitup/templates/preview.html +0 -11
data/bin/mad_chatter
CHANGED
@@ -15,11 +15,7 @@ module MadChatter
|
|
15
15
|
def new(name)
|
16
16
|
copy_file "templates/config.yml", "#{name}/config.yml"
|
17
17
|
copy_file "templates/extensions.rb", "#{name}/extensions.rb"
|
18
|
-
|
19
|
-
copy_file "templates/web/index.html", "#{name}/web/index.html"
|
20
|
-
copy_file "templates/web/mad_chatter.js", "#{name}/web/mad_chatter.js"
|
21
|
-
copy_file "templates/web/mad_chatter_actions.js", "#{name}/web/mad_chatter_actions.js"
|
22
|
-
copy_file "templates/web/styles.css", "#{name}/web/styles.css"
|
18
|
+
directory "templates/web", "#{name}/web"
|
23
19
|
end
|
24
20
|
|
25
21
|
desc 'preview', 'Starts both a web server and the Mad Chatter chat server'
|
data/lib/mad_chatter/version.rb
CHANGED
data/templates/web/index.html
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mad_chatter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-01-05 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|
16
|
-
requirement: &
|
16
|
+
requirement: &2156378440 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2156378440
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: eventmachine
|
27
|
-
requirement: &
|
27
|
+
requirement: &2156395540 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2156395540
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: em-websocket
|
38
|
-
requirement: &
|
38
|
+
requirement: &2156391200 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2156391200
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: redcarpet
|
49
|
-
requirement: &
|
49
|
+
requirement: &2156389920 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *2156389920
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: daemons
|
60
|
-
requirement: &
|
60
|
+
requirement: &2156399600 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - =
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: 1.1.4
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *2156399600
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec
|
71
|
-
requirement: &
|
71
|
+
requirement: &2156422500 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '0'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *2156422500
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: shoulda
|
82
|
-
requirement: &
|
82
|
+
requirement: &2156417980 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ! '>='
|
@@ -87,10 +87,10 @@ dependencies:
|
|
87
87
|
version: '0'
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *2156417980
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: guard
|
93
|
-
requirement: &
|
93
|
+
requirement: &2156460260 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ! '>='
|
@@ -98,10 +98,10 @@ dependencies:
|
|
98
98
|
version: '0'
|
99
99
|
type: :development
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *2156460260
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: guard-rspec
|
104
|
-
requirement: &
|
104
|
+
requirement: &2156459480 !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
107
|
- - ! '>='
|
@@ -109,10 +109,10 @@ dependencies:
|
|
109
109
|
version: '0'
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
|
-
version_requirements: *
|
112
|
+
version_requirements: *2156459480
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: simplecov
|
115
|
-
requirement: &
|
115
|
+
requirement: &2156458560 !ruby/object:Gem::Requirement
|
116
116
|
none: false
|
117
117
|
requirements:
|
118
118
|
- - ! '>='
|
@@ -120,7 +120,7 @@ dependencies:
|
|
120
120
|
version: '0'
|
121
121
|
type: :development
|
122
122
|
prerelease: false
|
123
|
-
version_requirements: *
|
123
|
+
version_requirements: *2156458560
|
124
124
|
description: Mad Chatter is a fun, easy to customize chat server, utilizing HTML 5
|
125
125
|
Web Sockets
|
126
126
|
email:
|
@@ -165,18 +165,6 @@ files:
|
|
165
165
|
- templates/web/mad_chatter.js
|
166
166
|
- templates/web/mad_chatter_actions.js
|
167
167
|
- templates/web/markitup/jquery.markitup.js
|
168
|
-
- templates/web/markitup/sets/default/images/bold.png
|
169
|
-
- templates/web/markitup/sets/default/images/clean.png
|
170
|
-
- templates/web/markitup/sets/default/images/image.png
|
171
|
-
- templates/web/markitup/sets/default/images/italic.png
|
172
|
-
- templates/web/markitup/sets/default/images/link.png
|
173
|
-
- templates/web/markitup/sets/default/images/list-bullet.png
|
174
|
-
- templates/web/markitup/sets/default/images/list-numeric.png
|
175
|
-
- templates/web/markitup/sets/default/images/picture.png
|
176
|
-
- templates/web/markitup/sets/default/images/preview.png
|
177
|
-
- templates/web/markitup/sets/default/images/stroke.png
|
178
|
-
- templates/web/markitup/sets/default/set.js
|
179
|
-
- templates/web/markitup/sets/default/style.css
|
180
168
|
- templates/web/markitup/sets/markdown/images/bold.png
|
181
169
|
- templates/web/markitup/sets/markdown/images/code.png
|
182
170
|
- templates/web/markitup/sets/markdown/images/h1.png
|
@@ -199,26 +187,6 @@ files:
|
|
199
187
|
- templates/web/markitup/skins/mad_chatter/images/menu.png
|
200
188
|
- templates/web/markitup/skins/mad_chatter/images/submenu.png
|
201
189
|
- templates/web/markitup/skins/mad_chatter/style.css
|
202
|
-
- templates/web/markitup/skins/markitup/images/bg-container.png
|
203
|
-
- templates/web/markitup/skins/markitup/images/bg-editor-bbcode.png
|
204
|
-
- templates/web/markitup/skins/markitup/images/bg-editor-dotclear.png
|
205
|
-
- templates/web/markitup/skins/markitup/images/bg-editor-html.png
|
206
|
-
- templates/web/markitup/skins/markitup/images/bg-editor-json.png
|
207
|
-
- templates/web/markitup/skins/markitup/images/bg-editor-markdown.png
|
208
|
-
- templates/web/markitup/skins/markitup/images/bg-editor-textile.png
|
209
|
-
- templates/web/markitup/skins/markitup/images/bg-editor-wiki.png
|
210
|
-
- templates/web/markitup/skins/markitup/images/bg-editor-xml.png
|
211
|
-
- templates/web/markitup/skins/markitup/images/bg-editor.png
|
212
|
-
- templates/web/markitup/skins/markitup/images/handle.png
|
213
|
-
- templates/web/markitup/skins/markitup/images/menu.png
|
214
|
-
- templates/web/markitup/skins/markitup/images/submenu.png
|
215
|
-
- templates/web/markitup/skins/markitup/style.css
|
216
|
-
- templates/web/markitup/skins/simple/images/handle.png
|
217
|
-
- templates/web/markitup/skins/simple/images/menu.png
|
218
|
-
- templates/web/markitup/skins/simple/images/submenu.png
|
219
|
-
- templates/web/markitup/skins/simple/style.css
|
220
|
-
- templates/web/markitup/templates/preview.css
|
221
|
-
- templates/web/markitup/templates/preview.html
|
222
190
|
- templates/web/styles.css
|
223
191
|
homepage: http://github.com/andrewhavens/mad_chatter
|
224
192
|
licenses: []
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,30 +0,0 @@
|
|
1
|
-
// ----------------------------------------------------------------------------
|
2
|
-
// markItUp!
|
3
|
-
// ----------------------------------------------------------------------------
|
4
|
-
// Copyright (C) 2011 Jay Salvat
|
5
|
-
// http://markitup.jaysalvat.com/
|
6
|
-
// ----------------------------------------------------------------------------
|
7
|
-
// Html tags
|
8
|
-
// http://en.wikipedia.org/wiki/html
|
9
|
-
// ----------------------------------------------------------------------------
|
10
|
-
// Basic set. Feel free to add more tags
|
11
|
-
// ----------------------------------------------------------------------------
|
12
|
-
var mySettings = {
|
13
|
-
onShiftEnter: {keepDefault:false, replaceWith:'<br />\n'},
|
14
|
-
onCtrlEnter: {keepDefault:false, openWith:'\n<p>', closeWith:'</p>'},
|
15
|
-
onTab: {keepDefault:false, replaceWith:' '},
|
16
|
-
markupSet: [
|
17
|
-
{name:'Bold', key:'B', openWith:'(!(<strong>|!|<b>)!)', closeWith:'(!(</strong>|!|</b>)!)' },
|
18
|
-
{name:'Italic', key:'I', openWith:'(!(<em>|!|<i>)!)', closeWith:'(!(</em>|!|</i>)!)' },
|
19
|
-
{name:'Stroke through', key:'S', openWith:'<del>', closeWith:'</del>' },
|
20
|
-
{separator:'---------------' },
|
21
|
-
{name:'Bulleted List', openWith:' <li>', closeWith:'</li>', multiline:true, openBlockWith:'<ul>\n', closeBlockWith:'\n</ul>'},
|
22
|
-
{name:'Numeric List', openWith:' <li>', closeWith:'</li>', multiline:true, openBlockWith:'<ol>\n', closeBlockWith:'\n</ol>'},
|
23
|
-
{separator:'---------------' },
|
24
|
-
{name:'Picture', key:'P', replaceWith:'<img src="[![Source:!:http://]!]" alt="[![Alternative text]!]" />' },
|
25
|
-
{name:'Link', key:'L', openWith:'<a href="[![Link:!:http://]!]"(!( title="[![Title]!]")!)>', closeWith:'</a>', placeHolder:'Your text to link...' },
|
26
|
-
{separator:'---------------' },
|
27
|
-
{name:'Clean', className:'clean', replaceWith:function(markitup) { return markitup.selection.replace(/<(.*?)>/g, "") } },
|
28
|
-
{name:'Preview', className:'preview', call:'preview'}
|
29
|
-
]
|
30
|
-
}
|
@@ -1,34 +0,0 @@
|
|
1
|
-
/* -------------------------------------------------------------------
|
2
|
-
// markItUp!
|
3
|
-
// By Jay Salvat - http://markitup.jaysalvat.com/
|
4
|
-
// ------------------------------------------------------------------*/
|
5
|
-
.markItUp .markItUpButton1 a {
|
6
|
-
background-image:url(images/bold.png);
|
7
|
-
}
|
8
|
-
.markItUp .markItUpButton2 a {
|
9
|
-
background-image:url(images/italic.png);
|
10
|
-
}
|
11
|
-
.markItUp .markItUpButton3 a {
|
12
|
-
background-image:url(images/stroke.png);
|
13
|
-
}
|
14
|
-
|
15
|
-
.markItUp .markItUpButton4 a {
|
16
|
-
background-image:url(images/list-bullet.png);
|
17
|
-
}
|
18
|
-
.markItUp .markItUpButton5 a {
|
19
|
-
background-image:url(images/list-numeric.png);
|
20
|
-
}
|
21
|
-
|
22
|
-
.markItUp .markItUpButton6 a {
|
23
|
-
background-image:url(images/picture.png);
|
24
|
-
}
|
25
|
-
.markItUp .markItUpButton7 a {
|
26
|
-
background-image:url(images/link.png);
|
27
|
-
}
|
28
|
-
|
29
|
-
.markItUp .markItUpButton8 a {
|
30
|
-
background-image:url(images/clean.png);
|
31
|
-
}
|
32
|
-
.markItUp .preview a {
|
33
|
-
background-image:url(images/preview.png);
|
34
|
-
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,147 +0,0 @@
|
|
1
|
-
/* -------------------------------------------------------------------
|
2
|
-
// markItUp! Universal MarkUp Engine, JQuery plugin
|
3
|
-
// By Jay Salvat - http://markitup.jaysalvat.com/
|
4
|
-
// ------------------------------------------------------------------*/
|
5
|
-
.markItUp * {
|
6
|
-
margin:0px; padding:0px;
|
7
|
-
outline:none;
|
8
|
-
}
|
9
|
-
.markItUp a:link,
|
10
|
-
.markItUp a:visited {
|
11
|
-
color:#000;
|
12
|
-
text-decoration:none;
|
13
|
-
}
|
14
|
-
.markItUp {
|
15
|
-
width:700px;
|
16
|
-
margin:5px 0 5px 0;
|
17
|
-
border:5px solid #F5F5F5;
|
18
|
-
}
|
19
|
-
.markItUpContainer {
|
20
|
-
border:1px solid #3C769D;
|
21
|
-
background:#FFF url(images/bg-container.png) repeat-x top left;
|
22
|
-
padding:5px 5px 2px 5px;
|
23
|
-
font:11px Verdana, Arial, Helvetica, sans-serif;
|
24
|
-
}
|
25
|
-
.markItUpEditor {
|
26
|
-
font:12px 'Courier New', Courier, monospace;
|
27
|
-
padding:5px 5px 5px 35px;
|
28
|
-
border:3px solid #3C769D;
|
29
|
-
width:643px;
|
30
|
-
height:320px;
|
31
|
-
background:#FFF url(images/bg-editor.png) no-repeat;
|
32
|
-
clear:both;
|
33
|
-
line-height:18px;
|
34
|
-
overflow:auto;
|
35
|
-
}
|
36
|
-
.markItUpPreviewFrame {
|
37
|
-
overflow:auto;
|
38
|
-
background-color:#FFFFFF;
|
39
|
-
border:1px solid #3C769D;
|
40
|
-
width:99.9%;
|
41
|
-
height:300px;
|
42
|
-
margin:5px 0;
|
43
|
-
}
|
44
|
-
.markItUpFooter {
|
45
|
-
width:100%;
|
46
|
-
cursor:n-resize;
|
47
|
-
}
|
48
|
-
.markItUpResizeHandle {
|
49
|
-
overflow:hidden;
|
50
|
-
width:22px; height:5px;
|
51
|
-
margin-left:auto;
|
52
|
-
margin-right:auto;
|
53
|
-
background-image:url(images/handle.png);
|
54
|
-
cursor:n-resize;
|
55
|
-
}
|
56
|
-
/***************************************************************************************/
|
57
|
-
/* first row of buttons */
|
58
|
-
.markItUpHeader ul li {
|
59
|
-
list-style:none;
|
60
|
-
float:left;
|
61
|
-
position:relative;
|
62
|
-
}
|
63
|
-
.markItUpHeader ul li ul{
|
64
|
-
display:none;
|
65
|
-
}
|
66
|
-
.markItUpHeader ul li:hover > ul{
|
67
|
-
display:block;
|
68
|
-
}
|
69
|
-
.markItUpHeader ul .markItUpDropMenu {
|
70
|
-
background:transparent url(images/menu.png) no-repeat 115% 50%;
|
71
|
-
margin-right:5px;
|
72
|
-
}
|
73
|
-
.markItUpHeader ul .markItUpDropMenu li {
|
74
|
-
margin-right:0px;
|
75
|
-
}
|
76
|
-
.markItUpHeader ul .markItUpSeparator {
|
77
|
-
margin:0 10px;
|
78
|
-
width:1px;
|
79
|
-
height:16px;
|
80
|
-
overflow:hidden;
|
81
|
-
background-color:#CCC;
|
82
|
-
}
|
83
|
-
.markItUpHeader ul ul .markItUpSeparator {
|
84
|
-
width:auto; height:1px;
|
85
|
-
margin:0px;
|
86
|
-
}
|
87
|
-
/* next rows of buttons */
|
88
|
-
.markItUpHeader ul ul {
|
89
|
-
display:none;
|
90
|
-
position:absolute;
|
91
|
-
top:18px; left:0px;
|
92
|
-
background:#F5F5F5;
|
93
|
-
border:1px solid #3C769D;
|
94
|
-
height:inherit;
|
95
|
-
}
|
96
|
-
.markItUpHeader ul ul li {
|
97
|
-
float:none;
|
98
|
-
border-bottom:1px solid #3C769D;
|
99
|
-
}
|
100
|
-
.markItUpHeader ul ul .markItUpDropMenu {
|
101
|
-
background:#F5F5F5 url(images/submenu.png) no-repeat 100% 50%;
|
102
|
-
}
|
103
|
-
/* next rows of buttons */
|
104
|
-
.markItUpHeader ul ul ul {
|
105
|
-
position:absolute;
|
106
|
-
top:-1px; left:150px;
|
107
|
-
}
|
108
|
-
.markItUpHeader ul ul ul li {
|
109
|
-
float:none;
|
110
|
-
}
|
111
|
-
.markItUpHeader ul a {
|
112
|
-
display:block;
|
113
|
-
width:16px; height:16px;
|
114
|
-
text-indent:-10000px;
|
115
|
-
background-repeat:no-repeat;
|
116
|
-
padding:3px;
|
117
|
-
margin:0px;
|
118
|
-
}
|
119
|
-
.markItUpHeader ul ul a {
|
120
|
-
display:block;
|
121
|
-
padding-left:0px;
|
122
|
-
text-indent:0;
|
123
|
-
width:120px;
|
124
|
-
padding:5px 5px 5px 25px;
|
125
|
-
background-position:2px 50%;
|
126
|
-
}
|
127
|
-
.markItUpHeader ul ul a:hover {
|
128
|
-
color:#FFF;
|
129
|
-
background-color:#3C769D;
|
130
|
-
}
|
131
|
-
/***************************************************************************************/
|
132
|
-
.html .markItUpEditor {
|
133
|
-
background-image:url(images/bg-editor-html.png);
|
134
|
-
}
|
135
|
-
.markdown .markItUpEditor {
|
136
|
-
background-image:url(images/bg-editor-markdown.png);
|
137
|
-
}
|
138
|
-
.textile .markItUpEditor {
|
139
|
-
background-image:url(images/bg-editor-textile.png);
|
140
|
-
}
|
141
|
-
.bbcode .markItUpEditor {
|
142
|
-
background-image:url(images/bg-editor-bbcode.png);
|
143
|
-
}
|
144
|
-
.wiki .markItUpEditor,
|
145
|
-
.dotclear .markItUpEditor {
|
146
|
-
background-image:url(images/bg-editor-wiki.png);
|
147
|
-
}
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,121 +0,0 @@
|
|
1
|
-
/* -------------------------------------------------------------------
|
2
|
-
// markItUp! Universal MarkUp Engine, JQuery plugin
|
3
|
-
// By Jay Salvat - http://markitup.jaysalvat.com/
|
4
|
-
// ------------------------------------------------------------------*/
|
5
|
-
.markItUp * {
|
6
|
-
margin:0px; padding:0px;
|
7
|
-
outline:none;
|
8
|
-
}
|
9
|
-
.markItUp a:link,
|
10
|
-
.markItUp a:visited {
|
11
|
-
color:#000;
|
12
|
-
text-decoration:none;
|
13
|
-
}
|
14
|
-
.markItUp {
|
15
|
-
width: 100%;
|
16
|
-
min-width: 700px;
|
17
|
-
margin:5px 0 5px 0;
|
18
|
-
}
|
19
|
-
.markItUpContainer {
|
20
|
-
font:11px Verdana, Arial, Helvetica, sans-serif;
|
21
|
-
}
|
22
|
-
.markItUpEditor {
|
23
|
-
font:12px Verdana, Geneva, Arial, Helvetica, sans-serif;
|
24
|
-
padding:5px;
|
25
|
-
width:100%;
|
26
|
-
/* height:320px;*/
|
27
|
-
clear:both;
|
28
|
-
line-height:18px;
|
29
|
-
overflow:auto;
|
30
|
-
border: none;
|
31
|
-
resize: none;
|
32
|
-
}
|
33
|
-
.markItUpPreviewFrame {
|
34
|
-
overflow:auto;
|
35
|
-
background-color:#FFF;
|
36
|
-
width:99.9%;
|
37
|
-
height:300px;
|
38
|
-
margin:5px 0;
|
39
|
-
}
|
40
|
-
.markItUpFooter {
|
41
|
-
width:100%;
|
42
|
-
}
|
43
|
-
.markItUpResizeHandle {
|
44
|
-
overflow:hidden;
|
45
|
-
width:22px; height:5px;
|
46
|
-
margin-left:auto;
|
47
|
-
margin-right:auto;
|
48
|
-
background-image:url(images/handle.png);
|
49
|
-
cursor:n-resize;
|
50
|
-
}
|
51
|
-
/***************************************************************************************/
|
52
|
-
/* first row of buttons */
|
53
|
-
.markItUpHeader ul li {
|
54
|
-
list-style:none;
|
55
|
-
float:left;
|
56
|
-
position:relative;
|
57
|
-
}
|
58
|
-
.markItUpHeader ul li:hover > ul{
|
59
|
-
display:block;
|
60
|
-
}
|
61
|
-
.markItUpHeader ul .markItUpDropMenu {
|
62
|
-
background:transparent url(images/menu.png) no-repeat 115% 50%;
|
63
|
-
margin-right:5px;
|
64
|
-
}
|
65
|
-
.markItUpHeader ul .markItUpDropMenu li {
|
66
|
-
margin-right:0px;
|
67
|
-
}
|
68
|
-
/* next rows of buttons */
|
69
|
-
.markItUpHeader ul ul {
|
70
|
-
display:none;
|
71
|
-
position:absolute;
|
72
|
-
top:18px; left:0px;
|
73
|
-
background:#FFF;
|
74
|
-
border:1px solid #000;
|
75
|
-
}
|
76
|
-
.markItUpHeader ul ul li {
|
77
|
-
float:none;
|
78
|
-
border-bottom:1px solid #000;
|
79
|
-
}
|
80
|
-
.markItUpHeader ul ul .markItUpDropMenu {
|
81
|
-
background:#FFF url(images/submenu.png) no-repeat 100% 50%;
|
82
|
-
}
|
83
|
-
.markItUpHeader ul .markItUpSeparator {
|
84
|
-
margin:0 10px;
|
85
|
-
width:1px;
|
86
|
-
height:16px;
|
87
|
-
overflow:hidden;
|
88
|
-
background-color:#CCC;
|
89
|
-
}
|
90
|
-
.markItUpHeader ul ul .markItUpSeparator {
|
91
|
-
width:auto; height:1px;
|
92
|
-
margin:0px;
|
93
|
-
}
|
94
|
-
/* next rows of buttons */
|
95
|
-
.markItUpHeader ul ul ul {
|
96
|
-
position:absolute;
|
97
|
-
top:-1px; left:150px;
|
98
|
-
}
|
99
|
-
.markItUpHeader ul ul ul li {
|
100
|
-
float:none;
|
101
|
-
}
|
102
|
-
.markItUpHeader ul a {
|
103
|
-
display:block;
|
104
|
-
width:16px; height:16px;
|
105
|
-
text-indent:-10000px;
|
106
|
-
background-repeat:no-repeat;
|
107
|
-
padding:3px;
|
108
|
-
margin:0px;
|
109
|
-
}
|
110
|
-
.markItUpHeader ul ul a {
|
111
|
-
display:block;
|
112
|
-
padding-left:0px;
|
113
|
-
text-indent:0;
|
114
|
-
width:120px;
|
115
|
-
padding:5px 5px 5px 25px;
|
116
|
-
background-position:2px 50%;
|
117
|
-
}
|
118
|
-
.markItUpHeader ul ul a:hover {
|
119
|
-
color:#FFF;
|
120
|
-
background-color:#000;
|
121
|
-
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
3
|
-
<head>
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
5
|
-
<title>markItUp! preview template</title>
|
6
|
-
<link rel="stylesheet" type="text/css" href="~/templates/preview.css" />
|
7
|
-
</head>
|
8
|
-
<body>
|
9
|
-
<!-- content -->
|
10
|
-
</body>
|
11
|
-
</html>
|