Content.Objects.less 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. /* Content.Objects.less */
  2. .mce-content-body .mce-reset {
  3. margin: 0; padding: 0; border: 0; outline: 0;
  4. vertical-align: top; background: transparent;
  5. text-decoration: none; color: black;
  6. font-family: Arial;
  7. font-size: 11px; text-shadow: none; float: none;
  8. position: static; width: auto; height: auto;
  9. white-space: nowrap; cursor: inherit;
  10. line-height: normal; font-weight: normal;
  11. text-align: left;
  12. -webkit-tap-highlight-color: transparent;
  13. -moz-box-sizing: content-box;
  14. -webkit-box-sizing: content-box;
  15. box-sizing: content-box;
  16. direction: ltr;
  17. max-width: none;
  18. }
  19. .mce-object {
  20. border: 1px dotted #3A3A3A;
  21. background: #D5D5D5 url(img/object.gif) no-repeat center;
  22. }
  23. .mce-preview-object {
  24. display: inline-block;
  25. position: relative;
  26. margin: 0 2px 0 2px;
  27. line-height: 0;
  28. border: 1px solid gray;
  29. }
  30. .mce-preview-object .mce-shim {
  31. position: absolute;
  32. top: 0; left: 0;
  33. width: 100%; height: 100%;
  34. background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
  35. }
  36. figure.align-left {
  37. float: left;
  38. }
  39. figure.align-right {
  40. float: right;
  41. }
  42. figure.image.align-center {
  43. display: table;
  44. margin-left: auto;
  45. margin-right: auto;
  46. }
  47. figure.image {
  48. display: inline-block;
  49. border: 1px solid gray;
  50. margin: 0 2px 0 1px;
  51. background: #f5f2f0;
  52. }
  53. figure.image img {
  54. margin: 8px 8px 0 8px;
  55. }
  56. figure.image figcaption {
  57. margin: 6px 8px 6px 8px;
  58. text-align: center;
  59. }
  60. .mce-toc {
  61. border: 1px solid gray;
  62. }
  63. .mce-toc h2 {
  64. margin: 4px;
  65. }
  66. .mce-toc li {
  67. list-style-type: none;
  68. }
  69. .mce-preview-object[data-mce-selected="2"] .mce-shim {
  70. display: none;
  71. }
  72. .mce-pagebreak {
  73. cursor: default;
  74. display: block;
  75. border: 0;
  76. width: 100%;
  77. height: 5px;
  78. border: 1px dashed #666;
  79. margin-top: 15px;
  80. page-break-before: always;
  81. }
  82. @media print {
  83. .mce-pagebreak {
  84. border: 0px;
  85. }
  86. }
  87. .mce-item-anchor {
  88. cursor: default;
  89. display: inline-block;
  90. -webkit-user-select: all;
  91. -webkit-user-modify: read-only;
  92. -moz-user-select: all;
  93. -moz-user-modify: read-only;
  94. user-select: all;
  95. user-modify: read-only;
  96. width: 9px !important;
  97. height: 9px !important;
  98. border: 1px dotted #3A3A3A;
  99. background: #D5D5D5 url(img/anchor.gif) no-repeat center;
  100. }
  101. .mce-nbsp, .mce-shy {
  102. background: #AAA;
  103. }
  104. .mce-shy::after {
  105. content: '-';
  106. }
  107. hr {
  108. cursor: default;
  109. }
  110. .mce-match-marker {
  111. background: #AAA;
  112. color: #fff;
  113. }
  114. .mce-match-marker-selected {
  115. background: #3399ff;
  116. color: #fff;
  117. }
  118. .mce-spellchecker-word {
  119. border-bottom: 2px solid #F00;
  120. cursor: default;
  121. }
  122. .mce-spellchecker-grammar {
  123. border-bottom: 2px solid #008000;
  124. cursor: default;
  125. }
  126. .mce-item-table, .mce-item-table td, .mce-item-table th, .mce-item-table caption {
  127. border: 1px dashed #BBB;
  128. }
  129. td[data-mce-selected], th[data-mce-selected] {
  130. background-color: #3399ff !important;
  131. }
  132. .mce-edit-focus {
  133. outline: 1px dotted #333;
  134. }
  135. .mce-content-body *[contentEditable=false] *[contentEditable=true]:focus {
  136. outline: 2px solid #2d8ac7;
  137. }
  138. .mce-content-body *[contentEditable=false] *[contentEditable=true]:hover {
  139. outline: 2px solid #7ACAFF;
  140. }
  141. .mce-content-body *[contentEditable=false][data-mce-selected] {
  142. outline: 2px solid #2d8ac7;
  143. }
  144. .mce-resize-bar-dragging {
  145. background-color: blue;
  146. .opacity(0.25);
  147. }