editor_content.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. /*
  2. Stylesheet for HTML blocks created with CKEditor to embed in Chamilo pages.
  3. */
  4. /* Hack for show Bootstrap alerts in CKEditor' style select */
  5. .cke_panel_listItem a > :first-child {
  6. margin-bottom: 0;
  7. }
  8. .ck {
  9. display: block;
  10. font-feature-settings: normal;
  11. font-kerning: auto;
  12. font-language-override: normal;
  13. font-size-adjust: none;
  14. font-stretch: normal;
  15. font-style: normal;
  16. font-synthesis: weight style;
  17. font-variant: normal;
  18. font-weight: normal;
  19. line-height: 1;
  20. }
  21. .ck-article {
  22. color: #E95839;
  23. background: url(#{$img-path}/document/border-title.png) repeat-x 0 80%;
  24. font-weight: bold;
  25. margin-bottom: 10px;
  26. padding-bottom: 2%;
  27. text-transform: uppercase;
  28. }
  29. .ck-article:before {
  30. content: "\f15c";
  31. font-family: FontAwesome;
  32. font-weight: normal;
  33. margin-right: 5px;
  34. }
  35. .ck-paragraph-box {
  36. background-color: #F5EEE2;
  37. line-height: 20px;
  38. padding: 2% 3%;
  39. }
  40. .ck-title {
  41. color: #000;
  42. display: block;
  43. font-weight: bold;
  44. }
  45. .ck-title2 {
  46. color: #000;
  47. font-weight: 500;
  48. margin-top: 0;
  49. padding-top: 0;
  50. position: relative;
  51. }
  52. .ck-title2:after {
  53. background-color: #E95839;
  54. content: "";
  55. display: block;
  56. height: 2px;
  57. margin: 10px 0 0;
  58. width: 50px;
  59. }
  60. .ck-stand-out {
  61. background-color: yellow;
  62. }
  63. .ck-style1 {
  64. background: url(#{$img-path}document/hr-1.png) repeat-x 0 0;
  65. border: 0;
  66. height: 6px;
  67. }
  68. .ck-style2 {
  69. background: url(#{$img-path}document/hr-2.png) repeat-x 0 0;
  70. border: 0;
  71. height: 6px;
  72. }
  73. .ck-style3 {
  74. border-top: 1px dashed #8c8b8b;
  75. }
  76. .ck-style3:after {
  77. background: #FFF;
  78. color: #8c8b8b;
  79. content: '\002702';
  80. display: inline-block;
  81. font-size: 18px;
  82. left: 40px;
  83. padding: 0 3px;
  84. position: relative;
  85. top: -12px;
  86. }
  87. .img-va-baseline {
  88. vertical-align: baseline;
  89. }
  90. .img-va-top {
  91. vertical-align: top;
  92. }
  93. .img-va-bottom {
  94. vertical-align: bottom;
  95. }
  96. .img-va-middle {
  97. vertical-align: middle;
  98. }
  99. .img-va-super {
  100. vertical-align: super;
  101. }
  102. .img-va-sub {
  103. vertical-align: sub;
  104. }
  105. .img-va-text-top {
  106. vertical-align: text-top;
  107. }
  108. .img-va-text-bottom {
  109. vertical-align: text-bottom;
  110. }
  111. figure.image {
  112. border: 1px solid #ddd;
  113. border-radius: 5px;
  114. display: inline-block;
  115. margin-bottom: 1em;
  116. padding: 5px;
  117. }
  118. .cke_widget_image.pull-right,
  119. img.pull-right,
  120. figure.image.pull-right {
  121. margin-left: 1em;
  122. }
  123. .cke_widget_image.pull-left,
  124. img.pull-left,
  125. figure.image.pull-left {
  126. margin-right: 1em;
  127. }
  128. .text-center .img-responsive {
  129. margin-left: auto;
  130. margin-right: auto;
  131. }
  132. .cke_widget_image.pull-left figure.image,
  133. .cke_widget_image.pull-right figure.image,
  134. figure.image.pull-left,
  135. figure.image.pull-right {
  136. display: block;
  137. }
  138. figure.image figcaption {
  139. background-color: #f3f3f3;
  140. border-radius: 0;
  141. margin: 0;
  142. padding-left: 5px;
  143. padding-top: 0;
  144. text-align: left;
  145. }