Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Changing Firebird UI Font with userChrome.css
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
green sun
Guru
Guru


Joined: 04 Nov 2002
Posts: 325
Location: Wista, MA

PostPosted: Thu May 15, 2003 1:22 pm    Post subject: Changing Firebird UI Font with userChrome.css Reply with quote

Changing Firebird UI Font with userChrome.css

Everytime I install Firebird, it seems that I get a different (and usually ugly) UI font. Other posts have covered how to enable AA in Firebird, so I'll cover how to change the font used in the UI using your userChrome.css file. On a per user basis, the file needs to be created in the directory:
Code:
~/.phoenix/<your profile name - usually default>/<random string of numbers>.slt/chrome

A default file named userChrome-example.css is provided in this directory.

Copy the existing userChrome-example.css to userChrome.css and edit it. At the bottom of the file, add the following
Code:
windows, dialog, wizard, page, popup, menupopup, menubar,
menu, toolbox, toolbar, urlbar, tabbrowser, statusbar,
menuitem, button {
        font-family: Verdana !important;
}
This will force all UI elements (that I could find anyways) to use the Verdana font. This setting will override any theme based settings.

To make this change on a global level, you will need to create and edit a userChrome.css in the directory:
Code:
/usr/lib/phoenix/defaults/profile/chrome

For reference, I am using the latest phoenix ebuilds from portage. I would assume that eventually the directories named .phoenix will be renamed to .firebird
Back to top
View user's profile Send private message
BeFalou
n00b
n00b


Joined: 26 May 2003
Posts: 45
Location: Madrid

PostPosted: Tue May 27, 2003 6:14 pm    Post subject: Reply with quote

Instead of writting all the UI elements its easier to do:
Code:

* {
    font-family: Verdana !important;
}


:wink:, anyway thx for the names, i didnt find all of them.
Back to top
View user's profile Send private message
green sun
Guru
Guru


Joined: 04 Nov 2002
Posts: 325
Location: Wista, MA

PostPosted: Wed May 28, 2003 1:32 pm    Post subject: Reply with quote

BeFalou wrote:
Instead of writting all the UI elements its easier to do:
Code:

* {
    font-family: Verdana !important;
}


:wink:, anyway thx for the names, i didnt find all of them.


Just a note.. I simplified the example. I added all the elements so you could break them up & set them to different fonts/sizes, etc. I probably didnt make that clear in the initial post... but you can def. tweak the look of Firebird with this...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum