mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-12-26 13:13:49 +01:00
some css changes..
This commit is contained in:
parent
715d3d49b6
commit
ddc5b933ad
@ -28,7 +28,7 @@ mindplot.widget.IconPanel = new Class({
|
||||
},
|
||||
|
||||
buildPanel:function () {
|
||||
var content = $('<div class="toolbarPanel" id="IconsPanel"></div>').css({width: 253, height: 230, padding: 5});
|
||||
var content = $('<div class="toolbarPanel" id="IconsPanel"></div>').css({width: 253, height: 230});
|
||||
content.on('click', function (event) {
|
||||
event.stopPropagation()
|
||||
});
|
||||
@ -48,12 +48,8 @@ mindplot.widget.IconPanel = new Class({
|
||||
var img = $('<img>')
|
||||
.attr('id', iconId)
|
||||
.attr('src', mindplot.ImageIcon.prototype._getImageUrl(iconId))
|
||||
.css({
|
||||
width:16,
|
||||
height:16,
|
||||
padding:"0px 2px",
|
||||
cursor:'pointer'
|
||||
});
|
||||
.attr('class', 'panelIcon');
|
||||
|
||||
familyContent.append(img);
|
||||
|
||||
var panel = this;
|
||||
|
@ -35,7 +35,7 @@ mindplot.widget.ListToolbarPanel = new Class({
|
||||
|
||||
_updateSelectedItem: function () {
|
||||
var panelElem = this.getPanelElem();
|
||||
var menuElems = panelElem.getElements('div');
|
||||
var menuElems = panelElem.find('div');
|
||||
var value = this.getModel().getValue();
|
||||
_.each(menuElems, function (elem) {
|
||||
var elemValue = $defined(elem.getAttribute('model')) ? elem.getAttribute('model') : elem.id;
|
||||
|
@ -135,4 +135,12 @@ div.shareModalDialog {
|
||||
padding-left: 19px;
|
||||
}
|
||||
|
||||
.panelIcon {
|
||||
width:16px;
|
||||
height:16px;
|
||||
margin-left: 4px;
|
||||
margin-top: 3px;
|
||||
cursor: pointer
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user