Revision a36da908
Von Moritz Bunkus vor mehr als 8 Jahren hinzugefügt
css/kivitendo/main.css | ||
---|---|---|
margin-right: 6px;
|
||
}
|
||
|
||
.chart_picker,
|
||
.part_picker {
|
||
display: inline-block;
|
||
}
|
||
.chart_picker:before,
|
||
.part_picker:before {
|
||
display: inline-block;
|
||
vertical-align: middle;
|
||
height: 100%;
|
||
}
|
||
.chart_picker {
|
||
padding-right: 16px;
|
||
}
|
||
.customer-vendor-picker-undefined,
|
||
.chartpicker-undefined,
|
||
.projectpicker-undefined,
|
||
... | ... | |
color: #FE5F14;
|
||
}
|
||
|
||
div.cpc_block,
|
||
div.ppp_block {
|
||
overflow:hidden;
|
||
float:left;
|
||
width: 350px;
|
||
}
|
||
span.cpc_popup_button,
|
||
span.ppp_popup_button {
|
||
display: inline-block;
|
||
vertical-align: middle;
|
||
... | ... | |
background: url("../../image/search.svg") no-repeat center right;
|
||
background-size: contain;
|
||
}
|
||
span.chart_picker input,
|
||
span.part_picker input {
|
||
padding-right: 20px;
|
||
box-sizing: padding-box;
|
||
-moz-box-sizing: padding-box;
|
||
-webkit-box-sizing: padding-box;
|
||
}
|
||
span.chart_picker,
|
||
span.part_picker {
|
||
white-space: nowrap;
|
||
}
|
css/lx-office-erp/main.css | ||
---|---|---|
margin-right: 6px;
|
||
}
|
||
|
||
.chart_picker,
|
||
.part_picker {
|
||
}
|
||
.chart_picker {
|
||
padding-right: 16px;
|
||
}
|
||
.customer-vendor-picker-undefined,
|
||
.chartpicker-undefined,
|
||
.projectpicker-undefined,
|
||
... | ... | |
border-color: gray;
|
||
}
|
||
|
||
div.cpc_block,
|
||
div.ppp_block {
|
||
overflow:hidden;
|
||
float:left;
|
||
width: 350px;
|
||
}
|
||
span.cpc_popup_button,
|
||
span.ppp_popup_button {
|
||
display: inline-block;
|
||
position: relative;
|
||
... | ... | |
cursor: pointer;
|
||
}
|
||
|
||
td span.cpc_popup_button,
|
||
th span.cpc_popup_button,
|
||
td span.ppp_popup_button,
|
||
th span.ppp_popup_button {
|
||
height: 9px;
|
||
width: 9px;
|
||
margin-left: -13px;
|
||
}
|
||
span.chart_picker input,
|
||
span.part_picker input {
|
||
padding-right: 20px;
|
||
background: white url("../../image/search.svg") no-repeat center right;
|
||
... | ... | |
-webkit-box-sizing: padding-box;
|
||
}
|
||
|
||
td span.chart_picker input,
|
||
th span.chart_picker input,
|
||
td span.part_picker input,
|
||
th span.part_picker input {
|
||
padding-right: 15px;
|
||
}
|
||
|
||
span.chart_picker,
|
||
span.part_picker {
|
||
/* white-space: nowrap;*/
|
||
}
|
js/autocomplete_chart.js | ||
---|---|---|
});
|
||
|
||
// now add a picker div after the original input
|
||
var pcont = $('<span>').addClass('position-absolute');
|
||
var picker = $('<div>');
|
||
$dummy.after(pcont);
|
||
pcont.append(picker);
|
||
picker.addClass('icon16 search').click(open_dialog);
|
||
var popup_button = $('<span>').addClass('cpc_popup_button');
|
||
$dummy.after(popup_button);
|
||
popup_button.click(open_dialog);
|
||
|
||
var cp = {
|
||
real: function() { return $real },
|
Auch abrufbar als: Unified diff
ChartPicker: Lupe wie beim PartPicker stylen