[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-button-width: 18px;
@combo-dataview-height: 64px;
height: @combo-dataview-height; height: @combo-dataview-height;
@ -196,6 +195,10 @@
} }
}; };
.combo-template {
.combo-template(64px);
}
.combo-pattern { .combo-pattern {
@combo-dataview-button-width: 15px; @combo-dataview-button-width: 15px;
@combo-dataview-height: 40px; @combo-dataview-height: 40px;

View file

@ -43,7 +43,7 @@
</tr> </tr>
<tr> <tr>
<td colspan=2 class="padding-small"> <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> </td>
</tr> </tr>
<tr> <tr>

View file

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

View file

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