Last active
October 17, 2024 15:48
-
-
Save Toxblh/41985b58098ac246046508cef8ceee43 to your computer and use it in GitHub Desktop.
MacOS like style for GTK3 and GTK4 window actions. Download and move to ~/.config/gtk-4.0/gtk.css
This file contains hidden or 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
windowcontrols >* { | |
transition: all 0.1s; | |
} | |
windowcontrols > .close { | |
margin-left: -6px; | |
} | |
windowcontrols > .minimize { | |
margin-left: -6px; | |
} | |
windowcontrols > .maximize { | |
margin-left: -6px; | |
} | |
windowcontrols > .close > image { | |
transform: scale(0.7); | |
color: rgba(115, 0, 0, 0); | |
background-color: #ff5f57; | |
border: solid 0.5px #e34239; | |
} | |
windowcontrols > .minimize > image { | |
transform: scale(0.7); | |
color: rgba(152, 86, 0, 0); | |
background-color: #febb2e; | |
border: solid 0.5px #e19d1a; | |
} | |
windowcontrols > .maximize > image { | |
transform: scale(0.7); | |
color: rgba(0, 98, 0, 0); | |
background-color: #2bc840; | |
border: solid 0.5px #1da922; | |
} | |
windowcontrols:Hover > .close > image { | |
color: rgba(115, 0, 0, 1); | |
} | |
windowcontrols:Hover > .minimize > image { | |
color: rgba(152, 86, 0, 1); | |
} | |
windowcontrols:Hover > .maximize > image { | |
color: rgba(0, 98, 0, 1); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
And preview