$mpBuildEventKeydown.call(self, e);
}
};
+
+ var $mpToggleCode = this.toggleCode;
+ this.toggleCode = function(direct) {
+ var $height = self.normalize(self.$editor.css('height'));
+
+ $mpToggleCode.call(self, direct);
+
+ self.$source.height($height);
+ };
},
/**
.icon-upload-alt:before, .fa-upload:before { content: @upload-alt; }
.icon-lemon:before, .fa-lemon-o:before { content: @lemon; }
.icon-phone:before, .fa-phone:before { content: @phone; }
-.icon-unchecked:before, .fa-unchecked:before,
-.icon-check-empty:before, .fa-square-o:before { content: @check-empty; }
+.icon-unchecked:before, .fa-unchecked:before, .icon-check-empty:before { content: @check-empty; }
.icon-bookmark-empty:before, .fa-bookmark-o:before { content: @bookmark-empty; }
.icon-phone-sign:before, .fa-phone-square:before { content: @phone-sign; }
.icon-twitter:before, .fa-twitter:before { content: @twitter; }
.icon-folder-close-alt:before, .fa-folder-close-o:before { content: @folder-close-alt; }
.icon-folder-open-alt:before, .fa-folder-open-o:before { content: @folder-open-alt; }
.icon-expand-alt:before, .fa-expand-o:before { content: @expand-alt; }
-.icon-collapse-alt:before, .fa-square-o:before { content: @collapse-alt; }
+.icon-collapse-alt:before, .fa-square-o:before { content: @check-empty; }
.icon-smile:before, .fa-smile-o:before { content: @smile; }
.icon-frown:before, .fa-frown-o:before { content: @frown; }
.icon-meh:before, .fa-meh-o:before { content: @meh; }
/* redactor fixes */
.redactor_editor {
+ padding: 10px !important;
+
+ & + textarea {
+ background-color: rgba(255, 255, 255, 1) !important;
+ border: 1px solid rgba(238, 238, 238, 1) !important;
+ color: @wcfColor !important;
+ padding: 10px !important;
+ z-index: 1 !important;
+ }
+
ul,
ol {
.nativeList;
.textShadow(@wcfButtonBackgroundColor);
- &> i:before {
- color: rgba(51, 51, 51, 1) !important;
+ &> i {
+ height: 14px;
+ width: 12px;
+
+ &:before {
+ color: rgba(51, 51, 51, 1) !important;
+ }
}
- &:hover {
+ &:not(.redactor_button_disabled):hover {
background-color: rgba(204, 204, 204, 1) !important;
color: rgba(51, 51, 51, 1) !important;