Update style for new theme rules.

This commit is contained in:
kor 2018-09-15 10:53:56 +12:00
parent 3d7de2eb8b
commit 0bd52d8709
2 changed files with 10 additions and 10 deletions

View File

@ -1,13 +1,13 @@
:root { :root {
--color-bg: var(--background); --color-bg: var(--background);
--color-menu: var(--f_high); /*previously --b_med*/ --color-menu: var(--f_high);
--color-menubg: var(--b_low); --color-menubg: var(--b_low);
--color-menuascent: var(--b_inv); --color-menuascent: var(--f_med);
--color-item: var(--f_high); --color-item: var(--f_high);
--color-itembg: var(--b_low); --color-itembg: var(--b_low);
--color-itemascent: var(--b_inv); --color-itemascent: var(--f_med);
--color-image: #fff; /*Text overlaying an image item*/ --color-image: #fff; /*Text overlaying an image item*/
--color-imagedarken: #000; /*Overlay on image as text background */ --color-imagedarken: #000; /*Overlay on image as text background */

View File

@ -104,7 +104,7 @@ function View()
{ {
if (typeof value.TYPE !== 'undefined' && value.TYPE == 'image') if (typeof value.TYPE !== 'undefined' && value.TYPE == 'image')
{ {
itemClass += " grid-item-image"; itemClass += " grid-itemimage";
} }
} }
@ -127,14 +127,14 @@ function View()
// LINK START // LINK START
if (SETTINGS.SHOWLINK) if (SETTINGS.SHOWLINK)
{ {
entry += `<a href="${String(value.LINK)}" id="${idUrl}" class="link">`; entry += `<a href="${String(value.LINK)}" id="${idUrl}" class="grid-itemlink">`;
} }
} }
// UPPER CONTENT START // UPPER CONTENT START
if (SETTINGS.SHOWUPPER) if (SETTINGS.SHOWUPPER)
{ {
entry += `<div class="grid-item-upper-content">`; entry += `<div class="grid-itemupper">`;
// TITLE // TITLE
if (SETTINGS.SHOWTITLE) if (SETTINGS.SHOWTITLE)
@ -147,7 +147,7 @@ function View()
{ {
if (typeof value.LINK !== 'undefined') if (typeof value.LINK !== 'undefined')
{ {
entry += `<div class="link-line"><i class="fas fa-link textIcon"></i><div class="link-title">${this.extractRootDomain(value.LINK)}</div></div></a>`; entry += `<div class="link-line"><i class="grid-itemlinkicon fas fa-link textIcon"></i><div class="link-title">${this.extractRootDomain(value.LINK)}</div></div></a>`;
} }
} }
@ -224,7 +224,7 @@ function View()
// LOWER CONTENT START // LOWER CONTENT START
if (SETTINGS.SHOWLOWER) if (SETTINGS.SHOWLOWER)
{ {
entry += `<div class="grid-item-lower-content">`; entry += `<div class="grid-itemlower">`;
// AUTHOR // AUTHOR
if (SETTINGS.SHOWAUTH) if (SETTINGS.SHOWAUTH)
@ -305,7 +305,7 @@ function View()
{ {
entry += `<div class="image-overlay"></div>`; entry += `<div class="image-overlay"></div>`;
} }
entry += `<img src="content/media/${value.FILE}">`; entry += `<grid-item-imageimg src="content/media/${value.FILE}">`;
entry += `</div>`; entry += `</div>`;
} }
} }
@ -448,7 +448,7 @@ function View()
} }
} }
menuContent += `</div>`; menuContent += `</div>`;
// TERM // TERM
menuContent += `<div class="menu-itemgroup">`; menuContent += `<div class="menu-itemgroup">`;
if (value.terms > 0) if (value.terms > 0)