2 background-color: $wcfContentBackground;
5 &:not(:first-child):not(.redactorBoxFullscreen) {
33 border: 1px solid $wcfContentBorderInner;
42 // setting min-width to "0" inside contenteditable causes
43 // IE11 to do all sort of funny things
47 &.redactor-placeholder::after {
48 color: $wcfContentDimmedText;
49 content: attr(placeholder);
67 // enforce styles used in messages
72 margin-top: 10px !important;
76 margin-bottom: 20px !important;
80 // remove margin top for the first paragraph in the editor to avoid a weird looking offset a the top
89 // show cursor to indicate editing capability excluding smilies
93 /* prevent flicker from pasted images */
94 &[src^="data:image"] {
95 display: none !important;
100 border-collapse: collapse;
104 border: 1px solid #ddd;
105 border-bottom: 2px solid currentColor;
109 border: 1px solid #ddd;
115 display: inline-block;
120 /* This is a rather hacky work-around for Safari that makes the bottom margin clickable
121 in order to recognize clicks in between two block elements. See #2533 */
122 &.jsSafariMarginClickTarget {
128 height: 1em; // this is the value of `margin-bottom`
133 @include screen-md-up {
134 transform: translateY(20px); // this is the value of `padding-bottom`
137 @include screen-sm-down {
138 transform: translateY(10px); // this is the value of `padding-bottom`
144 /* parent is `position: relative` */
150 .redactor-dropdown-menu {
155 background-color: transparent !important;
159 background-color: $wcfDropdownBackgroundActive;
162 .redactor-dropdown-link-inactive {
167 background-color: $wcfDropdownBackground !important;
168 color: $wcfDropdownText !important;
169 cursor: default !important;
174 /* disable auto zoom in mobile safari */
175 @include screen-md-down {
183 background-color: $wcfHeaderBackground;
191 color: $wcfHeaderMenuLink;
197 @include wcfFontSmall;
199 &.redactor-button-disabled {
200 background-color: transparent !important;
201 color: $wcfButtonDisabledText !important;
203 pointer-events: none;
208 background-color: $wcfHeaderMenuLinkBackgroundActive;
209 color: $wcfHeaderMenuLinkActive;
214 cursor: inherit !important;
216 &.redactorButtonImage {
217 background: no-repeat center center;
218 background-size: contain;
223 // hover-styles on mobile are misleading as they stay much longer
224 // due to the click-like behavior
226 background-color: $wcfHeaderMenuLinkBackgroundActive;
227 color: $wcfHeaderMenuLinkActive;
232 background-color: $wcfHeaderMenuLinkBackgroundActive;
233 color: $wcfHeaderMenuLinkActive;
237 @include screen-sm-up {
238 &.redactor-toolbar-separator {
244 border-left: 1px solid $wcfHeaderMenuLink;
256 &:not(.redactorToolbarOverride) > li {
257 &[data-show-on-mobile="false"] {
262 &.redactorToolbarOverride > .redactor-toolbar-separator {
267 border-left: 1px solid $wcfHeaderMenuLink;
276 .redactorToolbarToggle {
281 border-left: 1px solid $wcfHeaderMenuLink;
292 .redactor-toolbar-tooltip {
293 @extend .balloonTooltip;
299 .redactorAttachmentContainer {
300 background-color: rgba(255, 255, 255, 1);
301 border: 1px solid rgba(238, 238, 238, 1);
303 padding: 7px 14px 7px;
306 .redactor-dropdown-menu-fontcolor {
309 > li.redactorColorPallet {
313 background-color: $wcfDropdownBackground !important;
317 border: 2px solid rgba(255, 255, 255, 1);
318 border-bottom-width: 0;
319 display: inline-block;
331 background-color: $wcfStatusInfoBackground;
332 border: 5px dashed currentColor;
334 color: $wcfStatusInfoText;
336 justify-content: center;
342 @include wcfFontSection;
345 content: attr(data-drop-here);
349 background-color: $wcfStatusSuccessBackground;
350 color: $wcfStatusSuccessText;
353 content: attr(data-drop-now);
358 .redactor-link-tooltip {
359 background-color: $wcfTooltipBackground;
361 box-shadow: 0 0 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
362 color: $wcfTooltipText;
363 padding: 5px 10px 7px;
368 color: $wcfTooltipText;
372 .redactor-voice-label {
377 .redactor-dropdown-h2 {
378 @include wcfFontSection;
381 .redactor-dropdown-h3 {
382 @include wcfFontHeadline;
385 /* alignment plugin */
387 text-align: center !important;
391 text-align: right !important;
394 /* alignment plugin / custom value */
396 text-align: justify !important;
398 -webkit-hyphens: auto;
404 /* text color selection */
405 .redactor-dropdown-menu-woltlabColor {
406 display: flex !important;
411 > .dropdownDivider + li {
415 .woltlab-color-selection {
421 background-color: currentColor !important;
453 .messageFloatObjectLeft {
455 margin: 0 20px 20px 0;
458 .messageFloatObjectRight {
460 margin: 0 0 20px 20px;
465 &[src$="_emojione.png"] {
474 @include screen-md-down {
476 display: inline-block;
482 background-color: transparent !important;
483 border: 1px solid $wcfContentBorderInner !important;
484 color: transparent !important;
490 .messageQuickReplyCollapsed {
491 border-bottom-width: 0 !important;
493 @include screen-sm-down {
502 .messageQuickReplyContent {
503 background-color: $wcfSidebarBackground;
505 display: inline-block !important;
506 margin: 0 !important;
507 max-width: 100% !important;
511 width: 100% !important;
513 @include screen-md-up {
518 color: $wcfSidebarText;
519 content: $fa-var-reply;
520 font-family: FontAwesome;
526 vertical-align: -5px;
530 color: $wcfSidebarText;
531 content: attr(data-placeholder);
546 .redactorAutosaveRestored {
547 background-color: $wcfContentBackground;
548 border-top: 1px solid $wcfContentBorderInner;
554 transition: opacity 0.12s linear, visibility 0s linear 0.12s;
559 transition-delay: 0s;
564 border-left: 1px solid $wcfContentBorderInner;
570 color: $wcfContentDimmedText;
575 @include screen-sm-up {
576 border-left: 1px solid $wcfContentBorderInner;
577 border-top-left-radius: 2px;
593 .redactorBoxFullscreen {
596 flex-direction: column;
603 .redactor-toolbar-box {
608 .redactor-layer + textarea {
610 max-height: none !important;
611 min-height: 0 !important;
615 .editorImageBlocked {
616 filter: brightness(25%);
617 transition: filter 0.12s linear;
620 filter: brightness(75%);