annotate static/js/tiny_mce/themes/simple/skins/o2k7/ui.css @ 318:c550933ff5b6

Fix a bug where you'd get an error when trying to delete a forum thread (topic does not exist). Apparently when you call topic.delete() the posts would get deleted, but the signal handler for each one would run, and it would try to update the topic's post count or something, but the topic was gone? Reworked the code a bit and explicitly delete the posts first. I also added a sync() call on the parent forum since post counts were not getting adjusted.
author Brian Neal <bgneal@gmail.com>
date Sat, 05 Feb 2011 21:46:52 +0000
parents 88b2b9cb8c1f
children
rev   line source
bgneal@312 1 /* Reset */
bgneal@312 2 .o2k7SimpleSkin table, .o2k7SimpleSkin tbody, .o2k7SimpleSkin a, .o2k7SimpleSkin img, .o2k7SimpleSkin tr, .o2k7SimpleSkin div, .o2k7SimpleSkin td, .o2k7SimpleSkin iframe, .o2k7SimpleSkin span, .o2k7SimpleSkin * {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-weight:normal; cursor:default; color:#000}
bgneal@312 3
bgneal@312 4 /* Containers */
bgneal@312 5 .o2k7SimpleSkin {position:relative}
bgneal@312 6 .o2k7SimpleSkin table.mceLayout {background:#E5EFFD; border:1px solid #ABC6DD;}
bgneal@312 7 .o2k7SimpleSkin iframe {display:block; background:#FFF; border-bottom:1px solid #ABC6DD;}
bgneal@312 8 .o2k7SimpleSkin .mceToolbar {height:26px;}
bgneal@312 9
bgneal@312 10 /* Layout */
bgneal@312 11 .o2k7SimpleSkin .mceToolbar .mceToolbarStart span {display:block; background:url(img/button_bg.png) -22px 0; width:1px; height:22px; }
bgneal@312 12 .o2k7SimpleSkin .mceToolbar .mceToolbarEnd span {display:block; background:url(img/button_bg.png) -22px 0; width:1px; height:22px}
bgneal@312 13 .o2k7SimpleSkin span.mceIcon, .o2k7SimpleSkin img.mceIcon {display:block; width:20px; height:20px}
bgneal@312 14 .o2k7SimpleSkin .mceIcon {background:url(../../img/icons.gif) no-repeat 20px 20px}
bgneal@312 15
bgneal@312 16 /* Button */
bgneal@312 17 .o2k7SimpleSkin .mceButton {display:block; background:url(img/button_bg.png); width:22px; height:22px}
bgneal@312 18 .o2k7SimpleSkin a.mceButton span, .o2k7SimpleSkin a.mceButton img {margin:1px 0 0 1px}
bgneal@312 19 .o2k7SimpleSkin a.mceButtonEnabled:hover {background-color:#B2BBD0; background-position:0 -22px}
bgneal@312 20 .o2k7SimpleSkin a.mceButtonActive {background-position:0 -44px}
bgneal@312 21 .o2k7SimpleSkin .mceButtonDisabled span {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)}
bgneal@312 22
bgneal@312 23 /* Separator */
bgneal@312 24 .o2k7SimpleSkin .mceSeparator {display:block; background:url(img/button_bg.png) -22px 0; width:5px; height:22px}
bgneal@312 25
bgneal@312 26 /* Theme */
bgneal@312 27 .o2k7SimpleSkin span.mce_bold {background-position:0 0}
bgneal@312 28 .o2k7SimpleSkin span.mce_italic {background-position:-60px 0}
bgneal@312 29 .o2k7SimpleSkin span.mce_underline {background-position:-140px 0}
bgneal@312 30 .o2k7SimpleSkin span.mce_strikethrough {background-position:-120px 0}
bgneal@312 31 .o2k7SimpleSkin span.mce_undo {background-position:-160px 0}
bgneal@312 32 .o2k7SimpleSkin span.mce_redo {background-position:-100px 0}
bgneal@312 33 .o2k7SimpleSkin span.mce_cleanup {background-position:-40px 0}
bgneal@312 34 .o2k7SimpleSkin span.mce_insertunorderedlist {background-position:-20px 0}
bgneal@312 35 .o2k7SimpleSkin span.mce_insertorderedlist {background-position:-80px 0}