Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Breeze for GTK
Commits
f1ef6237
Commit
f1ef6237
authored
May 14, 2022
by
Artem Grinev
Committed by
Nate Graham
May 17, 2022
Browse files
GTK3,4: Unlink dialog buttons
parent
85e2a842
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/gtk3/widgets/_button.scss
View file @
f1ef6237
...
...
@@ -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
();
}
}
}
...
...
src/gtk4/widgets/_button.scss
View file @
f1ef6237
...
...
@@ -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
();
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment