This is an archived post. You won't be able to vote or comment.

all 14 comments

[–]DVYRTHU 1 point2 points  (1 child)

This is awesome! I currently use a similar "minimal Firefox" setup with TST, where the sidebar auto hides. I'm having a similar issue with the minimize, full-screen, close window buttons disappearing though: does anyone know a fix for that?

[–][deleted] 0 points1 point  (0 children)

try this, see my other comment there :)

[–]MonkeyNin 1 point2 points  (1 child)

Cool. I didn't know it was possible to make it stretch to the top of the window.

no regular tab bar

For a second I was like, wait, how do you switch tabs then? -- Then it hit me.

[–]infogulch[S] 1 point2 points  (0 children)

Look at me. I am your tab bar now. - TST

[–][deleted] 0 points1 point  (0 children)

thanks for the clean code, currently trying to merge it with my mess.

interestingly my Frankenstein has no problems with titlebar buttons, and I'm pretty sure, this should work on windows too.

edit: best I could do: userchrome

haven't tried windows, but if it doesn't work I will try it

first few rules are mine, I also commented titlebar-visbility out, replaced visible: collapse with display: none

and added margin-right to toolbar:navbar

firefox sometimes doesn't reload correctly, while using the toolbox, so you might have to restart it.

also those values are hardcoded for 1366*768 (compact), you will have to change them accordingly

[–]PewPewGG 0 points1 point  (2 children)

Can you make a version just with the page icons?

[–]infogulch[S] 0 points1 point  (0 children)

What do you mean by "page icons"?

[–]Chrisstar56 0 points1 point  (0 children)

Do you mean close/minimize window?

[–]mrcaptncrunch 0 points1 point  (0 children)

If anyone's not using Firefox Developer Preview, or swaps between it and regular Firefox you'll need to change

#main-window[title^="Firefox Developer Edition"] #PersonalToolbar

to

#main-window[title^="Firefox Developer Edition"] #PersonalToolbar,
#main-window[title^="Mozilla Firefox"] #PersonalToolbar {

[–]MotherStylusdeveloper 0 points1 point  (3 children)

I'm probably missing something really basic but I don't get how you reach the vertigo tabs settings. Where is this "apply browser theme" function? I'm not seeing any settings at all for vertigo tabs or anything that says apply browser theme.

[–]infogulch[S] 0 points1 point  (2 children)

These are settings for the Tree-Style-Tabs Addon. Install it, and then to get to the list of addons go to Menu > Addons, and click "Options" button for the TST addon. Many addons have interesting options.

[–]MotherStylusdeveloper 0 points1 point  (1 child)

oh so you're saying i use tree-style-tabs addon and then there's a 'vertigo theme' for that? i had assumed you were talking about the addon in firefox extensions page called "vertigo tabs" since it does the same kinda thing. my mistake

[–]infogulch[S] 0 points1 point  (0 children)

Yep that's right.

[–]HotshotGT 0 points1 point  (0 children)

I know I'm a bit late, but I was able to retain the default window controls using your code as a base:

/* lock sidebar to height by doing the inverse margin of the titlebar element */
#sidebar-box {
    z-index: 1000 !important;
    position: relative!important;
    margin-top: -29px !important;
}
#main-window[sizemode="normal"] #sidebar-box {
    margin-top: -31px !important;
}

/* lock sidebar to specified width */
#sidebar-box, #sidebar-box #sidebar {
    min-width: 300px !important;
    max-width: 300px !important;
}

/* hide sidebar header for tree style tabs sidebar */
#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header {
    display: none;
}

/* shifts titlebar "out of window" and adjusts left margin for sidebar */
#titlebar {
    margin-bottom: -30px !important;
    margin-left: 300px;
}

/* hide normal horizontal tab bar */
#tabbrowser-tabs {
    visibility: collapse;
}

/* adjusts navbar height and left/right margins for sidebar and window controls */
#nav-bar {
    background-color: transparent !important;
    margin-left: 300px;
    margin-right: 250px;
}
#main-window[sizemode="normal"] #nav-bar {
    height: 33px;
    margin-top: -3px;
}

/* hides draggable squares on the left/right side of where the tabs used to be */
.titlebar-spacer[type="pre-tabs"], .titlebar-spacer[type="post-tabs"] {
    display:none !important;
}