Skip to content

Commit 167be24

Browse files
committed
Style the ckeditor emoji picker
1 parent 52c8c85 commit 167be24

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

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

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

0 commit comments

Comments
 (0)