outline: none;
overflow: auto;
+ * {
+ // setting min-width to "0" inside contenteditable causes
+ // IE11 to do all sort of funny things
+ min-width: auto;
+ }
+
+ &.redactor-placeholder::after {
+ color: $wcfContentDimmedText;
+ content: attr(placeholder);
+ display: block;
+ position: absolute;
+ }
+
& + textarea {
border-width: 0;
box-shadow: none;
// enforce styles used in messages
@extend .htmlContent;
+ > :not(p) {
+ &:first-child {
+ margin-top: 10px !important;
+ }
+
+ &:last-child {
+ margin-bottom: 20px !important;
+ }
+ }
+
// remove margin top for the first paragraph in the editor to avoid a weird looking offset a the top
> p:first-child {
margin-top: 0;
}
/* disable auto zoom in mobile safari */
-@include screen-sm-down {
- .redactor-editor + textarea {
+@include screen-md-down {
+ .redactor-editor {
font-size: 16px;
max-height: 500px;
}
cursor: default;
}
- &:hover,
&.redactor-act,
&.dropact {
background-color: $wcfHeaderMenuLinkBackgroundActive;
color: inherit;
cursor: inherit !important;
}
+
+ @include screen-lg {
+ // hover-styles on mobile are misleading as they stay much longer
+ // due to the click-like behavior
+ &:hover {
+ background-color: $wcfHeaderMenuLinkBackgroundActive;
+ color: $wcfHeaderMenuLinkActive;
+ }
+ }
}
@include screen-sm-up {
float: right;
margin: 0 0 20px 20px;
}
+
+.smiley {
+ margin: 0 1px;
+}