[SSE] Bug 43708 (Cell settings: fix gradient slider style, add tooltip)
This commit is contained in:
parent
0b9ff0405d
commit
1a08f99fd5
|
@ -34,7 +34,7 @@
|
||||||
top: 6px;
|
top: 6px;
|
||||||
left: 1px;
|
left: 1px;
|
||||||
width: 10px;
|
width: 10px;
|
||||||
height: 8px;
|
height: 9px;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
border: solid 1px @gray-darker;
|
border: solid 1px @gray-darker;
|
||||||
border-top: none;
|
border-top: none;
|
||||||
|
@ -82,6 +82,7 @@
|
||||||
background-position: 0 0;
|
background-position: 0 0;
|
||||||
outline: 1px solid rgba(162, 162, 162, 1);
|
outline: 1px solid rgba(162, 162, 162, 1);
|
||||||
border: 1px solid #FFFFFF;
|
border: 1px solid #FFFFFF;
|
||||||
|
cursor: copy;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -450,7 +450,8 @@ define([
|
||||||
parentEl: $('#cell-gradient-add-step'),
|
parentEl: $('#cell-gradient-add-step'),
|
||||||
cls: 'btn-toolbar',
|
cls: 'btn-toolbar',
|
||||||
iconCls: 'toolbar__icon btn-add-breakpoint',
|
iconCls: 'toolbar__icon btn-add-breakpoint',
|
||||||
disabled: this._locked
|
disabled: this._locked,
|
||||||
|
hint: this.tipAddGradientPoint,
|
||||||
});
|
});
|
||||||
this.btnAddGradientStep.on('click', _.bind(this.onAddGradientStep, this));
|
this.btnAddGradientStep.on('click', _.bind(this.onAddGradientStep, this));
|
||||||
this.lockedControls.push(this.btnAddGradientStep);
|
this.lockedControls.push(this.btnAddGradientStep);
|
||||||
|
@ -459,7 +460,8 @@ define([
|
||||||
parentEl: $('#cell-gradient-remove-step'),
|
parentEl: $('#cell-gradient-remove-step'),
|
||||||
cls: 'btn-toolbar',
|
cls: 'btn-toolbar',
|
||||||
iconCls: 'toolbar__icon btn-remove-breakpoint',
|
iconCls: 'toolbar__icon btn-remove-breakpoint',
|
||||||
disabled: this._locked
|
disabled: this._locked,
|
||||||
|
hint: this.tipRemoveGradientPoint
|
||||||
});
|
});
|
||||||
this.btnRemoveGradientStep.on('click', _.bind(this.onRemoveGradientStep, this));
|
this.btnRemoveGradientStep.on('click', _.bind(this.onRemoveGradientStep, this));
|
||||||
this.lockedControls.push(this.btnRemoveGradientStep);
|
this.lockedControls.push(this.btnRemoveGradientStep);
|
||||||
|
@ -1287,7 +1289,9 @@ define([
|
||||||
strWrap: 'Wrap text',
|
strWrap: 'Wrap text',
|
||||||
strShrink: 'Shrink to fit',
|
strShrink: 'Shrink to fit',
|
||||||
textGradientColor: 'Color',
|
textGradientColor: 'Color',
|
||||||
textPosition: 'Position'
|
textPosition: 'Position',
|
||||||
|
tipAddGradientPoint: 'Add gradient point',
|
||||||
|
tipRemoveGradientPoint: 'Remove gradient point'
|
||||||
|
|
||||||
}, SSE.Views.CellSettings || {}));
|
}, SSE.Views.CellSettings || {}));
|
||||||
});
|
});
|
|
@ -1265,6 +1265,8 @@
|
||||||
"SSE.Views.CellSettings.strShrink": "Shrink to fit",
|
"SSE.Views.CellSettings.strShrink": "Shrink to fit",
|
||||||
"SSE.Views.CellSettings.textGradientColor": "Color",
|
"SSE.Views.CellSettings.textGradientColor": "Color",
|
||||||
"SSE.Views.CellSettings.textPosition": "Position",
|
"SSE.Views.CellSettings.textPosition": "Position",
|
||||||
|
"SSE.Views.CellSettings.tipAddGradientPoint": "Add gradient point",
|
||||||
|
"SSE.Views.CellSettings.tipRemoveGradientPoint": "Remove gradient point",
|
||||||
"SSE.Views.ChartSettings.strLineWeight": "Line Weight",
|
"SSE.Views.ChartSettings.strLineWeight": "Line Weight",
|
||||||
"SSE.Views.ChartSettings.strSparkColor": "Color",
|
"SSE.Views.ChartSettings.strSparkColor": "Color",
|
||||||
"SSE.Views.ChartSettings.strTemplate": "Template",
|
"SSE.Views.ChartSettings.strTemplate": "Template",
|
||||||
|
|
Loading…
Reference in a new issue