jquery.sceditor.css 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. /**
  2. * SCEditor v1.3.1
  3. * http://www.samclarke.com/2011/07/sceditor/
  4. *
  5. * Copyright (C) 2011, Sam Clarke (samclarke.com)
  6. *
  7. * SCEditor is licensed under the MIT license:
  8. * http://www.opensource.org/licenses/mit-license.php
  9. *
  10. * Icons by Mark James (http://www.famfamfam.com/lab/icons/silk/)
  11. * Licensed under the Creative Commons CC-BY license (http://creativecommons.org/licenses/by/3.0/)
  12. */
  13. /*
  14. spritemapper.output_image = minified/jquery.sceditor.min.png
  15. spritemapper.output_css = minified/jquery.sceditor.min.css
  16. */
  17. .sceditor-container {
  18. position: relative;
  19. overflow: hidden;
  20. border: 1px solid #aaa;
  21. background: #fff;
  22. -moz-border-radius: 4px;
  23. -webkit-border-radius: 4px;
  24. -opera-border-radius: 4px;
  25. -khtml-border-radius: 4px;
  26. border-radius: 4px;
  27. }
  28. .sceditor-container, .sceditor-container div,
  29. div.sceditor-dropdown, div.sceditor-dropdown div {
  30. padding: 0;
  31. margin: 0;
  32. z-index: 3;
  33. }
  34. .sceditor-container iframe, .sceditor-container textarea {
  35. border: 0;
  36. outline: none;
  37. font-family: Verdana, Arial, Helvetica, sans-serif;
  38. font-size: 13px;
  39. color: #111;
  40. padding: 0;
  41. margin: 5px;
  42. resize: none;
  43. }
  44. div.sceditor-resize-cover {
  45. position: absolute;
  46. top: 0;
  47. left: 0;
  48. background: #000;
  49. width: 3000px;
  50. height: 6000px;
  51. z-index: 2;
  52. filter: alpha(opacity=30);
  53. opacity: 0.3;
  54. }
  55. div.sceditor-grip {
  56. background: #000;
  57. overflow: hidden;
  58. width: 10px;
  59. height: 10px;
  60. cursor: pointer;
  61. position: absolute;
  62. bottom: 0;
  63. right: 0;
  64. z-index: 3;
  65. background: url('../images/bbc/grip.png');
  66. }
  67. div.sceditor-dropdown {
  68. position: absolute;
  69. margin: 22px 0 0 1px;
  70. border: 1px solid #bbb;
  71. background: #fff;
  72. color: #222;
  73. font-size: 13px;
  74. z-index: 6;
  75. }
  76. div.sceditor-dropdown form { margin: 0; }
  77. div.sceditor-dropdown label {
  78. display:block;
  79. font-weight: bold;
  80. font-size: .95em;
  81. margin: .65em 0 .15em;
  82. }
  83. div.sceditor-dropdown .button { margin: .5em 0 0; }
  84. .sceditor-pastetext textarea { border: 1px solid #bbb; width: 20em; }
  85. div.sceditor-inserttable, div.sceditor-insertimage,
  86. div.sceditor-pastetext, div.sceditor-insertlink,
  87. div.sceditor-insertemail {
  88. padding: 5px;
  89. }
  90. div.sceditor-smileyPopup {
  91. margin: 0;
  92. }
  93. .sceditor-insertemoticon img, .sceditor-smileyPopup img {
  94. cursor: pointer;
  95. margin: 2px;
  96. }
  97. .sceditor-more, .sceditor-smileyPopup {
  98. display: inline;
  99. text-align: center;
  100. cursor: pointer;
  101. padding: 2px 0;
  102. }
  103. .sceditor-more:hover { background: #eee; }
  104. .sceditor-fontsize-option, .sceditor-font-option {
  105. display: block;
  106. padding: 4px 6px;
  107. cursor: pointer;
  108. font-size: 14px;
  109. text-decoration: none;
  110. color: #222;
  111. }
  112. .sceditor-fontsize-option:hover, .sceditor-font-option:hover { background: #eee; }
  113. .sceditor-color-column { float: left; }
  114. .sceditor-color-option {
  115. display: block;
  116. border: 1px solid #fff;
  117. height: 20px;
  118. width: 100px;
  119. overflow: hidden;
  120. }
  121. .sceditor-color-option:hover { border: 1px solid #333; }
  122. div.sceditor-toolbar {
  123. overflow: hidden;
  124. zoom: 1; /* IE6 */
  125. padding: 3px 5px 0 5px;
  126. *padding: 3px 5px 3px 5px;
  127. background: #f7f7f7;
  128. border-bottom: 1px solid #aaa;
  129. -webkit-border-radius: 4px 4px 0 0;
  130. }
  131. div.sceditor-group {
  132. overflow: hidden;
  133. display: inline-block;
  134. zoom: 1; /* IE6 */
  135. *display: inline;
  136. background: #ddd;
  137. margin: 1px 5px 1px 0;
  138. *margin: 2px 5px 2px 0;
  139. padding: 2px;
  140. -moz-border-radius: 4px;
  141. -webkit-border-radius: 4px;
  142. -opera-border-radius: 4px;
  143. -khtml-border-radius: 4px;
  144. border-radius: 4px;
  145. }
  146. div.sceditor-row {
  147. overflow: hidden;
  148. display: block;
  149. zoom: 1; /* IE6 */
  150. *display: inline;
  151. }
  152. .sceditor-button {
  153. float: left;
  154. cursor: pointer;
  155. padding: 3px 4px;
  156. }
  157. /*.sceditor-button.disabled {
  158. background-color: #666;
  159. }*/
  160. .sceditor-button.disabled div {
  161. filter: alpha(opacity=30);
  162. opacity: 0.3;
  163. }
  164. .sceditor-button.disabled:hover {
  165. background: inherit;
  166. cursor: default;
  167. }
  168. .sceditor-button div, .sceditor-button {
  169. display: block;
  170. width: 18px;
  171. height: 18px;
  172. background-repeat:no-repeat !important;
  173. background-position:center center !important;
  174. }
  175. .sceditor-button div {
  176. margin: 0;
  177. padding: 0;
  178. text-indent: -9999px;
  179. }
  180. .sceditor-button:hover { background: #eee; }
  181. .sceditor-button-emoticon { display:none; }
  182. .sceditor-popup-grip {
  183. display: block;
  184. height: 15px;
  185. }
  186. /* SMF buttons styles */
  187. .sceditor-button-source div {
  188. background: url('../images/bbc/toggle.png');
  189. }
  190. .sceditor-button-font div {
  191. background: url('../images/bbc/font.png');
  192. }
  193. .sceditor-button-size div {
  194. background: url('../images/bbc/font_size.png');
  195. }
  196. .sceditor-button-color div {
  197. background: url('../images/bbc/color_swatch.png');
  198. }
  199. .sceditor-button-removeformat div {
  200. background: url('../images/bbc/font_delete.png');
  201. }
  202. .sceditor-button-bold div {
  203. background: url('../images/bbc/bold.png');
  204. }
  205. .sceditor-button-italic div {
  206. background: url('../images/bbc/italicize.png');
  207. }
  208. .sceditor-button-underline div {
  209. background: url('../images/bbc/underline.png');
  210. }
  211. .sceditor-button-strike div {
  212. background: url('../images/bbc/strike.png');
  213. }
  214. .sceditor-button-pre div {
  215. background: url('../images/bbc/pre.png');
  216. }
  217. .sceditor-button-left div {
  218. background: url('../images/bbc/left.png');
  219. }
  220. .sceditor-button-center div {
  221. background: url('../images/bbc/center.png');
  222. }
  223. .sceditor-button-right div {
  224. background: url('../images/bbc/right.png');
  225. }
  226. .sceditor-button-image div {
  227. background: url('../images/bbc/img.png');
  228. }
  229. .sceditor-button-link div {
  230. background: url('../images/bbc/url.png');
  231. }
  232. .sceditor-button-email div {
  233. background: url('../images/bbc/email.png');
  234. }
  235. .sceditor-button-ftp div {
  236. background: url('../images/bbc/ftp.png');
  237. }
  238. .sceditor-button-glow div {
  239. background: url('../images/bbc/glow.png');
  240. }
  241. .sceditor-button-shadow div {
  242. background: url('../images/bbc/shadow.png');
  243. }
  244. .sceditor-button-move div {
  245. background: url('../images/bbc/move.png');
  246. }
  247. .sceditor-button-superscript div {
  248. background: url('../images/bbc/sup.png');
  249. }
  250. .sceditor-button-subscript div {
  251. background: url('../images/bbc/sub.png');
  252. }
  253. .sceditor-button-tt div {
  254. background: url('../images/bbc/tele.png');
  255. }
  256. .sceditor-button-table div {
  257. background: url('../images/bbc/table.png');
  258. }
  259. .sceditor-button-code div {
  260. background: url('../images/bbc/code.png');
  261. }
  262. .sceditor-button-quote div {
  263. background: url('../images/bbc/quote.png');
  264. }
  265. .sceditor-button-bulletlist div {
  266. background: url('../images/bbc/list.png');
  267. }
  268. .sceditor-button-orderedlist div {
  269. background: url('../images/bbc/orderlist.png');
  270. }
  271. .sceditor-button-horizontalrule div {
  272. background: url('../images/bbc/hr.png');
  273. }
  274. .sceditor-button-unformat div {
  275. background: url('../images/bbc/unformat.png');
  276. }
  277. .sceditor-button-toggle div {
  278. background: url('../images/bbc/toggle.png');
  279. }