The version of vichan running on lainchan.org
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

501 líneas
10KB

  1. /*! SCEditor | (C) 2011-2013, Sam Clarke | sceditor.com/license */
  2. /**
  3. * SCEditor
  4. * http://www.ssceditor.com/
  5. *
  6. * Copyright (C) 2011-12, Sam Clarke (samclarke.com)
  7. *
  8. * SCEditor is licensed under the MIT license:
  9. * http://www.opensource.org/licenses/mit-license.php
  10. */
  11. div.sceditor-grip,
  12. .sceditor-button div {
  13. background-image: url("famfamfam.png");
  14. background-repeat: no-repeat;
  15. width: 16px;
  16. height: 16px;
  17. }
  18. .sceditor-button-youtube div {
  19. background-position: 0px 0px;
  20. }
  21. .sceditor-button-link div {
  22. background-position: 0px -16px;
  23. }
  24. .sceditor-button-unlink div {
  25. background-position: 0px -32px;
  26. }
  27. .sceditor-button-underline div {
  28. background-position: 0px -48px;
  29. }
  30. .sceditor-button-time div {
  31. background-position: 0px -64px;
  32. }
  33. .sceditor-button-table div {
  34. background-position: 0px -80px;
  35. }
  36. .sceditor-button-superscript div {
  37. background-position: 0px -96px;
  38. }
  39. .sceditor-button-subscript div {
  40. background-position: 0px -112px;
  41. }
  42. .sceditor-button-strike div {
  43. background-position: 0px -128px;
  44. }
  45. .sceditor-button-source div {
  46. background-position: 0px -144px;
  47. }
  48. .sceditor-button-size div {
  49. background-position: 0px -160px;
  50. }
  51. .sceditor-button-rtl div {
  52. background-position: 0px -176px;
  53. }
  54. .sceditor-button-right div {
  55. background-position: 0px -192px;
  56. }
  57. .sceditor-button-removeformat div {
  58. background-position: 0px -208px;
  59. }
  60. .sceditor-button-quote div {
  61. background-position: 0px -224px;
  62. }
  63. .sceditor-button-print div {
  64. background-position: 0px -240px;
  65. }
  66. .sceditor-button-pastetext div {
  67. background-position: 0px -256px;
  68. }
  69. .sceditor-button-paste div {
  70. background-position: 0px -272px;
  71. }
  72. .sceditor-button-outdent div {
  73. background-position: 0px -288px;
  74. }
  75. .sceditor-button-orderedlist div {
  76. background-position: 0px -304px;
  77. }
  78. .sceditor-button-maximize div {
  79. background-position: 0px -320px;
  80. }
  81. .sceditor-button-ltr div {
  82. background-position: 0px -336px;
  83. }
  84. .sceditor-button-left div {
  85. background-position: 0px -352px;
  86. }
  87. .sceditor-button-justify div {
  88. background-position: 0px -368px;
  89. }
  90. .sceditor-button-italic div {
  91. background-position: 0px -384px;
  92. }
  93. .sceditor-button-indent div {
  94. background-position: 0px -400px;
  95. }
  96. .sceditor-button-image div {
  97. background-position: 0px -416px;
  98. }
  99. .sceditor-button-horizontalrule div {
  100. background-position: 0px -432px;
  101. }
  102. .sceditor-button-format div {
  103. background-position: 0px -448px;
  104. }
  105. .sceditor-button-font div {
  106. background-position: 0px -464px;
  107. }
  108. .sceditor-button-emoticon div {
  109. background-position: 0px -480px;
  110. }
  111. .sceditor-button-email div {
  112. background-position: 0px -496px;
  113. }
  114. .sceditor-button-date div {
  115. background-position: 0px -512px;
  116. }
  117. .sceditor-button-cut div {
  118. background-position: 0px -528px;
  119. }
  120. .sceditor-button-copy div {
  121. background-position: 0px -544px;
  122. }
  123. .sceditor-button-color div {
  124. background-position: 0px -560px;
  125. }
  126. .sceditor-button-code div {
  127. background-position: 0px -576px;
  128. }
  129. .sceditor-button-center div {
  130. background-position: 0px -592px;
  131. }
  132. .sceditor-button-bulletlist div {
  133. background-position: 0px -608px;
  134. }
  135. .sceditor-button-bold div {
  136. background-position: 0px -624px;
  137. }
  138. div.sceditor-grip {
  139. background-position: 0px -640px;
  140. width: 10px;
  141. height: 10px;
  142. }
  143. .rtl div.sceditor-grip {
  144. background-position: 0px -650px;
  145. width: 10px;
  146. height: 10px;
  147. }
  148. /**
  149. * SCEditor
  150. * http://www.ssceditor.com/
  151. *
  152. * Copyright (C) 2011-12, Sam Clarke (samclarke.com)
  153. *
  154. * SCEditor is licensed under the MIT license:
  155. * http://www.opensource.org/licenses/mit-license.php
  156. */
  157. /*---------------------------------------------------
  158. LESS Elements 0.7
  159. ---------------------------------------------------
  160. A set of useful LESS mixins
  161. More info at: http://lesselements.com
  162. ---------------------------------------------------*/
  163. .sceditor-container {
  164. position: relative;
  165. background: #fff;
  166. border: 1px solid #d9d9d9;
  167. font-size: 13px;
  168. font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  169. color: #222;
  170. line-height: 1;
  171. font-weight: bold;
  172. border-radius: 4px;
  173. background-clip: padding-box;
  174. }
  175. .sceditor-container *,
  176. .sceditor-container *:before,
  177. .sceditor-container *:after {
  178. -webkit-box-sizing: content-box;
  179. -moz-box-sizing: content-box;
  180. box-sizing: content-box;
  181. }
  182. .sceditor-container,
  183. .sceditor-container div,
  184. div.sceditor-dropdown,
  185. div.sceditor-dropdown div {
  186. padding: 0;
  187. margin: 0;
  188. z-index: 3;
  189. }
  190. .sceditor-container iframe,
  191. .sceditor-container textarea {
  192. line-height: 1;
  193. border: 0;
  194. outline: none;
  195. font-family: Verdana, Arial, Helvetica, sans-serif;
  196. font-size: 13px;
  197. color: #111;
  198. padding: 0;
  199. margin: 5px;
  200. resize: none;
  201. background: #fff;
  202. display: block;
  203. }
  204. div.sceditor-resize-cover {
  205. position: absolute;
  206. top: 0;
  207. left: 0;
  208. background: #000;
  209. width: 100%;
  210. height: 100%;
  211. z-index: 10;
  212. opacity: 0.3;
  213. }
  214. .ie6 div.sceditor-resize-cover,
  215. .ie7 div.sceditor-resize-cover,
  216. .ie8 div.sceditor-resize-cover {
  217. background: #efefef;
  218. }
  219. .sceditor-container.ie6 {
  220. overflow: hidden;
  221. }
  222. div.sceditor-grip {
  223. overflow: hidden;
  224. width: 10px;
  225. height: 10px;
  226. cursor: pointer;
  227. position: absolute;
  228. bottom: 0;
  229. right: 0;
  230. z-index: 3;
  231. }
  232. .sceditor-maximize {
  233. position: fixed;
  234. top: 0;
  235. left: 0;
  236. height: 100% !important;
  237. width: 100% !important;
  238. border-radius: 0;
  239. background-clip: padding-box;
  240. z-index: 2000;
  241. }
  242. html.sceditor-maximize,
  243. body.sceditor-maximize {
  244. height: 100%;
  245. width: 100%;
  246. padding: 0;
  247. margin: 0;
  248. overflow: hidden;
  249. }
  250. .ie6.sceditor-maximize {
  251. position: absolute;
  252. }
  253. .sceditor-maximize div.sceditor-grip {
  254. display: none;
  255. }
  256. .sceditor-maximize div.sceditor-toolbar {
  257. border-radius: 0;
  258. background-clip: padding-box;
  259. }
  260. /**
  261. * Dropdown styleing
  262. */
  263. div.sceditor-dropdown {
  264. position: absolute;
  265. border: 1px solid #ccc;
  266. background: #fff;
  267. color: #333;
  268. z-index: 4000;
  269. padding: 10px;
  270. line-height: 1;
  271. border-radius: 2px;
  272. background-clip: padding-box;
  273. box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
  274. }
  275. div.sceditor-dropdown a,
  276. div.sceditor-dropdown a:link {
  277. color: #333;
  278. }
  279. div.sceditor-dropdown form {
  280. margin: 0;
  281. }
  282. div.sceditor-dropdown label {
  283. display: block;
  284. font-weight: bold;
  285. color: #3c3c3c;
  286. padding: 4px 0;
  287. }
  288. div.sceditor-dropdown input,
  289. div.sceditor-dropdown textarea {
  290. font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  291. outline: 0;
  292. padding: 4px;
  293. border: 1px solid #ccc;
  294. border-top-color: #888;
  295. margin: 0 0 .75em;
  296. border-radius: 1px;
  297. background-clip: padding-box;
  298. }
  299. div.sceditor-dropdown textarea {
  300. padding: 6px;
  301. }
  302. div.sceditor-dropdown input:focus,
  303. div.sceditor-dropdown textarea:focus {
  304. border-color: #aaa;
  305. border-top-color: #666;
  306. box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.1);
  307. }
  308. div.sceditor-dropdown .button {
  309. font-weight: bold;
  310. color: #444;
  311. padding: 6px 12px;
  312. background: #ececec;
  313. border: solid 1px #ccc;
  314. border-radius: 2px;
  315. background-clip: padding-box;
  316. cursor: pointer;
  317. margin: .3em 0 0;
  318. }
  319. div.sceditor-dropdown .button:hover {
  320. background: #f3f3f3;
  321. box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
  322. }
  323. div.sceditor-font-picker,
  324. div.sceditor-fontsize-picker,
  325. div.sceditor-format {
  326. padding: 6px 0;
  327. }
  328. div.sceditor-emoticons,
  329. div.sceditor-more-emoticons,
  330. div.sceditor-color-picker {
  331. padding: 0;
  332. }
  333. .sceditor-pastetext textarea {
  334. border: 1px solid #bbb;
  335. width: 20em;
  336. }
  337. .sceditor-emoticons img,
  338. .sceditor-more-emoticons img {
  339. padding: 0;
  340. cursor: pointer;
  341. margin: 2px;
  342. }
  343. .sceditor-more {
  344. border-top: 1px solid #bbb;
  345. display: block;
  346. text-align: center;
  347. cursor: pointer;
  348. font-weight: bold;
  349. padding: 6px 0;
  350. }
  351. .sceditor-dropdown a:hover {
  352. background: #eee;
  353. }
  354. .sceditor-fontsize-option,
  355. .sceditor-font-option,
  356. .sceditor-format a {
  357. display: block;
  358. padding: 7px 10px;
  359. cursor: pointer;
  360. text-decoration: none;
  361. color: #222;
  362. }
  363. .sceditor-fontsize-option {
  364. padding: 7px 13px;
  365. }
  366. .sceditor-color-column {
  367. float: left;
  368. }
  369. .sceditor-color-option {
  370. display: block;
  371. border: 1px solid #fff;
  372. height: 10px;
  373. width: 10px;
  374. overflow: hidden;
  375. }
  376. .sceditor-color-option:hover {
  377. border: 1px solid #333;
  378. }
  379. /**
  380. * Toolbar styleing
  381. */
  382. div.sceditor-toolbar {
  383. overflow: hidden;
  384. padding: 3px 5px 2px;
  385. background: #f7f7f7;
  386. border-bottom: 1px solid #c0c0c0;
  387. line-height: 0;
  388. text-align: left;
  389. user-select: none;
  390. border-radius: 3px 3px 0 0;
  391. background-clip: padding-box;
  392. }
  393. div.sceditor-group {
  394. display: inline-block;
  395. background: #ddd;
  396. margin: 1px 5px 1px 0;
  397. padding: 1px;
  398. border-bottom: 1px solid #aaa;
  399. border-radius: 3px;
  400. background-clip: padding-box;
  401. }
  402. .ie6 div.sceditor-group,
  403. .ie7 div.sceditor-group {
  404. display: inline;
  405. zoom: 1;
  406. }
  407. .sceditor-button {
  408. float: left;
  409. cursor: pointer;
  410. padding: 3px 5px;
  411. width: 16px;
  412. height: 20px;
  413. border-radius: 3px;
  414. background-clip: padding-box;
  415. /* Needed for Safari 5? */
  416. text-indent: -9999px;
  417. }
  418. .ie .sceditor-button {
  419. text-indent: 0;
  420. }
  421. .ie6 .sceditor-button,
  422. .ie7 .sceditor-button {
  423. float: none !important;
  424. display: inline;
  425. zoom: 1;
  426. }
  427. .ie6 .sceditor-button {
  428. padding: 0;
  429. }
  430. .ie6 .sceditor-button div {
  431. margin: 5px;
  432. }
  433. .ie7 .sceditor-button div {
  434. margin: 5px 0;
  435. }
  436. .sceditor-button:hover,
  437. .sceditor-button:active,
  438. .sceditor-button.active {
  439. background: #fff;
  440. box-shadow: inset 1px 1px 0 rgba(0,0,0,0.3), inset -1px 0 rgba(0,0,0,0.3), inset 0 -1px 0 rgba(0,0,0,0.2);
  441. }
  442. .sceditor-button:active {
  443. background: #fff;
  444. box-shadow: inset 1px 1px 0 rgba(0,0,0,0.3), inset -1px 0 rgba(0,0,0,0.3), inset 0 -1px 0 rgba(0,0,0,0.2), inset 0 0 8px rgba(0,0,0,0.3);
  445. }
  446. .sceditor-button.disabled:hover {
  447. background: inherit;
  448. cursor: default;
  449. box-shadow: none;
  450. }
  451. .sceditor-button,
  452. .sceditor-button div {
  453. display: block;
  454. }
  455. .sceditor-button div {
  456. margin: 2px 0;
  457. padding: 0;
  458. overflow: hidden;
  459. line-height: 0;
  460. font-size: 0;
  461. color: transparent;
  462. }
  463. .sceditor-button.disabled div {
  464. filter: alpha(opacity=30);
  465. opacity: 0.3;
  466. }
  467. .text .sceditor-button,
  468. .text .sceditor-button div,
  469. .sceditor-button.text,
  470. .sceditor-button.text div,
  471. .text-icon .sceditor-button,
  472. .text-icon .sceditor-button div,
  473. .sceditor-button.text-icon,
  474. .sceditor-button.text-icon div {
  475. width: auto;
  476. overflow: visible;
  477. line-height: 16px;
  478. font-size: 1em;
  479. color: inherit;
  480. text-indent: 0;
  481. }
  482. .text .sceditor-button div,
  483. .sceditor-button.text div {
  484. padding: 0 2px;
  485. background: none;
  486. }
  487. .text-icon .sceditor-button div,
  488. .sceditor-button.text-icon div {
  489. padding: 0 2px 0 20px;
  490. }
  491. .rtl div.sceditor-toolbar {
  492. text-align: right;
  493. }
  494. .rtl .sceditor-button {
  495. float: right;
  496. }
  497. .rtl div.sceditor-grip {
  498. right: auto;
  499. left: 0;
  500. }