[geany/geany-osx] a9e94c: Disable box-shadow around enabled inline-toolbar icon

Jiří Techet git-noreply at xxxxx
Tue Nov 16 22:58:12 UTC 2021


Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Jiří Techet <techet at gmail.com>
Date:        Tue, 16 Nov 2021 22:58:12 UTC
Commit:      a9e94cca26e19c5f5771fb98d272a9817027b3d0
             https://github.com/geany/geany-osx/commit/a9e94cca26e19c5f5771fb98d272a9817027b3d0

Log Message:
-----------
Disable box-shadow around enabled inline-toolbar icon

For some reason, it gets re-painted when scrolling in the sidebar and slows
down scrolling. The enabled button is for instance in the Project Organizer
plugin.


Modified Paths:
--------------
    Prof-Gnome/gtk-dark.css
    Prof-Gnome/gtk.css

Modified: Prof-Gnome/gtk-dark.css
3 lines changed, 1 insertions(+), 2 deletions(-)
===================================================================
@@ -615,7 +615,7 @@ button:checked{
   color:white;
   background-image: linear-gradient(to top,#595959,#626262);
   /*background-image: linear-gradient(to bottom,#858585,#727272);*/
-  box-shadow: /*inset 0 1px rgba(255, 255, 255, 0.2),*/ 0 1px 2px rgba(0, 0, 0, 0.1); }
+}
   
 /*button:checked:hover { 
 
@@ -1320,7 +1320,6 @@ stacksidebar row.needs-attention > label:dir(rtl) {
   border-color: #484848; 
   border-bottom-color: #353535; 
   background-image: image(#1e1e1e); 
-  box-shadow: inset 0 1px rgba(255, 255, 255, 0); 
   text-shadow: none; 
   -gtk-icon-shadow: none;}
  


Modified: Prof-Gnome/gtk.css
4 lines changed, 1 insertions(+), 3 deletions(-)
===================================================================
@@ -609,8 +609,7 @@ button:checked{
   border-color: #d2d2d2;/*#1b6acb; */
   border-bottom-color: #d2d2d2; 
   color:white;
-  background-image: linear-gradient(to bottom,#858585,#727272);
-  box-shadow: /*inset 0 1px rgba(255, 255, 255, 0.2),*/ 0 1px 2px rgba(0, 0, 0, 0.1); }
+  background-image: linear-gradient(to bottom,#858585,#727272); }
   
 /*button:checked:hover { 
 
@@ -1303,7 +1302,6 @@ stacksidebar row.needs-attention > label:dir(rtl) {
   outline-color: rgba(46, 52, 54, 0.3); 
   border-color: #cdcdcd; 
   background-image: image(#d6d1cd); 
-  box-shadow: inset 0 1px rgba(255, 255, 255, 0); 
   -gtk-icon-shadow: none; }
 
 .inline-toolbar toolbutton > button:disabled { 



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list