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
e49bf28d
Commit
e49bf28d
authored
May 17, 2022
by
Artem Grinev
Committed by
Nate Graham
May 18, 2022
Browse files
GTK3,4: Follow Breeze KDecoration border radius
parent
2bcd3325
Changes
6
Hide whitespace changes
Inline
Side-by-side
src/gtk3/widgets/_headerbar.scss
View file @
e49bf28d
...
...
@@ -8,7 +8,7 @@
headerbar
{
padding
:
0px
6px
;
border-width
:
0px
0px
1px
0px
;
border-radius
:
3
px
3
px
0px
0px
;
border-radius
:
6
px
6
px
0px
0px
;
border-style
:
solid
;
border-color
:
gtk
(
"@borders"
);
color
:
gtk
(
"@theme_titlebar_foreground"
);
...
...
src/gtk3/widgets/_libhandy.scss
View file @
e49bf28d
...
...
@@ -176,3 +176,12 @@ viewswitcherbar {
padding
:
0
;
}
}
window
.unified
{
border-radius
:
6px
;
&
.maximized
,
&
.fullscreen
,
&
.tiled
{
border-radius
:
0
;
}
}
src/gtk3/widgets/_window_decorations.scss
View file @
e49bf28d
...
...
@@ -8,7 +8,7 @@ decoration {
$shadow
:
rgba
(
0
,
0
,
0
,
0
.5
);
//border: 1px solid transparent;
border-radius
:
$r
$r
0
0
;
border-radius
:
6px
6px
0
0
;
border-width
:
0px
;
box-shadow
:
0px
0px
16px
$shadow
,
0px
2px
8px
scale-color
(
$shadow
,
$alpha
:
-40%
);
...
...
@@ -30,7 +30,7 @@ decoration {
box-shadow
:
0
2px
6px
1px
rgba
(
0
,
0
,
0
,
0
.1
);
}
.csd
&
{
border-radius
:
$r
;
border-radius
:
6px
;
&
.popup
{
box-shadow
:
2px
2px
2px
1px
rgba
(
0
,
0
,
0
,
0
.1
);
}
...
...
src/gtk4/widgets/_headerbar.scss
View file @
e49bf28d
...
...
@@ -8,7 +8,7 @@
headerbar
{
padding
:
0px
6px
;
border-width
:
0px
0px
1px
0px
;
border-radius
:
3
px
3
px
0px
0px
;
border-radius
:
6
px
6
px
0px
0px
;
border-style
:
solid
;
border-color
:
gtk
(
"@borders"
);
color
:
gtk
(
"@theme_titlebar_foreground"
);
...
...
src/gtk4/widgets/_libhandy.scss
View file @
e49bf28d
...
...
@@ -63,3 +63,12 @@ headerbar hdyviewswitcher > button:checked > stack {
border-bottom
:
3px
solid
gtk
(
"@theme_button_decoration_focus"
);
}
window
.unified
{
border-radius
:
6px
;
&
.maximized
,
&
.fullscreen
,
&
.tiled
{
border-radius
:
0
;
}
}
src/gtk4/widgets/_window_decorations.scss
View file @
e49bf28d
...
...
@@ -9,7 +9,7 @@ window {
$shadow
:
rgba
(
0
,
0
,
0
,
0
.5
);
//border: 1px solid transparent;
border-radius
:
$r
$r
0
0
;
border-radius
:
6px
6px
0
0
;
border-width
:
0px
;
box-shadow
:
0px
0px
16px
$shadow
,
0px
2px
8px
scale-color
(
$shadow
,
$alpha
:
-40%
);
...
...
@@ -34,7 +34,7 @@ window {
box-shadow
:
0
2px
6px
1px
rgba
(
0
,
0
,
0
,
0
.1
);
}
.csd
&
{
border-radius
:
$r
;
border-radius
:
6px
;
&
.popup
{
box-shadow
:
2px
2px
2px
1px
rgba
(
0
,
0
,
0
,
0
.1
);
}
...
...
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