/*-------------------------------------------------------------------------------*/
/* Tab bar left and right padding/margin */
/* Adjust according to the size of your Firefox button and window controls */
/* The values in -moz-padding-start/end without the 0s for maximized windows and */
/* the values in margin-left/right for not mazimized windows*/
#main-window[tabsontop="true"][chromemargin]:not([inFullscreen]) #TabsToolbar {
-moz-padding-start: 32px !important;
-moz-padding-end: 48px !important; /*7.5em for Windows XP*/
}
#main-window[tabsontop="true"][sizemode="normal"][chromemargin]:not([inFullscreen]) #TabsToolbar {
-moz-padding-start: 0 !important;
-moz-padding-end: 0 !important;
margin-left: 0px !important;
margin-right: 102px !important; /*9.5em for Windows XP*/
}
/*-------------------------------------------------------------------------------*/
/* Move the tab bar in the title bar when maximized */
#main-window[sizemode="maximized"]:not([inFullscreen]) #navigator-toolbox[tabsontop="true"] #toolbar-menubar[autohide="true"] ~ #TabsToolbar {
margin-top: 0px !important;
-moz-box-ordinal-group: 1 !important;
}
#main-window:not([inFullscreen]) #navigator-toolbox[tabsontop="true"] #toolbar-menubar[autohide="true"] ~ #TabsToolbar {
margin-top: -20px !important;
-moz-box-ordinal-group: 1 !important;
}
#main-window[tabsontop="true"]:not([inFullscreen]) #titlebar-buttonbox {
position: relative !important;
z-index: 1;
}
#main-window[tabsontop="true"][sizemode="maximized"]:not([inFullscreen]) #titlebar {
margin-top: 8px !important;
min-height: 29px !important;
}
#main-window[tabsontop="true"][sizemode="normal"]:not([inFullscreen]) #titlebar {
margin-top: 0 !important;
min-height: 29px !important;
/*height: 36px !important;*/ /* <- Uncomment this line to gain a bit extra height for easier dragging.*/
}
/* Fix tab styling for the dark background */
#main-window[tabsontop="true"][chromemargin]:not([inFullscreen]) #alltabs-button[type="menu"] {
list-style-image: url("chrome://browser/skin/appmenu-dropmarker.png") !important;
-moz-image-region: rect(0, 9px, 7px, 0) !important;
}
#main-window[tabsontop="true"][chromemargin]:not([inFullscreen]) #alltabs-button[type="menu"] image {
opacity: 1 !important;
margin-top: 4px !important;
}
/*#main-window[tabsontop="true"][chromemargin]:not([inFullscreen]) .tabbrowser-tab:not([selected="true"]),
#main-window[tabsontop="true"][chromemargin]:not([inFullscreen]) .tabs-newtab-button {
background-image: -moz-linear-gradient(hsla(0,0%,80%,.6), hsla(0,0%,75%,.4) 50%, hsla(0,0%,70%,.4) 51%) !important;
text-shadow: white 0 0 1px;
}*/
#main-window[tabsontop="true"][chromemargin]:not([inFullscreen]) .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
background-image: -moz-radial-gradient(40% 3px, circle cover, rgba(255,255,255,1) 2%, rgba(186,221,251,.75) 25%, rgba(127,179,255,.5) 50%, rgba(127,179,255,.25)) !important;
}
#main-window[tabsontop="true"][chromemargin]:not([inFullscreen]) .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
background-image: -moz-linear-gradient(hsla(0,0%,100%,.4), hsla(0,0%,75%,.4) 50%),
-moz-radial-gradient(40% 3px, circle cover, rgba(255,255,255,1) 2%, rgba(186,221,251,.75) 25%, rgba(127,179,255,.5) 50%, rgba(127,179,255,.25)) !important;
}
/*-------------------------------------------------------------------------------*/
/*Firefox menu button pozition*/
#main-window[sizemode="normal"]:not([inFullscreen]) #appmenu-button-container
{ position: fixed !important;
top: 0px !important;
left: 10px !important; }
#main-window[sizemode="maximized"]:not([inFullscreen]) #appmenu-button-container
{ position: fixed !important;
top: 5px !important;
left: 10px !important; }