-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
decorations: add support for gtk4 applications
- Loading branch information
Showing
18 changed files
with
155 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
window headerbar:not(.selection-mode), | ||
window .titlebar:not(.selection-mode) { | ||
padding-left: 0; | ||
} | ||
|
||
window headerbar ~ headerbar:not(.selection-mode), | ||
window headerbar ~ .titlebar:not(.selection-mode), | ||
window .titlebar ~ .titlebar:not(.selection-mode), | ||
window .titlebar ~ headerbar:not(.selection-mode) { | ||
padding-left: 6px; | ||
} | ||
|
||
window headerbar windowcontrols.start, | ||
window .titlebar windowcontrols.start { | ||
margin: 0 0 0 -200px; | ||
opacity: 0; | ||
} | ||
|
||
window .titlebar.default-decoration { | ||
margin: -200px 0 0; | ||
opacity: 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@import "maximized.css"; | ||
@import "tiled.css"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
.maximized headerbar:not(.selection-mode), | ||
.maximized .titlebar:not(.selection-mode) { | ||
padding-left: 0; | ||
} | ||
|
||
.maximized headerbar ~ headerbar:not(.selection-mode), | ||
.maximized headerbar ~ .titlebar:not(.selection-mode), | ||
.maximized .titlebar ~ .titlebar:not(.selection-mode), | ||
.maximized .titlebar ~ headerbar:not(.selection-mode) { | ||
padding-left: 6px; | ||
} | ||
|
||
.maximized headerbar windowcontrols.start, | ||
.maximized .titlebar windowcontrols.start { | ||
margin: 0 0 0 -200px; | ||
opacity: 0; | ||
} | ||
|
||
.maximized .titlebar.default-decoration { | ||
margin: -200px 0 0; | ||
opacity: 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
.tiled headerbar:not(.selection-mode), | ||
.tiled .titlebar:not(.selection-mode) { | ||
padding-left: 0; | ||
} | ||
|
||
.tiled headerbar ~ headerbar:not(.selection-mode), | ||
.tiled headerbar ~ .titlebar:not(.selection-mode), | ||
.tiled .titlebar ~ .titlebar:not(.selection-mode), | ||
.tiled .titlebar ~ headerbar:not(.selection-mode) { | ||
padding-left: 6px; | ||
} | ||
|
||
.tiled headerbar windowcontrols.start, | ||
.tiled .titlebar windowcontrols.start { | ||
margin: 0 0 0 -200px; | ||
opacity: 0; | ||
} | ||
|
||
.tiled .titlebar.default-decoration { | ||
margin: -200px 0 0; | ||
opacity: 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
window > headerbar:not(.selection-mode), | ||
window > .titlebar:not(.selection-mode), | ||
window > headerbar > headerbar:not(.selection-mode), | ||
window > .titlebar > .titlebar:not(.selection-mode), | ||
window > .titlebar > stack > headerbar:not(.selection-mode), | ||
window headerbar:last-child:not(.selection-mode), | ||
window .titlebar:last-child:not(.selection-mode) { | ||
padding-right: 0; | ||
} | ||
|
||
window headerbar windowcontrols.end, | ||
window .titlebar windowcontrols.end { | ||
margin: 0 -200px 0 0; | ||
opacity: 0; | ||
} | ||
|
||
window .titlebar.default-decoration { | ||
margin: -200px 0 0; | ||
opacity: 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@import "maximized.css"; | ||
@import "tiled.css"; |
20 changes: 20 additions & 0 deletions
20
unite@hardpixel.eu/styles/gtk4/buttons-right/maximized.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
.maximized > headerbar:not(.selection-mode), | ||
.maximized > .titlebar:not(.selection-mode), | ||
.maximized > headerbar > headerbar:not(.selection-mode), | ||
.maximized > .titlebar > .titlebar:not(.selection-mode), | ||
.maximized > .titlebar > stack > headerbar:not(.selection-mode), | ||
.maximized headerbar:last-child:not(.selection-mode), | ||
.maximized .titlebar:last-child:not(.selection-mode) { | ||
padding-right: 0; | ||
} | ||
|
||
.maximized headerbar windowcontrols.end, | ||
.maximized .titlebar windowcontrols.end { | ||
margin: 0 -200px 0 0; | ||
opacity: 0; | ||
} | ||
|
||
.maximized .titlebar.default-decoration { | ||
margin: -200px 0 0; | ||
opacity: 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
.tiled > headerbar:not(.selection-mode), | ||
.tiled > .titlebar:not(.selection-mode), | ||
.tiled > headerbar > headerbar:not(.selection-mode), | ||
.tiled > .titlebar > .titlebar:not(.selection-mode), | ||
.tiled > .titlebar > stack > headerbar:not(.selection-mode), | ||
.tiled headerbar:last-child:not(.selection-mode), | ||
.tiled .titlebar:last-child:not(.selection-mode) { | ||
padding-right: 0; | ||
} | ||
|
||
.tiled headerbar windowcontrols.end, | ||
.tiled .titlebar windowcontrols.end { | ||
margin: 0 -200px 0 0; | ||
opacity: 0; | ||
} | ||
|
||
.tiled .titlebar.default-decoration { | ||
margin: -200px 0 0; | ||
opacity: 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters