1/* 2 * FCKeditor - The text editor for Internet - http://www.fckeditor.net 3 * Copyright (C) 2003-2007 Frederico Caldeira Knabben 4 * 5 * == BEGIN LICENSE == 6 * 7 * Licensed under the terms of any of the following licenses at your 8 * choice: 9 * 10 * - GNU General Public License Version 2 or later (the "GPL") 11 * http://www.gnu.org/licenses/gpl.html 12 * 13 * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") 14 * http://www.gnu.org/licenses/lgpl.html 15 * 16 * - Mozilla Public License Version 1.1 or later (the "MPL") 17 * http://www.mozilla.org/MPL/MPL-1.1.html 18 * 19 * == END LICENSE == 20 * 21 * This CSS Style Sheet defines rules used by the editor for its internal use. 22 */ 23 24/* Fix to allow putting the caret at the end of the content in Firefox if 25 clicking below the content. */ 26html 27{ 28 min-height: 100%; 29} 30 31table.FCK__ShowTableBorders, table.FCK__ShowTableBorders td, table.FCK__ShowTableBorders th 32{ 33 border: #d3d3d3 1px solid; 34} 35 36form 37{ 38 border: 1px dotted #FF0000; 39 padding: 2px; 40} 41 42.FCK__Flash 43{ 44 border: #a9a9a9 1px solid; 45 background-position: center center; 46 background-image: url(images/fck_flashlogo.gif); 47 background-repeat: no-repeat; 48 width: 80px; 49 height: 80px; 50} 51 52/* Empty anchors images */ 53.FCK__Anchor 54{ 55 border: 1px dotted #00F; 56 background-position: center center; 57 background-image: url(images/fck_anchor.gif); 58 background-repeat: no-repeat; 59 width: 16px; 60 height: 15px; 61 vertical-align: middle; 62} 63 64/* Anchors with content */ 65.FCK__AnchorC 66{ 67 border: 1px dotted #00F; 68 background-position: 1px center; 69 background-image: url(images/fck_anchor.gif); 70 background-repeat: no-repeat; 71 padding-left: 18px; 72} 73 74/* Any anchor for non-IE, if we combine it with the previous rule IE ignores all. */ 75a[name] 76{ 77 border: 1px dotted #00F; 78 background-position: 0 center; 79 background-image: url(images/fck_anchor.gif); 80 background-repeat: no-repeat; 81 padding-left: 18px; 82} 83 84.FCK__PageBreak 85{ 86 background-position: center center; 87 background-image: url(images/fck_pagebreak.gif); 88 background-repeat: no-repeat; 89 clear: both; 90 display: block; 91 float: none; 92 width: 100%; 93 border-top: #999999 1px dotted; 94 border-bottom: #999999 1px dotted; 95 border-right: 0px; 96 border-left: 0px; 97 height: 5px; 98} 99 100/* Hidden fields */ 101.FCK__InputHidden 102{ 103 width: 19px; 104 height: 18px; 105 background-image: url(images/fck_hiddenfield.gif); 106 background-repeat: no-repeat; 107 vertical-align: text-bottom; 108 background-position: center center; 109} 110 111.FCK__ShowBlocks p, 112.FCK__ShowBlocks div, 113.FCK__ShowBlocks pre, 114.FCK__ShowBlocks address, 115.FCK__ShowBlocks blockquote, 116.FCK__ShowBlocks h1, 117.FCK__ShowBlocks h2, 118.FCK__ShowBlocks h3, 119.FCK__ShowBlocks h4, 120.FCK__ShowBlocks h5, 121.FCK__ShowBlocks h6 122{ 123 background-repeat: no-repeat; 124 border: 1px dotted gray; 125 padding-top: 8px; 126 padding-left: 8px; 127} 128 129.FCK__ShowBlocks p 130{ 131 background-image: url(images/block_p.png); 132} 133 134.FCK__ShowBlocks div 135{ 136 background-image: url(images/block_div.png); 137} 138 139.FCK__ShowBlocks pre 140{ 141 background-image: url(images/block_pre.png); 142} 143 144.FCK__ShowBlocks address 145{ 146 background-image: url(images/block_address.png); 147} 148 149.FCK__ShowBlocks blockquote 150{ 151 background-image: url(images/block_blockquote.png); 152} 153 154.FCK__ShowBlocks h1 155{ 156 background-image: url(images/block_h1.png); 157} 158 159.FCK__ShowBlocks h2 160{ 161 background-image: url(images/block_h2.png); 162} 163 164.FCK__ShowBlocks h3 165{ 166 background-image: url(images/block_h3.png); 167} 168 169.FCK__ShowBlocks h4 170{ 171 background-image: url(images/block_h4.png); 172} 173 174.FCK__ShowBlocks h5 175{ 176 background-image: url(images/block_h5.png); 177} 178 179.FCK__ShowBlocks h6 180{ 181 background-image: url(images/block_h6.png); 182} 183