MozillaZine

[Ext] Classic Toolbar Buttons [Fx/Tb/Sm]

Announce and Discuss the Latest Theme and Extension Releases.
Xetmes

User avatar
 
Posts: 655
Joined: December 7th, 2011, 8:54 am
Location: Poland/Germany

Post Posted June 16th, 2012, 7:12 am

Aris

I don't know how did You do that, but now radius slider from Stratiform works perfect fine for all buttons, man You are awesome! Thanks for Your work!

Aris

User avatar
 
Posts: 3246
Joined: February 27th, 2011, 10:14 am

Post Posted June 17th, 2012, 9:08 am

Xetmes wrote:Aris

I don't know how did You do that, but now radius slider from Stratiform works perfect fine for all buttons, man You are awesome! Thanks for Your work!


The changes needed for CSTBBs border-radius settings had that (positive) side effect. :D You can change buttons border-radius inside CSTBB settings too.


v1.1.1pre5
https://addons.mozilla.org/addon/cstbb/versions


- (new) setting to restore forward-button (if combined with urlbar)
- minor tweaks

Xetmes

User avatar
 
Posts: 655
Joined: December 7th, 2011, 8:54 am
Location: Poland/Germany

Post Posted June 17th, 2012, 9:55 am

You can change buttons border-radius inside CSTBB settings too.


I know, but now Your grate extension fix Stratiform so I'm happy with it :D

JayhawksRock

User avatar
 
Posts: 10433
Joined: October 24th, 2010, 8:51 am

Post Posted June 17th, 2012, 7:00 pm

Aris... Since my first post in this thread in March you sure have crafted an addon that i could not use Firefox without.

For those of us who, for accessability reasons, use the back/forward dropmarker extension with the back and forward navigation buttons visable all of the time, could you add button styling to the b/f dropmarker.

I have a couple of styles that work that I have been using since Firefox 4. Im sure these have redundent code as they have been tweaked often over all that time. Never could figure out hover colors. ](*,)

Anyway, take a look at these and see if it makes any sense for you to add styling for these elements. Thanks for your consideration and a Great extension.

Code: Select all
/*Nav bar Small Buttons - Dropmarker Style*/

@-moz-document url(chrome://browser/content/browser.xul) (
#navigator-toolbox[iconsize=small] toolbar #back-forward-dropmarker {
 border-radius: 0 3px 3px 0 !important;               
 margin-left: -.5px !important;
 min-width: 14px !important;
 max-width: 14px !important;
 }
 )

Code: Select all
/*Nav bar Large Buttons - Dropmarker Style*/

@-moz-document url(chrome://browser/content/browser.xul){
#navigator-toolbox[iconsize=large] toolbar #back-forward-dropmarker {
-moz-appearance: none !important;
background: rgba(151,152,153,.05)
-moz-linear-gradient(rgba(251,252,253,.95), rgba(246,247,248,.47) 49%, rgba(231,232,233,.45) 51%, rgba(225,226,229,.3)) !important;
background-clip: padding-box !important;
min-width: 14px !important;
max-width: 14px !important;
margin-top: 6px !important;
margin-bottom: 6px !important;
border: 1px solid !important;
border-color: rgba(0,0,0,.12) rgba(0,0,0,.19) rgba(0,0,0,.38) !important;
color: black !important;
text-shadow: 0 0 2px white !important; }

#navigator-toolbox toolbar #back-forward-dropmarker:not([disabled]):hover {
background-image:-moz-linear-gradient(rgba(255,255,255,.6), rgba(255,255,255,1), rgba(255,255,255,.4)) !important;}
}
"The trouble with quotes on the internet is you never know if they are genuine" ...Abraham Lincoln

Aris

User avatar
 
Posts: 3246
Joined: February 27th, 2011, 10:14 am

Post Posted June 18th, 2012, 8:43 am

@JayhawksRock
You can now use a new setting to enable/disable the default toolbar button css code for this one. The dropmarker icon can be changed by using the corresponding icon options (dark / white, small / large) too.
I've decided not to add a second version, where only the icon and not the button would be styled. Some tests proved such a version doesn't look good in all cases (-> small/large/white/dark icons, small and large icon view, button height settings etc.).

I also "fixed" a bug where the "back-forward-dropmarker"-extension caused a blank space, when you combine b-f-button with urlbar, be removing the dropmarker. It was misplaced and bogus anyway.


v1.1.1pre6
https://addons.mozilla.org/addon/cstbb/versions


- (new) setting to enable button style for "back-forward-dropmarker"
- more tweaks on back-forward-button (if combined with urlbar)

JayhawksRock

User avatar
 
Posts: 10433
Joined: October 24th, 2010, 8:51 am

Post Posted June 18th, 2012, 9:05 am

Aris...
That was quick. You are the MAN! Just installed on Aurora 15 and its Perfect! I will test on 13, 14, 16 and UX and update this post if necessary.

Thanks again for your Great work!
"The trouble with quotes on the internet is you never know if they are genuine" ...Abraham Lincoln

Aris

User avatar
 
Posts: 3246
Joined: February 27th, 2011, 10:14 am

Post Posted June 18th, 2012, 10:51 am

Its working fine on FF13-16 and UX, but is smaller on FF13 compared to higher versions. In FF4-13 Mozilla styled toolbar buttons, since FF14 Mozilla styles toobar button icons. So some things are just different like button dimensions, margins and spaces. I'm thinking about dropping support for FF10-13 someday and get rid of some unneeded code. Almost all settings are performing better on FF14-16+.

v1.1.1pre7
https://addons.mozilla.org/addon/cstbb/versions


- added a few info strings for FF13 and older

- (change) removed temporary fixes setting
Fixes are now part of "Classic toolbar buttons style for navigation toolbar buttons"

- (change) combined nav-bars classic ... style options for small and large icon view to one option
Now CSTBB automatically enables classic style for small and large icon view on FF14+. On FF13 and older only small icon view gets enabled.

- from now on "style back-forward-dropmarker" option is only visible on FF14+. It didn't work well with some other options on FF13 and older -> toolbar buttons on FF14+ and FF13- are to different.

- more tweaks for "back-forward-button" & "back-forward-dropmarker" (if installed)

1) If back-forward-button is...
1a) ...somewhere on the nav-bar and not connected to urlbar, ==>
1b) ...connected to urlbar and forward-button is not disabled, ==>
1c) ...connected to urlbar, forward-button is disabled and "restore hidden forward-button" is enabled, ==>
1) ==> the back-forward-dropmarker is visible.

2) If back-forward-button is connected to urlbar and forward-button is disabled and the "restore hidden forward-button" CSTBB option is disabled, the back-forward-dropmarker is hidden.

3) If back-forward-button is...
3a) ...connected to urlbar, toolbar button height settings for nav-bar don't ==>
3b) ...not connected to urlbar, toolbar button height settings for nav-bar ==>
3) ==> change back-forward-dropmarkers height.

Aris

User avatar
 
Posts: 3246
Joined: February 27th, 2011, 10:14 am

Post Posted June 21st, 2012, 5:28 am

v1.1.1
https://addons.mozilla.org/addon/cstbb/

- (fix) "unified-back-forward-button" left/right space settings
- (fix) "tabs toolbar" buttons left/right space settings
- (fix) "RSS Icon in url bar" extension
- (new) setting to restore hidden forward-button (if back-forward-button is connected to urlbar)
- (new) setting to enable classic style for "back-forward-dropmarker" (FF14+)
- (new) settings to change border-radius for ...
... toolbar buttons on menu toolbar
... toolbar buttons on tabs toolbar
... toolbar buttons on navigation bar
... toolbar buttons on bookmarks toolbar
... items & folders on bookmarks toolbar
... toolbar buttons on add-ons bar
- (change) tweaks on "unified back-forward-button"
- (change) removed "temporary fixes" setting. Fixes are now part of "Classic toolbar buttons style for navigation toolbar buttons" and included inside the corresponding css file.
- (change) combined small and large icon view options to one option (nav-bars classic button style). CSTBB uses classic style for nav-bars small and large icon view on FF14+, on FF13 and older buttons get styled only on small icon view.
- performance improvements
- internal changes
- extra info strings for FF13 and older


Notes about "back-forward-dropmarker" (if add-on is installed):

1) If back-forward-button is...
1a) ...somewhere on the nav-bar and not connected to urlbar, ==>
1b) ...connected to urlbar and forward-button is not disabled, ==>
1c) ...connected to urlbar, forward-button is disabled and "restore hidden forward-button" is enabled, ==>
1) ==> the back-forward-dropmarker is visible.

2) If back-forward-button is connected to urlbar and forward-button is disabled and the "restore hidden forward-button" CSTBB option is disabled, the back-forward-dropmarker is hidden.

3) If back-forward-button is...
3a) ...connected to urlbar, toolbar button height settings for nav-bar don't ==>
3b) ...not connected to urlbar, toolbar button height settings for nav-bar ==>
3) ==> change back-forward-dropmarkers height.

4) "Style back-forward-dropmarker" option is only visible on FF14+. It doesn't work well with other options on FF13 and older. If it is realy needed on FF13 and older, it can be enabled through about:config -> extensions.cstbb-extension.bfdropmarker -> true


v1.1.2pre1
- Thunderbird 15+ (incl. Lightning) support

- Thunderbird settings (already known from Firefox):
(new) classic toolbar buttons style for ...
(new) settings to change border-radius for ...
... toolbar buttons on menu toolbar
... toolbar buttons on tabs toolbar
... toolbar buttons on main toolbar
(new) setting to change (min-)height for ...
(new) setting to change (min-)width for ...
(new) setting to change top/bottom space around ...
(new) setting to change space between
... toolbar buttons on main toolbar

v1.1.2pre2
- (fix) "undo closed tabs button" extension now always uses small icons
- (change) greater (min-)height for toolbar buttons on Thunderbirds main toolbar

v1.1.2pre3
- (fix) some toolbar settings affected tabs toolbar buttons by mistake
- (change) forced 16x16 px icons for "DownThemAll" and "Undo Closed Tabs Button" toolbar buttons to fit default button dimensions on all supported toolbars.
- internal changes

v1.1.2pre4
- (fix) buttons on RTL-locales (back, forward, unified back-forward, zoom-in, zoom-out)
- (change) Thunderbirds message header buttons are now styled by "main toolbar" settings too
- (change) Thunderbirds default button border-radius is now 3.5px (can be changed through settings anyway)

v1.1.2pre5
https://addons.mozilla.org/addon/cstbb/versions

- (change) expanded toolbar button icons settings
-- (new) dark (FF12 and older)
-- (new) white (FF12 and older)
-- (new) dark (FF13+)
-- (new) white (FF13+)
- almost all images/icons are now inside extension file (-> bigger size)

Aris

User avatar
 
Posts: 3246
Joined: February 27th, 2011, 10:14 am

Post Posted July 11th, 2012, 3:07 am

v1.1.2
https://addons.mozilla.org/addon/cstbb/

- basic Thunderbird 15+ (incl. Lightning) support

- Thunderbird settings (already known from Firefox):
(new) classic toolbar buttons style for ...
(new) settings to change border-radius for ...
... toolbar buttons on menu toolbar
... toolbar buttons on tabs toolbar
... toolbar buttons on main toolbars
(new) setting to change (min-)height for ...
(new) setting to change (min-)width for ...
(new) setting to change top/bottom space around ...
(new) setting to change space between
... toolbar buttons on main toolbar

- (new) expanded toolbar button icons settings
-- (new) dark (from FF12 and older)
-- (new) white (from FF12 and older)
-- (new) dark (from FF13 and newer)
-- (new) white (from FF13 and newer)

- (fix) buttons on RTL-locales (back, forward, unified back-forward, zoom-in, zoom-out)
- (fix) toolbar buttons on tab-toolbars with "small icon view"

- (change) forced 16x16 px icons for "DownThemAll" and "Undo Closed Tabs Button" toolbar buttons to fit default button dimensions on all supported toolbars.

- (change) almost all images/icons are now inside extension file (-> bigger size)


v1.1.3pre1
- (new) border-radius setting for urlbar & searchbar
- (fix) forward-button and button radius bug on nav-bar [large icons]
- (change) Thunderbirds 'classic main toolbars' style now affects quick-filter-toolbar too

v1.1.3pre2
- (fix) bookmark-items appearance on navigation toolbar
- some other minor fixes regarding bookmark-items
- replaced radios with menulists

Note
Despite of its name the setting "Classic toolbar button style for bookmarks toolbar items & folders" will style from now on 'bookmark items & folders' placed on menu-, tabs-, navigation-, bookmarks- and add-ons toolbars and the corresponding radius, min-height, min-width and space settings will affect them too.
Most people won't notice this, bacause they leave their bookmarks on the bookmarks toolbar.

v1.1.3pre3
https://addons.mozilla.org/addon/cstbb/versions/

- (fix) back button triggered on hovering a too large area in some cases
- (fix) back-forward-button and high toolbar buttons setting
- (new) option: toolbar button icons from Firefox 3.6*
- (new) option: classic style for tab-scollbuttons (if visible)
- (new) option: restore green (verifiedIdentity) & blue (verifiedDomain) identity-box colors
- (change) centered 'alltabs button' icon

* Note
Only some icons are restored from FF3.6, not all buttons. Icons appear same way inside buttons like the dark or white icons.

iHastr

User avatar
 
Posts: 34
Joined: March 8th, 2010, 6:42 am
Location: RU

Post Posted July 21st, 2012, 12:32 am

Hello, Aris! I added Russian localization (ru-RU) for version 1.1.2 and 1.1.3pre3.
Please add them officially!

v1.1.2 Rus
http://www.mediafire.com/?9i8nw61v9knqnr5

v1.1.3pre3 Rus
http://www.mediafire.com/?wvoqyc457r5482d

Aris

User avatar
 
Posts: 3246
Joined: February 27th, 2011, 10:14 am

Post Posted July 21st, 2012, 2:16 am

@iHastr: Good job, I'll add Russian localization to next dev and final release.

---

v1.1.3pre4
https://addons.mozilla.org/addon/cstbb/versions/

- (new) Russian localization

- (fix) Thunderbirds 'classic main toolbars' style affected wrongly some menu toolbars

- (change) Thunderbirds 'classic main toolbars' style affects
--- main toolbar buttons on adressbook window
--- menulists on compose(=write) window

- (change) Thunderbirds 'classic menu toolbars' style affects
--- menu toolbar buttons on adressbook window

- (change) Thunderbirds 'classic tabs toolbars' style affects
--- alltabs button

- (new) Thunderbirds radius, width, height & space settings affect
--- main toolbar buttons on adressbook window

iHastr

User avatar
 
Posts: 34
Joined: March 8th, 2010, 6:42 am
Location: RU

Post Posted July 21st, 2012, 11:30 pm

OK,thanks! But in the file install.rdf in the field <em:translator> write your name for the language (en-US) and (de), not mine.

Aris

User avatar
 
Posts: 3246
Joined: February 27th, 2011, 10:14 am

Post Posted July 22nd, 2012, 3:25 am

iHastr wrote:OK,thanks! But in the file install.rdf in the field <em:translator> write your name for the language (en-US) and (de), not mine.


If there is no "translator" tag for en-US and de-DE, I thought people will assume the "creator" translated it.
Adding you name with '(ru-RU)' two every (other) localization area will give all users the oppertunity to see, who already translated this add-on and into what language.
E.g., if I add your name only to 'ru-RU' area, people that are using a different FF locale than 'ru-RU', won't see your name. But I can of course change it to the way you mentioned or add my name as a 'tranalator' to all locales too, if you like. :D


-------------------------


v1.1.3pre5
Firefox
- (fix) 'url-addon-bar'-extension appearance

Seamonkey
- Seamonkey (incl. Lightning) support
(new) classic toolbar buttons style for ...
... toolbar buttons on menu toolbars
... toolbar buttons on bookmarks toolbar
... bookmark items & folder
... toolbar buttons on all main toolbars (browser, mail, composer, adressbook, editor, Lightning)


v1.1.3
https://addons.mozilla.org/addon/cstbb/versions/


General
- (new) Seamonkey support
- (new) Russian localization (thanks to iHastr/Капелька Яда)
- (change) replaced radio groups with menulists
- (change) moved default settings from user branch to default branch (AMO editors request)


Firefox
- (new) option: border-radius setting for urlbar & searchbar
- (new) option: toolbar button icons from Firefox 3.6 (*)
- (new) option: classic style for tab-scollbuttons (if visible)
- (new) option: restore green (verifiedIdentity) & blue (verifiedDomain) identity-box colors (**)
- (fix) 'url-addon-bar'-extension appearance
- (fix) forward-button and button radius bug on nav-bar [large icons]
- (fix) bookmark-items appearance on navigation toolbar (***)
- (fix) some other minor fixes regarding bookmark-items (***)
- (fix) back button triggered a too large area on hovering
- (fix) blank space for 'back-forward-button' and 'toolbar buttons height' setting
- (change) centered 'alltabs button' icon

Thunderbird
- (fix) 'classic main toolbars' style affected wrongly some menu toolbars
- (change) 'classic main toolbar buttons' style affects ...
... main toolbar buttons on adressbook window
... menulists on compose(=write) window
... buttons on 'quick-filter-toolbar'
- (change) 'classic menu toolbar buttons' style affects ...
... menu toolbar buttons on adressbook window
- (change) 'classic tabs toolbars' style affects ...
... 'alltabs button'
- (change) main toolbar radius, width, height & space settings affect...
... main toolbar buttons on adressbook window

Seamonkey
- Seamonkey settings (already known from Firefox/Thunderbird):
- (new) classic toolbar buttons style for ...
... toolbar buttons on menu toolbars
... toolbar buttons on bookmarks toolbar
... bookmark items & folder
... toolbar buttons on all main toolbars (browser, mail, composer, adressbook, editor, Lightning)


Notes

(*) This option uses some (small) icons from Firefox 3.6. Icons appear same way inside buttons like the dark or white icons.

(**) If you want more changes to identity-box, you can try my script on userstyles: http://userstyles.org/styles/69715/bett ... firefox-14

(***) Despite of its name the setting "Classic toolbar button style for bookmarks toolbars items & folders" will style from this version onwards 'bookmark items & folders', even if they are placed on menu-, tabs-, navigation-, or add-ons toolbar and the corresponding toolbars radius, min-height, min-width and space settings will have an affect on them there too.
Most people won't notice this, bacause they leave their bookmarks on the bookmarks toolbar.

Xaemyl
 
Posts: 15
Joined: August 9th, 2004, 6:35 pm

Post Posted July 23rd, 2012, 7:20 pm

I want to say a million thanks for this little addon. I installed it immediately when I found out about it.

Having said that, I think I found some form of bug or something in conjunction with the addon "Do Not Track Plus." The icon doesn't seem to render correctly.

Here are a couple of screenshots to illustrate:

enabled
Image

disabled
Image

The number is supposed to go inside the green area and not to the side.

Otherwise excellent addon! And I continue to use it despite the DNT+ icon issue. :)

Aris

User avatar
 
Posts: 3246
Joined: February 27th, 2011, 10:14 am

Post Posted July 24th, 2012, 5:57 am

@Xaemyl: Could you test the latest devbuild?


v1.1.4pre1
https://addons.mozilla.org/addon/cstbb/versions/

- (fix) Add-ons: OmniSidebar, DoNotTrackPlus, TabUtilities, PluginsToggler, CookieSafe
--- buttons could look weird in some cases or corrupt the nav-bar

Return to Extension/Theme Releases


Who is online

Users browsing this forum: No registered users and 1 guest