froala_style.css 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  1. /*!
  2. * froala_editor v3.0.3 (https://www.froala.com/wysiwyg-editor)
  3. * License https://froala.com/wysiwyg-editor/terms/
  4. * Copyright 2014-2019 Froala Labs
  5. */
  6. .clearfix::after {
  7. clear: both;
  8. display: block;
  9. content: "";
  10. height: 0; }
  11. .hide-by-clipping {
  12. position: absolute;
  13. width: 1px;
  14. height: 1px;
  15. padding: 0;
  16. margin: -1px;
  17. overflow: hidden;
  18. clip: rect(0, 0, 0, 0);
  19. border: 0; }
  20. img.fr-rounded, .fr-img-caption.fr-rounded img {
  21. border-radius: 10px;
  22. -moz-border-radius: 10px;
  23. -webkit-border-radius: 10px;
  24. -moz-background-clip: padding;
  25. -webkit-background-clip: padding-box;
  26. background-clip: padding-box; }
  27. img.fr-bordered, .fr-img-caption.fr-bordered img {
  28. border: solid 5px #CCC; }
  29. img.fr-bordered {
  30. -webkit-box-sizing: content-box;
  31. -moz-box-sizing: content-box;
  32. box-sizing: content-box; }
  33. .fr-img-caption.fr-bordered img {
  34. -webkit-box-sizing: border-box;
  35. -moz-box-sizing: border-box;
  36. box-sizing: border-box; }
  37. .fr-view {
  38. word-wrap: break-word; }
  39. .fr-view span[style~="color:"] a {
  40. color: inherit; }
  41. .fr-view strong {
  42. font-weight: 700; }
  43. .fr-view table {
  44. border: none;
  45. border-collapse: collapse;
  46. empty-cells: show;
  47. max-width: 100%; }
  48. .fr-view table td {
  49. min-width: 5px; }
  50. .fr-view table.fr-dashed-borders td, .fr-view table.fr-dashed-borders th {
  51. border-style: dashed; }
  52. .fr-view table.fr-alternate-rows tbody tr:nth-child(2n) {
  53. background: whitesmoke; }
  54. .fr-view table td, .fr-view table th {
  55. border: 1px solid #DDD; }
  56. .fr-view table td:empty, .fr-view table th:empty {
  57. height: 20px; }
  58. .fr-view table td.fr-highlighted, .fr-view table th.fr-highlighted {
  59. border: 1px double red; }
  60. .fr-view table td.fr-thick, .fr-view table th.fr-thick {
  61. border-width: 2px; }
  62. .fr-view table th {
  63. background: #ececec; }
  64. .fr-view hr {
  65. clear: both;
  66. user-select: none;
  67. -o-user-select: none;
  68. -moz-user-select: none;
  69. -khtml-user-select: none;
  70. -webkit-user-select: none;
  71. -ms-user-select: none;
  72. page-break-after: always; }
  73. .fr-view .fr-file {
  74. position: relative; }
  75. .fr-view .fr-file::after {
  76. position: relative;
  77. content: "\1F4CE";
  78. font-weight: normal; }
  79. .fr-view pre {
  80. white-space: pre-wrap;
  81. word-wrap: break-word;
  82. overflow: visible; }
  83. .fr-view[dir="rtl"] blockquote {
  84. border-left: none;
  85. border-right: solid 2px #5E35B1;
  86. margin-right: 0;
  87. padding-right: 5px;
  88. padding-left: 0; }
  89. .fr-view[dir="rtl"] blockquote blockquote {
  90. border-color: #00BCD4; }
  91. .fr-view[dir="rtl"] blockquote blockquote blockquote {
  92. border-color: #43A047; }
  93. .fr-view blockquote {
  94. border-left: solid 2px #5E35B1;
  95. margin-left: 0;
  96. padding-left: 5px;
  97. color: #5E35B1; }
  98. .fr-view blockquote blockquote {
  99. border-color: #00BCD4;
  100. color: #00BCD4; }
  101. .fr-view blockquote blockquote blockquote {
  102. border-color: #43A047;
  103. color: #43A047; }
  104. .fr-view span.fr-emoticon {
  105. font-weight: normal;
  106. font-family: "Apple Color Emoji","Segoe UI Emoji","NotoColorEmoji","Segoe UI Symbol","Android Emoji","EmojiSymbols";
  107. display: inline;
  108. line-height: 0; }
  109. .fr-view span.fr-emoticon.fr-emoticon-img {
  110. background-repeat: no-repeat !important;
  111. font-size: inherit;
  112. height: 1em;
  113. width: 1em;
  114. min-height: 20px;
  115. min-width: 20px;
  116. display: inline-block;
  117. margin: -.1em .1em .1em;
  118. line-height: 1;
  119. vertical-align: middle; }
  120. .fr-view .fr-text-gray {
  121. color: #AAA !important; }
  122. .fr-view .fr-text-bordered {
  123. border-top: solid 1px #222;
  124. border-bottom: solid 1px #222;
  125. padding: 10px 0; }
  126. .fr-view .fr-text-spaced {
  127. letter-spacing: 1px; }
  128. .fr-view .fr-text-uppercase {
  129. text-transform: uppercase; }
  130. .fr-view .fr-class-highlighted {
  131. background-color: #ffff00; }
  132. .fr-view .fr-class-code {
  133. border-color: #cccccc;
  134. border-radius: 2px;
  135. -moz-border-radius: 2px;
  136. -webkit-border-radius: 2px;
  137. -moz-background-clip: padding;
  138. -webkit-background-clip: padding-box;
  139. background-clip: padding-box;
  140. background: #f5f5f5;
  141. padding: 10px;
  142. font-family: "Courier New", Courier, monospace; }
  143. .fr-view .fr-class-transparency {
  144. opacity: 0.5; }
  145. .fr-view img {
  146. position: relative;
  147. max-width: 100%; }
  148. .fr-view img.fr-dib {
  149. margin: 5px auto;
  150. display: block;
  151. float: none;
  152. vertical-align: top; }
  153. .fr-view img.fr-dib.fr-fil {
  154. margin-left: 0;
  155. text-align: left; }
  156. .fr-view img.fr-dib.fr-fir {
  157. margin-right: 0;
  158. text-align: right; }
  159. .fr-view img.fr-dii {
  160. display: inline-block;
  161. float: none;
  162. vertical-align: bottom;
  163. margin-left: 5px;
  164. margin-right: 5px;
  165. max-width: calc(100% - (2 * 5px)); }
  166. .fr-view img.fr-dii.fr-fil {
  167. float: left;
  168. margin: 5px 5px 5px 0;
  169. max-width: calc(100% - 5px); }
  170. .fr-view img.fr-dii.fr-fir {
  171. float: right;
  172. margin: 5px 0 5px 5px;
  173. max-width: calc(100% - 5px); }
  174. .fr-view span.fr-img-caption {
  175. position: relative;
  176. max-width: 100%; }
  177. .fr-view span.fr-img-caption.fr-dib {
  178. margin: 5px auto;
  179. display: block;
  180. float: none;
  181. vertical-align: top; }
  182. .fr-view span.fr-img-caption.fr-dib.fr-fil {
  183. margin-left: 0;
  184. text-align: left; }
  185. .fr-view span.fr-img-caption.fr-dib.fr-fir {
  186. margin-right: 0;
  187. text-align: right; }
  188. .fr-view span.fr-img-caption.fr-dii {
  189. display: inline-block;
  190. float: none;
  191. vertical-align: bottom;
  192. margin-left: 5px;
  193. margin-right: 5px;
  194. max-width: calc(100% - (2 * 5px)); }
  195. .fr-view span.fr-img-caption.fr-dii.fr-fil {
  196. float: left;
  197. margin: 5px 5px 5px 0;
  198. max-width: calc(100% - 5px); }
  199. .fr-view span.fr-img-caption.fr-dii.fr-fir {
  200. float: right;
  201. margin: 5px 0 5px 5px;
  202. max-width: calc(100% - 5px); }
  203. .fr-view .fr-video {
  204. text-align: center;
  205. position: relative; }
  206. .fr-view .fr-video.fr-rv {
  207. padding-bottom: 56.25%;
  208. padding-top: 30px;
  209. height: 0;
  210. overflow: hidden; }
  211. .fr-view .fr-video.fr-rv > iframe, .fr-view .fr-video.fr-rv object, .fr-view .fr-video.fr-rv embed {
  212. position: absolute !important;
  213. top: 0;
  214. left: 0;
  215. width: 100%;
  216. height: 100%; }
  217. .fr-view .fr-video > * {
  218. -webkit-box-sizing: content-box;
  219. -moz-box-sizing: content-box;
  220. box-sizing: content-box;
  221. max-width: 100%;
  222. border: none; }
  223. .fr-view .fr-video.fr-dvb {
  224. display: block;
  225. clear: both; }
  226. .fr-view .fr-video.fr-dvb.fr-fvl {
  227. text-align: left; }
  228. .fr-view .fr-video.fr-dvb.fr-fvr {
  229. text-align: right; }
  230. .fr-view .fr-video.fr-dvi {
  231. display: inline-block; }
  232. .fr-view .fr-video.fr-dvi.fr-fvl {
  233. float: left; }
  234. .fr-view .fr-video.fr-dvi.fr-fvr {
  235. float: right; }
  236. .fr-view a.fr-strong {
  237. font-weight: 700; }
  238. .fr-view a.fr-green {
  239. color: green; }
  240. .fr-view .fr-img-caption {
  241. text-align: center; }
  242. .fr-view .fr-img-caption .fr-img-wrap {
  243. padding: 0;
  244. display: inline-block;
  245. margin: auto;
  246. text-align: center;
  247. width: 100%; }
  248. .fr-view .fr-img-caption .fr-img-wrap img {
  249. display: block;
  250. margin: auto;
  251. width: 100%; }
  252. .fr-view .fr-img-caption .fr-img-wrap > span {
  253. margin: auto;
  254. display: block;
  255. padding: 5px 5px 10px;
  256. font-size: 14px;
  257. font-weight: initial;
  258. -webkit-box-sizing: border-box;
  259. -moz-box-sizing: border-box;
  260. box-sizing: border-box;
  261. -webkit-opacity: 0.9;
  262. -moz-opacity: 0.9;
  263. opacity: 0.9;
  264. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  265. width: 100%;
  266. text-align: center; }
  267. .fr-view button.fr-rounded, .fr-view input.fr-rounded, .fr-view textarea.fr-rounded {
  268. border-radius: 10px;
  269. -moz-border-radius: 10px;
  270. -webkit-border-radius: 10px;
  271. -moz-background-clip: padding;
  272. -webkit-background-clip: padding-box;
  273. background-clip: padding-box; }
  274. .fr-view button.fr-large, .fr-view input.fr-large, .fr-view textarea.fr-large {
  275. font-size: 24px; }
  276. /**
  277. * Image style.
  278. */
  279. a.fr-view.fr-strong {
  280. font-weight: 700; }
  281. a.fr-view.fr-green {
  282. color: green; }
  283. /**
  284. * Link style.
  285. */
  286. img.fr-view {
  287. position: relative;
  288. max-width: 100%; }
  289. img.fr-view.fr-dib {
  290. margin: 5px auto;
  291. display: block;
  292. float: none;
  293. vertical-align: top; }
  294. img.fr-view.fr-dib.fr-fil {
  295. margin-left: 0;
  296. text-align: left; }
  297. img.fr-view.fr-dib.fr-fir {
  298. margin-right: 0;
  299. text-align: right; }
  300. img.fr-view.fr-dii {
  301. display: inline-block;
  302. float: none;
  303. vertical-align: bottom;
  304. margin-left: 5px;
  305. margin-right: 5px;
  306. max-width: calc(100% - (2 * 5px)); }
  307. img.fr-view.fr-dii.fr-fil {
  308. float: left;
  309. margin: 5px 5px 5px 0;
  310. max-width: calc(100% - 5px); }
  311. img.fr-view.fr-dii.fr-fir {
  312. float: right;
  313. margin: 5px 0 5px 5px;
  314. max-width: calc(100% - 5px); }
  315. span.fr-img-caption.fr-view {
  316. position: relative;
  317. max-width: 100%; }
  318. span.fr-img-caption.fr-view.fr-dib {
  319. margin: 5px auto;
  320. display: block;
  321. float: none;
  322. vertical-align: top; }
  323. span.fr-img-caption.fr-view.fr-dib.fr-fil {
  324. margin-left: 0;
  325. text-align: left; }
  326. span.fr-img-caption.fr-view.fr-dib.fr-fir {
  327. margin-right: 0;
  328. text-align: right; }
  329. span.fr-img-caption.fr-view.fr-dii {
  330. display: inline-block;
  331. float: none;
  332. vertical-align: bottom;
  333. margin-left: 5px;
  334. margin-right: 5px;
  335. max-width: calc(100% - (2 * 5px)); }
  336. span.fr-img-caption.fr-view.fr-dii.fr-fil {
  337. float: left;
  338. margin: 5px 5px 5px 0;
  339. max-width: calc(100% - 5px); }
  340. span.fr-img-caption.fr-view.fr-dii.fr-fir {
  341. float: right;
  342. margin: 5px 0 5px 5px;
  343. max-width: calc(100% - 5px); }