Dashboard sipadu mbip
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

trumbowyg.css 29KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716
  1. /**
  2. * Trumbowyg v2.0.0-beta.5 - A lightweight WYSIWYG editor
  3. * Default stylesheet for Trumbowyg editor
  4. * ------------------------
  5. * @link http://alex-d.github.io/Trumbowyg
  6. * @license MIT
  7. * @author Alexandre Demode (Alex-D)
  8. * Twitter : @AlexandreDemode
  9. * Website : alex-d.fr
  10. */
  11. .trumbowyg-box *,
  12. .trumbowyg-box *::before,
  13. .trumbowyg-box *::after {
  14. -webkit-box-sizing: border-box;
  15. -moz-box-sizing: border-box;
  16. box-sizing: border-box; }
  17. .trumbowyg-box,
  18. .trumbowyg-editor {
  19. display: block;
  20. position: relative;
  21. border: 1px solid #DDD;
  22. width: 96%;
  23. min-height: 300px;
  24. margin: 17px auto; }
  25. .trumbowyg-box .trumbowyg-editor {
  26. margin: 0 auto; }
  27. .trumbowyg-box.trumbowyg-fullscreen {
  28. background: #FEFEFE; }
  29. .trumbowyg-editor,
  30. .trumbowyg-textarea {
  31. position: relative;
  32. -webkit-box-sizing: border-box;
  33. -moz-box-sizing: border-box;
  34. box-sizing: border-box;
  35. padding: 1% 2%;
  36. min-height: 300px;
  37. width: 100%;
  38. border-style: none;
  39. resize: none;
  40. outline: none; }
  41. .trumbowyg-box-blur .trumbowyg-editor * {
  42. color: transparent !important;
  43. text-shadow: 0 0 7px #333; }
  44. .trumbowyg-box-blur .trumbowyg-editor img {
  45. opacity: .2; }
  46. .trumbowyg-textarea {
  47. position: relative;
  48. display: block;
  49. overflow: auto;
  50. border: none;
  51. white-space: normal;
  52. font-size: 14px;
  53. font-family: "Inconsolata", "Consolas", "Courier", "Courier New", sans-serif;
  54. line-height: 18px; }
  55. .trumbowyg-box.trumbowyg-editor-visible .trumbowyg-textarea {
  56. position: absolute;
  57. top: 37px;
  58. height: 1px !important;
  59. width: 25%;
  60. min-height: 0 !important;
  61. padding: 0 !important;
  62. background: none;
  63. opacity: 0; }
  64. .trumbowyg-box.trumbowyg-editor-hidden .trumbowyg-textarea {
  65. display: block; }
  66. .trumbowyg-box.trumbowyg-editor-hidden .trumbowyg-editor {
  67. display: none; }
  68. .trumbowyg-editor[contenteditable=true]:empty:before {
  69. content: attr(placeholder);
  70. color: #999; }
  71. .trumbowyg-button-pane {
  72. position: relative;
  73. width: 100%;
  74. background: #ecf0f1;
  75. border-bottom: 1px solid #d7e0e2;
  76. margin: 0;
  77. padding: 0;
  78. list-style-type: none;
  79. line-height: 10px;
  80. -webkit-backface-visibility: hidden;
  81. backface-visibility: hidden; }
  82. .trumbowyg-button-pane li {
  83. display: inline-block;
  84. text-align: center;
  85. overflow: hidden;
  86. padding: 0 !important; }
  87. .trumbowyg-button-pane li.trumbowyg-separator {
  88. width: 1px;
  89. background: #d7e0e2;
  90. margin: 0 5px;
  91. height: 35px; }
  92. .trumbowyg-button-pane.trumbowyg-disable li:not(.trumbowyg-not-disable) button:not(.trumbowyg-active) {
  93. opacity: .2;
  94. cursor: default; }
  95. .trumbowyg-button-pane.trumbowyg-disable li.trumbowyg-separator {
  96. background: #e3e9eb; }
  97. .trumbowyg-button-pane li button {
  98. padding: 1px 6px !important; }
  99. .trumbowyg-button-pane:not(.trumbowyg-disable) li button:hover,
  100. .trumbowyg-button-pane:not(.trumbowyg-disable) li button:focus,
  101. .trumbowyg-button-pane li button.trumbowyg-active,
  102. .trumbowyg-button-pane li.trumbowyg-not-disable button:hover,
  103. .trumbowyg-button-pane li.trumbowyg-not-disable button:focus {
  104. background-color: #FFF;
  105. outline: none; }
  106. .trumbowyg-button-pane li .trumbowyg-open-dropdown:after {
  107. display: block;
  108. content: " ";
  109. position: absolute;
  110. top: 25px;
  111. right: 3px;
  112. height: 0;
  113. width: 0;
  114. border: 3px solid transparent;
  115. border-top-color: #555; }
  116. .trumbowyg-button-pane .trumbowyg-buttons-right {
  117. float: right;
  118. width: auto; }
  119. .trumbowyg-button-pane .trumbowyg-buttons-right button {
  120. float: left; }
  121. .trumbowyg-dropdown {
  122. width: 200px;
  123. border: 1px solid #ecf0f1;
  124. padding: 5px 0;
  125. border-top: none;
  126. background: #FFF;
  127. margin-left: -1px;
  128. -webkit-box-shadow: rgba(0, 0, 0, 0.1) 0 2px 3px;
  129. box-shadow: rgba(0, 0, 0, 0.1) 0 2px 3px; }
  130. .trumbowyg-dropdown button {
  131. display: block;
  132. width: 100%;
  133. height: 35px;
  134. line-height: 35px;
  135. text-decoration: none;
  136. background: #FFF;
  137. padding: 0 14px;
  138. color: #333 !important;
  139. border: none;
  140. cursor: pointer;
  141. text-align: left;
  142. font-size: 15px;
  143. -webkit-transition: all 0.15s;
  144. -o-transition: all 0.15s;
  145. transition: all 0.15s; }
  146. .trumbowyg-dropdown button:hover,
  147. .trumbowyg-dropdown button:focus {
  148. background: #ecf0f1; }
  149. /* Modal box */
  150. .trumbowyg-modal {
  151. position: absolute;
  152. top: 0;
  153. left: 50%;
  154. margin-left: -260px;
  155. width: 520px;
  156. height: 350px;
  157. overflow: hidden;
  158. -webkit-backface-visibility: hidden;
  159. backface-visibility: hidden; }
  160. .trumbowyg-modal-box {
  161. position: absolute;
  162. top: 0;
  163. left: 50%;
  164. margin-left: -250px;
  165. width: 500px;
  166. padding-bottom: 45px;
  167. z-index: 1;
  168. background-color: #FFF;
  169. text-align: center;
  170. font-size: 14px;
  171. -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 2px 3px;
  172. box-shadow: rgba(0, 0, 0, 0.2) 0 2px 3px;
  173. -webkit-backface-visibility: hidden;
  174. backface-visibility: hidden; }
  175. .trumbowyg-modal-box .trumbowyg-modal-title {
  176. font-size: 24px;
  177. font-weight: bold;
  178. margin: 0 0 20px;
  179. padding: 15px 0 13px;
  180. display: block;
  181. border-bottom: 1px solid #EEE;
  182. color: #333;
  183. background: #fbfcfc; }
  184. .trumbowyg-modal-box .trumbowyg-progress {
  185. width: 100%;
  186. background: #F00;
  187. height: 3px;
  188. position: absolute;
  189. top: 58px; }
  190. .trumbowyg-modal-box .trumbowyg-progress .trumbowyg-progress-bar {
  191. background: #2BC06A;
  192. height: 100%;
  193. -webkit-transition: width 0.15s linear;
  194. -o-transition: width 0.15s linear;
  195. transition: width 0.15s linear; }
  196. .trumbowyg-modal-box label {
  197. display: block;
  198. position: relative;
  199. margin: 15px 12px;
  200. height: 27px;
  201. line-height: 27px;
  202. overflow: hidden; }
  203. .trumbowyg-modal-box label .trumbowyg-input-infos {
  204. display: block;
  205. text-align: left;
  206. height: 25px;
  207. line-height: 25px;
  208. -webkit-transition: all .15;
  209. -o-transition: all .15;
  210. transition: all .15; }
  211. .trumbowyg-modal-box label .trumbowyg-input-infos span {
  212. display: block;
  213. color: #69878e;
  214. background-color: #fbfcfc;
  215. border: 1px solid #DEDEDE;
  216. padding: 0 7px;
  217. width: 137px; }
  218. .trumbowyg-modal-box label .trumbowyg-input-infos span.trumbowyg-msg-error {
  219. color: #e74c3c; }
  220. .trumbowyg-modal-box label.trumbowyg-input-error input,
  221. .trumbowyg-modal-box label.trumbowyg-input-error textarea {
  222. border: 1px solid #e74c3c; }
  223. .trumbowyg-modal-box label.trumbowyg-input-error .trumbowyg-input-infos {
  224. margin-top: -27px; }
  225. .trumbowyg-modal-box label input {
  226. position: absolute;
  227. top: 0;
  228. right: 0;
  229. height: 27px;
  230. line-height: 27px;
  231. border: 1px solid #DEDEDE;
  232. background: transparent;
  233. font-size: 14px;
  234. width: 340px;
  235. padding: 0 7px;
  236. -webkit-transition: all 0.15s;
  237. -o-transition: all 0.15s;
  238. transition: all 0.15s; }
  239. .trumbowyg-modal-box label input:hover,
  240. .trumbowyg-modal-box label input:focus {
  241. outline: none;
  242. border: 1px solid #95a5a6; }
  243. .trumbowyg-modal-box label input:focus {
  244. background: rgba(230, 230, 255, 0.1); }
  245. .trumbowyg-modal-box .error {
  246. margin-top: 25px;
  247. display: block;
  248. color: red; }
  249. .trumbowyg-modal-box .trumbowyg-modal-button {
  250. position: absolute;
  251. bottom: 10px;
  252. right: 0;
  253. text-decoration: none;
  254. color: #FFF;
  255. display: block;
  256. width: 100px;
  257. height: 35px;
  258. line-height: 33px;
  259. margin: 0 10px;
  260. background-color: #333;
  261. border: none;
  262. border-top: none;
  263. cursor: pointer;
  264. font-family: "Trebuchet MS", Helvetica, Verdana, sans-serif;
  265. font-size: 16px;
  266. -webkit-transition: all 0.15s;
  267. -o-transition: all 0.15s;
  268. transition: all 0.15s; }
  269. .trumbowyg-modal-box .trumbowyg-modal-button.trumbowyg-modal-submit {
  270. right: 110px;
  271. background: #2bc06a; }
  272. .trumbowyg-modal-box .trumbowyg-modal-button.trumbowyg-modal-submit:hover,
  273. .trumbowyg-modal-box .trumbowyg-modal-button.trumbowyg-modal-submit:focus {
  274. background: #40d47e;
  275. outline: none; }
  276. .trumbowyg-modal-box .trumbowyg-modal-button.trumbowyg-modal-submit:active {
  277. background: #25a25a; }
  278. .trumbowyg-modal-box .trumbowyg-modal-button.trumbowyg-modal-reset {
  279. color: #555;
  280. background: #e6e6e6; }
  281. .trumbowyg-modal-box .trumbowyg-modal-button.trumbowyg-modal-reset:hover,
  282. .trumbowyg-modal-box .trumbowyg-modal-button.trumbowyg-modal-reset:focus {
  283. background: #fbfbfb;
  284. outline: none; }
  285. .trumbowyg-modal-box .trumbowyg-modal-button.trumbowyg-modal-reset:active {
  286. background: #d4d4d4; }
  287. .trumbowyg-overlay {
  288. position: absolute;
  289. background-color: rgba(255, 255, 255, 0.5);
  290. width: 100%;
  291. left: 0;
  292. display: none; }
  293. /**
  294. * Fullscreen
  295. */
  296. body.trumbowyg-body-fullscreen {
  297. overflow: hidden; }
  298. .trumbowyg-fullscreen {
  299. position: fixed;
  300. top: 0;
  301. left: 0;
  302. width: 100%;
  303. height: 100%;
  304. margin: 0;
  305. padding: 0;
  306. z-index: 99999; }
  307. .trumbowyg-fullscreen.trumbowyg-box,
  308. .trumbowyg-fullscreen .trumbowyg-editor {
  309. border: none; }
  310. .trumbowyg-fullscreen .trumbowyg-overlay {
  311. height: 100% !important; }
  312. /*
  313. * Reset for resetCss option
  314. */
  315. .trumbowyg-editor object,
  316. .trumbowyg-editor embed,
  317. .trumbowyg-editor video,
  318. .trumbowyg-editor img {
  319. width: auto;
  320. max-width: 100%; }
  321. .trumbowyg-editor video,
  322. .trumbowyg-editor img {
  323. height: auto; }
  324. .trumbowyg-editor img {
  325. cursor: move; }
  326. .trumbowyg-editor.trumbowyg-reset-css {
  327. background: #FEFEFE !important;
  328. font-family: "Trebuchet MS", Helvetica, Verdana, sans-serif !important;
  329. font-size: 14px !important;
  330. line-height: 1.45em !important;
  331. white-space: normal !important;
  332. color: #333; }
  333. .trumbowyg-editor.trumbowyg-reset-css a {
  334. color: #15c !important;
  335. text-decoration: underline !important; }
  336. .trumbowyg-editor.trumbowyg-reset-css div,
  337. .trumbowyg-editor.trumbowyg-reset-css p,
  338. .trumbowyg-editor.trumbowyg-reset-css ul,
  339. .trumbowyg-editor.trumbowyg-reset-css ol,
  340. .trumbowyg-editor.trumbowyg-reset-css blockquote {
  341. -webkit-box-shadow: none !important;
  342. box-shadow: none !important;
  343. background: none !important;
  344. margin: 0 !important;
  345. margin-bottom: 15px !important;
  346. line-height: 1.4em !important;
  347. font-family: "Trebuchet MS", Helvetica, Verdana, sans-serif !important;
  348. font-size: 14px !important;
  349. border: none; }
  350. .trumbowyg-editor.trumbowyg-reset-css iframe,
  351. .trumbowyg-editor.trumbowyg-reset-css object,
  352. .trumbowyg-editor.trumbowyg-reset-css hr {
  353. margin-bottom: 15px !important; }
  354. .trumbowyg-editor.trumbowyg-reset-css blockquote {
  355. margin-left: 32px !important;
  356. font-style: italic !important;
  357. color: #555; }
  358. .trumbowyg-editor.trumbowyg-reset-css ul,
  359. .trumbowyg-editor.trumbowyg-reset-css ol {
  360. padding-left: 20px !important; }
  361. .trumbowyg-editor.trumbowyg-reset-css ul ul,
  362. .trumbowyg-editor.trumbowyg-reset-css ol ol,
  363. .trumbowyg-editor.trumbowyg-reset-css ul ol,
  364. .trumbowyg-editor.trumbowyg-reset-css ol ul {
  365. border: none;
  366. margin: 2px !important;
  367. padding: 0 !important;
  368. padding-left: 24px !important; }
  369. .trumbowyg-editor.trumbowyg-reset-css hr {
  370. display: block;
  371. height: 1px;
  372. border: none;
  373. border-top: 1px solid #CCC; }
  374. .trumbowyg-editor.trumbowyg-reset-css h1,
  375. .trumbowyg-editor.trumbowyg-reset-css h2,
  376. .trumbowyg-editor.trumbowyg-reset-css h3,
  377. .trumbowyg-editor.trumbowyg-reset-css h4 {
  378. color: #111;
  379. background: none;
  380. margin: 0 !important;
  381. padding: 0 !important;
  382. font-weight: bold; }
  383. .trumbowyg-editor.trumbowyg-reset-css h1 {
  384. font-size: 32px !important;
  385. line-height: 38px !important;
  386. margin-bottom: 20px !important; }
  387. .trumbowyg-editor.trumbowyg-reset-css h2 {
  388. font-size: 26px !important;
  389. line-height: 34px !important;
  390. margin-bottom: 15px !important; }
  391. .trumbowyg-editor.trumbowyg-reset-css h3 {
  392. font-size: 22px !important;
  393. line-height: 28px !important;
  394. margin-bottom: 7px !important; }
  395. .trumbowyg-editor.trumbowyg-reset-css h4 {
  396. font-size: 16px !important;
  397. line-height: 22px !important;
  398. margin-bottom: 7px !important; }
  399. /*
  400. * Black theme
  401. */
  402. .trumbowyg-black .trumbowyg-button-pane {
  403. background-color: #222;
  404. border-bottom-color: #343434; }
  405. .trumbowyg-black .trumbowyg-button-pane li.trumbowyg-separator {
  406. background-color: #343434; }
  407. .trumbowyg-black .trumbowyg-button-pane.trumbowyg-disable li.trumbowyg-separator {
  408. background-color: #2a2a2a; }
  409. .trumbowyg-black .trumbowyg-button-pane:not(.trumbowyg-disable) li button:hover,
  410. .trumbowyg-black .trumbowyg-button-pane:not(.trumbowyg-disable) li button:focus,
  411. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-active,
  412. .trumbowyg-black .trumbowyg-button-pane li.trumbowyg-not-disable button:hover,
  413. .trumbowyg-black .trumbowyg-button-pane li.trumbowyg-not-disable button:focus {
  414. background-color: #555; }
  415. .trumbowyg-black .trumbowyg-button-pane li .trumbowyg-open-dropdown:after {
  416. border-top-color: #fff; }
  417. .trumbowyg-black .trumbowyg-dropdown {
  418. border-color: #222;
  419. background: #222; }
  420. .trumbowyg-black .trumbowyg-dropdown button {
  421. background: #222;
  422. color: #fff; }
  423. .trumbowyg-black .trumbowyg-dropdown button:hover,
  424. .trumbowyg-black .trumbowyg-dropdown button:focus {
  425. background: #555; }
  426. .trumbowyg-black .trumbowyg-modal-box {
  427. background-color: #222; }
  428. .trumbowyg-black .trumbowyg-modal-box .trumbowyg-modal-title {
  429. border-bottom: 1px solid #555;
  430. color: #fff;
  431. background: #3c3c3c; }
  432. .trumbowyg-black .trumbowyg-modal-box label {
  433. display: block;
  434. position: relative;
  435. margin: 15px 12px;
  436. height: 27px;
  437. line-height: 27px;
  438. overflow: hidden; }
  439. .trumbowyg-black .trumbowyg-modal-box label .trumbowyg-input-infos span {
  440. color: #eee;
  441. background-color: #2f2f2f;
  442. border-color: #222; }
  443. .trumbowyg-black .trumbowyg-modal-box label .trumbowyg-input-infos span.trumbowyg-msg-error {
  444. color: #e74c3c; }
  445. .trumbowyg-black .trumbowyg-modal-box label.trumbowyg-input-error input,
  446. .trumbowyg-black .trumbowyg-modal-box label.trumbowyg-input-error textarea {
  447. border-color: #e74c3c; }
  448. .trumbowyg-black .trumbowyg-modal-box label input {
  449. border-color: #222;
  450. color: #eee;
  451. background: #333; }
  452. .trumbowyg-black .trumbowyg-modal-box label input:hover,
  453. .trumbowyg-black .trumbowyg-modal-box label input:focus {
  454. border-color: #95a5a6; }
  455. .trumbowyg-black .trumbowyg-modal-box label input:focus {
  456. background-color: rgba(230, 230, 255, 0.1); }
  457. .trumbowyg-black .trumbowyg-overlay {
  458. background-color: rgba(0, 0, 0, 0.5); }
  459. /*
  460. * Buttons icons
  461. */
  462. .trumbowyg-button-pane li button {
  463. display: block;
  464. position: relative;
  465. text-indent: -9999px;
  466. width: 35px;
  467. height: 35px;
  468. overflow: hidden;
  469. background: transparent url("./images/icons-black.png") no-repeat;
  470. border: none;
  471. cursor: pointer;
  472. -webkit-transition: background-color 0.15s, background-image 0.15s, opacity 0.15s;
  473. -o-transition: background-color 0.15s, background-image 0.15s, opacity 0.15s;
  474. transition: background-color 0.15s, background-image 0.15s, opacity 0.15s;
  475. /* English and others */ }
  476. .trumbowyg-button-pane li button.trumbowyg-viewHTML-button {
  477. background-position: 5px -570px; }
  478. .trumbowyg-button-pane li button.trumbowyg-formatting-button {
  479. background-position: 5px -120px; }
  480. .trumbowyg-button-pane li button.trumbowyg-bold-button, .trumbowyg-button-pane li button.trumbowyg-strong-button {
  481. background-position: 5px -45px; }
  482. .trumbowyg-button-pane li button.trumbowyg-italic-button, .trumbowyg-button-pane li button.trumbowyg-em-button {
  483. background-position: 5px -270px; }
  484. .trumbowyg-button-pane li button.trumbowyg-underline-button {
  485. background-position: 5px -495px; }
  486. .trumbowyg-button-pane li button.trumbowyg-strikethrough-button, .trumbowyg-button-pane li button.trumbowyg-del-button {
  487. background-position: 5px -470px; }
  488. .trumbowyg-button-pane li button.trumbowyg-link-button {
  489. background-position: 5px -345px; }
  490. .trumbowyg-button-pane li button.trumbowyg-insertImage-button {
  491. background-position: 5px -245px; }
  492. .trumbowyg-button-pane li button.trumbowyg-justifyLeft-button {
  493. background-position: 5px -320px; }
  494. .trumbowyg-button-pane li button.trumbowyg-justifyCenter-button {
  495. background-position: 5px -70px; }
  496. .trumbowyg-button-pane li button.trumbowyg-justifyRight-button {
  497. background-position: 5px -420px; }
  498. .trumbowyg-button-pane li button.trumbowyg-justifyFull-button {
  499. background-position: 5px 5px; }
  500. .trumbowyg-button-pane li button.trumbowyg-unorderedList-button {
  501. background-position: 5px -520px; }
  502. .trumbowyg-button-pane li button.trumbowyg-orderedList-button {
  503. background-position: 5px -370px; }
  504. .trumbowyg-button-pane li button.trumbowyg-horizontalRule-button {
  505. background-position: 5px -220px; }
  506. .trumbowyg-button-pane li button.trumbowyg-removeformat-button {
  507. background-position: 5px -395px; }
  508. .trumbowyg-button-pane li button.trumbowyg-fullscreen-button {
  509. background-position: 5px -170px; }
  510. .trumbowyg-button-pane li button.trumbowyg-close-button {
  511. background-position: 5px -95px; }
  512. .trumbowyg-fullscreen .trumbowyg-button-pane li button.trumbowyg-fullscreen-button {
  513. background-position: 5px -145px; }
  514. .trumbowyg-button-pane li:first-child button {
  515. margin-left: 6px; }
  516. .trumbowyg-button-pane li:last-child button {
  517. margin-right: 6px; }
  518. /* French */
  519. .trumbowyg-fr .trumbowyg-button-pane li button.trumbowyg-bold-button, .trumbowyg-fr .trumbowyg-button-pane li button.trumbowyg-strong-button {
  520. background-position: 5px -195px; }
  521. .trumbowyg-fr .trumbowyg-button-pane li button.trumbowyg-underline-button {
  522. background-position: 5px -445px; }
  523. .trumbowyg-fr .trumbowyg-button-pane li button.trumbowyg-strikethrough-button, .trumbowyg-fr .trumbowyg-button-pane li button.trumbowyg-del-button {
  524. background-position: 5px -295px; }
  525. .trumbowyg-black {
  526. /* French */ }
  527. .trumbowyg-black .trumbowyg-button-pane li button {
  528. background-image: url("./images/icons-white.png");
  529. /* English and others */ }
  530. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-viewHTML-button {
  531. background-position: 5px -570px; }
  532. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-formatting-button {
  533. background-position: 5px -120px; }
  534. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-bold-button, .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-strong-button {
  535. background-position: 5px -45px; }
  536. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-italic-button, .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-em-button {
  537. background-position: 5px -270px; }
  538. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-underline-button {
  539. background-position: 5px -495px; }
  540. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-strikethrough-button, .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-del-button {
  541. background-position: 5px -470px; }
  542. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-link-button {
  543. background-position: 5px -345px; }
  544. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-insertImage-button {
  545. background-position: 5px -245px; }
  546. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-justifyLeft-button {
  547. background-position: 5px -320px; }
  548. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-justifyCenter-button {
  549. background-position: 5px -70px; }
  550. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-justifyRight-button {
  551. background-position: 5px -420px; }
  552. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-justifyFull-button {
  553. background-position: 5px 5px; }
  554. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-unorderedList-button {
  555. background-position: 5px -520px; }
  556. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-orderedList-button {
  557. background-position: 5px -370px; }
  558. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-horizontalRule-button {
  559. background-position: 5px -220px; }
  560. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-removeformat-button {
  561. background-position: 5px -395px; }
  562. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-fullscreen-button {
  563. background-position: 5px -170px; }
  564. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-close-button {
  565. background-position: 5px -95px; }
  566. .trumbowyg-black .trumbowyg-fullscreen .trumbowyg-button-pane li button.trumbowyg-fullscreen-button {
  567. background-position: 5px -145px; }
  568. .trumbowyg-black .trumbowyg-button-pane li:first-child button {
  569. margin-left: 6px; }
  570. .trumbowyg-black .trumbowyg-button-pane li:last-child button {
  571. margin-right: 6px; }
  572. .trumbowyg-black .trumbowyg-fr .trumbowyg-button-pane li button.trumbowyg-bold-button, .trumbowyg-black .trumbowyg-fr .trumbowyg-button-pane li button.trumbowyg-strong-button {
  573. background-position: 5px -195px; }
  574. .trumbowyg-black .trumbowyg-fr .trumbowyg-button-pane li button.trumbowyg-underline-button {
  575. background-position: 5px -445px; }
  576. .trumbowyg-black .trumbowyg-fr .trumbowyg-button-pane li button.trumbowyg-strikethrough-button, .trumbowyg-black .trumbowyg-fr .trumbowyg-button-pane li button.trumbowyg-del-button {
  577. background-position: 5px -295px; }
  578. @media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 4/3), only screen and (min-device-pixel-ratio: 1.3), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
  579. .trumbowyg-button-pane li button {
  580. -webkit-background-size: 25px 600px !important;
  581. background-size: 25px 600px !important;
  582. background-image: url("./images/icons-black-2x.png") !important;
  583. /* English and others */ }
  584. .trumbowyg-button-pane li button.trumbowyg-viewHTML-button {
  585. background-position: 5px -570px; }
  586. .trumbowyg-button-pane li button.trumbowyg-formatting-button {
  587. background-position: 5px -120px; }
  588. .trumbowyg-button-pane li button.trumbowyg-bold-button, .trumbowyg-button-pane li button.trumbowyg-strong-button {
  589. background-position: 5px -45px; }
  590. .trumbowyg-button-pane li button.trumbowyg-italic-button, .trumbowyg-button-pane li button.trumbowyg-em-button {
  591. background-position: 5px -270px; }
  592. .trumbowyg-button-pane li button.trumbowyg-underline-button {
  593. background-position: 5px -495px; }
  594. .trumbowyg-button-pane li button.trumbowyg-strikethrough-button, .trumbowyg-button-pane li button.trumbowyg-del-button {
  595. background-position: 5px -470px; }
  596. .trumbowyg-button-pane li button.trumbowyg-link-button {
  597. background-position: 5px -345px; }
  598. .trumbowyg-button-pane li button.trumbowyg-insertImage-button {
  599. background-position: 5px -245px; }
  600. .trumbowyg-button-pane li button.trumbowyg-justifyLeft-button {
  601. background-position: 5px -320px; }
  602. .trumbowyg-button-pane li button.trumbowyg-justifyCenter-button {
  603. background-position: 5px -70px; }
  604. .trumbowyg-button-pane li button.trumbowyg-justifyRight-button {
  605. background-position: 5px -420px; }
  606. .trumbowyg-button-pane li button.trumbowyg-justifyFull-button {
  607. background-position: 5px 5px; }
  608. .trumbowyg-button-pane li button.trumbowyg-unorderedList-button {
  609. background-position: 5px -520px; }
  610. .trumbowyg-button-pane li button.trumbowyg-orderedList-button {
  611. background-position: 5px -370px; }
  612. .trumbowyg-button-pane li button.trumbowyg-horizontalRule-button {
  613. background-position: 5px -220px; }
  614. .trumbowyg-button-pane li button.trumbowyg-removeformat-button {
  615. background-position: 5px -395px; }
  616. .trumbowyg-button-pane li button.trumbowyg-fullscreen-button {
  617. background-position: 5px -170px; }
  618. .trumbowyg-button-pane li button.trumbowyg-close-button {
  619. background-position: 5px -95px; }
  620. .trumbowyg-fullscreen .trumbowyg-button-pane li a.trumbowyg-fullscreen-button {
  621. background-position: 5px -145px; }
  622. /* French */
  623. .trumbowyg-fr .trumbowyg-button-pane li button.trumbowyg-bold-button, .trumbowyg-fr .trumbowyg-button-pane li button.trumbowyg-strong-button {
  624. background-position: 5px -195px; }
  625. .trumbowyg-fr .trumbowyg-button-pane li button.trumbowyg-underline-button {
  626. background-position: 5px -445px; }
  627. .trumbowyg-fr .trumbowyg-button-pane li button.trumbowyg-strikethrough-button, .trumbowyg-fr .trumbowyg-button-pane li button.trumbowyg-del-button {
  628. background-position: 5px -295px; }
  629. /* Black theme */
  630. .trumbowyg-black {
  631. /* French */ }
  632. .trumbowyg-black .trumbowyg-button-pane li button {
  633. -webkit-background-size: 25px 600px !important;
  634. background-size: 25px 600px !important;
  635. background-image: url("./images/icons-white-2x.png") !important;
  636. /* English and others */ }
  637. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-viewHTML-button {
  638. background-position: 5px -570px; }
  639. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-formatting-button {
  640. background-position: 5px -120px; }
  641. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-bold-button, .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-strong-button {
  642. background-position: 5px -45px; }
  643. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-italic-button, .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-em-button {
  644. background-position: 5px -270px; }
  645. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-underline-button {
  646. background-position: 5px -495px; }
  647. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-strikethrough-button, .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-del-button {
  648. background-position: 5px -470px; }
  649. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-link-button {
  650. background-position: 5px -345px; }
  651. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-insertImage-button {
  652. background-position: 5px -245px; }
  653. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-justifyLeft-button {
  654. background-position: 5px -320px; }
  655. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-justifyCenter-button {
  656. background-position: 5px -70px; }
  657. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-justifyRight-button {
  658. background-position: 5px -420px; }
  659. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-justifyFull-button {
  660. background-position: 5px 5px; }
  661. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-unorderedList-button {
  662. background-position: 5px -520px; }
  663. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-orderedList-button {
  664. background-position: 5px -370px; }
  665. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-horizontalRule-button {
  666. background-position: 5px -220px; }
  667. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-removeformat-button {
  668. background-position: 5px -395px; }
  669. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-fullscreen-button {
  670. background-position: 5px -170px; }
  671. .trumbowyg-black .trumbowyg-button-pane li button.trumbowyg-close-button {
  672. background-position: 5px -95px; }
  673. .trumbowyg-black .trumbowyg-fullscreen .trumbowyg-button-pane li a.trumbowyg-fullscreen-button {
  674. background-position: 5px -145px; }
  675. .trumbowyg-black .trumbowyg-fr .trumbowyg-button-pane li button.trumbowyg-bold-button, .trumbowyg-black .trumbowyg-fr .trumbowyg-button-pane li button.trumbowyg-strong-button {
  676. background-position: 5px -195px; }
  677. .trumbowyg-black .trumbowyg-fr .trumbowyg-button-pane li button.trumbowyg-underline-button {
  678. background-position: 5px -445px; }
  679. .trumbowyg-black .trumbowyg-fr .trumbowyg-button-pane li button.trumbowyg-strikethrough-button, .trumbowyg-black .trumbowyg-fr .trumbowyg-button-pane li button.trumbowyg-del-button {
  680. background-position: 5px -295px; } }