mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
gtk-ng: fix up background of resize and url overlays (#8089)
PR #8088 had the unexpected side-effect of making the resize and url overlays transparent as well. This PR fixes that.
This commit is contained in:
@ -29,12 +29,12 @@ label.url-overlay.right {
|
|||||||
/*
|
/*
|
||||||
* GhosttySurface resize overlay
|
* GhosttySurface resize overlay
|
||||||
*/
|
*/
|
||||||
.size-overlay label {
|
label.resize-overlay {
|
||||||
padding: 4px 8px 4px 8px;
|
padding: 4px 8px 4px 8px;
|
||||||
border-radius: 6px 6px 6px 6px;
|
border-radius: 6px 6px 6px 6px;
|
||||||
outline-style: solid;
|
outline-style: solid;
|
||||||
outline-width: 1px;
|
|
||||||
outline-color: #555555;
|
outline-color: #555555;
|
||||||
|
outline-width: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -11,6 +11,11 @@ template $GhosttyResizeOverlay: Adw.Bin {
|
|||||||
// See surface.blp for why we need to wrap this.
|
// See surface.blp for why we need to wrap this.
|
||||||
Adw.Bin {
|
Adw.Bin {
|
||||||
Label label {
|
Label label {
|
||||||
|
styles [
|
||||||
|
"background",
|
||||||
|
"resize-overlay",
|
||||||
|
]
|
||||||
|
|
||||||
focusable: false;
|
focusable: false;
|
||||||
focus-on-click: false;
|
focus-on-click: false;
|
||||||
justify: center;
|
justify: center;
|
||||||
|
@ -47,15 +47,12 @@ template $GhosttySurface: Adw.Bin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
[overlay]
|
[overlay]
|
||||||
$GhosttyResizeOverlay resize_overlay {
|
$GhosttyResizeOverlay resize_overlay {}
|
||||||
styles [
|
|
||||||
"size-overlay",
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
[overlay]
|
[overlay]
|
||||||
Label url_left {
|
Label url_left {
|
||||||
styles [
|
styles [
|
||||||
|
"background",
|
||||||
"url-overlay",
|
"url-overlay",
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -73,6 +70,7 @@ template $GhosttySurface: Adw.Bin {
|
|||||||
[overlay]
|
[overlay]
|
||||||
Label url_right {
|
Label url_right {
|
||||||
styles [
|
styles [
|
||||||
|
"background",
|
||||||
"url-overlay",
|
"url-overlay",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user