mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-26 07:44:56 +01:00
link icon tooltip as black tooltip
This commit is contained in:
parent
19e949010f
commit
c8cbd42fe3
@ -35,7 +35,8 @@ mindplot.widget.KeyboardShortcutTooltip = new Class({
|
||||
content: this._buildContent(),
|
||||
html: true,
|
||||
placement: 'bottom',
|
||||
className: 'keyboardShortcutTip'
|
||||
className: 'keyboardShortcutTip',
|
||||
template: '<div class="popover popoverBlack" role="tooltip"><div class="arrow arrowBlack"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'
|
||||
});
|
||||
|
||||
tipDiv.on('click', function(e) {
|
||||
@ -47,7 +48,8 @@ mindplot.widget.KeyboardShortcutTooltip = new Class({
|
||||
var result = $('<div></div>');
|
||||
result.css({
|
||||
padding:'3px 0px',
|
||||
width:'100%'
|
||||
width:'100%',
|
||||
color: "white"
|
||||
});
|
||||
|
||||
var textContainer = $('<div></div>').text(this._text);
|
||||
|
@ -5340,7 +5340,7 @@ button.close {
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
.popover-content {
|
||||
padding: 4px 6px;
|
||||
padding: 2px 8px;
|
||||
}
|
||||
.popover .arrow,
|
||||
.popover .arrow:after {
|
||||
|
File diff suppressed because one or more lines are too long
@ -147,4 +147,12 @@ div.shareModalDialog {
|
||||
background-color: #efefef;
|
||||
}
|
||||
|
||||
.popoverBlack {
|
||||
background: black;
|
||||
}
|
||||
|
||||
.popoverBlack.bottom .arrow:after{
|
||||
border-bottom-color: black;
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user