Defect #29694 » move-left-right-buttons.patch
| public/javascripts/jstoolbar/jstoolbar.js | ||
|---|---|---|
|
tabs.appendChild(elementsTab);
|
||
|
this.tabsBlock.appendChild(tabs);
|
||
|
var leftScrollButton = document.createElement('button');
|
||
|
leftScrollButton.classList = 'tab-left disabled';
|
||
|
leftScrollButton.setAttribute('type','button');
|
||
|
leftScrollButton.onclick = function() { moveTabLeft(this); };
|
||
|
var rightScrollButton = document.createElement('button');
|
||
|
rightScrollButton.classList = 'tab-right';
|
||
|
rightScrollButton.setAttribute('type','button');
|
||
|
rightScrollButton.onclick = function() { moveTabRight(this); };
|
||
|
var scrollButtons = document.createElement('div');
|
||
|
scrollButtons.classList = 'tabs-buttons';
|
||
|
scrollButtons.appendChild(leftScrollButton);
|
||
|
scrollButtons.appendChild(rightScrollButton);
|
||
|
this.tabsBlock.appendChild(scrollButtons);
|
||
|
this.toolbar = document.createElement("div");
|
||
|
this.toolbar.className = 'jstElements';
|
||
|
elementsTab.appendChild(this.toolbar);
|
||
| public/stylesheets/jstoolbar.css | ||
|---|---|---|
|
line-height: 19px;
|
||
|
border-bottom: 1px solid transparent;
|
||
|
}
|
||
|
#content .jstTabs.tabs div.tabs-buttons {
|
||
|
background-color: #f7f7f7;
|
||
|
height: 24px;
|
||
|
width: 50px;
|
||
|
border-bottom: 1px solid #ccc;
|
||
|
}
|
||
|
.jstElements {
|
||
|
display: inline-block;
|
||
|
vertical-align: bottom;
|
||