Replace .emoji with emoji for css

This commit is contained in:
Matthias Clasen 2020-01-23 11:26:52 -05:00
parent 0351f27af2
commit cbed409f52
4 changed files with 9 additions and 10 deletions

View File

@ -387,8 +387,7 @@ add_emoji (GtkWidget *box,
return;
}
child = gtk_flow_box_child_new ();
gtk_style_context_add_class (gtk_widget_get_style_context (child), "emoji");
child = g_object_new (GTK_TYPE_FLOW_BOX_CHILD, "css-name", "emoji", NULL);
g_object_set_data_full (G_OBJECT (child), "emoji-data",
g_variant_ref (item),
(GDestroyNotify)g_variant_unref);

View File

@ -4785,7 +4785,7 @@ button.emoji-section {
&:checked label { opacity: 1; }
}
popover.emoji-picker .emoji {
popover.emoji-picker emoji {
font-size: x-large;
padding: 6px;
border-radius: 6px;
@ -4800,7 +4800,7 @@ popover.emoji-completion contents row box {
padding: 2px 10px;
}
popover.emoji-completion .emoji:hover {
popover.emoji-completion emoji:hover {
background-color: $popover_hover_color;
}

View File

@ -1978,13 +1978,13 @@ button.emoji-section:hover label { opacity: 0.775; }
button.emoji-section:checked label { opacity: 1; }
popover.emoji-picker .emoji { font-size: x-large; padding: 6px; border-radius: 6px; }
popover.emoji-picker emoji { font-size: x-large; padding: 6px; border-radius: 6px; }
popover.emoji-picker .emoji:hover { background: #15539e; }
popover.emoji-picker emoji:hover { background: #15539e; }
popover.emoji-completion contents row box { border-spacing: 10px; padding: 2px 10px; }
popover.emoji-completion .emoji:hover { background-color: #424242; }
popover.emoji-completion emoji:hover { background-color: #424242; }
popover.entry-completion contents { padding: 0; }

View File

@ -1994,13 +1994,13 @@ button.emoji-section:hover label { opacity: 0.775; }
button.emoji-section:checked label { opacity: 1; }
popover.emoji-picker .emoji { font-size: x-large; padding: 6px; border-radius: 6px; }
popover.emoji-picker emoji { font-size: x-large; padding: 6px; border-radius: 6px; }
popover.emoji-picker .emoji:hover { background: #3584e4; }
popover.emoji-picker emoji:hover { background: #3584e4; }
popover.emoji-completion contents row box { border-spacing: 10px; padding: 2px 10px; }
popover.emoji-completion .emoji:hover { background-color: white; }
popover.emoji-completion emoji:hover { background-color: white; }
popover.entry-completion contents { padding: 0; }