css bug fixing

This commit is contained in:
Ezequiel Bergamaschi 2014-09-22 03:37:18 -03:00
parent e249dee600
commit c3ebde34d7
3 changed files with 13 additions and 3 deletions

View File

@ -28,7 +28,7 @@ mindplot.widget.IconPanel = new Class({
},
buildPanel:function () {
var content = $('<div class="toolbarPanel" id="IconsPanel"></div>').css({width: 253, height: 230});
var content = $('<div class="toolbarPanel" id="IconsPanel"></div>').css({width: 245, height: 230});
content.on('click', function (event) {
event.stopPropagation()
});

View File

@ -46,7 +46,8 @@ mindplot.widget.ToolbarPaneItem = new Class({
return me._updateSelectedItem();
},
className: 'toolbarPaneTip',
trigger: 'manual'
trigger: 'manual',
template: '<div class="popover popoverGray" role="tooltip"><div class="arrow arrowGray"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'
});
this._tip.addEvent('hide', function() {

View File

@ -153,6 +153,15 @@ div.shareModalDialog {
.popoverBlack.bottom .arrow:after{
border-bottom-color: black;
}
.popoverGray {
background: #e4e2d2;
box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
border: 3px double #bebebe;
}
.popoverGray.bottom .arrow:after{
border-bottom-color: #e4e2d2;
}