mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
a2897e1868
Add a possible replacement for GtkEntryCompletion as a demo. Move the Dropdowns demo to Lists/Selections, and make it show both GtkDropDown and the suggestion entry, with some variations.
29 lines
542 B
CSS
29 lines
542 B
CSS
entry.suggestion > popover.menu.background > contents {
|
|
padding: 0;
|
|
}
|
|
|
|
entry.suggestion arrow {
|
|
-gtk-icon-source: -gtk-icontheme('pan-down-symbolic');
|
|
min-height: 16px;
|
|
min-width: 16px;
|
|
}
|
|
|
|
entry.suggestion > popover {
|
|
margin-top: 6px;
|
|
padding: 0;
|
|
}
|
|
|
|
entry.suggestion > popover listview {
|
|
margin: 8px 0;
|
|
}
|
|
|
|
entry.suggestion > popover listview > row {
|
|
padding: 8px;
|
|
}
|
|
|
|
entry.suggestion > popover listview > row:selected {
|
|
outline-color: rgba(1,1,1,0.2);
|
|
color: @theme_text_color;
|
|
background-color: shade(#f6f5f4, 0.97);
|
|
}
|