jquery.sceditor.css 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  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: 4px 6px;
  117. cursor: pointer;
  118. font-size: 14px;
  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.disabled div {
  175. filter: alpha(opacity=30);
  176. opacity: 0.3;
  177. }
  178. .sceditor-button.disabled:hover {
  179. background: inherit;
  180. cursor: default;
  181. }
  182. .sceditor-button div, .sceditor-button {
  183. display: block;
  184. width: 18px;
  185. height: 18px;
  186. background-repeat:no-repeat !important;
  187. background-position:center center !important;
  188. }
  189. .sceditor-button div {
  190. margin: 0;
  191. padding: 0;
  192. text-indent: -9999px;
  193. }
  194. .sceditor-button:hover {
  195. background: #fafafa;
  196. box-shadow: 1px 1px 1px rgba(0,0,0,0.07) inset;
  197. border: 1px solid #ccc;
  198. border-left: none;
  199. border-top: 1px solid #aaa;
  200. }
  201. .sceditor-button-emoticon {
  202. display:none;
  203. }
  204. .sceditor-popup-grip {
  205. display: block;
  206. height: 15px;
  207. }
  208. /* SMF buttons styles */
  209. .sceditor-button-source div {
  210. background: url('../images/bbc/toggle.png');
  211. }
  212. .sourceMode .sceditor-button-source {
  213. background: #fafafa;
  214. box-shadow: 1px 1px 3px rgba(96,134,166,0.3) inset;
  215. border: 1px solid #ccc;
  216. border-left: none;
  217. border-top: 1px solid #aaa;
  218. }
  219. .sceditor-button-font div {
  220. background: url('../images/bbc/font.png');
  221. }
  222. .sceditor-button-size div {
  223. background: url('../images/bbc/font_size.png');
  224. }
  225. .sceditor-button-color div {
  226. background: url('../images/bbc/color_swatch.png');
  227. }
  228. .sceditor-button-removeformat div {
  229. background: url('../images/bbc/font_delete.png');
  230. }
  231. .sceditor-button-bold div {
  232. background: url('../images/bbc/bold.png');
  233. }
  234. .sceditor-button-italic div {
  235. background: url('../images/bbc/italicize.png');
  236. }
  237. .sceditor-button-underline div {
  238. background: url('../images/bbc/underline.png');
  239. }
  240. .sceditor-button-strike div {
  241. background: url('../images/bbc/strike.png');
  242. }
  243. .sceditor-button-pre div {
  244. background: url('../images/bbc/pre.png');
  245. }
  246. .sceditor-button-left div {
  247. background: url('../images/bbc/left.png');
  248. }
  249. .sceditor-button-center div {
  250. background: url('../images/bbc/center.png');
  251. }
  252. .sceditor-button-right div {
  253. background: url('../images/bbc/right.png');
  254. }
  255. .sceditor-button-image div {
  256. background: url('../images/bbc/img.png');
  257. }
  258. .sceditor-button-link div {
  259. background: url('../images/bbc/url.png');
  260. }
  261. .sceditor-button-email div {
  262. background: url('../images/bbc/email.png');
  263. }
  264. .sceditor-button-ftp div {
  265. background: url('../images/bbc/ftp.png');
  266. }
  267. .sceditor-button-glow div {
  268. background: url('../images/bbc/glow.png');
  269. }
  270. .sceditor-button-shadow div {
  271. background: url('../images/bbc/shadow.png');
  272. }
  273. .sceditor-button-move div {
  274. background: url('../images/bbc/move.gif');
  275. }
  276. .sceditor-button-superscript div {
  277. background: url('../images/bbc/sup.png');
  278. }
  279. .sceditor-button-subscript div {
  280. background: url('../images/bbc/sub.png');
  281. }
  282. .sceditor-button-tt div {
  283. background: url('../images/bbc/tele.png');
  284. }
  285. .sceditor-button-table div {
  286. background: url('../images/bbc/table.png');
  287. }
  288. .sceditor-button-code div {
  289. background: url('../images/bbc/code.png');
  290. }
  291. .sceditor-button-quote div {
  292. background: url('../images/bbc/quote.png');
  293. }
  294. .sceditor-button-bulletlist div {
  295. background: url('../images/bbc/list.png');
  296. }
  297. .sceditor-button-orderedlist div {
  298. background: url('../images/bbc/orderlist.png');
  299. }
  300. .sceditor-button-horizontalrule div {
  301. background: url('../images/bbc/hr.png');
  302. }
  303. .sceditor-button-unformat div {
  304. background: url('../images/bbc/unformat.png');
  305. }
  306. .sceditor-button-toggle div {
  307. background: url('../images/bbc/toggle.png');
  308. }