Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Jiří Techet techet@gmail.com Date: Thu, 11 Jul 2024 21:02:49 UTC Commit: bd442db3f08db61263695457d8ca4a3563c2fb6e https://github.com/geany/geany-osx/commit/bd442db3f08db61263695457d8ca4a3563...
Log Message: ----------- Fix minimize/maximize/close theme buttons on Linux
No change on macOS/Windows, this just makes the theme usable on Linux because the title button SVGs aren't distributed with the theme.
Modified Paths: -------------- Prof-Gnome/gtk-3.0/main-dark.css Prof-Gnome/gtk-3.0/main-light.css
Modified: Prof-Gnome/gtk-3.0/main-dark.css 136 lines changed, 5 insertions(+), 131 deletions(-) =================================================================== @@ -6202,10 +6202,11 @@ headerbar button.titlebutton:checked, .titlebar button.titlebutton:active, .titlebar button.titlebutton:checked { - color: transparent; - border-color: transparent; - background-color: transparent; + /*color: transparent;*/ + border-color: @borders; + background-color: @button_color; } +/* headerbar button.titlebutton.restore, headerbar button.titlebutton.close, headerbar button.titlebutton.maximize, @@ -6222,6 +6223,7 @@ headerbar button.titlebutton.minimize, border-width: 0px; border-color: transparent; } +*/ headerbar button.titlebutton.restore:backdrop, headerbar button.titlebutton.close:backdrop, headerbar button.titlebutton.maximize:backdrop, @@ -6233,134 +6235,6 @@ headerbar button.titlebutton.minimize:backdrop, { opacity: 1; } -headerbar button.titlebutton.close, -.titlebar button.titlebutton.close -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons-dark/titlebutton-close.svg"), - url("theme-graphics/title-buttons-dark/titlebutton-close@2.svg")); -} -headerbar button.titlebutton.close:backdrop, -.titlebar button.titlebutton.close:backdrop -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons-dark/titlebutton-close-backdrop.svg"), - url("theme-graphics/title-buttons-dark/titlebutton-close-backdrop@2.svg")); -} -headerbar button.titlebutton.close:hover, -.titlebar button.titlebutton.close:hover -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons-dark/titlebutton-close-hover.svg"), - url("theme-graphics/title-buttons-dark/titlebutton-close-hover@2.svg")); -} -headerbar button.titlebutton.close:active, -.titlebar button.titlebutton.close:active -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons-dark/titlebutton-close-active.svg"), - url("theme-graphics/title-buttons-dark/titlebutton-close-active@2.svg")); -} -headerbar button.titlebutton.maximize, -.titlebar button.titlebutton.maximize -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons-dark/titlebutton-maximize.svg"), - url("theme-graphics/title-buttons-dark/titlebutton-maximize@2.svg")); -} -headerbar button.titlebutton.maximize:backdrop, -.titlebar button.titlebutton.maximize:backdrop -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons-dark/titlebutton-maximize-backdrop.svg"), - url("theme-graphics/title-buttons-dark/titlebutton-maximize-backdrop@2.svg")); -} -headerbar button.titlebutton.maximize:hover, -.titlebar button.titlebutton.maximize:hover -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons-dark/titlebutton-maximize-hover.svg"), - url("theme-graphics/title-buttons-dark/titlebutton-maximize-hover@2.svg")); -} -headerbar button.titlebutton.maximize:active, -.titlebar button.titlebutton.maximize:active -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons-dark/titlebutton-maximize-active.svg"), - url("theme-graphics/title-buttons-dark/titlebutton-maximize-active@2.svg")); -} -headerbar button.titlebutton.minimize, -.titlebar button.titlebutton.minimize -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons-dark/titlebutton-minimize.svg"), - url("theme-graphics/title-buttons-dark/titlebutton-minimize@2.svg")); -} -headerbar button.titlebutton.minimize:backdrop, -.titlebar button.titlebutton.minimize:backdrop -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons-dark/titlebutton-minimize-backdrop.svg"), - url("theme-graphics/title-buttons-dark/titlebutton-minimize-backdrop@2.svg")); -} -headerbar button.titlebutton.minimize:hover, -.titlebar button.titlebutton.minimize:hover -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons-dark/titlebutton-minimize-hover.svg"), - url("theme-graphics/title-buttons-dark/titlebutton-minimize-hover@2.svg")); -} -headerbar button.titlebutton.minimize:active, -.titlebar button.titlebutton.minimize:active -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons-dark/titlebutton-minimize-active.svg"), - url("theme-graphics/title-buttons-dark/titlebutton-minimize-active@2.svg")); -} -headerbar button.titlebutton.restore, -.titlebar button.titlebutton.restore -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons-dark/titlebutton-restore.svg"), - url("theme-graphics/title-buttons-dark/titlebutton-restore@2.svg")); -} -headerbar button.titlebutton.restore:backdrop, -.titlebar button.titlebutton.restore:backdrop -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons-dark/titlebutton-restore-backdrop.svg"), - url("theme-graphics/title-buttons-dark/titlebutton-restore-backdrop@2.svg")); -} -headerbar button.titlebutton.restore:hover, -.titlebar button.titlebutton.restore:hover -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons-dark/titlebutton-restore-hover.svg"), - url("theme-graphics/title-buttons-dark/titlebutton-restore-hover@2.svg")); -} -headerbar button.titlebutton.restore:active, -.titlebar button.titlebutton.restore:active -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons-dark/titlebutton-restore-active.svg"), - url("theme-graphics/title-buttons-dark/titlebutton-restore-active@2.svg")); -} -.fullscreen headerbar button.titlebutton.maximize, -.maximized headerbar button.titlebutton.maximize, -.fullscreen.titlebar button.titlebutton.maximize, -.maximized.titlebar button.titlebutton.maximize -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons-dark/titlebutton-maximize.svg"), - url("theme-graphics/title-buttons-dark/titlebutton-maximize@2.svg")); -} -.fullscreen headerbar button.titlebutton.maximize:backdrop, -.maximized headerbar button.titlebutton.maximize:backdrop, -.fullscreen.titlebar button.titlebutton.maximize:backdrop, -.maximized.titlebar button.titlebutton.maximize:backdrop -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons-dark/titlebutton-maximize-backdrop.svg"), - url("theme-graphics/title-buttons-dark/titlebutton-maximize-backdrop@2.svg")); -} -.fullscreen headerbar button.titlebutton.maximize:hover, -.maximized headerbar button.titlebutton.maximize:hover, -.fullscreen.titlebar button.titlebutton.maximize:hover, -.maximized.titlebar button.titlebutton.maximize:hover -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons-dark/titlebutton-restore-hover.svg"), - url("theme-graphics/title-buttons-dark/titlebutton-restore-hover@2.svg")); -} -.fullscreen headerbar button.titlebutton.maximize:active, -.maximized headerbar button.titlebutton.maximize:active, -.fullscreen.titlebar button.titlebutton.maximize:active, -.maximized.titlebar button.titlebutton.maximize:active -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons-dark/titlebutton-restore-active.svg"), - url("theme-graphics/title-buttons-dark/titlebutton-restore-active@2.svg")); -} /*((((((((( changes for rounded frames))))))) */ separator.sidebar
Modified: Prof-Gnome/gtk-3.0/main-light.css 136 lines changed, 5 insertions(+), 131 deletions(-) =================================================================== @@ -6185,10 +6185,11 @@ headerbar button.titlebutton:checked, .titlebar button.titlebutton:active, .titlebar button.titlebutton:checked { - color: transparent; - border-color: transparent; - background-color: transparent; + /*color: transparent;*/ + border-color: @borders; + background-color: @button_color; } +/* headerbar button.titlebutton.restore, headerbar button.titlebutton.close, headerbar button.titlebutton.maximize, @@ -6205,6 +6206,7 @@ headerbar button.titlebutton.minimize, border-width: 0px; border-color: transparent; } +*/ headerbar button.titlebutton.restore:backdrop, headerbar button.titlebutton.close:backdrop, headerbar button.titlebutton.maximize:backdrop, @@ -6216,134 +6218,6 @@ headerbar button.titlebutton.minimize:backdrop, { opacity: 1; } -headerbar button.titlebutton.close, -.titlebar button.titlebutton.close -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons/titlebutton-close.svg"), - url("theme-graphics/title-buttons/titlebutton-close@2.svg")); -} -headerbar button.titlebutton.close:backdrop, -.titlebar button.titlebutton.close:backdrop -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons/titlebutton-close-backdrop.svg"), - url("theme-graphics/title-buttons/titlebutton-close-backdrop@2.svg")); -} -headerbar button.titlebutton.close:hover, -.titlebar button.titlebutton.close:hover -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons/titlebutton-close-hover.svg"), - url("theme-graphics/title-buttons/titlebutton-close-hover@2.svg")); -} -headerbar button.titlebutton.close:active, -.titlebar button.titlebutton.close:active -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons/titlebutton-close-active.svg"), - url("theme-graphics/title-buttons/titlebutton-close-active@2.svg")); -} -headerbar button.titlebutton.maximize, -.titlebar button.titlebutton.maximize -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons/titlebutton-maximize.svg"), - url("theme-graphics/title-buttons/titlebutton-maximize@2.svg")); -} -headerbar button.titlebutton.maximize:backdrop, -.titlebar button.titlebutton.maximize:backdrop -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons/titlebutton-maximize-backdrop.svg"), - url("theme-graphics/title-buttons/titlebutton-maximize-backdrop@2.svg")); -} -headerbar button.titlebutton.maximize:hover, -.titlebar button.titlebutton.maximize:hover -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons/titlebutton-maximize-hover.svg"), - url("theme-graphics/title-buttons/titlebutton-maximize-hover@2.svg")); -} -headerbar button.titlebutton.maximize:active, -.titlebar button.titlebutton.maximize:active -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons/titlebutton-maximize-active.svg"), - url("theme-graphics/title-buttons/titlebutton-maximize-active@2.svg")); -} -headerbar button.titlebutton.minimize, -.titlebar button.titlebutton.minimize -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons/titlebutton-minimize.svg"), - url("theme-graphics/title-buttons/titlebutton-minimize@2.svg")); -} -headerbar button.titlebutton.minimize:backdrop, -.titlebar button.titlebutton.minimize:backdrop -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons/titlebutton-minimize-backdrop.svg"), - url("theme-graphics/title-buttons/titlebutton-minimize-backdrop@2.svg")); -} -headerbar button.titlebutton.minimize:hover, -.titlebar button.titlebutton.minimize:hover -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons/titlebutton-minimize-hover.svg"), - url("theme-graphics/title-buttons/titlebutton-minimize-hover@2.svg")); -} -headerbar button.titlebutton.minimize:active, -.titlebar button.titlebutton.minimize:active -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons/titlebutton-minimize-active.svg"), - url("theme-graphics/title-buttons/titlebutton-minimize-active@2.svg")); -} -headerbar button.titlebutton.restore, -.titlebar button.titlebutton.restore -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons/titlebutton-restore.svg"), - url("theme-graphics/title-buttons/titlebutton-restore@2.svg")); -} -headerbar button.titlebutton.restore:backdrop, -.titlebar button.titlebutton.restore:backdrop -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons/titlebutton-restore-backdrop.svg"), - url("theme-graphics/title-buttons/titlebutton-restore-backdrop@2.svg")); -} -headerbar button.titlebutton.restore:hover, -.titlebar button.titlebutton.restore:hover -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons/titlebutton-restore-hover.svg"), - url("theme-graphics/title-buttons/titlebutton-restore-hover@2.svg")); -} -headerbar button.titlebutton.restore:active, -.titlebar button.titlebutton.restore:active -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons/titlebutton-restore-active.svg"), - url("theme-graphics/title-buttons/titlebutton-restore-active@2.svg")); -} -.fullscreen headerbar button.titlebutton.maximize, -.maximized headerbar button.titlebutton.maximize, -.fullscreen.titlebar button.titlebutton.maximize, -.maximized.titlebar button.titlebutton.maximize -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons/titlebutton-maximize.svg"), - url("theme-graphics/title-buttons/titlebutton-maximize@2.svg")); -} -.fullscreen headerbar button.titlebutton.maximize:backdrop, -.maximized headerbar button.titlebutton.maximize:backdrop, -.fullscreen.titlebar button.titlebutton.maximize:backdrop, -.maximized.titlebar button.titlebutton.maximize:backdrop -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons/titlebutton-maximize-backdrop.svg"), - url("theme-graphics/title-buttons/titlebutton-maximize-backdrop@2.svg")); -} -.fullscreen headerbar button.titlebutton.maximize:hover, -.maximized headerbar button.titlebutton.maximize:hover, -.fullscreen.titlebar button.titlebutton.maximize:hover, -.maximized.titlebar button.titlebutton.maximize:hover -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons/titlebutton-restore-hover.svg"), - url("theme-graphics/title-buttons/titlebutton-restore-hover@2.svg")); -} -.fullscreen headerbar button.titlebutton.maximize:active, -.maximized headerbar button.titlebutton.maximize:active, -.fullscreen.titlebar button.titlebutton.maximize:active, -.maximized.titlebar button.titlebutton.maximize:active -{ - background-image: -gtk-scaled(url("theme-graphics/title-buttons/titlebutton-restore-active.svg"), - url("theme-graphics/title-buttons/titlebutton-restore-active@2.svg")); -} /*((((((((( changes for rounded frames))))))) */ separator.sidebar
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).