Quantcast

Maximum PC

It is currently Fri Jul 25, 2014 9:56 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Firefox and Stylish
PostPosted: Mon Oct 20, 2008 8:48 am 
Team Member Top 500
Team Member Top 500
User avatar

Joined: Thu Dec 23, 2004 2:34 pm
Posts: 3974
Location: Building my 4-8-9
I currently have this Vista-like style loaded into Stylish along with Glasser to better integrate Firefox 3 into Vista. However, it is fall and I'm changing my user interface to red/orange. The blue in the Stylish is really off-putting. What I would like to do is change the style I have applied to the Bookmarks bar to make it red rather than blue, but I'm not sure how to do that.

Code:
/******************************************************************************
Copyright 1994-2008 Matthew Holder. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

   1. Redistributions of source code must retain the above copyright notice,
   this list of conditions and the following disclaimer.
   2. Redistributions in binary form must reproduce the above copyright notice,
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
******************************************************************************/
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

#main-window #navigator-toolbox #PersonalToolbar
{
   border-top: 0 none !important;
   -moz-appearance: none !important;
   background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAfCAYAAAAmyadiAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALEgAACxIB0t1+/AAAAAd0SU1FB9cCEwYDIgFDQ7MAAAAYdEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My4wOGVynOEAAACjSURBVBhXY9hw4sZ/hvpl+/8zVC/e+5+hbMHu/wyFc3b8Z8iesfU/Q9rUzf8ZEiZs+M8Q1bP2P0NIx6r/DL7Ny/4zeNQv+c/gVL3wP4Ntxbz/DJalc/4zsHiUgoiS/wysIILdE8jl8C77z8DtU/6fgd+/6j+DSHDtfwapiMb/DAqxrf8ZNNN6/jOYFE39z2DfOP8/g9cEoPGTD5z7z8Ck4fgfAAdOR5a0f2FqAAAAAElFTkSuQmCC) !important;
   padding: 2px 3px 3px 3px !important;
   color: white !important;
}

#main-window #navigator-toolbox #PersonalToolbar toolbarbutton
{
   padding: 0 5px !important;
}

#main-window #navigator-toolbox #PersonalToolbar toolbarbutton > label
{
   color: white !important;
}

#main-window #navigator-toolbox #PersonalToolbar > toolbaritem > menubar > menu
{
padding-top: 2px;
margin-bottom: 1px !important;
}

#main-window #navigator-toolbox #PersonalToolbar > toolbaritem > menubar > menu > label
{
color: white !important;
}

#main-window #navigator-toolbox #PersonalToolbar .toolbarbutton-menu-dropmarker
{
   margin-left: 5px;
   list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAICAYAAADA+m62AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAABh0RVh0U29mdHdhcmUAUGFpbnQuTkVUIHYzLjMwQIRHEAAAAHpJREFUKFNjYCABMAPVcgKxEBBLArEMEgbxQeIgeQa2/3gAUF4fiMVACkGqlbCpBYpXAbEfSB5sItQqD2TFQLENQNwIxB5QeQaQG/mhViSCFAPZq4B4MhAnQsVB8mCArDgQyE8BYhANch9IEUgeDmCK5YEiGkAMouGKAOOdSG/rm13TAAAAAElFTkSuQmCC) !important;
}


Here is the code, which is not mine and is copyrighted by the author. I can't make sense of those long strings of data after "data:image/png;base64"...


Top
  Profile  
 
 Post subject:
PostPosted: Tue Oct 21, 2008 3:24 pm 
Team Member [Top 500]*
Team Member [Top 500]*
User avatar

Joined: Thu Jun 24, 2004 2:22 pm
Posts: 8720
Location: Cleveland, Ohio
Sovereign, for a veteran you just gave new meaning to breaking the tables. :lol:

You have two lines of code in there that are running into the next county from me. Maybe you could sort of break those lines?

Ron


Top
  Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 2 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group