CSS
This commit is contained in:
parent
7b25104e0c
commit
90bf7d24b9
@ -153,7 +153,7 @@ div.description{
|
|||||||
text-align:center;
|
text-align:center;
|
||||||
|
|
||||||
padding-top: 30px;
|
padding-top: 30px;
|
||||||
background: -webkit-linear-gradient(top, rgba(255,255,255,0), rgba(255,255,255,1), white);
|
background: -webkit-linear-gradient(top, rgba(255,255,255,0), rgba(255,255,255,0.98), rgba(255,255,255,1));
|
||||||
}
|
}
|
||||||
|
|
||||||
div.catwatermark{
|
div.catwatermark{
|
||||||
@ -321,6 +321,8 @@ div.description_content {
|
|||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
-webkit-line-clamp: 2;
|
-webkit-line-clamp: 2;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
padding-left: 2px;
|
||||||
|
padding-right: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 892px) {
|
@media screen and (min-width: 892px) {
|
||||||
|
|||||||
@ -181,12 +181,14 @@ function PrintCategories(first) {
|
|||||||
$("#catdesc"+i).text("");
|
$("#catdesc"+i).text("");
|
||||||
$("#catimg"+i).attr("src","genimg/empty.png");
|
$("#catimg"+i).attr("src","genimg/empty.png");
|
||||||
$("#catwatermark"+i).hide();
|
$("#catwatermark"+i).hide();
|
||||||
|
$("#catdiv"+i).attr('class', 'wrapper divempty');
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$("#catdivdesc"+i).show();
|
$("#catdivdesc"+i).show();
|
||||||
$("#catdesc"+i).text(categories[parseInt(i)+parseInt(first)]['label']);
|
$("#catdesc"+i).text(categories[parseInt(i)+parseInt(first)]['label']);
|
||||||
$("#catimg"+i).attr("src","genimg/index.php?query=cat&id="+categories[parseInt(i)+parseInt(first)]['rowid']);
|
$("#catimg"+i).attr("src","genimg/index.php?query=cat&id="+categories[parseInt(i)+parseInt(first)]['rowid']);
|
||||||
$("#catdiv"+i).data("rowid",categories[parseInt(i)+parseInt(first)]['rowid']);
|
$("#catdiv"+i).data("rowid",categories[parseInt(i)+parseInt(first)]['rowid']);
|
||||||
|
$("#catdiv"+i).attr('class', 'wrapper');
|
||||||
$("#catwatermark"+i).show();
|
$("#catwatermark"+i).show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -264,6 +266,7 @@ function LoadProducts(position, issubcat) {
|
|||||||
$("#proimg"+ishow).attr("title","");
|
$("#proimg"+ishow).attr("title","");
|
||||||
$("#proimg"+ishow).attr("src","genimg/empty.png");
|
$("#proimg"+ishow).attr("src","genimg/empty.png");
|
||||||
$("#prodiv"+ishow).data("rowid","");
|
$("#prodiv"+ishow).data("rowid","");
|
||||||
|
$("#prodiv"+ishow).attr("class","wrapper2 divempty");
|
||||||
$("#prowatermark"+ishow).hide();
|
$("#prowatermark"+ishow).hide();
|
||||||
ishow++; //Next product to show after print data product
|
ishow++; //Next product to show after print data product
|
||||||
}
|
}
|
||||||
@ -275,6 +278,7 @@ function LoadProducts(position, issubcat) {
|
|||||||
$("#proimg"+ishow).attr("src", "genimg/index.php?query=pro&id="+data[idata]['id']);
|
$("#proimg"+ishow).attr("src", "genimg/index.php?query=pro&id="+data[idata]['id']);
|
||||||
$("#prodiv"+ishow).data("rowid", data[idata]['id']);
|
$("#prodiv"+ishow).data("rowid", data[idata]['id']);
|
||||||
$("#prodiv"+ishow).data("iscat", 0);
|
$("#prodiv"+ishow).data("iscat", 0);
|
||||||
|
$("#prodiv"+ishow).attr("class","wrapper2");
|
||||||
$("#prowatermark"+ishow).hide();
|
$("#prowatermark"+ishow).hide();
|
||||||
ishow++; //Next product to show after print data product
|
ishow++; //Next product to show after print data product
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user