mirror of
https://github.com/He4eT/Desolate-GTK.git
synced 2026-05-04 17:37:22 +00:00
gtk-4: menu
This commit is contained in:
parent
df130ed4b3
commit
59de202cf1
2 changed files with 16 additions and 5 deletions
|
|
@ -57,18 +57,29 @@ infobar > revealer > box { padding: 8px; border-spacing: 10px; }
|
|||
|
||||
/* Menus */
|
||||
|
||||
popover.background{ background-color: transparent; border: none;}
|
||||
popover.background {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
}
|
||||
|
||||
popover.background > arrow,
|
||||
popover.background > contents {
|
||||
border: 0px solid @gtk_transparent_borders;
|
||||
/* box-shadow: 0 1px 2px @gtk_menu_shadow; */
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
popover.background > arrow,
|
||||
popover.background > contents
|
||||
{background-color: @gtk_bg_color;}
|
||||
popover.background > contents {
|
||||
background-color: @gtk_bg_color;
|
||||
}
|
||||
popover.menu contents {
|
||||
padding-top: 0px;
|
||||
}
|
||||
|
||||
popover.menu modelbutton:selected {
|
||||
outline: none;
|
||||
background-color: shade(@gtk_selected_bg_color,1.4);
|
||||
}
|
||||
|
||||
popover.menu.background > contents .linked button:first-child{ margin-left: 4px; }
|
||||
popover.menu.background > contents .linked button:last-child{ margin-right: 4px; }
|
||||
|
|
|
|||
|
|
@ -1433,7 +1433,7 @@ window.background:not(.csd):not(.solid-csd) > grid.horizontal > grid.horizontal:
|
|||
.csd .menu{ padding: 4px 1px; }
|
||||
|
||||
popover.menu.background > contents,
|
||||
popover.background.menu > contents { padding: 4px 0; }
|
||||
popover.background.menu > contents { padding: 0px 0; }
|
||||
popover.background > contents{padding: 4px;}
|
||||
popover.menu box.inline-buttons { padding: 0 8px; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue