make close window button change color on hover

This commit is contained in:
halfmexican 2022-09-20 11:32:43 -05:00 committed by GitHub
parent ce5de1eb4d
commit 1113a1c9ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -101,7 +101,7 @@
}
},
"custom_css": {
"gtk4": "\nwindowcontrols image {\n background-color: transparent;\n}\n \n/* If you want to keep the circles when you hover: */\nwindowcontrols image:hover {\n background-color: alpha(@headerbar_fg_color, 0.10);\n}\n\n/* When the buttons are pushed down: */\nwindowcontrols image:active {\n background-color: alpha(@headerbar_fg_color, 0.16);\n}\n\nheaderbar windowcontrols button.close image {\n background-color: #f28c2a;\n}\n\nheaderbar:backdrop windowcontrols button.close image {\n background-color: transparent;\n}\n\nswitch slider {\n\tbackground-color: #363636;\n}\n\ncheckbutton check:checked{\n\tcolor: #363636;\n}\n\n\n\n\n\n\n",
"gtk4": "\nwindowcontrols image {\n background-color: transparent;\n}\n \n/* If you want to keep the circles when you hover: */\nwindowcontrols image:hover {\n background-color: alpha(@headerbar_fg_color, 0.10);\n}\n\n/* When the buttons are pushed down: */\nwindowcontrols image:active {\n background-color: alpha(@headerbar_fg_color, 0.16);\n}\n\nheaderbar windowcontrols button.close image {\n background-color: #f28c2a;\n}\n\nheaderbar windowcontrols button.close image:hover {\n background-color: #5e5e5e;\n}\n\nheaderbar:backdrop windowcontrols button.close image {\n background-color: transparent;\n}\n\nheaderbar:backdrop windowcontrols button.close image:hover {\n background-color: alpha(@headerbar_fg_color, 0.10);\n}\n\nswitch slider {\n\tbackground-color: #363636;\n}\n\ncheckbutton check:checked{\n\tcolor: #363636;\n}\n\n\n\n\n\n\n",
"gtk3": ""
}
}
}