simple_forum 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. data/README.rdoc +2 -5
  2. data/Rakefile +19 -14
  3. data/app/assets/images/simple_forum/forumNewPosts.gif +0 -0
  4. data/app/assets/images/simple_forum/forumNoNewPosts.gif +0 -0
  5. data/app/assets/javascripts/simple_forum/application.js +15 -0
  6. data/app/assets/javascripts/simple_forum/markitup.js +51 -0
  7. data/app/assets/javascripts/simple_forum/markitup/jquery.markitup.js +574 -0
  8. data/app/assets/javascripts/simple_forum/markitup/sets/bbcode/images/bold.png +0 -0
  9. data/app/assets/javascripts/simple_forum/markitup/sets/bbcode/images/clean.png +0 -0
  10. data/app/assets/javascripts/simple_forum/markitup/sets/bbcode/images/code.png +0 -0
  11. data/app/assets/javascripts/simple_forum/markitup/sets/bbcode/images/fonts.png +0 -0
  12. data/app/assets/javascripts/simple_forum/markitup/sets/bbcode/images/italic.png +0 -0
  13. data/app/assets/javascripts/simple_forum/markitup/sets/bbcode/images/link.png +0 -0
  14. data/app/assets/javascripts/simple_forum/markitup/sets/bbcode/images/list-bullet.png +0 -0
  15. data/app/assets/javascripts/simple_forum/markitup/sets/bbcode/images/list-item.png +0 -0
  16. data/app/assets/javascripts/simple_forum/markitup/sets/bbcode/images/list-numeric.png +0 -0
  17. data/app/assets/javascripts/simple_forum/markitup/sets/bbcode/images/picture.png +0 -0
  18. data/app/assets/javascripts/simple_forum/markitup/sets/bbcode/images/preview.png +0 -0
  19. data/app/assets/javascripts/simple_forum/markitup/sets/bbcode/images/quotes.png +0 -0
  20. data/app/assets/javascripts/simple_forum/markitup/sets/bbcode/images/stroke.png +0 -0
  21. data/app/assets/javascripts/simple_forum/markitup/sets/bbcode/images/underline.png +0 -0
  22. data/app/assets/javascripts/simple_forum/markitup/sets/bbcode/readme.txt +11 -0
  23. data/app/assets/javascripts/simple_forum/markitup/sets/bbcode/set.js +39 -0
  24. data/app/assets/javascripts/simple_forum/markitup/sets/bbcode/style.css.scss +47 -0
  25. data/app/assets/javascripts/simple_forum/markitup/sets/default/images/bold.png +0 -0
  26. data/app/assets/javascripts/simple_forum/markitup/sets/default/images/clean.png +0 -0
  27. data/app/assets/javascripts/simple_forum/markitup/sets/default/images/image.png +0 -0
  28. data/app/assets/javascripts/simple_forum/markitup/sets/default/images/italic.png +0 -0
  29. data/app/assets/javascripts/simple_forum/markitup/sets/default/images/link.png +0 -0
  30. data/app/assets/javascripts/simple_forum/markitup/sets/default/images/picture.png +0 -0
  31. data/app/assets/javascripts/simple_forum/markitup/sets/default/images/preview.png +0 -0
  32. data/app/assets/javascripts/simple_forum/markitup/sets/default/images/stroke.png +0 -0
  33. data/app/assets/javascripts/simple_forum/markitup/sets/default/set.js +27 -0
  34. data/app/assets/javascripts/simple_forum/markitup/sets/default/style.css +27 -0
  35. data/app/assets/javascripts/simple_forum/markitup/skins/markitup/images/bg-container.png +0 -0
  36. data/app/assets/javascripts/simple_forum/markitup/skins/markitup/images/bg-editor-bbcode.png +0 -0
  37. data/app/assets/javascripts/simple_forum/markitup/skins/markitup/images/bg-editor-dotclear.png +0 -0
  38. data/app/assets/javascripts/simple_forum/markitup/skins/markitup/images/bg-editor-html.png +0 -0
  39. data/app/assets/javascripts/simple_forum/markitup/skins/markitup/images/bg-editor-json.png +0 -0
  40. data/app/assets/javascripts/simple_forum/markitup/skins/markitup/images/bg-editor-markdown.png +0 -0
  41. data/app/assets/javascripts/simple_forum/markitup/skins/markitup/images/bg-editor-textile.png +0 -0
  42. data/app/assets/javascripts/simple_forum/markitup/skins/markitup/images/bg-editor-wiki.png +0 -0
  43. data/app/assets/javascripts/simple_forum/markitup/skins/markitup/images/bg-editor-xml.png +0 -0
  44. data/app/assets/javascripts/simple_forum/markitup/skins/markitup/images/bg-editor.png +0 -0
  45. data/app/assets/javascripts/simple_forum/markitup/skins/markitup/images/handle.png +0 -0
  46. data/app/assets/javascripts/simple_forum/markitup/skins/markitup/images/menu.png +0 -0
  47. data/app/assets/javascripts/simple_forum/markitup/skins/markitup/images/submenu.png +0 -0
  48. data/app/assets/javascripts/simple_forum/markitup/skins/markitup/style.css.scss +147 -0
  49. data/app/assets/javascripts/simple_forum/markitup/skins/simple/images/handle.png +0 -0
  50. data/app/assets/javascripts/simple_forum/markitup/skins/simple/images/menu.png +0 -0
  51. data/app/assets/javascripts/simple_forum/markitup/skins/simple/images/submenu.png +0 -0
  52. data/app/assets/javascripts/simple_forum/markitup/skins/simple/style.css +118 -0
  53. data/app/assets/javascripts/simple_forum/markitup/templates/preview.css +5 -0
  54. data/app/assets/javascripts/simple_forum/markitup/templates/preview.html +11 -0
  55. data/app/assets/stylesheets/simple_forum/application.css +13 -0
  56. data/app/assets/stylesheets/simple_forum/base.css +124 -0
  57. data/app/assets/stylesheets/simple_forum/markitup.css +5 -0
  58. data/app/controllers/simple_forum/application_controller.rb +1 -0
  59. data/app/controllers/simple_forum/forums_controller.rb +0 -1
  60. data/app/controllers/simple_forum/posts_controller.rb +5 -5
  61. data/app/controllers/simple_forum/topics_controller.rb +2 -2
  62. data/app/models/simple_forum.rb +0 -1
  63. data/app/models/simple_forum/category.rb +0 -3
  64. data/app/models/simple_forum/forum.rb +0 -3
  65. data/app/models/simple_forum/moderatorship.rb +0 -3
  66. data/app/models/simple_forum/post.rb +0 -3
  67. data/app/models/simple_forum/topic.rb +1 -4
  68. data/app/views/layouts/simple_forum.html.erb +4 -5
  69. data/app/views/simple_forum/forums/index.html.erb +4 -4
  70. data/app/views/simple_forum/forums/show.html.erb +5 -5
  71. data/app/views/simple_forum/posts/edit.html.erb +5 -5
  72. data/app/views/simple_forum/topics/_post.html.erb +2 -2
  73. data/app/views/simple_forum/topics/new.html.erb +3 -3
  74. data/app/views/simple_forum/topics/show.html.erb +9 -16
  75. data/config/routes.rb +11 -36
  76. data/db/migrate/20110330123456_create_simple_forum_forums.rb +35 -0
  77. data/db/migrate/20110330123457_create_simple_forum_topics.rb +30 -0
  78. data/db/migrate/20110330123458_create_simple_forum_posts.rb +31 -0
  79. data/db/migrate/20110330123459_create_simple_forum_categories.rb +19 -0
  80. data/db/migrate/20110330123460_create_simple_forum_moderatorships.rb +17 -0
  81. data/lib/simple_forum.rb +6 -4
  82. data/lib/simple_forum/engine.rb +5 -11
  83. data/lib/simple_forum/version.rb +2 -3
  84. metadata +190 -20
  85. data/Gemfile +0 -18
  86. data/lib/simple_forum/tasks/railties.rake +0 -66
@@ -0,0 +1,11 @@
1
+ Markup language:
2
+ BBCode
3
+
4
+ Description:
5
+ A basic BBCode markup set with Bold, Italic, Underline, Picture, Link, Size, List, Quotes, Code, Clean button, Preview button.
6
+
7
+ Install:
8
+ - Download the zip file
9
+ - Unzip it in your markItUp! sets folder
10
+ - Modify your JS link to point at this set.js
11
+ - Modify your CSS link to point at this style.css
@@ -0,0 +1,39 @@
1
+ // ----------------------------------------------------------------------------
2
+ // markItUp!
3
+ // ----------------------------------------------------------------------------
4
+ // Copyright (C) 2008 Jay Salvat
5
+ // http://markitup.jaysalvat.com/
6
+ // ----------------------------------------------------------------------------
7
+ // BBCode tags example
8
+ // http://en.wikipedia.org/wiki/Bbcode
9
+ // ----------------------------------------------------------------------------
10
+ // Feel free to add more tags
11
+ // ----------------------------------------------------------------------------
12
+ mySettings = {
13
+ previewParserPath: '', // path to your BBCode parser
14
+ markupSet: [
15
+ {name:'Bold', key:'B', openWith:'[b]', closeWith:'[/b]'},
16
+ {name:'Italic', key:'I', openWith:'[i]', closeWith:'[/i]'},
17
+ {name:'Underline', key:'U', openWith:'[u]', closeWith:'[/u]'},
18
+ {separator:'---------------' },
19
+ {name:'Picture', key:'P', replaceWith:'[img][![Url]!][/img]'},
20
+ {name:'Link', key:'L', openWith:'[url=[![Url]!]]', closeWith:'[/url]', placeHolder:'Your text to link here...'},
21
+ {separator:'---------------' },
22
+ {name:'Size', key:'S', openWith:'[size=[![Text size]!]]', closeWith:'[/size]',
23
+ dropMenu :[
24
+ {name:'Big', openWith:'[size=200]', closeWith:'[/size]' },
25
+ {name:'Normal', openWith:'[size=100]', closeWith:'[/size]' },
26
+ {name:'Small', openWith:'[size=50]', closeWith:'[/size]' }
27
+ ]},
28
+ {separator:'---------------' },
29
+ {name:'Bulleted list', openWith:'[list]\n', closeWith:'\n[/list]'},
30
+ {name:'Numeric list', openWith:'[list=[![Starting number]!]]\n', closeWith:'\n[/list]'},
31
+ {name:'List item', openWith:'[*] '},
32
+ {separator:'---------------' },
33
+ {name:'Quotes', openWith:'[quote]', closeWith:'[/quote]'},
34
+ {name:'Code', openWith:'[code]', closeWith:'[/code]'},
35
+ {separator:'---------------' },
36
+ {name:'Clean', className:"clean", replaceWith:function(markitup) { return markitup.selection.replace(/\[(.*?)\]/g, "") } },
37
+ {name:'Preview', className:"preview", call:'preview' }
38
+ ]
39
+ }
@@ -0,0 +1,47 @@
1
+ /* -------------------------------------------------------------------
2
+ // markItUp!
3
+ // By Jay Salvat - http://markitup.jaysalvat.com/
4
+ // ------------------------------------------------------------------*/
5
+ .markItUp .markItUpButton1 a {
6
+ background-image:image-url("simple_forum/markitup/sets/bbcode/images/bold.png");
7
+ }
8
+ .markItUp .markItUpButton2 a {
9
+ background-image:image-url("simple_forum/markitup/sets/bbcode/images/italic.png");
10
+ }
11
+ .markItUp .markItUpButton3 a {
12
+ background-image:image-url("simple_forum/markitup/sets/bbcode/images/underline.png");
13
+ }
14
+
15
+ .markItUp .markItUpButton4 a {
16
+ background-image:image-url("simple_forum/markitup/sets/bbcode/images/picture.png");
17
+ }
18
+ .markItUp .markItUpButton5 a {
19
+ background-image:image-url("simple_forum/markitup/sets/bbcode/images/link.png");
20
+ }
21
+
22
+ .markItUp .markItUpButton6 a {
23
+ background-image:image-url("simple_forum/markitup/sets/bbcode/images/fonts.png");
24
+ }
25
+ .markItUp .markItUpButton7 a {
26
+ background-image:image-url("simple_forum/markitup/sets/bbcode/images/list-bullet.png");
27
+ }
28
+ /*.markItUp .markItUpButton8 a {*/
29
+ /*background-image:image-url("simple_forum/markitup/sets/bbcode/images/list-numeric.png");*/
30
+ /*}*/
31
+ .markItUp .markItUpButton8 a {
32
+ background-image:image-url("simple_forum/markitup/sets/bbcode/images/list-item.png");
33
+ }
34
+
35
+ .markItUp .markItUpButton9 a {
36
+ background-image:image-url("simple_forum/markitup/sets/bbcode/images/quotes.png");
37
+ }
38
+ .markItUp .markItUpButton10 a {
39
+ background-image:image-url("simple_forum/markitup/sets/bbcode/images/code.png");
40
+ }
41
+
42
+ .markItUp .clean a {
43
+ background-image:image-url("simple_forum/markitup/sets/bbcode/images/clean.png");
44
+ }
45
+ .markItUp .preview a {
46
+ background-image:image-url("simple_forum/markitup/sets/bbcode/images/preview.png");
47
+ }
@@ -0,0 +1,27 @@
1
+ // ----------------------------------------------------------------------------
2
+ // markItUp!
3
+ // ----------------------------------------------------------------------------
4
+ // Copyright (C) 2008 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
+ 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:'Picture', key:'P', replaceWith:'<img src="[![Source:!:http://]!]" alt="[![Alternative text]!]" />' },
22
+ {name:'Link', key:'L', openWith:'<a href="[![Link:!:http://]!]"(!( title="[![Title]!]")!)>', closeWith:'</a>', placeHolder:'Your text to link...' },
23
+ {separator:'---------------' },
24
+ {name:'Clean', className:'clean', replaceWith:function(markitup) { return markitup.selection.replace(/<(.*?)>/g, "") } },
25
+ {name:'Preview', className:'preview', call:'preview'}
26
+ ]
27
+ }
@@ -0,0 +1,27 @@
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/picture.png);
17
+ }
18
+ .markItUp .markItUpButton5 a {
19
+ background-image:url(images/link.png);
20
+ }
21
+
22
+ .markItUp .markItUpButton6 a {
23
+ background-image:url(images/clean.png);
24
+ }
25
+ .markItUp .preview a {
26
+ background-image:url(images/preview.png);
27
+ }
@@ -0,0 +1,147 @@
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 image-url("simple_forum/markitup/skins/markitup/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 image-url("simple_forum/markitup/skins/markitup/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:image-url("simple_forum/markitup/skins/markitup/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 image-url("simple_forum/markitup/skins/markitup/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 image-url("simple_forum/markitup/skins/markitup/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:image-url("simple_forum/markitup/skins/markitup/images/bg-editor-html.png");
134
+ }
135
+ .markdown .markItUpEditor {
136
+ background-image:image-url("simple_forum/markitup/skins/markitup/images/bg-editor-markdown.png");
137
+ }
138
+ .textile .markItUpEditor {
139
+ background-image:image-url("simple_forum/markitup/skins/markitup/images/bg-editor-textile.png");
140
+ }
141
+ .bbcode .markItUpEditor {
142
+ background-image:image-url("simple_forum/markitup/skins/markitup/images/bg-editor-bbcode.png");
143
+ }
144
+ .wiki .markItUpEditor,
145
+ .dotclear .markItUpEditor {
146
+ background-image:image-url("simple_forum/markitup/skins/markitup/images/bg-editor-wiki.png");
147
+ }
@@ -0,0 +1,118 @@
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
+ }
18
+ .markItUpContainer {
19
+ font:11px Verdana, Arial, Helvetica, sans-serif;
20
+ }
21
+ .markItUpEditor {
22
+ font:12px 'Courier New', Courier, monospace;
23
+ padding:5px;
24
+ width:690px;
25
+ height:320px;
26
+ clear:both;
27
+ line-height:18px;
28
+ overflow:auto;
29
+ }
30
+ .markItUpPreviewFrame {
31
+ overflow:auto;
32
+ background-color:#FFF;
33
+ width:99.9%;
34
+ height:300px;
35
+ margin:5px 0;
36
+ }
37
+ .markItUpFooter {
38
+ width:100%;
39
+ }
40
+ .markItUpResizeHandle {
41
+ overflow:hidden;
42
+ width:22px; height:5px;
43
+ margin-left:auto;
44
+ margin-right:auto;
45
+ background-image:url(images/handle.png);
46
+ cursor:n-resize;
47
+ }
48
+ /***************************************************************************************/
49
+ /* first row of buttons */
50
+ .markItUpHeader ul li {
51
+ list-style:none;
52
+ float:left;
53
+ position:relative;
54
+ }
55
+ .markItUpHeader ul li:hover > ul{
56
+ display:block;
57
+ }
58
+ .markItUpHeader ul .markItUpDropMenu {
59
+ background:transparent url(images/menu.png) no-repeat 115% 50%;
60
+ margin-right:5px;
61
+ }
62
+ .markItUpHeader ul .markItUpDropMenu li {
63
+ margin-right:0px;
64
+ }
65
+ /* next rows of buttons */
66
+ .markItUpHeader ul ul {
67
+ display:none;
68
+ position:absolute;
69
+ top:18px; left:0px;
70
+ background:#FFF;
71
+ border:1px solid #000;
72
+ }
73
+ .markItUpHeader ul ul li {
74
+ float:none;
75
+ border-bottom:1px solid #000;
76
+ }
77
+ .markItUpHeader ul ul .markItUpDropMenu {
78
+ background:#FFF url(images/submenu.png) no-repeat 100% 50%;
79
+ }
80
+ .markItUpHeader ul .markItUpSeparator {
81
+ margin:0 10px;
82
+ width:1px;
83
+ height:16px;
84
+ overflow:hidden;
85
+ background-color:#CCC;
86
+ }
87
+ .markItUpHeader ul ul .markItUpSeparator {
88
+ width:auto; height:1px;
89
+ margin:0px;
90
+ }
91
+ /* next rows of buttons */
92
+ .markItUpHeader ul ul ul {
93
+ position:absolute;
94
+ top:-1px; left:150px;
95
+ }
96
+ .markItUpHeader ul ul ul li {
97
+ float:none;
98
+ }
99
+ .markItUpHeader ul a {
100
+ display:block;
101
+ width:16px; height:16px;
102
+ text-indent:-10000px;
103
+ background-repeat:no-repeat;
104
+ padding:3px;
105
+ margin:0px;
106
+ }
107
+ .markItUpHeader ul ul a {
108
+ display:block;
109
+ padding-left:0px;
110
+ text-indent:0;
111
+ width:120px;
112
+ padding:5px 5px 5px 25px;
113
+ background-position:2px 50%;
114
+ }
115
+ .markItUpHeader ul ul a:hover {
116
+ color:#FFF;
117
+ background-color:#000;
118
+ }