Tab Mix Plus

Official Home of TMP
It is currently Sat May 18, 2013 7:30 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 15 posts ] 
Author Message
PostPosted: Fri May 04, 2012 12:47 pm 
Offline

Joined: Fri May 04, 2012 12:05 pm
Posts: 8
I would like to see a few tweaks added to the display/appearance:

2) Allow color change to the "open a new tab" tab (the little tab with a plus sign in it),
2) Allow adjustment of the tab height, including the little tab mentioned above (as opposed to width, which is already available),
3) Allow shading/gradation (lighter on top, darker on bottom) in the tab color.

Thanks,
Ellen


Top
 Profile  
 
PostPosted: Fri Aug 03, 2012 3:46 pm 
Offline

Joined: Fri May 04, 2012 12:05 pm
Posts: 8
Hi,

I never got any kind of response to this request, so I'm bringing it up again. If nothing else, could the developer please at least add to Display > Tab > Customize color change to the "open a new tab" tab? I find it sticks out like a sore thumb.

Thanks,
Ellen


Top
 Profile  
 
PostPosted: Fri Aug 03, 2012 4:19 pm 
Online
Admin

Joined: Wed Aug 03, 2005 1:13 am
Posts: 5190
Location: Rocky Mountains
"open a new tab" is not a tab, it's toolbar button and has nothing to do with TMP, it's an Fx button. Changing its color will do you no good as it's an image and you need to change the image. You can do this by using Stylish or userChrom.css
You can do the same for tabs (height, gradient) in the same manner.
If you need help with that, i can help you but you can also search the Stylish site for styles and post in the forum if you need help with that.

For instance, New tab button color:

#new-tab-button, .tabs-newtab-button
{ -moz-appearance: none !important;
background-color: red !important; }
Image

But you can change the image to your liking with something like this, for instance:

Code:
#new-tab-button, .tabs-newtab-button
{ -moz-appearance: none !important;
list-style-image: none !important;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAACTElEQVR42q2UzU4TURiGn/MznZnSUhCCAgmiXIDEBYkxGk3cGOOCjbehN+DerRtuQRNNiBsvwIUxboyEQBAqksZS6N902jKd6cwcF4g0ARESz+qczXO+73vf94P/dMTgY/bmnAPYpAakkCZJvZ2v2+Y8IH10mZ6bXnz2YmnJzbluFPXJWo5afvN2M6y+elQpV3b/BVIAU7NTD1++fv9uenQi36v3HNFJnbjdz9y/dXfStzKPG6XN5Y7faZ/Z2uTMZP7J0+c7t28sjK6tbRL4B0RhSBSEWK7N/MI8P8NKbeXbSpEE3esGhK0OYdBDGSE2Pn2sJT1vUQNDoo+ulKpoJNmsi1KajGUThzHrX9a5em1m/MH1e+PNmkdHdUjcGCEFtrAJS524WPyQ1YBRWsVOxiZyXNLE4DgGMIAg6ASsfl7F9zwEIKRCaUUSJ7i2i3btFoAWQpDN5hgezqMyGpMapBKAwdv38bshhUKBsbGxE3MZcnM00jobq6CNMeRyWQojeXSgkFKQpoZGxYPYcPnKBEgB5qQLcs4Qhdol/lQEHFYiBf1+Qq3cIOpFWLY1IIs4AZJSHn5y5KNWw8cfbtPqtqns7BFFMZZWpGl6pncOnAC/Xj8G1ferlMQI37eKhEGA0ta5YuFql0Zt/xi0VyrT/eFTb1ZQSp87Xxnl4A2CyttbqEiSkCJPmcXfY5Gh3R1orVndtW0cjDQXSrxMFf24a8Oh/EkQtlp9EVinanzm6hAijA9aSFIttGjGPf9ODO5vO190DQXa1q3/tdf4BXI2AlEJ2tB7AAAAAElFTkSuQmCC) center no-repeat!important; }


Image

You can also change the bg for that image but it will take some tweaking to get it right.

There many styles available for tabs. You can use a code like this to change colors for tabs and New tab button:

.tabbrowser-tabs tab, #new-tab-button, .tabs-newtab-button
{ -moz-appearance: none !important;
background-image: -moz-linear-gradient(top, #ccc, #4E5A6C, #25456C)!important; }

Image

The tabs height can be changed with something like this:

.tabbrowser-tab
{ -moz-appearance: none !important;
height: 21px !important; }

I don't think TMP should fiddle with tabs height 'cause there's just too much that can go wrong, like multi-row display, diff. themes, personas,etc.

_________________
VistaHP/Fx latest beta/TMP latest dev.build/Troubleshooting TMP/My styles


Top
 Profile  
 
PostPosted: Sat Aug 04, 2012 11:27 am 
Offline

Joined: Fri May 04, 2012 12:05 pm
Posts: 8
Thank you, I tried the code that you gave.

I like that there is no background shading, but I would prefer that I had the option of matching it to the 10% shading that I have for my "other" tabs. And then, what I would like is simply to leave the plus sign as it is. I'm not crazy about that little folder icon that you put in there. How can I do that?

Thanks,
Ellen


Top
 Profile  
 
PostPosted: Sat Aug 04, 2012 11:41 am 
Online
Admin

Joined: Wed Aug 03, 2005 1:13 am
Posts: 5190
Location: Rocky Mountains
Not easy. As i said, it's an image. You have to find another one to replace it but you can't change the color of the image unless you know how to use an image editor and know how to open the Fx omnja folder where the default images are.
You can search the net for an image of '+' sign and replace the one i show above as an example.
The tabs colors is also an example. I don't know what color are your tabs and what color you want them to be.

Use this for the button (just an example image! the code is valid):

Code:
#new-tab-button, .tabs-newtab-button
{ opacity: .75 !important;
-moz-appearance: none !important;
background-color: transparent !important;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAC4jAAAuIwF4pT92AAACG0lEQVR42tVVz2saQRTenc2KHhrapAeJVFHcanTRsCBstFoVLYIgEYReFUVphSoKQi5BBA/+AYLiQfDoQVD8I5oekpY0tAm1KYTemnNSeuk3YT0mB9dAfPAxw5vd9837OUy9XmceEsyjIkgmk0SSJLK6HgSDQU04HOaXSpDNZlm66nS6ZwzDvAfKPM9vUV06nWZVE3g8ntuYQ7aBH8AV8JrqvF4vWRoBx3EvYfgTcA7sUh3CtTgBqoXz+/1cNBrlQcLCqF2r1R4RQn5i/4p+4/P5+EgkQqgnmUyGVZVkyJbT6fwoCAL1wK0qySaTadPhcEg2m000m80u7O24+ZtisXhaKBQuQfAWOgFwgVAEsWQwGJ7fS5BIJG7j6Xa714xG47vhcPi12+0edzqdk3a7/WUwGJxNp9PryWTyt9/vz6A77vV6Jzj/PBqNTvV6/b4oiuvURiAQ4O4kwI3WcMMPjUbjolwun9VqtRldm83mLxi6GY/H/1qt1mWpVPperVZnlUrlHGcX+KcOb59SG6FQiLs3RBA9LUVABryABOzlcrlv+Xz+N/ZpYEc5k5VvX6AgWLVJPkRe1Cd53kTxeJzAXV4hsGs0miOsNBw+Jax8LBYjtFQXbjTMn3knC8Ch0mgy1aFP1HfyfBxAHIrxP0BQqRaytGkK2QCqwAFgojoknV3quLZYLE+sVus6ZhC7mg9OKpUisixzq/tkLoL/7JoXGSC1q7cAAAAASUVORK5CYII=) !important; }

#new-tab-button, .tabs-newtab-button:hover
{ opacity: 1 !important; }

_________________
VistaHP/Fx latest beta/TMP latest dev.build/Troubleshooting TMP/My styles


Top
 Profile  
 
PostPosted: Sat Aug 04, 2012 11:45 am 
Offline

Joined: Fri May 04, 2012 12:05 pm
Posts: 8
The background color is just the default FF background color, some sort of charcoal gray or something. Anyway, in TMP, I have it set for 10%, so it is just a little bit darker than the rest of the toolbar.

Is there no way to just keep the FF plus sign while changing the background?


Top
 Profile  
 
PostPosted: Sat Aug 04, 2012 11:49 am 
Online
Admin

Joined: Wed Aug 03, 2005 1:13 am
Posts: 5190
Location: Rocky Mountains
No, not that i know of. See my post above. It's an image.

About your tabs, i don't understand what you want. You don't want to change the color now?
Don't set anything in the TMP options (uncheck the tabs style) and try this style which you can customize to any color you want:

.tabbrowser-tabs tab, #new-tab-button, .tabs-newtab-button
{ -moz-appearance: none !important;
background-image: -moz-linear-gradient(top, #ccc, #777)!important; }

#ccc - almost white, #777 - grey. Change them as you wish

_________________
VistaHP/Fx latest beta/TMP latest dev.build/Troubleshooting TMP/My styles


Top
 Profile  
 
PostPosted: Sat Aug 04, 2012 12:10 pm 
Offline

Joined: Fri May 04, 2012 12:05 pm
Posts: 8
That's not what I'm looking for, but if it were transparent, it might be. How do I make it transparent, a 10% transparency?


Top
 Profile  
 
PostPosted: Sat Aug 04, 2012 12:14 pm 
Online
Admin

Joined: Wed Aug 03, 2005 1:13 am
Posts: 5190
Location: Rocky Mountains
#new-tab-button, .tabs-newtab-button
{ background-color: transparent !important;
background-image: url() !important; }

Make what transparent? There many, many styles on us.o that make tabs transparent fully or partially. What's your OS. Transparency will look good only with Vista/Win7 as the toolbar uses 'glass' (aero) effect.
Can you be more specific, please?

Try and change to your liking any of this:
Code:
.tabbrowser-tabs tab, #new-tab-button, .tabs-newtab-button
{ -moz-appearance: none !important;
background-image: -moz-linear-gradient(top, rgba(190,190,190, .5), rgba(10,10,10,.3), rgba(10,10,10,.5))!important; }


Code:
.tabbrowser-tabs tab, #new-tab-button, .tabs-newtab-button
{ -moz-appearance: none !important;
background-image: -moz-linear-gradient(top, rgba(255,255,255, .5), rgba(159,159,159,.3))!important; }

_________________
VistaHP/Fx latest beta/TMP latest dev.build/Troubleshooting TMP/My styles


Top
 Profile  
 
PostPosted: Sat Aug 04, 2012 1:02 pm 
Offline

Joined: Fri May 04, 2012 12:05 pm
Posts: 8
That top code is almost there. I meant not total absence of color but a 10% grey (like 6D6D6D), just a touch. I am able to add that to the inactive tabs via TMP, but not to the new tab button. But it's already looking a whole lot better.

Later: tweaked the bottom code to my liking (please understand I know hardly anything about coding) and it looks good. I've got the gradient, I've got the transparency, except that now there is no difference between the active tab and the inactive tabs. How do I get the active tab to be more opaque?


Top
 Profile  
 
PostPosted: Sat Aug 04, 2012 1:50 pm 
Online
Admin

Joined: Wed Aug 03, 2005 1:13 am
Posts: 5190
Location: Rocky Mountains
instead of #6D6D6D, use rgba(103,103,103,.5), something like this:

Code:
.tabbrowser-tabs tab, #new-tab-button, .tabs-newtab-button
{ -moz-appearance: none !important;
background-image: -moz-linear-gradient(top, rgba(190,190,190, .5), rgba(103,103,103,.7)) !important; }


1103,103,103 - is the color code and the .7 is it's intensity (opacity). You can try .5, .9, .1 ..... or whatever works for you. Or you can use its HEX value of #6D6D6D at the bottom which is not transparent but the top part is [rgba(190,190,190, .5)].

Something like this?

Code:
.tabbrowser-tabs tab, #new-tab-button, .tabs-newtab-button
{ -moz-appearance: none !important;
background-image: -moz-linear-gradient(top, rgba(250,250,250, .5), #6d6d6d) !important;
color: black !important; }


Here's a pic taken with the last code, you can see some color bg behind tabs:

Image

_________________
VistaHP/Fx latest beta/TMP latest dev.build/Troubleshooting TMP/My styles


Top
 Profile  
 
PostPosted: Sat Aug 04, 2012 2:12 pm 
Offline

Joined: Fri May 04, 2012 12:05 pm
Posts: 8
Right, but for the active tab?


Top
 Profile  
 
PostPosted: Sat Aug 04, 2012 2:21 pm 
Online
Admin

Joined: Wed Aug 03, 2005 1:13 am
Posts: 5190
Location: Rocky Mountains
What does it ^ mean?

_________________
VistaHP/Fx latest beta/TMP latest dev.build/Troubleshooting TMP/My styles


Top
 Profile  
 
PostPosted: Sat Aug 04, 2012 2:28 pm 
Offline

Joined: Fri May 04, 2012 12:05 pm
Posts: 8
I don't know. I don't know why you're asking.


Top
 Profile  
 
PostPosted: Sat Aug 04, 2012 2:47 pm 
Online
Admin

Joined: Wed Aug 03, 2005 1:13 am
Posts: 5190
Location: Rocky Mountains
OK, since i get very little feedback from you and it's taking too much of my time as is, here:

this are IDs for other tabs:

/* ============ active tab */

tabbrowser-tab[selected="true"]:not([pinned])
{ }

.tabbrowser-tab[selected="true"][pinned]
{ }


/* ============ read tabs */

.tabbrowser-tab[selected="false"],
.tabbrowser-tab:not([selected="true"])[visited]
{ }

You can use the same code pattern from the codes above and insert it w/in the curly brackets. You can change colors as i've shown you above. You can find colors on the web by searching, for instance: http://www.colorizer.org , http://www.webtutorialplus.com/html-color-picker.aspx, http://www.uize.com/examples/sortable-color-table.html , etc.)

You can use :not([pinned]) and [pinned] or delete those portions if you don't use pinned tabs.

I have a style for borderless tabs which is probably too 'dramatic' for you but it has almost all the IDs for everything 'tab' in it and you're welcome to look in, copy, experiment and get it just right for you. Should you have a specific problem/question, post a screenshot and describe exactly what you'd like to do.
Good Luck!

Oh, and you're welcome.

_________________
VistaHP/Fx latest beta/TMP latest dev.build/Troubleshooting TMP/My styles


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

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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® Forum Software © phpBB Group