Commit f1ef6237 authored by Artem Grinev's avatar Artem Grinev Committed by Nate Graham
Browse files

GTK3,4: Unlink dialog buttons

parent 85e2a842
......@@ -447,25 +447,29 @@ combobox {
box.linked:not(.vertical),
box.inline-toolbar:not(.vertical),
buttonbox.linked:not(.vertical) {
entry,
button {
// if we have a box-shadow, buttons look raised while the
// other elements aren't, which looks weird, and we can't really
// fix it, so just drop the box shadow in this case.
box-shadow: none;
@include linked();
@include linked-side();
&:not(.dialog-action-area) { // make an exception for dialog buttons to look more consistent in Qt environment
entry,
button {
// if we have a box-shadow, buttons look raised while the
// other elements aren't, which looks weird, and we can't really
// fix it, so just drop the box shadow in this case.
box-shadow: none;
@include linked();
@include linked-side();
}
}
}
box.linked.vertical,
box.inline-toolbar.vertical,
buttonbox.linked.vertical {
entry,
button {
box-shadow: none;
@include linked-vertical();
@include linked-side-vertical();
&:not(.dialog-action-area) {
entry,
button {
box-shadow: none;
@include linked-vertical();
@include linked-side-vertical();
}
}
}
......
......@@ -435,25 +435,29 @@ combobox {
box.linked:not(.vertical),
box.inline-toolbar:not(.vertical),
buttonbox.linked:not(.vertical) {
entry,
button {
// if we have a box-shadow, buttons look raised while the
// other elements aren't, which looks weird, and we can't really
// fix it, so just drop the box shadow in this case.
box-shadow: none;
@include linked();
@include linked-side();
&:not(.dialog-action-area) { // make an exception for dialog buttons to look more consistent in Qt environment
entry,
button {
// if we have a box-shadow, buttons look raised while the
// other elements aren't, which looks weird, and we can't really
// fix it, so just drop the box shadow in this case.
box-shadow: none;
@include linked();
@include linked-side();
}
}
}
box.linked.vertical,
box.inline-toolbar.vertical,
buttonbox.linked.vertical {
entry,
button {
box-shadow: none;
@include linked-vertical();
@include linked-side-vertical();
&:not(.dialog-action-area) {
entry,
button {
box-shadow: none;
@include linked-vertical();
@include linked-side-vertical();
}
}
}
......
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