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

View File

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