Skip to content

Commit

Permalink
fixed background color of "QuickFolders" label in toolbar.
Browse files Browse the repository at this point in the history
  • Loading branch information
RealRaven2000 committed Aug 7, 2023
1 parent 7371986 commit fb20e02
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions chrome/content/quickfolders-interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -6244,10 +6244,11 @@ QuickFolders.Interface = {
avoidCurrentFolder = ""; // = ':not(#QuickFoldersCurrentFolder)'; // we omit paletteClass for uncolored tabs:

// transparent buttons: means translucent background! :))
if (prefs.getBoolPref("transparentButtons"))
if (prefs.getBoolPref("transparentButtons")) {
inactiveBackground = util.getRGBA(inactiveBackground, 0.25) ;
}

engine.setElementStyle(ss, ".quickfolders-flat toolbarbutton","background-color", inactiveBackground, true);
engine.setElementStyle(ss, ".quickfolders-flat toolbarbutton","background-color", inactiveBackground, false);
engine.setElementStyle(ss, ".quickfolders-flat toolbarbutton#QuickFoldersCurrentFolder","background-color", inactiveBackground, true);

// INACTIVE STATE (PALETTE) FOR UNCOLORED TABS ONLY
Expand Down

0 comments on commit fb20e02

Please sign in to comment.