Clean up css and grid.js.

This commit is contained in:
kor 2018-11-05 01:08:31 +13:00
parent 1a6e63e3be
commit e343f528a7
2 changed files with 0 additions and 17 deletions

View File

@ -271,7 +271,6 @@ main:after {
position: relative;
float: left;
overflow: hidden;
/*padding-bottom: var(--size-grid-gutter);*/
}
@media screen and (min-width: 886px) {
.article-wide {
@ -295,23 +294,17 @@ article::selection {
display: inline-block;
z-index: 100;
}
/*.article-containerlower:empty {
display: none;
}*/
/*IMAGE*/
.article-imageType-imgContainer {
z-index: 200;
position: relative;
/*display: none;*/
}
.article-containerupper-image {
cursor: var(--cursor-expandImage);
padding: var(--size-grid-gutter) var(--size-grid-gutter) 0 var(--size-grid-gutter);
/*display: inline-block;*/
display: none;
position: absolute;
/*height: 100%;*/
width: 100%;
left: 0;
z-index: 300;
@ -324,7 +317,6 @@ article:hover .article-containerupper-image {
cursor: var(--cursor-expandImage);
padding: var(--size-grid-gutter);
position: absolute;
/*width: 100%;*/
bottom: 0;
z-index: 200;
left: 0;

View File

@ -88,13 +88,6 @@ function Grid()
let articleIsImageType = (SETTINGS.SHOWIMAG && main.util.isType(value.TYPE, 'image'));
if (articleIsImageType)
{
// itemClass += " article-image";
// itemClass = 'article-typeImg';
// if (SETTINGS.WIDEARTICLE && main.util.isDefined(value.WIDE) && value.WIDE)
// {
// itemClass = 'article-typeImg-wide';
// }
// article += `<div class='article-image'>`;
onclickImage = `onclick="main.grid.handleImageClick(event, this, '${value.FILE}');"`;
}
@ -223,8 +216,6 @@ function Grid()
article += this.doRowMulti('progress', value.PROG);
}
article += `</div>`;
// article += `</div>`;
}
else
{