2
0

jquery.sceditor.css 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  1. /**
  2. * SCEditor v1.3.7
  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. */
  11. .sceditor-container {
  12. position: relative;
  13. border: 1px solid #aaa;
  14. background: #fff;
  15. -moz-border-radius: 4px;
  16. -webkit-border-radius: 4px;
  17. -opera-border-radius: 4px;
  18. -khtml-border-radius: 4px;
  19. border-radius: 4px;
  20. }
  21. .sceditor-container.resizing {
  22. overflow: hidden;
  23. }
  24. .sceditor-container, .sceditor-container div, div.sceditor-dropdown, div.sceditor-dropdown div {
  25. padding: 0;
  26. margin: 0;
  27. z-index: 3;
  28. }
  29. .sceditor-container iframe, .sceditor-container textarea {
  30. border: 0;
  31. outline: none;
  32. color: #111;
  33. padding: 5px;
  34. margin: 0 0 12px 0;
  35. resize: none;
  36. background: #fff;
  37. -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
  38. }
  39. /* Necessary for stabilising font-size in source mode! */
  40. .sceditor-container textarea, .sceditor-container textarea:focus {
  41. font-size: 1em;
  42. box-shadow: none;
  43. }
  44. div.sceditor-resize-cover {
  45. position: absolute;
  46. top: 0;
  47. left: 0;
  48. background: #fff;
  49. width: 3000px;
  50. height: 6000px;
  51. z-index: 2;
  52. filter: alpha(opacity=70);
  53. opacity: 0.7;
  54. }
  55. div.sceditor-grip {
  56. overflow: hidden;
  57. height: 12px;
  58. cursor: pointer;
  59. position: absolute;
  60. bottom: 0;
  61. left: -1px;
  62. right: -1px;
  63. z-index: 3;
  64. background: #fff url('../images/bbc/grip.png') 100% 100% no-repeat;
  65. border: 1px solid #ccc;
  66. border-bottom: none;
  67. border-radius: 0 0 4px 4px;
  68. box-shadow: -1px -2px 4px rgba(0,0,0,0.1) inset, 2px 2px 4px rgba(255,255,255,0.75) inset;
  69. }
  70. div.sceditor-dropdown {
  71. position: absolute;
  72. margin: 22px 0 0 1px;
  73. border: 1px solid #bbb;
  74. background: #fff;
  75. color: #222;
  76. font-size: 13px;
  77. z-index: 6;
  78. }
  79. div.sceditor-dropdown form {
  80. margin: 0;
  81. }
  82. div.sceditor-dropdown label {
  83. display: block;
  84. font-eight: bold;
  85. font-size: .95em;
  86. margin: .65em 0 .15em;
  87. }
  88. div.sceditor-dropdown .button {
  89. margin: .5em 0 0;
  90. }
  91. .sceditor-pastetext textarea {
  92. border: 1px solid #bbb;
  93. width: 20em;
  94. }
  95. div.sceditor-inserttable, div.sceditor-insertimage, div.sceditor-pastetext, div.sceditor-insertlink, div.sceditor-insertemail {
  96. padding: 5px;
  97. }
  98. div.sceditor-smileyPopup {
  99. margin: 0;
  100. }
  101. .sceditor-insertemoticon img, .sceditor-smileyPopup img {
  102. cursor: pointer;
  103. margin: 6px 4px 4px 4px;
  104. }
  105. .sceditor-more, .sceditor-smileyPopup {
  106. display: inline;
  107. text-align: center;
  108. cursor: pointer;
  109. padding: 2px 0;
  110. }
  111. .sceditor-more:hover {
  112. background: #eee;
  113. }
  114. .sceditor-fontsize-option, .sceditor-font-option {
  115. display: block;
  116. padding: 6px;
  117. cursor: pointer;
  118. font-size: 1.2em;
  119. text-decoration: none;
  120. color: #222;
  121. }
  122. .sceditor-fontsize-option:hover, .sceditor-font-option:hover {
  123. background: #eee;
  124. }
  125. .sceditor-color-column {
  126. float: left;
  127. }
  128. .sceditor-color-option {
  129. display: block;
  130. border: 1px solid #fff;
  131. height: 20px;
  132. width: 100px;
  133. overflow: hidden;
  134. }
  135. .sceditor-color-option:hover {
  136. border: 1px solid #333;
  137. }
  138. div.sceditor-toolbar {
  139. overflow: hidden;
  140. padding: 3px 5px 0 5px;
  141. background: #f7f7f7;
  142. border-bottom: 1px solid #aaa;
  143. border-radius: 4px 4px 0 0;
  144. box-shadow: 0 -1px 2px rgba(0,0,0,0.1) inset;
  145. }
  146. div.sceditor-group {
  147. overflow: hidden;
  148. display: inline-block;
  149. background: none;
  150. margin: 0;
  151. padding: 0;
  152. }
  153. div.sceditor-row {
  154. overflow: hidden;
  155. display: inline-block;
  156. border-left: 1px solid #ccc;
  157. border-radius: 1px;
  158. margin: 4px 2px 2px 2px;
  159. }
  160. .sceditor-button {
  161. float: left;
  162. cursor: pointer;
  163. background: #fff;
  164. border: 1px solid #ccc;
  165. border-left: none;
  166. border-right: 1px solid #bbb;
  167. border-bottom: 1px solid #aaa;
  168. border-radius: 1px;
  169. box-shadow: -1px -1px 3px rgba(96,134,166,0.2) inset;
  170. padding: 3px 6px 2px 6px;
  171. color: #222;
  172. margin: 0;
  173. }
  174. .sceditor-button.active {
  175. background: #eff5fa;
  176. box-shadow: 1px 1px 1px rgba(0,0,0,0.07) inset;
  177. border-top: 1px solid #555;
  178. border-bottom: 1px solid #555;
  179. }
  180. .sceditor-button.disabled div {
  181. filter: alpha(opacity=30);
  182. opacity: 0.3;
  183. }
  184. .sceditor-button.disabled:hover {
  185. background: inherit;
  186. cursor: default;
  187. }
  188. .sceditor-button div, .sceditor-button {
  189. display: block;
  190. width: 18px;
  191. height: 18px;
  192. background-repeat:no-repeat !important;
  193. background-position:center center !important;
  194. }
  195. .sceditor-button div {
  196. margin: 0;
  197. padding: 0;
  198. text-indent: -9999px;
  199. }
  200. .sceditor-button:hover {
  201. background: #fafafa;
  202. box-shadow: 1px 1px 1px rgba(0,0,0,0.07) inset;
  203. border: 1px solid #ccc;
  204. border-left: none;
  205. border-top: 1px solid #aaa;
  206. }
  207. .sceditor-button-emoticon {
  208. display:none;
  209. }
  210. .sceditor-popup-grip {
  211. display: block;
  212. height: 15px;
  213. }
  214. /* SMF buttons styles */
  215. .sceditor-button-source div {
  216. background: url('../images/bbc/toggle.png');
  217. }
  218. .sourceMode .sceditor-button-source {
  219. background: #fafafa;
  220. box-shadow: 1px 1px 3px rgba(96,134,166,0.3) inset;
  221. border: 1px solid #ccc;
  222. border-left: none;
  223. border-top: 1px solid #aaa;
  224. }
  225. .sceditor-button-font div {
  226. background: url('../images/bbc/font.png');
  227. }
  228. .sceditor-button-size div {
  229. background: url('../images/bbc/font_size.png');
  230. }
  231. .sceditor-button-color div {
  232. background: url('../images/bbc/color_swatch.png');
  233. }
  234. .sceditor-button-removeformat div {
  235. background: url('../images/bbc/font_delete.png');
  236. }
  237. .sceditor-button-bold div {
  238. background: url('../images/bbc/bold.png');
  239. }
  240. .sceditor-button-italic div {
  241. background: url('../images/bbc/italicize.png');
  242. }
  243. .sceditor-button-underline div {
  244. background: url('../images/bbc/underline.png');
  245. }
  246. .sceditor-button-strike div {
  247. background: url('../images/bbc/strike.png');
  248. }
  249. .sceditor-button-pre div {
  250. background: url('../images/bbc/pre.png');
  251. }
  252. .sceditor-button-left div {
  253. background: url('../images/bbc/left.png');
  254. }
  255. .sceditor-button-center div {
  256. background: url('../images/bbc/center.png');
  257. }
  258. .sceditor-button-right div {
  259. background: url('../images/bbc/right.png');
  260. }
  261. .sceditor-button-image div {
  262. background: url('../images/bbc/img.png');
  263. }
  264. .sceditor-button-link div {
  265. background: url('../images/bbc/url.png');
  266. }
  267. .sceditor-button-email div {
  268. background: url('../images/bbc/email.png');
  269. }
  270. .sceditor-button-ftp div {
  271. background: url('../images/bbc/ftp.png');
  272. }
  273. .sceditor-button-glow div {
  274. background: url('../images/bbc/glow.png');
  275. }
  276. .sceditor-button-shadow div {
  277. background: url('../images/bbc/shadow.png');
  278. }
  279. .sceditor-button-move div {
  280. background: url('../images/bbc/move.gif');
  281. }
  282. .sceditor-button-superscript div {
  283. background: url('../images/bbc/sup.png');
  284. }
  285. .sceditor-button-subscript div {
  286. background: url('../images/bbc/sub.png');
  287. }
  288. .sceditor-button-tt div {
  289. background: url('../images/bbc/tele.png');
  290. }
  291. .sceditor-button-table div {
  292. background: url('../images/bbc/table.png');
  293. }
  294. .sceditor-button-code div {
  295. background: url('../images/bbc/code.png');
  296. }
  297. .sceditor-button-quote div {
  298. background: url('../images/bbc/quote.png');
  299. }
  300. .sceditor-button-bulletlist div {
  301. background: url('../images/bbc/list.png');
  302. }
  303. .sceditor-button-orderedlist div {
  304. background: url('../images/bbc/orderlist.png');
  305. }
  306. .sceditor-button-horizontalrule div {
  307. background: url('../images/bbc/hr.png');
  308. }
  309. .sceditor-button-unformat div {
  310. background: url('../images/bbc/unformat.png');
  311. }
  312. .sceditor-button-toggle div {
  313. background: url('../images/bbc/toggle.png');
  314. }