Skip to content
Browse files

Improved: Some skin PNG have been optimized (lukescammell)

  • Loading branch information...
1 parent 52a55f5 commit 8972e3c95ee105f49a6d2331e994acf0af6d340d unknown committed May 31, 2010
View
148 CHANGELOG.md
@@ -1,72 +1,76 @@
-markItUp! 1.1.7
-
-CHANGE LOG
-markItUp! 1.1.7 2010-04-06
-- Fixed: Empty lines are removed at insertion on Webkit
-- Fixed: Focus lost when shortcut is used on FF
-- Fixed: var missing before $$ in markItUpRemove()
-
-markItUp! 1.1.6 2010-01-12
-- Improved: Ajax requests are now asynchronous
-- Fixed: Double empty line problem with preview and parsers
-- Fixed: IE8 now close the preview properly
-
-markItUp! 1.1.5 2009-05-01
-- Modified: http://drupal.org/project/wysiwyg compatibility
-- Modified: Alt/Ctrl/Alt+Tab are now disabled
-
-markItUp! 1.1.4 2008-12-03
-- Fixed: Extra quote deleted line 95
-
-markItUp! 1.1.3 2008-09-12
-- Fixed: IE7 preview problem
-
-markItUp! 1.1.2 2008-07-17
-- Fixed: Quick fix for Opera 9.5 caret position problem after insertion
-
-markItUp! 1.1.1 2008-06-02
-- Fixed: Key events status are passed to callbacks properly
-- Improved: ScrollPosition is kept in the preview when its refreshed
-
-markItUp! 1.1.0 2008-05-04
-- Modified: Textarea's id is no more moved to the main container
-- Modified: NameSpace Span become a Div to remain strict
-- Added: Relative path to the script is computed
-- Added: Relative path to the script passed to callbacks
-- Added: Global instance ID property
-- Added: $(element).markItUpRemove() to remove markItUp!
-- Added: Resize handle is now optional with resizeHandle property
-- Added: Property previewInWindow is added and accept window parameter
-- Added: Property previewPosition is added
-- Modified: Resize handle is no more displayed in Safari to avoid repetition with the native handle
-- Modified: Property previewIframeRefresh become previewAutorefresh
-- Modified: Built-in Html Preview call a template file
-- Improved: Autorefreshing is now apply for preview in window too
-- Improved: Cancel button in prompt window cancel now the whole insertion process
-- Improved: Cleaner markItUp! code added to the DOM
-- Removed: Depreciated preview properties as previewBaseUrl, previewCharset, previewCssPath, previewBodyId, previewBodyClassName
-- Removed: Property previewIframe not longer exists
-- Fixed: "Magic markups" works with line feeds
-- Fixed: Key events are initialized after insertion
-- Fixed: Internet Explorer line feed offset bug
-- Fixed: Shortcut keys on Mac OS
-- Fixed: Ctrl+click works and doesn't open Mac context menu anymore
-- Fixed: Ctrl+click works and doesn't open the page in a new tab anymore
-- Fixed: Minor Css modifications
-
-markItUp! 1.0.3 2008-04-04
-- Fixed: IE7 Preview empty baseurl problem
-- Fixed: IE7 external targeted insertion
-- Added: Property scrollPosition is passed to callbacks functions
-
-markItUp! 1.0.2 2008-03-31
-- Fixed: IE7 Html preview problems
-- Fixed: Selection is kept if nothing is inserted
-- Improved: Code minified
-
-markItUp! 1.0.1 2008-03-21
-- Removed: Global PlaceHolder
-- Modified: Property previewCharset is setted to "utf-8" by default
-
-markItUp! 1.0.0 2008-03-01
-- First public release
+markItUp! 1.1.8
+
+CHANGE LOG
+markItUp! 1.1.8 xxxx
+- Improved: Some skin PNG have been optimized (lukescammell)
+- Fixed: Opera 10 selection bug (Marius G.)
+
+markItUp! 1.1.7 2010-04-06
+- Fixed: Empty lines are removed at insertion on Webkit
+- Fixed: Focus lost when shortcut is used on FF
+- Fixed: var missing before $$ in markItUpRemove()
+
+markItUp! 1.1.6 2010-01-12
+- Improved: Ajax requests are now asynchronous
+- Fixed: Double empty line problem with preview and parsers
+- Fixed: IE8 now close the preview properly
+
+markItUp! 1.1.5 2009-05-01
+- Modified: http://drupal.org/project/wysiwyg compatibility
+- Modified: Alt/Ctrl/Alt+Tab are now disabled
+
+markItUp! 1.1.4 2008-12-03
+- Fixed: Extra quote deleted line 95
+
+markItUp! 1.1.3 2008-09-12
+- Fixed: IE7 preview problem
+
+markItUp! 1.1.2 2008-07-17
+- Fixed: Quick fix for Opera 9.5 caret position problem after insertion
+
+markItUp! 1.1.1 2008-06-02
+- Fixed: Key events status are passed to callbacks properly
+- Improved: ScrollPosition is kept in the preview when its refreshed
+
+markItUp! 1.1.0 2008-05-04
+- Modified: Textarea's id is no more moved to the main container
+- Modified: NameSpace Span become a Div to remain strict
+- Added: Relative path to the script is computed
+- Added: Relative path to the script passed to callbacks
+- Added: Global instance ID property
+- Added: $(element).markItUpRemove() to remove markItUp!
+- Added: Resize handle is now optional with resizeHandle property
+- Added: Property previewInWindow is added and accept window parameter
+- Added: Property previewPosition is added
+- Modified: Resize handle is no more displayed in Safari to avoid repetition with the native handle
+- Modified: Property previewIframeRefresh become previewAutorefresh
+- Modified: Built-in Html Preview call a template file
+- Improved: Autorefreshing is now apply for preview in window too
+- Improved: Cancel button in prompt window cancel now the whole insertion process
+- Improved: Cleaner markItUp! code added to the DOM
+- Removed: Depreciated preview properties as previewBaseUrl, previewCharset, previewCssPath, previewBodyId, previewBodyClassName
+- Removed: Property previewIframe not longer exists
+- Fixed: "Magic markups" works with line feeds
+- Fixed: Key events are initialized after insertion
+- Fixed: Internet Explorer line feed offset bug
+- Fixed: Shortcut keys on Mac OS
+- Fixed: Ctrl+click works and doesn't open Mac context menu anymore
+- Fixed: Ctrl+click works and doesn't open the page in a new tab anymore
+- Fixed: Minor Css modifications
+
+markItUp! 1.0.3 2008-04-04
+- Fixed: IE7 Preview empty baseurl problem
+- Fixed: IE7 external targeted insertion
+- Added: Property scrollPosition is passed to callbacks functions
+
+markItUp! 1.0.2 2008-03-31
+- Fixed: IE7 Html preview problems
+- Fixed: Selection is kept if nothing is inserted
+- Improved: Code minified
+
+markItUp! 1.0.1 2008-03-21
+- Removed: Global PlaceHolder
+- Modified: Property previewCharset is setted to "utf-8" by default
+
+markItUp! 1.0.0 2008-03-01
+- First public release
View
30 README.md
@@ -1,16 +1,16 @@
-
-markItUp! Universal markup editor
-=================================
-
-markItUp! is a JavaScript plugin built on the jQuery library. It allows you to turn any textarea into a markup editor. Html, Textile, Wiki Syntax, Markdown, BBcode or even your own Markup system can be easily implemented.
-
-markItUp! is not meant to be a “Full-Features-Out-of-the-Box”-editor. Instead it is a very lightweight, customizable and flexible engine made to meet the developer's needs in their CMSes, blogs, forums or websites. markItUp! is not a WYSIWYG editor, and it never will be.
-
-**Home:**
-[http://markitup.jaysalvat.com/](http://markitup.jaysalvat.com/)
-
-**Documentation:**
-[http://markitup.jaysalvat.com/documentation/](http://markitup.jaysalvat.com/documentation/)
-
-**Examples:**
+
+markItUp! Universal markup editor
+=================================
+
+markItUp! is a JavaScript plugin built on the jQuery library. It allows you to turn any textarea into a markup editor. Html, Textile, Wiki Syntax, Markdown, BBcode or even your own Markup system can be easily implemented.
+
+markItUp! is not meant to be a “Full-Features-Out-of-the-Box”-editor. Instead it is a very lightweight, customizable and flexible engine made to meet the developer's needs in their CMSes, blogs, forums or websites. markItUp! is not a WYSIWYG editor, and it never will be.
+
+**Home:**
+[http://markitup.jaysalvat.com/](http://markitup.jaysalvat.com/)
+
+**Documentation:**
+[http://markitup.jaysalvat.com/documentation/](http://markitup.jaysalvat.com/documentation/)
+
+**Examples:**
[http://markitup.jaysalvat.com/examples/](http://markitup.jaysalvat.com/examples/)
View
BIN images/body.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN images/jaysalvat.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN images/markitup.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
52 images/style.css
@@ -1,27 +1,27 @@
-body {
- background:#EEE url(body.png) repeat-x;
- font: 13px "Trebuchet MS", Arial, Verdana;
- padding-top:95px;
-}
-a {
- text-decoration:none;
- color:#3C769D;
-}
-h1 a,
-p em a {
- display:block;
- overflow:hidden;
- text-indent:-1000px;
- position:absolute;
- top:0px; left:0px;
-}
-h1 a {
- background:#EEE url(markitup.png) no-repeat top left;
- width:245px; height:85px;
- top:28px;
-}
-p em a {
- background:transparent url(jaysalvat.png) no-repeat 10% 50%;
- width:120px; height:28px;
- left:30px;
+body {
+ background:#EEE url(body.png) repeat-x;
+ font: 13px "Trebuchet MS", Arial, Verdana;
+ padding-top:95px;
+}
+a {
+ text-decoration:none;
+ color:#3C769D;
+}
+h1 a,
+p em a {
+ display:block;
+ overflow:hidden;
+ text-indent:-1000px;
+ position:absolute;
+ top:0px; left:0px;
+}
+h1 a {
+ background:#EEE url(markitup.png) no-repeat top left;
+ width:245px; height:85px;
+ top:28px;
+}
+p em a {
+ background:transparent url(jaysalvat.png) no-repeat 10% 50%;
+ width:120px; height:28px;
+ left:30px;
}
View
130 index.html
@@ -1,65 +1,65 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-<title>markItUp! Universal markup editor</title>
-<link rel="stylesheet" type="text/css" href="images/style.css" />
-<!-- jQuery -->
-<script type="text/javascript" src="jquery-1.4.2.min.js"></script>
-<!-- markItUp! -->
-<script type="text/javascript" src="markitup/jquery.markitup.js"></script>
-<!-- markItUp! toolbar settings -->
-<script type="text/javascript" src="markitup/sets/default/set.js"></script>
-<!-- markItUp! skin -->
-<link rel="stylesheet" type="text/css" href="markitup/skins/markitup/style.css" />
-<!-- markItUp! toolbar skin -->
-<link rel="stylesheet" type="text/css" href="markitup/sets/default/style.css" />
-</head>
-<body>
-<script type="text/javascript">
-<!--
-$(document).ready(function() {
- // Add markItUp! to your textarea in one line
- // $('textarea').markItUp( { Settings }, { OptionalExtraSettings } );
- $('#markItUp').markItUp(mySettings);
-
- // You can add content from anywhere in your page
- // $.markItUp( { Settings } );
- $('.add').click(function() {
- $.markItUp( { openWith:'<opening tag>',
- closeWith:'<\/closing tag>',
- placeHolder:"New content"
- }
- );
- return false;
- });
-
- // And you can add/remove markItUp! whenever you want
- // $(textarea).markItUpRemove();
- $('.toggle').click(function() {
- if ($("#markItUp.markItUpEditor").length === 1) {
- $("#markItUp").markItUpRemove();
- $("span", this).text("get markItUp! back");
- } else {
- $('#markItUp').markItUp(mySettings);
- $("span", this).text("remove markItUp!");
- }
- return false;
- });
-});
--->
-</script>
-<h1><a href="http://markitup.jaysalvat.com/">markItUp!</a></h1>
-<p><em><a href="http://www.jaysalvat.com">By Jay Salvat</a></em></p>
-<p>Downloads, examples and documentation at <a href="http://markitup.jaysalvat.com">http://markitup.jaysalvat.com</a>.</p>
-<p>Click <a href="#" class="add">this link to insert content</a> from anywhere in the page or <a href="#" class="toggle">this one to <span>remove markItUp!</span></a></p>
-<p>
-<textarea id="markItUp" cols="80" rows="20">
-&lt;h1&gt;Welcome on markItUp!&lt;/h1&gt;
-
-&lt;p&gt;&lt;strong&gt;markItUp!&lt;/strong&gt; is a JavaScript plugin built on the jQuery library. It allows you to turn any textarea into a markup editor. Html, Textile, Wiki Syntax, Markdown, BBcode or even your own markup system can be easily implemented.&lt;/p&gt;
-</textarea>
-</p>
-<p>Support the projet : <a href="http://markitup.jaysalvat.com/">Donate</a> | <a href="http://markitup.jaysalvat.com/">Contact</a></p>
-</body>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<title>markItUp! Universal markup editor</title>
+<link rel="stylesheet" type="text/css" href="images/style.css" />
+<!-- jQuery -->
+<script type="text/javascript" src="jquery-1.4.2.min.js"></script>
+<!-- markItUp! -->
+<script type="text/javascript" src="markitup/jquery.markitup.js"></script>
+<!-- markItUp! toolbar settings -->
+<script type="text/javascript" src="markitup/sets/default/set.js"></script>
+<!-- markItUp! skin -->
+<link rel="stylesheet" type="text/css" href="markitup/skins/markitup/style.css" />
+<!-- markItUp! toolbar skin -->
+<link rel="stylesheet" type="text/css" href="markitup/sets/default/style.css" />
+</head>
+<body>
+<script type="text/javascript">
+<!--
+$(document).ready(function() {
+ // Add markItUp! to your textarea in one line
+ // $('textarea').markItUp( { Settings }, { OptionalExtraSettings } );
+ $('#markItUp').markItUp(mySettings);
+
+ // You can add content from anywhere in your page
+ // $.markItUp( { Settings } );
+ $('.add').click(function() {
+ $.markItUp( { openWith:'<opening tag>',
+ closeWith:'<\/closing tag>',
+ placeHolder:"New content"
+ }
+ );
+ return false;
+ });
+
+ // And you can add/remove markItUp! whenever you want
+ // $(textarea).markItUpRemove();
+ $('.toggle').click(function() {
+ if ($("#markItUp.markItUpEditor").length === 1) {
+ $("#markItUp").markItUpRemove();
+ $("span", this).text("get markItUp! back");
+ } else {
+ $('#markItUp').markItUp(mySettings);
+ $("span", this).text("remove markItUp!");
+ }
+ return false;
+ });
+});
+-->
+</script>
+<h1><a href="http://markitup.jaysalvat.com/">markItUp!</a></h1>
+<p><em><a href="http://www.jaysalvat.com">By Jay Salvat</a></em></p>
+<p>Downloads, examples and documentation at <a href="http://markitup.jaysalvat.com">http://markitup.jaysalvat.com</a>.</p>
+<p>Click <a href="#" class="add">this link to insert content</a> from anywhere in the page or <a href="#" class="toggle">this one to <span>remove markItUp!</span></a></p>
+<p>
+<textarea id="markItUp" cols="80" rows="20">
+&lt;h1&gt;Welcome on markItUp!&lt;/h1&gt;
+
+&lt;p&gt;&lt;strong&gt;markItUp!&lt;/strong&gt; is a JavaScript plugin built on the jQuery library. It allows you to turn any textarea into a markup editor. Html, Textile, Wiki Syntax, Markdown, BBcode or even your own markup system can be easily implemented.&lt;/p&gt;
+</textarea>
+</p>
+<p>Support the projet : <a href="http://markitup.jaysalvat.com/">Donate</a> | <a href="http://markitup.jaysalvat.com/">Contact</a></p>
+</body>
+</html>
View
308 jquery-1.4.2.min.js
154 additions, 154 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
52 markitup/sets/default/set.js
@@ -1,27 +1,27 @@
-// ----------------------------------------------------------------------------
-// markItUp!
-// ----------------------------------------------------------------------------
-// Copyright (C) 2008 Jay Salvat
-// http://markitup.jaysalvat.com/
-// ----------------------------------------------------------------------------
-// Html tags
-// http://en.wikipedia.org/wiki/html
-// ----------------------------------------------------------------------------
-// Basic set. Feel free to add more tags
-// ----------------------------------------------------------------------------
-mySettings = {
- onShiftEnter: {keepDefault:false, replaceWith:'<br />\n'},
- onCtrlEnter: {keepDefault:false, openWith:'\n<p>', closeWith:'</p>'},
- onTab: {keepDefault:false, replaceWith:' '},
- markupSet: [
- {name:'Bold', key:'B', openWith:'(!(<strong>|!|<b>)!)', closeWith:'(!(</strong>|!|</b>)!)' },
- {name:'Italic', key:'I', openWith:'(!(<em>|!|<i>)!)', closeWith:'(!(</em>|!|</i>)!)' },
- {name:'Stroke through', key:'S', openWith:'<del>', closeWith:'</del>' },
- {separator:'---------------' },
- {name:'Picture', key:'P', replaceWith:'<img src="[![Source:!:http://]!]" alt="[![Alternative text]!]" />' },
- {name:'Link', key:'L', openWith:'<a href="[![Link:!:http://]!]"(!( title="[![Title]!]")!)>', closeWith:'</a>', placeHolder:'Your text to link...' },
- {separator:'---------------' },
- {name:'Clean', className:'clean', replaceWith:function(markitup) { return markitup.selection.replace(/<(.*?)>/g, "") } },
- {name:'Preview', className:'preview', call:'preview'}
- ]
+// ----------------------------------------------------------------------------
+// markItUp!
+// ----------------------------------------------------------------------------
+// Copyright (C) 2008 Jay Salvat
+// http://markitup.jaysalvat.com/
+// ----------------------------------------------------------------------------
+// Html tags
+// http://en.wikipedia.org/wiki/html
+// ----------------------------------------------------------------------------
+// Basic set. Feel free to add more tags
+// ----------------------------------------------------------------------------
+mySettings = {
+ onShiftEnter: {keepDefault:false, replaceWith:'<br />\n'},
+ onCtrlEnter: {keepDefault:false, openWith:'\n<p>', closeWith:'</p>'},
+ onTab: {keepDefault:false, replaceWith:' '},
+ markupSet: [
+ {name:'Bold', key:'B', openWith:'(!(<strong>|!|<b>)!)', closeWith:'(!(</strong>|!|</b>)!)' },
+ {name:'Italic', key:'I', openWith:'(!(<em>|!|<i>)!)', closeWith:'(!(</em>|!|</i>)!)' },
+ {name:'Stroke through', key:'S', openWith:'<del>', closeWith:'</del>' },
+ {separator:'---------------' },
+ {name:'Picture', key:'P', replaceWith:'<img src="[![Source:!:http://]!]" alt="[![Alternative text]!]" />' },
+ {name:'Link', key:'L', openWith:'<a href="[![Link:!:http://]!]"(!( title="[![Title]!]")!)>', closeWith:'</a>', placeHolder:'Your text to link...' },
+ {separator:'---------------' },
+ {name:'Clean', className:'clean', replaceWith:function(markitup) { return markitup.selection.replace(/<(.*?)>/g, "") } },
+ {name:'Preview', className:'preview', call:'preview'}
+ ]
}
View
52 markitup/sets/default/style.css
@@ -1,27 +1,27 @@
-/* -------------------------------------------------------------------
-// markItUp!
-// By Jay Salvat - http://markitup.jaysalvat.com/
-// ------------------------------------------------------------------*/
-.markItUp .markItUpButton1 a {
- background-image:url(images/bold.png);
-}
-.markItUp .markItUpButton2 a {
- background-image:url(images/italic.png);
-}
-.markItUp .markItUpButton3 a {
- background-image:url(images/stroke.png);
-}
-
-.markItUp .markItUpButton4 a {
- background-image:url(images/picture.png);
-}
-.markItUp .markItUpButton5 a {
- background-image:url(images/link.png);
-}
-
-.markItUp .markItUpButton6 a {
- background-image:url(images/clean.png);
-}
-.markItUp .preview a {
- background-image:url(images/preview.png);
+/* -------------------------------------------------------------------
+// markItUp!
+// By Jay Salvat - http://markitup.jaysalvat.com/
+// ------------------------------------------------------------------*/
+.markItUp .markItUpButton1 a {
+ background-image:url(images/bold.png);
+}
+.markItUp .markItUpButton2 a {
+ background-image:url(images/italic.png);
+}
+.markItUp .markItUpButton3 a {
+ background-image:url(images/stroke.png);
+}
+
+.markItUp .markItUpButton4 a {
+ background-image:url(images/picture.png);
+}
+.markItUp .markItUpButton5 a {
+ background-image:url(images/link.png);
+}
+
+.markItUp .markItUpButton6 a {
+ background-image:url(images/clean.png);
+}
+.markItUp .preview a {
+ background-image:url(images/preview.png);
}
View
BIN markitup/skins/markitup/images/bg-container.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN markitup/skins/markitup/images/menu.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
294 markitup/skins/markitup/style.css
@@ -1,148 +1,148 @@
-/* -------------------------------------------------------------------
-// markItUp! Universal MarkUp Engine, JQuery plugin
-// By Jay Salvat - http://markitup.jaysalvat.com/
-// ------------------------------------------------------------------*/
-.markItUp * {
- margin:0px; padding:0px;
- outline:none;
-}
-.markItUp a:link,
-.markItUp a:visited {
- color:#000;
- text-decoration:none;
-}
-.markItUp {
- width:700px;
- margin:5px 0 5px 0;
- border:5px solid #F5F5F5;
-}
-.markItUpContainer {
- border:1px solid #3C769D;
- background:#FFF url(images/bg-container.png) repeat-x top left;
- padding:5px 5px 2px 5px;
- font:11px Verdana, Arial, Helvetica, sans-serif;
-}
-.markItUpEditor {
- font:12px 'Courier New', Courier, monospace;
- padding:5px 5px 5px 35px;
- border:3px solid #3C769D;
- width:643px;
- height:320px;
- background-image:url(images/bg-editor.png);
- background-repeat:no-repeat;
- clear:both; display:block;
- line-height:18px;
- overflow:auto;
-}
-.markItUpPreviewFrame {
- overflow:auto;
- background-color:#FFFFFF;
- border:1px solid #3C769D;
- width:99.9%;
- height:300px;
- margin:5px 0;
-}
-.markItUpFooter {
- width:100%;
- cursor:n-resize;
-}
-.markItUpResizeHandle {
- overflow:hidden;
- width:22px; height:5px;
- margin-left:auto;
- margin-right:auto;
- background-image:url(images/handle.png);
- cursor:n-resize;
-}
-/***************************************************************************************/
-/* first row of buttons */
-.markItUpHeader ul li {
- list-style:none;
- float:left;
- position:relative;
-}
-.markItUpHeader ul li ul{
- display:none;
-}
-.markItUpHeader ul li:hover > ul{
- display:block;
-}
-.markItUpHeader ul .markItUpDropMenu {
- background:transparent url(images/menu.png) no-repeat 115% 50%;
- margin-right:5px;
-}
-.markItUpHeader ul .markItUpDropMenu li {
- margin-right:0px;
-}
-.markItUpHeader ul .markItUpSeparator {
- margin:0 10px;
- width:1px;
- height:16px;
- overflow:hidden;
- background-color:#CCC;
-}
-.markItUpHeader ul ul .markItUpSeparator {
- width:auto; height:1px;
- margin:0px;
-}
-/* next rows of buttons */
-.markItUpHeader ul ul {
- display:none;
- position:absolute;
- top:18px; left:0px;
- background:#F5F5F5;
- border:1px solid #3C769D;
- height:inherit;
-}
-.markItUpHeader ul ul li {
- float:none;
- border-bottom:1px solid #3C769D;
-}
-.markItUpHeader ul ul .markItUpDropMenu {
- background:#F5F5F5 url(images/submenu.png) no-repeat 100% 50%;
-}
-/* next rows of buttons */
-.markItUpHeader ul ul ul {
- position:absolute;
- top:-1px; left:150px;
-}
-.markItUpHeader ul ul ul li {
- float:none;
-}
-.markItUpHeader ul a {
- display:block;
- width:16px; height:16px;
- text-indent:-10000px;
- background-repeat:no-repeat;
- padding:3px;
- margin:0px;
-}
-.markItUpHeader ul ul a {
- display:block;
- padding-left:0px;
- text-indent:0;
- width:120px;
- padding:5px 5px 5px 25px;
- background-position:2px 50%;
-}
-.markItUpHeader ul ul a:hover {
- color:#FFF;
- background-color:#3C769D;
-}
-/***************************************************************************************/
-.html .markItUpEditor {
- background-image:url(images/bg-editor-html.png);
-}
-.markdown .markItUpEditor {
- background-image:url(images/bg-editor-markdown.png);
-}
-.textile .markItUpEditor {
- background-image:url(images/bg-editor-textile.png);
-}
-.bbcode .markItUpEditor {
- background-image:url(images/bg-editor-bbcode.png);
-}
-.wiki .markItUpEditor,
-.dotclear .markItUpEditor {
- background-image:url(images/bg-editor-wiki.png);
+/* -------------------------------------------------------------------
+// markItUp! Universal MarkUp Engine, JQuery plugin
+// By Jay Salvat - http://markitup.jaysalvat.com/
+// ------------------------------------------------------------------*/
+.markItUp * {
+ margin:0px; padding:0px;
+ outline:none;
+}
+.markItUp a:link,
+.markItUp a:visited {
+ color:#000;
+ text-decoration:none;
+}
+.markItUp {
+ width:700px;
+ margin:5px 0 5px 0;
+ border:5px solid #F5F5F5;
+}
+.markItUpContainer {
+ border:1px solid #3C769D;
+ background:#FFF url(images/bg-container.png) repeat-x top left;
+ padding:5px 5px 2px 5px;
+ font:11px Verdana, Arial, Helvetica, sans-serif;
+}
+.markItUpEditor {
+ font:12px 'Courier New', Courier, monospace;
+ padding:5px 5px 5px 35px;
+ border:3px solid #3C769D;
+ width:643px;
+ height:320px;
+ background-image:url(images/bg-editor.png);
+ background-repeat:no-repeat;
+ clear:both; display:block;
+ line-height:18px;
+ overflow:auto;
+}
+.markItUpPreviewFrame {
+ overflow:auto;
+ background-color:#FFFFFF;
+ border:1px solid #3C769D;
+ width:99.9%;
+ height:300px;
+ margin:5px 0;
+}
+.markItUpFooter {
+ width:100%;
+ cursor:n-resize;
+}
+.markItUpResizeHandle {
+ overflow:hidden;
+ width:22px; height:5px;
+ margin-left:auto;
+ margin-right:auto;
+ background-image:url(images/handle.png);
+ cursor:n-resize;
+}
+/***************************************************************************************/
+/* first row of buttons */
+.markItUpHeader ul li {
+ list-style:none;
+ float:left;
+ position:relative;
+}
+.markItUpHeader ul li ul{
+ display:none;
+}
+.markItUpHeader ul li:hover > ul{
+ display:block;
+}
+.markItUpHeader ul .markItUpDropMenu {
+ background:transparent url(images/menu.png) no-repeat 115% 50%;
+ margin-right:5px;
+}
+.markItUpHeader ul .markItUpDropMenu li {
+ margin-right:0px;
+}
+.markItUpHeader ul .markItUpSeparator {
+ margin:0 10px;
+ width:1px;
+ height:16px;
+ overflow:hidden;
+ background-color:#CCC;
+}
+.markItUpHeader ul ul .markItUpSeparator {
+ width:auto; height:1px;
+ margin:0px;
+}
+/* next rows of buttons */
+.markItUpHeader ul ul {
+ display:none;
+ position:absolute;
+ top:18px; left:0px;
+ background:#F5F5F5;
+ border:1px solid #3C769D;
+ height:inherit;
+}
+.markItUpHeader ul ul li {
+ float:none;
+ border-bottom:1px solid #3C769D;
+}
+.markItUpHeader ul ul .markItUpDropMenu {
+ background:#F5F5F5 url(images/submenu.png) no-repeat 100% 50%;
+}
+/* next rows of buttons */
+.markItUpHeader ul ul ul {
+ position:absolute;
+ top:-1px; left:150px;
+}
+.markItUpHeader ul ul ul li {
+ float:none;
+}
+.markItUpHeader ul a {
+ display:block;
+ width:16px; height:16px;
+ text-indent:-10000px;
+ background-repeat:no-repeat;
+ padding:3px;
+ margin:0px;
+}
+.markItUpHeader ul ul a {
+ display:block;
+ padding-left:0px;
+ text-indent:0;
+ width:120px;
+ padding:5px 5px 5px 25px;
+ background-position:2px 50%;
+}
+.markItUpHeader ul ul a:hover {
+ color:#FFF;
+ background-color:#3C769D;
+}
+/***************************************************************************************/
+.html .markItUpEditor {
+ background-image:url(images/bg-editor-html.png);
+}
+.markdown .markItUpEditor {
+ background-image:url(images/bg-editor-markdown.png);
+}
+.textile .markItUpEditor {
+ background-image:url(images/bg-editor-textile.png);
+}
+.bbcode .markItUpEditor {
+ background-image:url(images/bg-editor-bbcode.png);
+}
+.wiki .markItUpEditor,
+.dotclear .markItUpEditor {
+ background-image:url(images/bg-editor-wiki.png);
}
View
236 markitup/skins/simple/style.css
@@ -1,118 +1,118 @@
-/* -------------------------------------------------------------------
-// markItUp! Universal MarkUp Engine, JQuery plugin
-// By Jay Salvat - http://markitup.jaysalvat.com/
-// ------------------------------------------------------------------*/
-.markItUp * {
- margin:0px; padding:0px;
- outline:none;
-}
-.markItUp a:link,
-.markItUp a:visited {
- color:#000;
- text-decoration:none;
-}
-.markItUp {
- width:700px;
- margin:5px 0 5px 0;
-}
-.markItUpContainer {
- font:11px Verdana, Arial, Helvetica, sans-serif;
-}
-.markItUpEditor {
- font:12px 'Courier New', Courier, monospace;
- padding:5px;
- width:690px;
- height:320px;
- clear:both; display:block;
- line-height:18px;
- overflow:auto;
-}
-.markItUpPreviewFrame {
- overflow:auto;
- background-color:#FFF;
- width:99.9%;
- height:300px;
- margin:5px 0;
-}
-.markItUpFooter {
- width:100%;
-}
-.markItUpResizeHandle {
- overflow:hidden;
- width:22px; height:5px;
- margin-left:auto;
- margin-right:auto;
- background-image:url(images/handle.png);
- cursor:n-resize;
-}
-/***************************************************************************************/
-/* first row of buttons */
-.markItUpHeader ul li {
- list-style:none;
- float:left;
- position:relative;
-}
-.markItUpHeader ul li:hover > ul{
- display:block;
-}
-.markItUpHeader ul .markItUpDropMenu {
- background:transparent url(images/menu.png) no-repeat 115% 50%;
- margin-right:5px;
-}
-.markItUpHeader ul .markItUpDropMenu li {
- margin-right:0px;
-}
-/* next rows of buttons */
-.markItUpHeader ul ul {
- display:none;
- position:absolute;
- top:18px; left:0px;
- background:#FFF;
- border:1px solid #000;
-}
-.markItUpHeader ul ul li {
- float:none;
- border-bottom:1px solid #000;
-}
-.markItUpHeader ul ul .markItUpDropMenu {
- background:#FFF url(images/submenu.png) no-repeat 100% 50%;
-}
-.markItUpHeader ul .markItUpSeparator {
- margin:0 10px;
- width:1px;
- height:16px;
- overflow:hidden;
- background-color:#CCC;
-}
-.markItUpHeader ul ul .markItUpSeparator {
- width:auto; height:1px;
- margin:0px;
-}
-/* next rows of buttons */
-.markItUpHeader ul ul ul {
- position:absolute;
- top:-1px; left:150px;
-}
-.markItUpHeader ul ul ul li {
- float:none;
-}
-.markItUpHeader ul a {
- display:block;
- width:16px; height:16px;
- text-indent:-10000px;
- background-repeat:no-repeat;
- padding:3px;
- margin:0px;
-}
-.markItUpHeader ul ul a {
- display:block;
- padding-left:0px;
- text-indent:0;
- width:120px;
- padding:5px 5px 5px 25px;
- background-position:2px 50%;
-}
-.markItUpHeader ul ul a:hover {
- color:#FFF;
- background-color:#000;
-}
+/* -------------------------------------------------------------------
+// markItUp! Universal MarkUp Engine, JQuery plugin
+// By Jay Salvat - http://markitup.jaysalvat.com/
+// ------------------------------------------------------------------*/
+.markItUp * {
+ margin:0px; padding:0px;
+ outline:none;
+}
+.markItUp a:link,
+.markItUp a:visited {
+ color:#000;
+ text-decoration:none;
+}
+.markItUp {
+ width:700px;
+ margin:5px 0 5px 0;
+}
+.markItUpContainer {
+ font:11px Verdana, Arial, Helvetica, sans-serif;
+}
+.markItUpEditor {
+ font:12px 'Courier New', Courier, monospace;
+ padding:5px;
+ width:690px;
+ height:320px;
+ clear:both; display:block;
+ line-height:18px;
+ overflow:auto;
+}
+.markItUpPreviewFrame {
+ overflow:auto;
+ background-color:#FFF;
+ width:99.9%;
+ height:300px;
+ margin:5px 0;
+}
+.markItUpFooter {
+ width:100%;
+}
+.markItUpResizeHandle {
+ overflow:hidden;
+ width:22px; height:5px;
+ margin-left:auto;
+ margin-right:auto;
+ background-image:url(images/handle.png);
+ cursor:n-resize;
+}
+/***************************************************************************************/
+/* first row of buttons */
+.markItUpHeader ul li {
+ list-style:none;
+ float:left;
+ position:relative;
+}
+.markItUpHeader ul li:hover > ul{
+ display:block;
+}
+.markItUpHeader ul .markItUpDropMenu {
+ background:transparent url(images/menu.png) no-repeat 115% 50%;
+ margin-right:5px;
+}
+.markItUpHeader ul .markItUpDropMenu li {
+ margin-right:0px;
+}
+/* next rows of buttons */
+.markItUpHeader ul ul {
+ display:none;
+ position:absolute;
+ top:18px; left:0px;
+ background:#FFF;
+ border:1px solid #000;
+}
+.markItUpHeader ul ul li {
+ float:none;
+ border-bottom:1px solid #000;
+}
+.markItUpHeader ul ul .markItUpDropMenu {
+ background:#FFF url(images/submenu.png) no-repeat 100% 50%;
+}
+.markItUpHeader ul .markItUpSeparator {
+ margin:0 10px;
+ width:1px;
+ height:16px;
+ overflow:hidden;
+ background-color:#CCC;
+}
+.markItUpHeader ul ul .markItUpSeparator {
+ width:auto; height:1px;
+ margin:0px;
+}
+/* next rows of buttons */
+.markItUpHeader ul ul ul {
+ position:absolute;
+ top:-1px; left:150px;
+}
+.markItUpHeader ul ul ul li {
+ float:none;
+}
+.markItUpHeader ul a {
+ display:block;
+ width:16px; height:16px;
+ text-indent:-10000px;
+ background-repeat:no-repeat;
+ padding:3px;
+ margin:0px;
+}
+.markItUpHeader ul ul a {
+ display:block;
+ padding-left:0px;
+ text-indent:0;
+ width:120px;
+ padding:5px 5px 5px 25px;
+ background-position:2px 50%;
+}
+.markItUpHeader ul ul a:hover {
+ color:#FFF;
+ background-color:#000;
+}
View
8 markitup/templates/preview.css
@@ -1,5 +1,5 @@
-/* preview style examples */
-body {
- background-color:#EFEFEF;
- font:70% Verdana, Arial, Helvetica, sans-serif;
+/* preview style examples */
+body {
+ background-color:#EFEFEF;
+ font:70% Verdana, Arial, Helvetica, sans-serif;
}
View
22 markitup/templates/preview.html
@@ -1,11 +1,11 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<title>markItUp! preview template</title>
-<link rel="stylesheet" type="text/css" href="~/templates/preview.css" />
-</head>
-<body>
-<!-- content -->
-</body>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<title>markItUp! preview template</title>
+<link rel="stylesheet" type="text/css" href="~/templates/preview.css" />
+</head>
+<body>
+<!-- content -->
+</body>
+</html>

0 comments on commit 8972e3c

Please sign in to comment.
Something went wrong with that request. Please try again.