MozillaZine

Is userchrome.css no longer valid?

User Help for Seamonkey and Mozilla Suite
fixit7
 
Posts: 148
Joined: May 19th, 2015, 3:11 pm

Post Posted February 21st, 2019, 9:27 pm

This is my userchrome.css. My bookmarks pull down should have black text on a white background.
Instead I have white text on a dark grey.

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */

/*
This increase size of font in Bookmarks Menu Popup
*/

menupopup#bookmarksMenuPopup * {
font-size: 13pt !important
}

/* This changes foreground color of bookmarks

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); .menu-iconic-text{ color: #000000 !important; }

/*
Change background color of bookmarks menu to white
/*
#bookmarksMenuPopup * {background: white !important}

fixit7
 
Posts: 148
Joined: May 19th, 2015, 3:11 pm

Post Posted February 22nd, 2019, 5:21 am

Anyone ?

therube

User avatar
 
Posts: 19428
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted February 22nd, 2019, 5:22 am

Yes, userchrome.css is still valid.

You're code, well I suppose that's a different story (& one I wouldn't know).

Has your code worked before & now stopped?
Or is it new code to you?

You have @namespace in there twice.
Is that intended?
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript

therube

User avatar
 
Posts: 19428
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted February 22nd, 2019, 6:24 am

You had some syntax issues.

Don't know if this is "right", but at least it works, somewhat:

Code: Select all
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */



/*
This increase size of font in Bookmarks Menu Popup
*/

menupopup#bookmarksMenuPopup * {
font-size: 13pt !important
}

/* This changes foreground color of bookmarks */

.menu-iconic-text{ color: #000000 !important; }

/*
Change background color of bookmarks menu to white
*/

#bookmarksMenuPopup * {background: white !important}
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript

fixit7
 
Posts: 148
Joined: May 19th, 2015, 3:11 pm

Post Posted February 22nd, 2019, 9:45 am

I tried yours but it did not work.

Did it work for you?

therube

User avatar
 
Posts: 19428
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted February 24th, 2019, 7:11 am

Image
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript

Return to SeaMonkey Support


Who is online

Users browsing this forum: No registered users and 1 guest