Composer - change toolbar icon color

User Help for Seamonkey and Mozilla Suite
Post Reply
clusterx
Posts: 3
Joined: October 24th, 2022, 7:22 am

Composer - change toolbar icon color

Post by clusterx »

I use a dark theme (KDE plasma) in the SM editor (composer) the icons of the toolbar actions (bold, center etc) are dark blue and hardly recognizable ...
is there any way to change the toolbar icon (symbol color) e.g. too grey?
Anonymosity
Posts: 8779
Joined: May 7th, 2007, 12:07 pm

Re: Composer - change toolbar icon color

Post by Anonymosity »

I vaguely remember having a similar problem with one (or more) of my third party themes. I changed the background colour of the toolbar. I opened the .xpi file with an archive handler, found the stylesheet that controlled the colours of that window and changed the colours, then put the stylesheet back, saved the .xpi file and installed the theme manually. I think that the toolbar colour is set in the editor directory in the .xpi file. That way would be easier than redoing all the buttons.
User avatar
Frank Lion
Posts: 21172
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom
Contact:

Re: Composer - change toolbar icon color

Post by Frank Lion »

clusterx wrote:...
is there any way to change the toolbar icon (symbol color) e.g. too grey?
Yep. Have a read of this first - http://forums.mozillazine.org/viewtopic ... #p14789746

Then, when you're ready, I'll do the userChrome.css code for you.
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
clusterx
Posts: 3
Joined: October 24th, 2022, 7:22 am

Re: Composer - change toolbar icon color

Post by clusterx »

Frank Lion wrote:
clusterx wrote:...
is there any way to change the toolbar icon (symbol color) e.g. too grey?
Yep. Have a read of this first - http://forums.mozillazine.org/viewtopic ... #p14789746

Then, when you're ready, I'll do the userChrome.css code for you.

Thank you!
OK, I have added following into my userChrome.css

Code: Select all

@import "./css/buttons/icons_white_icons.css";
but icon buttons still show default blue colours
User avatar
Frank Lion
Posts: 21172
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom
Contact:

Re: Composer - change toolbar icon color

Post by Frank Lion »

clusterx wrote: Thank you!
No problem.

The simplest fix is just to change the colour of the Format Bar, code going below the namespace line -

Code: Select all

/*Franks Change Format bar Colour...*/
#FormatToolbar {
	-moz-appearance: none !important;
	background-color: red /*#BDC8D5*/ !important;
	background-image: none !important;}
	
But this one is far more amusing, if you want to keep your dark toolbar there -

Code: Select all

/*Franks Invert Toolbar Button Colours (Format Toolbar) */
toolbarbutton:not(#decreaseZIndexButton):not(#increaseZIndexButton).formatting-button {
	filter: invert(1) !important;}	
but icon buttons still show default blue colours
I haven't looked at your path, but import urls always go above the namespace line.
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
clusterx
Posts: 3
Joined: October 24th, 2022, 7:22 am

Re: Composer - change toolbar icon color

Post by clusterx »

Frank Lion wrote:
clusterx wrote: Thank you!
No problem.

The simplest fix is just to change the colour of the Format Bar, code going below the namespace line -

Code: Select all

/*Franks Change Format bar Colour...*/
#FormatToolbar {
	-moz-appearance: none !important;
	background-color: red /*#BDC8D5*/ !important;
	background-image: none !important;}
	
But this one is far more amusing, if you want to keep your dark toolbar there -

Code: Select all

/*Franks Invert Toolbar Button Colours (Format Toolbar) */
toolbarbutton:not(#decreaseZIndexButton):not(#increaseZIndexButton).formatting-button {
	filter: invert(1) !important;}	
but icon buttons still show default blue colours
I haven't looked at your path, but import urls always go above the namespace line.
wow great, thank you very much!
Post Reply