Commit 8ea159b8 authored by Artem Grinev's avatar Artem Grinev Committed by Artem Grinev
Browse files

GTK3,4: Improve ComboBox visuals

parent cbb31871
......@@ -389,6 +389,24 @@ combobox {
padding-top: 4px;
padding-bottom: 4px;
}
> box > button.combo:only-child {
//Force shadow for single combobox buttons
@include neobutton(normal)
arrow {
min-width: 14px;
&:dir(rtl) {
margin-left: -3px;
}
&:dir(ltr) {
margin-right: -3px;
}
}
}
}
%needs_attention {
......
......@@ -207,3 +207,21 @@ treeview entry {
}
}
}
combobox > box > button.combo {
background: none;
@include entry(normal)
&:focus {
@include entry(focus);
}
&:disabled {
@include entry(insensitive);
}
&:backdrop {
@include entry(backdrop);
}
&:backdrop:disabled {
@include entry(backdrop-insensitive);
}
}
......@@ -41,6 +41,9 @@ headerbar {
}
button {
@include neobutton(toolbutton);
//ensure we don't have a shadow on headerbar buttons at all
box-shadow: none;
color: gtk("@theme_titlebar_foreground");
&:hover {
......
......@@ -342,6 +342,24 @@ combobox {
padding-top: 4px;
padding-bottom: 4px;
}
> box > button.combo:only-child {
//Force shadow for single combobox buttons
@include neobutton(normal)
arrow {
min-width: 14px;
&:dir(rtl) {
margin-left: -3px;
}
&:dir(ltr) {
margin-right: -3px;
}
}
}
}
%needs_attention {
......
......@@ -207,3 +207,22 @@ treeview entry {
}
}
}
combobox > box > button.combo {
background: none;
@include entry(normal)
&:focus {
@include entry(focus);
}
&:disabled {
@include entry(insensitive);
}
&:backdrop {
@include entry(backdrop);
}
&:backdrop:disabled {
@include entry(backdrop-insensitive);
}
}
......@@ -41,6 +41,9 @@ headerbar {
}
button {
@include neobutton(toolbutton);
//ensure we don't have a shadow on headerbar buttons at all
box-shadow: none;
color: gtk("@theme_titlebar_foreground");
&:hover {
......
Supports Markdown
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