forked from AuroraMiddleware/gtk
Merge branch 'wip/jimmac/dropdown-styling' into 'master'
Adwaita: dropdown styling Closes #2846 See merge request GNOME/gtk!2101
This commit is contained in:
commit
de729e936d
@ -1152,6 +1152,8 @@ spinbutton {
|
||||
/**************
|
||||
* ComboBoxes *
|
||||
**************/
|
||||
dropdown > popover.menu.background > contents { padding: 0; } //allow search entries with no margin
|
||||
|
||||
dropdown,
|
||||
combobox {
|
||||
arrow {
|
||||
@ -1178,11 +1180,35 @@ combobox {
|
||||
|
||||
button.combo { @extend %button_basic_drop_active; }
|
||||
}
|
||||
|
||||
// newstyle
|
||||
popover {
|
||||
margin-top: 6px;
|
||||
padding: 0;
|
||||
|
||||
listview {
|
||||
|
||||
margin: 8px 0;
|
||||
|
||||
&>row {
|
||||
padding: 8px;
|
||||
|
||||
&:selected {
|
||||
outline-color: $alt_focus_border_color;
|
||||
color: $text-color;
|
||||
background-color: $menu_selected_color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.search { //drodowns with searchboxes on top
|
||||
border-radius: $popover_radius $popover_radius 0 0;
|
||||
padding: 3px 10px;
|
||||
margin-top: -2px; //paint over the menu borders
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dropdown > popover listview > row {
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
// the combo is a composite widget so the way we do button linking doesn't
|
||||
// work, special case needed. See
|
||||
|
Loading…
Reference in New Issue
Block a user