IDEMPIERE-3518 Improvement For Mobile Compatibility. Fix layout for search bar at header. Fix pdf.js not included into binary build.

This commit is contained in:
Heng Sin Low 2017-10-19 09:29:06 +08:00
parent 45c7cb2882
commit e0a72f9b09
2 changed files with 15 additions and 8 deletions

View File

@ -32,7 +32,8 @@ bin.includes = META-INF/,\
labelapplet.jar,\
OSGI-INF/jfgchartrenderer.xml,\
WEB-INF/lib/daisydiff-min.jar,\
manifest.json
manifest.json,\
pdf.js/
src.includes = WEB-INF/tld/,\
WEB-INF/web.xml,\
WEB-INF/xsd/,\

View File

@ -107,14 +107,8 @@
background-image:url(${c:encodeThemeURL('~./zul/img/tree/item-sel.gif')});
}
.global-search-box.z-bandbox {
display: flex;
}
.global-search-box.z-bandbox > input.z-bandbox-input {
flex-grow: 1;
}
.global-search-box.z-bandbox > .z-bandbox-button {
flex-grow: 0;
width: 24px;
}
.global-search-tabpanel {
width: 600px;
@ -127,19 +121,31 @@
.global-search-box.z-bandbox {
width: 180px;
}
.global-search-box.z-bandbox > input.z-bandbox-input {
width: 156px;
}
@media screen and (min-width: 500px) {
.global-search-box.z-bandbox {
width: 200px;
}
.global-search-box.z-bandbox > input.z-bandbox-input {
width: 176px;
}
}
@media screen and (min-width: 768px) {
.global-search-box.z-bandbox {
width: 250px;
}
.global-search-box.z-bandbox > input.z-bandbox-input {
width: 226px;
}
}
@media screen and (min-width: 1024px) {
.global-search-box.z-bandbox {
width: 300px;
}
.global-search-box.z-bandbox > input.z-bandbox-input {
width: 276px;
}
}