extensions.aios.tbx.tabbarで利用可能になるAIO Sidebarのタブの左右のツールバーに対応
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@1972 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
88fd4f1d23
commit
20469f8d31
@ -116,3 +116,11 @@ image.tab-icon {
|
||||
tabbrowser .tabs-newbutton {
|
||||
max-width: none !important;
|
||||
}
|
||||
|
||||
/* for All-in-One Sidebar */
|
||||
#aiostbx-tableft-toolbox:not([incustomisemode="true"]) > toolbar[currentset="__empty"],
|
||||
#aiostbx-tableft-toolbox:not([incustomisemode="true"]) > toolbar:not([currentset]),
|
||||
#aiostbx-tabright-toolbox:not([incustomisemode="true"]) > toolbar[currentset="__empty"],
|
||||
#aiostbx-tabright-toolbox:not([incustomisemode="true"]) > toolbar:not([currentset]) {
|
||||
visibility: collapse;
|
||||
}
|
||||
|
@ -548,6 +548,10 @@ TreeStyleTabBrowser.prototype = {
|
||||
var newTabBox = document.getAnonymousElementByAttribute(b.mTabContainer, 'id', 'tabs-newbutton-box');
|
||||
var tabBarMode = this.getPref('extensions.tabmix.tabBarMode');
|
||||
|
||||
// All-in-One Sidebar
|
||||
var toolboxContainer = document.getAnonymousElementByAttribute(b.mStrip, 'anonid', 'aiostbx-toolbox-tableft');
|
||||
if (toolboxContainer) toolboxContainer = toolboxContainer.parentNode;
|
||||
|
||||
this.tabbarResizing = false;
|
||||
|
||||
if (pos & this.kTABBAR_VERTICAL) {
|
||||
@ -577,6 +581,9 @@ TreeStyleTabBrowser.prototype = {
|
||||
this.setPref('extensions.tabmix.tabBarMode', 1);
|
||||
}
|
||||
|
||||
if (toolboxContainer)
|
||||
toolboxContainer.orient = 'vertical';
|
||||
|
||||
b.mStrip.removeAttribute('width');
|
||||
b.mStrip.setAttribute('width', this.getTreePref('tabbar.width'));
|
||||
|
||||
@ -641,6 +648,9 @@ TreeStyleTabBrowser.prototype = {
|
||||
newTabBox.orient = 'vertical';
|
||||
}
|
||||
|
||||
if (toolboxContainer)
|
||||
toolboxContainer.orient = 'horizontal';
|
||||
|
||||
b.mStrip.removeAttribute('width');
|
||||
b.mPanelContainer.removeAttribute('width');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user