[SSE] Отладка стилей для списка темплейтов таблиц.

This commit is contained in:
Julia Radzhabova 2016-03-29 12:09:52 +03:00
parent a31650885a
commit a6fff90b12
4 changed files with 13 additions and 7 deletions

View file

@ -157,9 +157,8 @@
}
}
.combo-template {
.combo-template(@combo-dataview-height: 64px) {
@combo-dataview-button-width: 18px;
@combo-dataview-height: 64px;
height: @combo-dataview-height;
@ -196,6 +195,10 @@
}
};
.combo-template {
.combo-template(64px);
}
.combo-pattern {
@combo-dataview-button-width: 15px;
@combo-dataview-height: 40px;

View file

@ -43,7 +43,7 @@
</tr>
<tr>
<td colspan=2 class="padding-small">
<div class="" id="table-combo-template" style="width: 100%; height: 64px;"></div>
<div class="" id="table-combo-template" style="width: 100%; height: 60px;"></div>
</td>
</tr>
<tr>

View file

@ -106,11 +106,10 @@ define([
this.chFilter.on('change', _.bind(this.onCheckFilterChange, this));
this.cmbTableTemplate = new Common.UI.ComboDataView({
itemWidth: 70,
itemHeight: 50,
itemWidth: 61,
itemHeight: 46,
menuMaxHeight: 300,
enableKeyEvents: true,
cls: 'combo-template'
enableKeyEvents: true
});
this.cmbTableTemplate.render($('#table-combo-template'));
this.cmbTableTemplate.openButton.menu.cmpEl.css({

View file

@ -293,4 +293,8 @@ button:active .btn-change-shape {background-position: -56px -16px;}
.pie-doughnut{
background-position: -200px 0;
}
#table-combo-template .combo-dataview{
.combo-template(60px);
}