Change Epyrus menu bar colour

Board for discussions around the Epyrus mail and news client.

Moderator: athenian200

User avatar
MrD2018
Hobby Astronomer
Hobby Astronomer
Posts: 16
Joined: 2018-07-03, 15:32

Change Epyrus menu bar colour

Unread post by MrD2018 » 2024-02-05, 22:14

In Epyrus (2.1.2, Windows 10 64bit), is there a way to change the colour of the menu bar so it is a different colour from the title bar?

User avatar
athenian200
Contributing developer
Contributing developer
Posts: 1537
Joined: 2018-10-28, 19:56
Location: Georgia

Re: Change Epyrus menu bar colour

Unread post by athenian200 » 2024-02-05, 22:16

MrD2018 wrote:
2024-02-05, 22:14
In Epyrus (2.1.2, Windows 10 64bit), is there a way to change the colour of the menu bar so it is a different colour from the title bar?
I believe some Epyrus themes can do that as part of theming the e-mail client, but I'm not sure if there's a way for users to do that manually out of the box.
"The Athenians, however, represent the unity of these opposites; in them, mind or spirit has emerged from the Theban subjectivity without losing itself in the Spartan objectivity of ethical life. With the Athenians, the rights of the State and of the individual found as perfect a union as was possible at all at the level of the Greek spirit." -- Hegel's philosophy of Mind

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35650
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Change Epyrus menu bar colour

Unread post by Moonchild » 2024-02-05, 22:31

ClassicTB2 for Epyrus does this, at least.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
gabrgv
Hobby Astronomer
Hobby Astronomer
Posts: 17
Joined: 2023-10-28, 18:59

Re: Change Epyrus menu bar colour

Unread post by gabrgv » 2024-02-06, 03:06

Put this in your userChrome.css file:

Code: Select all

.toolbox-top menubar, .toolbox-top toolbarspring {
  background: red;
}
and change “red” to the color you want.

I don’t know if it works on Windows though, I did it on Linux.

Probably someone with more knowledge would suggest a better solution.

User avatar
MrD2018
Hobby Astronomer
Hobby Astronomer
Posts: 16
Joined: 2018-07-03, 15:32

Re: Change Epyrus menu bar colour

Unread post by MrD2018 » 2024-02-06, 14:18

gabrgv wrote:
2024-02-06, 03:06
Put this in your userChrome.css file:

Code: Select all

.toolbox-top menubar, .toolbox-top toolbarspring {
  background: red;
}
and change “red” to the color you want.

I don’t know if it works on Windows though, I did it on Linux.

Probably someone with more knowledge would suggest a better solution.
Where is the userChrome.css file located?

User avatar
gabrgv
Hobby Astronomer
Hobby Astronomer
Posts: 17
Joined: 2023-10-28, 18:59

Re: Change Epyrus menu bar colour

Unread post by gabrgv » 2024-02-06, 14:51

MrD2018 wrote:
2024-02-06, 14:18
Where is the userChrome.css file located?
I guess on Windows it is here:

Code: Select all

C:\users\{username}\AppData\Roaming\athenian200\Epyrus\Profiles\{profile folder}\chrome\userChrome.css
1. The “profile folder” will be something like this: “evdbqg8t.default”;
2. If there is no “chrome” folder, create it, and inside of there create a text file named “userChrome.css” and write that code in it.

User avatar
JoeyG
Astronaut
Astronaut
Posts: 655
Joined: 2017-06-12, 13:27
Location: How can you be in two places at once, when you're not anywhere at all?

Re: Change Epyrus menu bar colour

Unread post by JoeyG » 2024-02-06, 19:22

MrD2018 wrote:
2024-02-06, 14:18
gabrgv wrote:
2024-02-06, 03:06
Put this in your userChrome.css file:

Code: Select all

.toolbox-top menubar, .toolbox-top toolbarspring {
  background: red;
}
and change “red” to the color you want.

I don’t know if it works on Windows though, I did it on Linux.
Image
"And you can believe me because I never lie - and I'm always right."
(Asserted by George Leroy Tirebiter* and my wife; only the latter is telling the truth.)
*Firesign Theater version

User avatar
JoeyG
Astronaut
Astronaut
Posts: 655
Joined: 2017-06-12, 13:27
Location: How can you be in two places at once, when you're not anywhere at all?

Re: Change Epyrus menu bar colour

Unread post by JoeyG » 2024-02-06, 19:40

Please ignore my previous post

Image

I had omitted the initial "." in the code. :oops:
"And you can believe me because I never lie - and I'm always right."
(Asserted by George Leroy Tirebiter* and my wife; only the latter is telling the truth.)
*Firesign Theater version

User avatar
Bilbo47
Fanatic
Fanatic
Posts: 240
Joined: 2017-11-18, 04:24

Re: Change Epyrus menu bar colour

Unread post by Bilbo47 » 2024-02-06, 23:47

That's a nice color scheme :) My tools tell me the menubar background is #E1EAE9
It matches posts/comments here on phpBB and it looks like ==>[this text here]<== which will look invisible, yet still be selectable.

For convenience, here is how to get alternating colors in the message list in 2.1.2:

Code: Select all

#threadTree treechildren::-moz-tree-row(odd) {
   -moz-appearance: none !important;
   background-color: rgb(232,232,232) !important; 
}
Next, to find how to do the same in the account list.

User avatar
JoeyG
Astronaut
Astronaut
Posts: 655
Joined: 2017-06-12, 13:27
Location: How can you be in two places at once, when you're not anywhere at all?

Re: Change Epyrus menu bar colour

Unread post by JoeyG » 2024-02-07, 04:37

What's the 'account list'?
"And you can believe me because I never lie - and I'm always right."
(Asserted by George Leroy Tirebiter* and my wife; only the latter is telling the truth.)
*Firesign Theater version

User avatar
JoeyG
Astronaut
Astronaut
Posts: 655
Joined: 2017-06-12, 13:27
Location: How can you be in two places at once, when you're not anywhere at all?

Re: Change Epyrus menu bar colour

Unread post by JoeyG » 2024-02-07, 12:51

If anyone's interested, here's the entire code for my userChrome.css file. Feel free to use or modify it as you please.

Code: Select all

/*
 * Edit this file and copy it as userChrome.css into your
 * profile-directory/chrome/
 */

/*
 * This file can be used to customize the look of Mozilla's user interface
 * You should consider using !important on rules which you want to
 * override default settings.
 */
/* Original Ver Global UI font
*{ font-size: 9.5pt !important;
  font-family: Verdana Bold !important;
}*/

/*Tahoma Global UI font in bold*/
*{ font-size: 9.5pt !important;
  font-family: Tahoma !important;
  font-weight: bold !important;
}
/*
 * Do not remove the @namespace line -- it's required for correct functioning
 */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */

#threadTree > treechildren::-moz-tree-cell-text(unread) {
color: #0000DF !important;
font-weight: bold !important;
}

#threadTree > treechildren::-moz-tree-cell-text(read) {
color: #000000 !important;
font-weight: bold !important;
}

#threadTree > treechildren::-moz-tree-cell-text(selected, read) {
-moz-appearance: none !important;
color: #FFFFFF !important;
font-weight: bold !important;
}

/*  Ff & Tb - list box alternating row bg colors  */



/* ========== info start ========== */

/*

- sets background colors for alternating rows in tree-based list boxes

*/

/* ========== info end ========== */

/* ========== code start ========== */

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

treechildren::-moz-tree-row(even),

treechildren:hover::-moz-tree-row(even) {

	background-color: #E1EAE8 !important;

	}

treechildren::-moz-tree-row(selected),

treechildren:hover::-moz-tree-row(selected) {

		background-color: -moz-Dialog !important;

	}

treechildren::-moz-tree-cell-text(selected),

treechildren:hover::-moz-tree-cell-text(selected) {

	color: -moz-DialogText !important;

	}

treechildren::-moz-tree-row(selected, focus),

treechildren:hover::-moz-tree-row(selected, focus) {

	background-color: Highlight !important;

	}

treechildren::-moz-tree-cell-text(selected, focus),

treechildren:hover::-moz-tree-cell-text(selected, focus) {

	color: HighlightText !important;
	
	}
	
.toolbox-top menubar, .toolbox-top toolbarspring {
  
background-color: #E1EAE8 !important;

    }


/*  ========== code end ========== */


#MailPreferences {width: 84ex !important; height: 37em !important;}
#accountManager {width: 88ex !important; height: 64em !important;}
/* Insert HTML */ textbox#srcInput[multiline=true] {min-width: 100ex !important;}

*/

/* Avoid annoyingly long lines */
body {
    max-width: 50em;
}

pre {
    max-width: 50em;
    white-space: pre-wrap;       /* CSS 3 */
}
/*
Just to be up front, I didn't write the code, and I don't remember who did. It was originally written for me ages (10 years?) ago by some kind person in the Thunderbird forum, and I've been using it ever since.

This most recent refinement by gabrgv is a nice touch in Windows 10. I'm not sure whether or how it will look on my Win 7 machines.

Just for the record, I'd like to reassert my thanks to and admiration for athenian200 for the great work on Epyrus. I can imagine it's been a ton of work, and I can only beseech you to please stick with it. Your email client is a daily source of joy and utility for me.
:clap: :clap: :clap:
"And you can believe me because I never lie - and I'm always right."
(Asserted by George Leroy Tirebiter* and my wife; only the latter is telling the truth.)
*Firesign Theater version

User avatar
JoeyG
Astronaut
Astronaut
Posts: 655
Joined: 2017-06-12, 13:27
Location: How can you be in two places at once, when you're not anywhere at all?

Re: Change Epyrus menu bar colour

Unread post by JoeyG » 2024-02-07, 13:04

I've just discovered that - in my color scheme - having the TB2 theme installed in Epyrus makes a positive difference in the color change effected in the Menu Bar when rolling my trackball over the individual entries (File, Edit, etc.).

Your mileage may vary.
"And you can believe me because I never lie - and I'm always right."
(Asserted by George Leroy Tirebiter* and my wife; only the latter is telling the truth.)
*Firesign Theater version

User avatar
Bilbo47
Fanatic
Fanatic
Posts: 240
Joined: 2017-11-18, 04:24

Re: Change Epyrus menu bar colour

Unread post by Bilbo47 » 2024-02-08, 01:43

JoeyG wrote:
2024-02-07, 04:37
What's the 'account list'?
That would be the window-pane containing the list of email accounts. Under each email is its folders. Under each folder is its sub-folders. This hierarchy is presented in the shape of a tree. Maybe sometimes this window is called a treeview or treelist? Appears by default on the left part of EP's main window. As opposed to the message-list or message-preview panes, or other windows/dialogs that can be raised.

User avatar
JoeyG
Astronaut
Astronaut
Posts: 655
Joined: 2017-06-12, 13:27
Location: How can you be in two places at once, when you're not anywhere at all?

Re: Change Epyrus menu bar colour

Unread post by JoeyG » 2024-02-08, 06:28

Ok, thanks.
"And you can believe me because I never lie - and I'm always right."
(Asserted by George Leroy Tirebiter* and my wife; only the latter is telling the truth.)
*Firesign Theater version

User avatar
JoeyG
Astronaut
Astronaut
Posts: 655
Joined: 2017-06-12, 13:27
Location: How can you be in two places at once, when you're not anywhere at all?

Re: Change Epyrus menu bar colour

Unread post by JoeyG » 2024-02-10, 23:36

As a follow-up, for any diehard Win 7 fans, the change in the userChrome.css works, but the result depends on your color settings. (Hmmm, I guess this is true in Win 10, too, if you've made the effort to modify the colors using any of the various methods.)

It was kind of hard to discern on my Win 7 setup, which overwhelmingly has a light green hue.

I wasn't able to perceive that adding the TB2 theme to Win 7 made any difference, though, again, it may have to do with my color choices.
"And you can believe me because I never lie - and I'm always right."
(Asserted by George Leroy Tirebiter* and my wife; only the latter is telling the truth.)
*Firesign Theater version