Skip to content

Commit bd4a741

Browse files
committed
Style the ckeditor emoji picker
1 parent a6a4fc2 commit bd4a741

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

wcfsetup/install/files/style/ui/ckeditor.scss

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -699,3 +699,42 @@ html.iOS {
699699
--ck-color-labeled-field-label-background: transparent;
700700
}
701701
}
702+
703+
/* emoji picker */
704+
.ck.ck-emoji-picker-form {
705+
.ck-button {
706+
padding: 0 !important;
707+
}
708+
709+
.ck-search {
710+
.ck-labeled-field-view__input-wrapper {
711+
svg, .ck-off {
712+
transform: none !important;
713+
}
714+
}
715+
716+
.ck-emoji__skin-tone {
717+
align-self: end;
718+
719+
.ck-button {
720+
padding: 3px 12px !important;
721+
}
722+
}
723+
}
724+
}
725+
726+
.ck-button__label {
727+
&.ck-emoji, &.ck-smiley {
728+
font-size: var(--wcfFontSizeDefault) !important;
729+
}
730+
}
731+
732+
@media (hover: hover) {
733+
.ck.ck-emoji-picker-form {
734+
.ck-button {
735+
&:not(:hover), &.ck-emoji__tile:hover {
736+
background-color: transparent !important;
737+
}
738+
}
739+
}
740+
}

0 commit comments

Comments
 (0)