Commit 4614e6b2 authored by Jack Gandy's avatar Jack Gandy

GTK 3: Add rounded border to top and bottom hovered menu items

parent e7d34a4d
......@@ -1907,6 +1907,12 @@ column-header .titlebar .button.titlebutton,
border-style: solid;
border-width: 0px 1px 0px 1px;
border-color: #6bc0ed; }
.menu .menuitem:hover:first-child {
border-radius: 3px 3px 0px 0px;
border-width: 1px 1px 0px 1px; }
.menu .menuitem:hover:last-child {
border-radius: 0px 0px 3px 3px;
border-width: 0px 1px 1px 1px; }
.menu .menuitem:insensitive {
color: #909396; }
.menu .menuitem:insensitive:backdrop {
......
......@@ -1576,7 +1576,15 @@ column-header.button.dnd { // for treeview-like derive widgets
background-clip: padding-box;
border-style: solid;
border-width: 0px 1px 0px 1px;
border-color: if($variant == 'light', darken($selected_bg_color, 10%), lighten($selected_bg_color, 10%));
border-color: if($variant == 'light', darken($selected_bg_color, 10%), lighten($selected_bg_color, 10%)); // tint sides of menu
&:first-child {
border-radius: 3px 3px 0px 0px;
border-width: 1px 1px 0px 1px;
}
&:last-child{
border-radius: 0px 0px 3px 3px;
border-width: 0px 1px 1px 1px;
}
}
&:insensitive {
color: $insensitive_fg_color;
......
......@@ -1907,6 +1907,12 @@ column-header .titlebar .button.titlebutton,
border-style: solid;
border-width: 0px 1px 0px 1px;
border-color: #6bc0ed; }
.menu .menuitem:hover:first-child {
border-radius: 3px 3px 0px 0px;
border-width: 1px 1px 0px 1px; }
.menu .menuitem:hover:last-child {
border-radius: 0px 0px 3px 3px;
border-width: 0px 1px 1px 1px; }
.menu .menuitem:insensitive {
color: #909396; }
.menu .menuitem:insensitive:backdrop {
......
This diff is collapsed.
......@@ -1913,6 +1913,12 @@ column-header .titlebar .button.titlebutton,
border-style: solid;
border-width: 0px 1px 0px 1px;
border-color: #1998da; }
.menu .menuitem:hover:first-child {
border-radius: 3px 3px 0px 0px;
border-width: 1px 1px 0px 1px; }
.menu .menuitem:hover:last-child {
border-radius: 0px 0px 3px 3px;
border-width: 0px 1px 1px 1px; }
.menu .menuitem:insensitive {
color: #909396; }
.menu .menuitem:insensitive:backdrop {
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment