view media/js/markitup/sets/markdown/style.css @ 265:1ba2c6bf6eb7

Closing #98. Animated GIFs were losing their transparency and animated properties when saved as avatars. Reworked the avatar save process to only run the avatar through PIL if it is too big. This preserves the original uploaded file if it is within the desired size settings. This may still mangle big animated gifs. If this becomes a problem, then maybe look into calling the PIL Image.resize() method directly. Moved the PIL image specific functions from bio.forms to a new module: core.image for better reusability in the future.
author Brian Neal <bgneal@gmail.com>
date Fri, 24 Sep 2010 02:12:09 +0000
parents dbd703f7d63a
children 0231aad9e211
line wrap: on
line source
/* -------------------------------------------------------------------
// markItUp!
// By Jay Salvat - http://markitup.jaysalvat.com/
// ------------------------------------------------------------------*/
.markItUp .markItUpButton1 a {
	background-image:url(images/h1.png); 
}
.markItUp .markItUpButton2 a {
	background-image:url(images/h2.png); 
}
.markItUp .markItUpButton3 a {
	background-image:url(images/h3.png); 
}
.markItUp .markItUpButton4 a {
	background-image:url(images/h4.png); 
}
.markItUp .markItUpButton5 a {
	background-image:url(images/h5.png); 
}
.markItUp .markItUpButton6 a {
	background-image:url(images/h6.png); 
}

.markItUp .markItUpButton7 a {
	background-image:url(images/bold.png);
}
.markItUp .markItUpButton8 a {
	background-image:url(images/italic.png);
}

.markItUp .markItUpButton9 a {
	background-image:url(images/list-bullet.png);
}
.markItUp .markItUpButton10 a {
	background-image:url(images/list-numeric.png);
}

.markItUp .markItUpButton11 a {
	background-image:url(images/picture.png); 
}
.markItUp .markItUpButton12 a {
	background-image:url(images/link.png);
}

.markItUp .markItUpButton13 a	{
	background-image:url(images/quotes.png);
}
.markItUp .markItUpButton14 a	{
	background-image:url(images/code.png);
}

.markItUp .preview a {
	background-image:url(images/preview.png);
}

.markItUp .smilies a {
    background-image:url(../../../../smiley/images/smile.gif);
}
.markItUp .smilies ul {
    width:155px;
    padding:1px;	
}
.markItUp .smilies  li {
    border:1px solid white;
    width:20px;
    height:26px;
    overflow:hidden;
    padding:4px; margin:0px;
    float:left;
}
.markItUp .smilies ul a {
    width:20px;
    height:26px;
}
.markItUp .smilies ul li a:hover {
    background-color:none;
    border:1px solid black;
}
.markItUp .smilies .col1-1 a {
    background-image:url(../../../../smiley/images/upset.gif);
}
.markItUp .smilies .col1-2 a {
    background-image:url(../../../../smiley/images/biggrin.gif);
}
.markItUp .smilies .col1-3 a {
    background-image:url(../../../../smiley/images/bigrazz.gif);
}
.markItUp .smilies .col1-4 a {
    background-image:url(../../../../smiley/images/confused.gif);
}
.markItUp .smilies .col1-5 a {
    background-image:url(../../../../smiley/images/cool.gif);
}
.markItUp .smilies .col2-1 a {
    background-image:url(../../../../smiley/images/cry.gif);
}
.markItUp .smilies .col2-2 a {
    background-image:url(../../../../smiley/images/dead.gif);
}
.markItUp .smilies .col2-3 a {
    background-image:url(../../../../smiley/images/embarrassed.gif);
}
.markItUp .smilies .col2-4 a {
    background-image:url(../../../../smiley/images/laugh.gif);
}
.markItUp .smilies .col2-5 a {
    background-image:url(../../../../smiley/images/mad.gif);
}
.markItUp .smilies .col3-1 a {
    background-image:url(../../../../smiley/images/no.gif);
}
.markItUp .smilies .col3-2 a {
    background-image:url(../../../../smiley/images/none.gif);
}
.markItUp .smilies .col3-3 a {
    background-image:url(../../../../smiley/images/bigeek.gif);
}
.markItUp .smilies .col3-4 a {
    background-image:url(../../../../smiley/images/sigh.gif);
}
.markItUp .smilies .col3-5 a {
    background-image:url(../../../../smiley/images/smile.gif);
}
.markItUp .smilies .col4-1 a {
    background-image:url(../../../../smiley/images/uhoh.gif);
}
.markItUp .smilies .col4-2 a {
    background-image:url(../../../../smiley/images/rolleyes.gif);
}
.markItUp .smilies .col4-3 a {
    background-image:url(../../../../smiley/images/smilewinkgrin.gif);
}
.markItUp .smilies .col4-4 a {
    background-image:url(../../../../smiley/images/yes.gif);
}
.markItUp .smilies .col4-5 a {
    background-image:url(../../../../smiley/images/sleep.gif);
}